From nobody Tue Dec 16 19:29:03 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 89CAA25A2A5; Mon, 8 Dec 2025 14:13:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765203196; cv=none; b=qd9aNn+Q3yo4hqj0z9ItJey6kBS6zECCfph4G0yH4kN0dRR2Xxxwe2mXv/c9TXgl9h74C7C1ty3xFvhYRd7y1cQgCUTUznDAy40kBto6NT0aRur1SkM7jIQ41N3DVOc+5pY6lxwp6oxcUaRwWwddnYCTpbaNcKZfnSaOCybxwYk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765203196; c=relaxed/simple; bh=s2RC3Cv/lcirKADTCnWcsQpzBrq+BxsGJZMcYVjlaA0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=sumCG3MeVicvdHBus8F0bIE5MmPJ42GycPYh2RqPReZMmEpQTE+MTE+VXyLL2IrRvbRryRVPR0wlgtgY5dTZ2CKvBUAu5Qi/hKZpihWG65KNPfoW7Oogem0BCJfhoUGXb9JxwgddAl3rGQ6J6HYPOWxGOfH9Ssy8x0mHzYUMloc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=FA8oHutU; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="FA8oHutU" Received: by smtp.kernel.org (Postfix) with ESMTPS id 29D6CC19424; Mon, 8 Dec 2025 14:13:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1765203196; bh=s2RC3Cv/lcirKADTCnWcsQpzBrq+BxsGJZMcYVjlaA0=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=FA8oHutUJ4dF5JrhoSx7z3UljtVTlj4uPgvzbZlwxM5HhjQv0W76KVFX4JYWh9jrF EA1PTfhmEpa5eJVdqdg0e3uyRBiw6Dd/+H/g+L4hJUSlMYkWipFaq7eyw3c9Mvdk7q C9cwirygHKdrmLWdyfKMk0Lw/I2W4lsBKbYV1hFF+Rg/mWtNBV2dIM4HiHIlQjp4Hz jI8Hnd3w2PRm+dn4nnhnklpEK7q8uon1onXdR05r7rVcprg7AmVsjOeczYss4abQGZ n76tvGddng5YXfeG9YpiHyK/chJFMyWQwW0HQFnM+r/0BNnkZ0nmXZk6YGixJPDRN6 SVDYhT6uThLhQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1C49FD3B7E7; Mon, 8 Dec 2025 14:13:16 +0000 (UTC) From: Dumitru Ceclan via B4 Relay Date: Mon, 08 Dec 2025 16:12:55 +0200 Subject: [PATCH RESEND v8 03/21] dt-bindings: media: i2c: max96717: add support for pinctrl/pinconf Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251208-gmsl2-3_serdes-v8-3-7b8d457e2e04@analog.com> References: <20251208-gmsl2-3_serdes-v8-0-7b8d457e2e04@analog.com> In-Reply-To: <20251208-gmsl2-3_serdes-v8-0-7b8d457e2e04@analog.com> To: Tomi Valkeinen , Mauro Carvalho Chehab , Sakari Ailus , Laurent Pinchart , Julien Massot , Rob Herring , =?utf-8?q?Niklas_S=C3=B6derlund?= , Greg Kroah-Hartman , Dumitru Ceclan Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-staging@lists.linux.dev, linux-gpio@vger.kernel.org, mitrutzceclan@gmail.com, Cosmin Tanislav X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1765203192; l=4016; i=dumitru.ceclan@analog.com; s=20240313; h=from:subject:message-id; bh=kTetx36e6p36odWBopL1YF3j+SvVauoquIQDNKiJNEU=; b=saPuK4E1wJeo6NjBw9VZCULUY/YpwNH18VF7xsgCeo12IWdzpDcS6sjlNFaIrl3VgtrEcyj+x 4TBIlSLxzYUAGZpookFUvA6Tr7mw38cdZCpuSiQ0LPbZ5IDPvQuOZAt X-Developer-Key: i=dumitru.ceclan@analog.com; a=ed25519; pk=HdqMlVyrcazwoiai7oN6ghU+Bj1pusGUFRl30jhS7Bo= X-Endpoint-Received: by B4 Relay for dumitru.ceclan@analog.com/20240313 with auth_id=140 X-Original-From: Dumitru Ceclan Reply-To: dumitru.ceclan@analog.com From: Cosmin Tanislav MAX96717 is capable of configuring various pin properties. Add pinctrl/pinconf properties to support this usecase. Signed-off-by: Cosmin Tanislav Reviewed-by: Rob Herring (Arm) --- .../bindings/media/i2c/maxim,max96717.yaml | 105 +++++++++++++++++= ++++ 1 file changed, 105 insertions(+) diff --git a/Documentation/devicetree/bindings/media/i2c/maxim,max96717.yam= l b/Documentation/devicetree/bindings/media/i2c/maxim,max96717.yaml index 976f6dd2c164..d507cad18edc 100644 --- a/Documentation/devicetree/bindings/media/i2c/maxim,max96717.yaml +++ b/Documentation/devicetree/bindings/media/i2c/maxim,max96717.yaml @@ -120,6 +120,111 @@ required: - reg - ports =20 +patternProperties: + '-pins$': + type: object + additionalProperties: false + + properties: + function: + enum: [gpio, rclkout] + + pins: true + drive-open-drain: true + drive-push-pull: true + bias-disable: true + output-disable: true + output-enable: true + output-low: true + output-high: true + input-enable: true + + slew-rate: + description: | + Slew rate. + Rise and fall times represent the time needed for a GPIO to go + from 20% to 80% of VDDIO. + 0 - Fastest + rise: 1.0ns @ 1.8V, 0.6ns @ 3.3V, + fall: 0.8ns @ 1.8V, 0.5ns @ 3.3V + 1 - Fast + rise: 2.1ns @ 1.8V, 1.1ns @ 3.3V, + fall: 2.0ns @ 1.8V, 1.1ns @ 3.3V + 2 - Slow + rise: 4.0ns @ 1.8V, 2.3ns @3.3V, + fall: 10.0ns @ 1.8V, 5.0ns @3.3V + 3 - Slowest + rise: 9.0ns @ 1.8V, 5.0ns @3.3V, + fall: 10.0ns @ 1.8V, 5.0ns @3.3V + maximum: 3 + + bias-pull-up: + oneOf: + - type: boolean + description: Enable regular 40kOhm pull-up + - enum: [ 40000, 1000000 ] + description: Enable either the 40kOhm or the 1MOhm pull-up + + bias-pull-down: + oneOf: + - type: boolean + description: Enable regular 40kOhm pull-down + - enum: [ 40000, 1000000 ] + description: Enable either the 40kOhm or the 1MOhm pull-down + + maxim,jitter-compensation: + type: boolean + description: | + Enables jitter compensation. + Jitter compensation is used to minimize the jitter of the + signals transmitted from the deserializer to the serializer + by adding a fixed delay to every transition on the serializer + side. This can be used for pulse generation where timing is + critical. + + maxim,tx-id: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + Enable transmission of the pin state from the serializer to + the deserializer using the specified identifier. + maximum: 31 + + maxim,rx-id: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + Enable transmission of the pin state from the deserializer to + the serializer using the specified identifier. + maximum: 31 + + required: + - pins + - function + + allOf: + - $ref: /schemas/pinctrl/pincfg-node.yaml# + - $ref: /schemas/pinctrl/pinmux-node.yaml# + + - if: + properties: + function: + const: gpio + then: + properties: + pins: + items: + enum: [mfp0, mfp1, mfp2, mfp3, mfp4, mfp5, mfp6, mfp7, + mfp8, mfp9, mfp10] + + - if: + properties: + function: + const: rclkout + then: + properties: + pins: + items: + enum: [mfp2, mfp4] + additionalProperties: false =20 allOf: --=20 2.43.0