From nobody Thu Apr 9 05:49:11 2026 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 64E8C3A6F1F; Wed, 11 Mar 2026 07:17:37 +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=1773213457; cv=none; b=Yqgh48HWqyTAvkvRtLtP1q+mTRWQj6GbhLXSrHOcYW7f8BtlYHqYt8x14EKSQPXHcgZnwcO+7uBG7x/667sEy0zkQnJq1jzqhr8vABKyp5ERcE9ZJeBD2y2uknoj9bBtBOI7meMmqoTDJgizS0YphWwOFiaIL6zanBontbl3fpc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773213457; c=relaxed/simple; bh=TN5gW6iNB2jW1IrzWJimE/kYjWyumxoU2kSZpdU/BtA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=KRqkTjp8qZ9m79nVw8NF+msOs+NUVZvnndBxM3Ndth6T7YW7zvtoOdCxCajN5ePScWY9xK816wwVF9w9DmTmhhwTeuhcBFUw8rjxdSyXFGGJXz8BXfp+wya8fy2Tki9y4BHDwR/yoYgWDCR3pb3OIVDhHIOa91PfHHN5ywni2+o= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=hFEEC2pN; 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="hFEEC2pN" Received: by smtp.kernel.org (Postfix) with ESMTPS id EDEFBC2BCB3; Wed, 11 Mar 2026 07:17:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1773213457; bh=TN5gW6iNB2jW1IrzWJimE/kYjWyumxoU2kSZpdU/BtA=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=hFEEC2pNF7dxfomikgbGPu/yjmuLIAdp6W/hSfoLfGtjP8YI1jfKi1fhtjoKx+dJl ghFc0jJrTqmVZl/RecJUOKkv9VbNSfENua28Q2N4KAa6s+9Ann/fk62DDKyeUXL/Oe lsWOEtWTz5etViVoOhl5AYnFJeBzbj4tKN+f0++tcTfJRCb5MiGDh++RiKf4qdAj2B zk2LW5Z8p2dtq3YLugW9j2dOnb62NdpPtEKXvO/s/gFpdkMHFbLUTFaUWGgs+yj3cO 0qjZCKJlVKUbcGOIUUUcWXgWvDVUx2FXA7VoDwcncd/lbGm5Oc2yxCeXq/5KFbUSUG WPGSyF3mvi40w== 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 DED90FD0643; Wed, 11 Mar 2026 07:17:36 +0000 (UTC) From: Dumitru Ceclan via B4 Relay Date: Wed, 11 Mar 2026 09:17:15 +0200 Subject: [PATCH v9 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: <20260311-gmsl2-3_serdes-v9-3-41499f09004f@analog.com> References: <20260311-gmsl2-3_serdes-v9-0-41499f09004f@analog.com> In-Reply-To: <20260311-gmsl2-3_serdes-v9-0-41499f09004f@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 , Cosmin Tanislav Cc: mitrutzceclan@gmail.com, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-staging@lists.linux.dev, linux-gpio@vger.kernel.org, =?utf-8?q?Niklas_S=C3=B6derlund?= , Martin Hecht , Cosmin Tanislav X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1773213453; l=4016; i=dumitru.ceclan@analog.com; s=20240313; h=from:subject:message-id; bh=sExaJUhOeiAGEBZqr9l/7UndPhdjAg2W2En5kv5tuKE=; b=j8sAxqmc/EEhv/M/2Ve93fOAeUwTZKuj0TGu948tWuFTEFBO4ewUBipujeHgLn4EEC5uu7fQn ma5TxPu1TgRDwo7YrzS1BQwKr2zuWoYuMuHldvEpiHQvz8nunobJd5m 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.51.0