From nobody Thu Apr 9 05:48:55 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 BDC8839DBC7; Mon, 6 Apr 2026 20:15:21 +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=1775506521; cv=none; b=at5G8P+nqWPCiyyNDxYnSsfb0T86POp3XXhSQ/2toDwCIs89gvbYvQFb76N3epoIquzmxJuJWFHKEEk4B6PfMACVkUNvOoY+yY0mNynnXPexOWdqzHt79dB8pG1mTT/8djcecJjVzViliutDu3Z8PTrYjvkLYPwtus1sGsG1cNk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775506521; c=relaxed/simple; bh=GGsSB1d2PoY/kuEuTnxLtG47ZzK+g95451GAUdj53K0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=KJWkN7xD+5Qeux8GgvKm1JIjtsUSYUk/9qZVXGGXVqZ8kQs7wHANkpEOrdqkvX9jwThyA6LZxRgK1wXWFxLOnU+F5vlL7DOJ+krbpC5xjo3o9wYHx14jIrrfE3aX0RlSNJE0b054BbwEij1fNinlgKIX6rVo3JjU+YIXbj3nUMQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=pPJ7wJzL; 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="pPJ7wJzL" Received: by smtp.kernel.org (Postfix) with ESMTPS id 95D8DC2BCB4; Mon, 6 Apr 2026 20:15:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1775506521; bh=GGsSB1d2PoY/kuEuTnxLtG47ZzK+g95451GAUdj53K0=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=pPJ7wJzLgCtGc2EwUhFAhwyeWsM7OHjcJhYYxtRFdXNa5zQADL/z35shqA88fdpst vOQdB0KZb476H8kt6x5PC6SkPD1oezecNhBqXmTHQBTrZG/UxBsZcrhPhJD49KQqIL 5FVmduUGIfx/0Ie4iP7SbV+r6PWZX/BTSkS5186O1TW+0zReys6Jbo/K2YoVFWQCVL wR0wWdS/7eGUAggXcWyX/oMssVTYysU1t87csRqoG9PPOPbUp5a5yhG9GrAsIAuSE7 ExN6jPQLTC4rE8flAZlHR+R62EHG66u9JL13ZZQ6mz768bbzlYQns57LsRO9EU75sP 4J9oA4ByfXL2g== 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 8D260F46C7B; Mon, 6 Apr 2026 20:15:21 +0000 (UTC) From: Dumitru Ceclan via B4 Relay Date: Mon, 06 Apr 2026 23:14:46 +0300 Subject: [PATCH v10 07/22] dt-bindings: media: i2c: max96712: 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: <20260406-gmsl2-3_serdes-v10-7-645560fedca5@analog.com> References: <20260406-gmsl2-3_serdes-v10-0-645560fedca5@analog.com> In-Reply-To: <20260406-gmsl2-3_serdes-v10-0-645560fedca5@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=1775506518; l=1871; i=dumitru.ceclan@analog.com; s=20240313; h=from:subject:message-id; bh=RSvh87m8UTUuPKmdiJPBrCURSGQkmSAhRt3cRzeUwAs=; b=2Qagw4Bkgm0KaLa+iywGsHSt3kO4iHeJfl0aF87KGiT/UC4C76wanhkK/gdrrjmNKeL7CYxpl GWa8fRFvxFEDvxnUhjgqimRq2FEbxdsaOMkVhpUVf5kcTd9Xz7NP9yG 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 MAX96712 and MAX96724 have more than one GMSL2 link, and each link is capable of connecting to a separate serializer. If these serializers have the same CFG pins configuration, they will also have the same I2C address, causing conflicts unless the deserializer changes the address of the connected serializers. The MAX96712 and MAX96724 support changing the I2C address of the connected serializers. Document this capability. Signed-off-by: Cosmin Tanislav Acked-by: Rob Herring (Arm) --- .../bindings/media/i2c/maxim,max96712.yaml | 31 ++++++++++++++++++= ++++ 1 file changed, 31 insertions(+) diff --git a/Documentation/devicetree/bindings/media/i2c/maxim,max96712.yam= l b/Documentation/devicetree/bindings/media/i2c/maxim,max96712.yaml index 583bbd60157c..abacc3c874a9 100644 --- a/Documentation/devicetree/bindings/media/i2c/maxim,max96712.yaml +++ b/Documentation/devicetree/bindings/media/i2c/maxim,max96712.yaml @@ -36,6 +36,30 @@ properties: =20 enable-gpios: true =20 + i2c-alias-pool: + maxItems: 4 + + i2c-atr: + type: object + additionalProperties: false + + properties: + '#address-cells': + const: 1 + + '#size-cells': + const: 0 + + patternProperties: + '^i2c@[0-3]$': + $ref: /schemas/i2c/i2c-controller.yaml# + unevaluatedProperties: false + properties: + reg: + items: + minimum: 0 + maximum: 3 + ports: $ref: /schemas/graph.yaml#/properties/ports =20 @@ -78,6 +102,13 @@ required: =20 additionalProperties: false =20 +allOf: + - $ref: /schemas/i2c/i2c-atr.yaml# + +dependentRequired: + i2c-atr: [i2c-alias-pool] + i2c-alias-pool: [i2c-atr] + examples: - | #include --=20 2.51.0