From nobody Tue Feb 10 01:30: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 0081A326920; 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=qZgtX+95/3UtF6YEG5vIZrOOiFNERpN1V9/C+Josfst0VTzAgIO49ndl6RS+fS8dX+KlbkM3dS2Wst57hORZZwKEIrq5VL3HchXnF7q9k50kqPpcSBh2PFpYyr6d/Dkc+zX032eo2smfPHM9sgUEuow84BaYqSAtzyvJO2GYyE0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763131910; c=relaxed/simple; bh=4NBYfy3jv/mmeYCO9ZyTrT7Nhxzx0sfOTKKKrcVeytI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=MxUQY8IGZRTw22VeluqUzQPqimt767mtFgxHl9CnkxzC83doBeb9QSNsyTbKAFEHqas0e3WofNFYXmmsu2jKv1oAKcshPZFDb39X15iU0MnS0I8NQJRE6UxY9xMLpUd6lkTgyhNSGpj9ubeJ7Z7iAh6sm4O3WLmNHEtreyZ3VZc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=FEatJRU3; 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="FEatJRU3" Received: by smtp.kernel.org (Postfix) with ESMTPS id 9F2FBC19425; 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=4NBYfy3jv/mmeYCO9ZyTrT7Nhxzx0sfOTKKKrcVeytI=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=FEatJRU3EJk4rJrLSf9IsIowqPHakDb7Q6tVZdZufCcZMYE2Cf3wBWHJGizS+yFgX lN93eODTk9S83TJq5Iv69MfwCA+HJfmmlLUYyoviTIeJSgEqQjmPMbkNYWKLFu7sPG dpfu35slI74d201y2g7yeM2/kevgp5R22tOJ/vyiMzbjFPrgRwxpLESzWb2i19fxax uT0fsqD/+ZlrynedEXkS+fbnVgrz4nYxen1OtUj+22gp9WkQ5qxXZPKvg8048DNhht kWtYK6ieExUvtxtok8Osf/SpKmRnLOBVl9T+y52We43589vNOt6G/8jjOBZKviNdcN zEUstjEe5Sjwg== 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 93AFBCE7B17; Fri, 14 Nov 2025 14:51:49 +0000 (UTC) From: Dumitru Ceclan via B4 Relay Date: Fri, 14 Nov 2025 16:51:42 +0200 Subject: [PATCH v8 02/21] dt-bindings: media: i2c: max96717: add support for I2C ATR 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-2-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=1814; i=dumitru.ceclan@analog.com; s=20240313; h=from:subject:message-id; bh=lCpahko2HPtYJIUFsoR41h82n1O7si8WVk8vA58uVEE=; b=cYwTMcdcAfvZb+dHOldbkrnKkD1mzaAbuFx206tGmqOfZblIc0LAKXS2OjOpCgHLUXj2xyDXc yh7IYa50el6AC98SqXMa7KyYZpb7E9R1z6J/lK9SsaRuLDAgR4Q3eM2 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 address translation for the connected I2C slaves. Add support for I2C ATR while keeping I2C gate for compatibility to support this usecase. Signed-off-by: Cosmin Tanislav Acked-by: Rob Herring (Arm) --- .../bindings/media/i2c/maxim,max96717.yaml | 39 ++++++++++++++++++= ++++ 1 file changed, 39 insertions(+) diff --git a/Documentation/devicetree/bindings/media/i2c/maxim,max96717.yam= l b/Documentation/devicetree/bindings/media/i2c/maxim,max96717.yaml index d1e8ba6e368e..976f6dd2c164 100644 --- a/Documentation/devicetree/bindings/media/i2c/maxim,max96717.yaml +++ b/Documentation/devicetree/bindings/media/i2c/maxim,max96717.yaml @@ -91,6 +91,30 @@ properties: incoming GMSL2 link. Therefore, it supports an i2c-gate subnode to configure a sensor. =20 + i2c-alias-pool: + maxItems: 2 + + i2c-atr: + type: object + additionalProperties: false + + properties: + '#address-cells': + const: 1 + + '#size-cells': + const: 0 + + patternProperties: + '^i2c@[01]$': + $ref: /schemas/i2c/i2c-controller.yaml# + unevaluatedProperties: false + properties: + reg: + items: + minimum: 0 + maximum: 1 + required: - compatible - reg @@ -98,6 +122,21 @@ required: =20 additionalProperties: false =20 +allOf: + - $ref: /schemas/i2c/i2c-atr.yaml# + + - anyOf: + - oneOf: + - required: [i2c-atr] + - required: [i2c-gate] + + - not: + required: [i2c-atr, i2c-gate] + +dependentRequired: + i2c-atr: [i2c-alias-pool] + i2c-alias-pool: [i2c-atr] + examples: - | #include --=20 2.43.0