diff mbox series

[v3,5/9] media: dt-bindings: cadence-csi2rx: Add starfive compatible

Message ID 20230331121826.96973-6-jack.zhu@starfivetech.com
State New
Headers show
Series [v3,1/9] media: dt-bindings: Add bindings for JH7110 Camera Subsystem | expand

Commit Message

Jack Zhu March 31, 2023, 12:18 p.m. UTC
Add starfive compatible for Starfive JH7110 SoC which has a
Cadence MIPI-CSI2 RX controller.

Signed-off-by: Jack Zhu <jack.zhu@starfivetech.com>
---
 Documentation/devicetree/bindings/media/cdns,csi2rx.yaml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/media/cdns,csi2rx.yaml b/Documentation/devicetree/bindings/media/cdns,csi2rx.yaml
index f8da4a35e98e..30a335b10762 100644
--- a/Documentation/devicetree/bindings/media/cdns,csi2rx.yaml
+++ b/Documentation/devicetree/bindings/media/cdns,csi2rx.yaml
@@ -15,7 +15,10 @@  description:
 
 properties:
   compatible:
-    const: cdns,csi2rx
+    items:
+      - enum:
+          - starfive,jh7110-csi2rx
+      - const: cdns,csi2rx
 
   reg:
     maxItems: 1
@@ -130,7 +133,7 @@  additionalProperties: false
 examples:
   - |
     csi@d060000 {
-        compatible = "cdns,csi2rx";
+        compatible = "starfive,jh7110-csi2rx", "cdns,csi2rx";
         reg = <0x0d060000 0x1000>;
         clocks = <&byteclock 7>, <&byteclock 6>,
                  <&coreclock 8>, <&coreclock 9>,