[RFC PATCH 13/24] dt-bindings: media: i2c: max96714: add support for MAX96716A

Cosmin Tanislav
2025-03-08T18:35:18Z

MAX96716A is a newer variant of the MAX9296A which supports both pixel
and tunnel mode.

Signed-off-by: Cosmin Tanislav <demonsingur@gmail.com>
---
.../bindings/media/i2c/maxim,max96714.yaml | 21 +++++++++++++++++++
1 file changed, 21 insertions(+)

diff --git a/Documentation/devicetree/bindings/media/i2c/maxim,max96714.yaml b/Documentation/devicetree/bindings/media/i2c/maxim,max96714.yaml
index 9c6c79a770ed..d4055ecf673f 100644
--- a/Documentation/devicetree/bindings/media/i2c/maxim,max96714.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/maxim,max96714.yaml
@@ -25,12 +25,14 @@ description:

MAX96714F only supports a fixed rate of 3Gbps in the forward direction.
MAX9296A only supports pixel mode, and has two GMSL2 links.
+ MAX96716A supports both tunnel and pixel mode, and has two GMSL2 links.

properties:
compatible:
oneOf:
- const: maxim,max9296a
- const: maxim,max96714f
+ - const: maxim,max96716a
- items:
- enum:
- maxim,max96714
@@ -136,12 +138,31 @@ allOf:
min: 0
max: 1

+ - if:
+ properties:
+ compatible:
+ contains:
+ const: maxim,max96716a
+ then:
+ properties:
+ i2c-mux:
+ $ref: /schemas/i2c/i2c-mux.yaml#
+ patternProperties:
+ '^i2c@[0-1]$':
+ $ref: /schemas/i2c/i2c-controller.yaml#
+ properties:
+ reg:
+ items:
+ min: 0
+ max: 1
+
- if:
properties:
compatible:
contains:
enum:
- maxim,max9296a
+ - maxim,max96716a
then:
properties:
port0-poc-supply:
--
2.48.1