summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/media
diff options
context:
space:
mode:
authorDong Aisheng <aisheng.dong@nxp.com>2021-11-30 14:58:52 +0800
committerDong Aisheng <aisheng.dong@nxp.com>2021-11-30 14:58:52 +0800
commit9d223b25631248abffac9224668cf0e22ddbd99e (patch)
tree9eba5d7091897a5ad6e0d3051b35315654d52bf6 /Documentation/devicetree/bindings/media
parent0678ad28981547710dbc01f7494dc0ec7b68f957 (diff)
parent61728379722528568beccc1fd2c7d968e3fbb30e (diff)
Merge remote-tracking branch 'origin/capture/media-dev' into capture/next
* origin/capture/media-dev: (13 commits) LF-4202 media: isi: fix camera create pipeline failed when isi cap_device set disabled LF-4269-05: media: imx8: media-dev: correct copyright information LF-4269-02: media: imx: imx8-common: correct copyright information MA-18933-01: media: imx8-common: change integer data type to unsigned LF-3334-11: media: isi: cap: add 4K and 8K macro ...
Diffstat (limited to 'Documentation/devicetree/bindings/media')
-rw-r--r--Documentation/devicetree/bindings/media/imx8-media-dev.txt38
1 files changed, 38 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/media/imx8-media-dev.txt b/Documentation/devicetree/bindings/media/imx8-media-dev.txt
new file mode 100644
index 000000000000..dd7de1cbde44
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/imx8-media-dev.txt
@@ -0,0 +1,38 @@
+Virtual Media device
+-------------------------------
+
+Virtual Media device is used to manage all modules in image capture subsystem
+of imx8qxp/qm platform. ISI(Image Sensor Interface), MIPI CSI, Parallel CSI
+device node should be under it.
+
+Required properties:
+ - compatible : must be "fsl,mxc-md";
+ - reg : Must contain an entry for each entry in reg-names;
+ - #address-cells: should be <1>;
+ - #size-cells : should be <1>;
+ - ranges : use to handle address space
+
+Optional properties:
+ - parallel_csi: indicate that camera sensor use parallel interface
+
+
+
+For example:
+
+ cameradev: camera {
+ compatible = "fsl,mxc-md", "simple-bus";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
+
+ isi@58100000 {
+ compatible = "fsl,imx8-isi";
+ reg = <0x58100000 0x10000>;
+ ...
+ };
+ csi@58227000 {
+ compatible = "fsl,mxc-mipi-csi2";
+ ...
+ };
+ ...
+ };