[RFC PATCH 11/24] dt-bindings: media: i2c: max96714: make supply conditional on compatible

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

Devices to be added in following patches have more input ports, and,
implicitly, more POC supplies.

Make this property conditional on the compatible strings.

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

diff --git a/Documentation/devicetree/bindings/media/i2c/maxim,max96714.yaml b/Documentation/devicetree/bindings/media/i2c/maxim,max96714.yaml
index f0ae069c93b5..5bbd36c55ab4 100644
--- a/Documentation/devicetree/bindings/media/i2c/maxim,max96714.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/maxim,max96714.yaml
@@ -41,9 +41,6 @@ properties:
description:
Specifier for the GPIO connected to the PWDNB pin.

- port0-poc-supply:
- description: Regulator providing Power over Coax for the GMSL port
-
required:
- compatible
- reg
@@ -62,6 +59,9 @@ allOf:
- ports

properties:
+ port0-poc-supply:
+ description: Regulator providing Power over Coax for the GMSL port
+
i2c-gate:
$ref: /schemas/i2c/i2c-gate.yaml
unevaluatedProperties: false
--
2.48.1