]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: media: csi: Fix clocks description
authorMaxime Ripard <maxime@cerno.tech>
Mon, 10 Feb 2020 10:04:17 +0000 (11:04 +0100)
committerRob Herring <robh@kernel.org>
Thu, 20 Feb 2020 01:03:44 +0000 (19:03 -0600)
commit097488c1405c953891b96369d8a94df140a228a9
treefbabf64145e9a265b7441e24d8438686cc813b05
parent309749c45e7df2269294021b8df8a0318db5b17b
dt-bindings: media: csi: Fix clocks description

Commit c8ef475f0d00 ("media: dt-bindings: media: sun4i-csi: Add compatible
for CSI1 on A10/A20") introduced support for the CSI1 controller on A10 and
A20 that unlike CSI0 doesn't have an ISP and therefore only have two
clocks, the bus and module clocks.

The clocks and clock-names properties have thus been modified to allow
either two or tree clocks. However, the current list has the ISP clock at
the second position, which means the bindings expects a list of either
bus and isp, or bus, isp and mod. The initial intent of the patch was
obviously to have bus and mod in the former case.

Let's fix the binding so that it validates properly.

Fixes: c8ef475f0d00 ("media: dt-bindings: media: sun4i-csi: Add compatible for CSI1 on A10/A20")
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/media/allwinner,sun4i-a10-csi.yaml