From nobody Tue Feb 10 04:17:30 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 008ED326925; Fri, 14 Nov 2025 14:51:49 +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=1763131910; cv=none; b=IEJ5srMZ+UNgp3fiVpsUV/1JWRXl4bpW9CJHifF/3vBAaiLcH5I8ag6e5jniF7S2X4y0hHPaPPID74S3GSZa83bTNCki3lmu7UO+OrWKBEemhVFX/+3V+XUp6JI6rrwocGs00ToL3qI7TLVU/6yQC4UBdK3cdanmSxSVTBxdR0E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763131910; c=relaxed/simple; bh=s2RC3Cv/lcirKADTCnWcsQpzBrq+BxsGJZMcYVjlaA0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=jI7D+A4ecJpJimfcgWv5/TU6JJ9/oPRqZacKX6Jy01VxVIMik0aZACXQC7fi0Mz+qVyB+wAkYMuyb5f4k47ncccYzcPKVGDzmIifCNlbLoSEJyAu94Zo5FdVwHOKnLVLNJMtbjVhjS8DRtPg7tUbS6t1rXGoPZZZktIqG8b95O8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=uJH/Q00+; 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="uJH/Q00+" Received: by smtp.kernel.org (Postfix) with ESMTPS id B04C5C19421; Fri, 14 Nov 2025 14:51:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1763131909; bh=s2RC3Cv/lcirKADTCnWcsQpzBrq+BxsGJZMcYVjlaA0=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=uJH/Q00+i49omWjF5Ty+PTrAjm/9G0X8dBsTCjHGbLgrlJunHEnKfOdvJ0JlhbG0N sXra4Xhsawfc8l5lyDATFWHeIPiQdYSPY7cZM977VrhkEYfKdk8twFOt4UoU2W2FfE ItJbZ3D1IO6SZQ+BbhV33ofa+STadBgJTgIgv4mrAxWSbGlnxTjr1z5EO3kM34Hnu9 y1oiO2EOFfQqqoijDcL0EvmoWMuctr+vswGN/iwPg9GmIZisgv1vHaq9wn8iWAxwmu 2R6wHpe2Xqco9cKN40aHjizoGXa+SxyCqcQiDzZ6IwFC66XBBf03guejrDBWNwo5kh A1zdRw4u26sbQ== 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 A4003CE7B15; Fri, 14 Nov 2025 14:51:49 +0000 (UTC) From: Dumitru Ceclan via B4 Relay Date: Fri, 14 Nov 2025 16:51:43 +0200 Subject: [PATCH 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: <20251114-gmsl2-3_serdes-v8-3-47499d907990@analog.com> References: <20251114-gmsl2-3_serdes-v8-0-47499d907990@analog.com> In-Reply-To: <20251114-gmsl2-3_serdes-v8-0-47499d907990@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 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, Cosmin Tanislav X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1763131906; l=4016; i=dumitru.ceclan@analog.com; s=20240313; h=from:subject:message-id; bh=kTetx36e6p36odWBopL1YF3j+SvVauoquIQDNKiJNEU=; b=oHDmOs99Z8p6bA8iPX3rwtztW0okln6gEAuceu4eJANS9KiG6dDBjBmw2ZYXbC0q/b3pm6gMs j1ya0ZYYwBiCZHcfMP2fEUxCNV9i1r0i3ZRP9QOPTfBI823RqwgJ/ww 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