Add mipicsi common node binding for MT2712 MIPI-CSI2

Signed-off-by: Stu Hsieh <stu.hs...@mediatek.com>
---
 .../media/mediatek-mipicsi-common.txt         | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 
Documentation/devicetree/bindings/media/mediatek-mipicsi-common.txt

diff --git 
a/Documentation/devicetree/bindings/media/mediatek-mipicsi-common.txt 
b/Documentation/devicetree/bindings/media/mediatek-mipicsi-common.txt
new file mode 100644
index 000000000000..a67c744b75f0
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/mediatek-mipicsi-common.txt
@@ -0,0 +1,19 @@
+* Mediatek MIPI-CSI2 receiver common
+
+Mediatek MIPI-CSI2 receiver is the MIPI Signal capture hardware present in 
Mediatek SoCs
+
+Required properties:
+- compatible: should be "mediatek,mt2712-mipicsi-common"
+- reg : physical base address of the mipicsi receiver registers and length of
+  memory mapped region.
+- clocks: device clocks, see
+  Documentation/devicetree/bindings/clock/clock-bindings.txt for details.
+
+
+Example:
+       mipicsi: mipicsi@15002000 {
+               compatible = "mediatek,mt2712-mipicsi-common", "syscon";
+               reg = <0 0x15002000 0 0x10>;
+               clocks = <&imgsys CLK_IMG_SENINF_CAM_EN>,
+                        <&imgsys CLK_IMG_SENINF_SCAM_EN>;
+       };
-- 
2.18.0

Reply via email to