OSDN Git Service

media: dt-bindings: media: sun4i-csi: Add compatible for CSI0 on R40
authorChen-Yu Tsai <wens@csie.org>
Sun, 15 Dec 2019 16:59:12 +0000 (17:59 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sat, 4 Jan 2020 07:15:01 +0000 (08:15 +0100)
commit7866d6903ce88b1b359202f4be0422aa6a70a4a2
tree7b40969babd6c7876db381078cc8bbdab8e4d4f2
parent1de243b0766679e75f558943250614ccd3f60121
media: dt-bindings: media: sun4i-csi: Add compatible for CSI0 on R40

The CSI0 block in the Allwinner R40 SoC looks to be the same as the one
in the A20. The register maps line up, and they support the same
features. The R40 appears to support BT.1120 based on the feature
overview, but it is not mentioned anywhere else. Also like the A20, the
ISP is not mentioned, but the CSI special clock needs to be enabled for
the hardware to function. The manual does state that the CSI special
clock is the TOP clock for all CSI hardware, but currently no hardware
exists for us to test if CSI1 also depends on it or not.

Add a compatible string for the CSI0 block in the R40, with the A20
compatible string as a fallback.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Maxime Ripard <mripard@kernel.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Documentation/devicetree/bindings/media/allwinner,sun4i-a10-csi.yaml