History

dt-bindings: media: csi: Fix clocks description

Commit 1de243b07666 ("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.

Maxime Ripard committed 6 years ago

Commit 854bdba1 parent 303d37b1 file · +18 −12Browse files

Unified · Split

Documentation/devicetree/bindings/media/allwinner,sun4i-a10-csi.yaml+18−12
@@ -33,20 +33,26 @@ properties: · 32 unmodified lines
33 maxItems: 133 maxItems: 1
34 34
35 clocks:35 clocks:
36 minItems: 236 oneOf:
37 maxItems: 337 - items:
38 items:38 - description: The CSI interface clock
39 - description: The CSI interface clock39 - description: The CSI DRAM clock
40 - description: The CSI ISP clock40
41 - description: The CSI DRAM clock41 - items:
42 - description: The CSI interface clock
43 - description: The CSI ISP clock
44 - description: The CSI DRAM clock
42 45
43 clock-names:46 clock-names:
44 minItems: 247 oneOf:
45 maxItems: 348 - items:
46 items:49 - const: bus
47 - const: bus50 - const: ram
48 - const: isp51
49 - const: ram52 - items:
53 - const: bus
54 - const: isp
55 - const: ram
50 56
51 resets:57 resets:
52 maxItems: 158 maxItems: 1

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t