Skip to content

Commit ec8b557

Browse files
krzkbebarino
authored andcommitted
dt-bindings: clock: drop useless consumer example
Consumer examples in the bindings of resource providers are trivial, useless and duplication of code. Remove the example code for consumer Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Link: https://lore.kernel.org/r/20220316130858.93455-2-krzysztof.kozlowski@canonical.com Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent 7a74e1e commit ec8b557

16 files changed

+0
-143
lines changed

Documentation/devicetree/bindings/clock/bitmain,bm1880-clk.yaml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,4 @@ examples:
6161
#clock-cells = <1>;
6262
};
6363
64-
# Example UART controller node that consumes clock generated by the clock controller:
65-
- |
66-
uart0: serial@58018000 {
67-
compatible = "snps,dw-apb-uart";
68-
reg = <0x58018000 0x2000>;
69-
clocks = <&clk 45>, <&clk 46>;
70-
clock-names = "baudclk", "apb_pclk";
71-
interrupts = <0 9 4>;
72-
reg-shift = <2>;
73-
reg-io-width = <4>;
74-
};
75-
7664
...

Documentation/devicetree/bindings/clock/idt,versaclock5.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -191,11 +191,4 @@ examples:
191191
};
192192
};
193193
194-
/* Consumer referencing the 5P49V5923 pin OUT1 */
195-
consumer {
196-
/* ... */
197-
clocks = <&vc5 1>;
198-
/* ... */
199-
};
200-
201194
...

Documentation/devicetree/bindings/clock/imx1-clock.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,3 @@ examples:
4040
compatible = "fsl,imx1-ccm";
4141
reg = <0x0021b000 0x1000>;
4242
};
43-
44-
pwm@208000 {
45-
#pwm-cells = <2>;
46-
compatible = "fsl,imx1-pwm";
47-
reg = <0x00208000 0x1000>;
48-
interrupts = <34>;
49-
clocks = <&clks IMX1_CLK_DUMMY>, <&clks IMX1_CLK_PER1>;
50-
clock-names = "ipg", "per";
51-
};

Documentation/devicetree/bindings/clock/imx21-clock.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,3 @@ examples:
4040
reg = <0x10027000 0x800>;
4141
#clock-cells = <1>;
4242
};
43-
44-
serial@1000a000 {
45-
compatible = "fsl,imx21-uart";
46-
reg = <0x1000a000 0x1000>;
47-
interrupts = <20>;
48-
clocks = <&clks IMX21_CLK_UART1_IPG_GATE>,
49-
<&clks IMX21_CLK_PER1>;
50-
clock-names = "ipg", "per";
51-
};

Documentation/devicetree/bindings/clock/imx23-clock.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,3 @@ examples:
8383
reg = <0x80040000 0x2000>;
8484
#clock-cells = <1>;
8585
};
86-
87-
serial@8006c000 {
88-
compatible = "fsl,imx23-auart";
89-
reg = <0x8006c000 0x2000>;
90-
interrupts = <24>;
91-
clocks = <&clks 32>;
92-
dmas = <&dma_apbx 6>, <&dma_apbx 7>;
93-
dma-names = "rx", "tx";
94-
};

Documentation/devicetree/bindings/clock/imx25-clock.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -176,11 +176,3 @@ examples:
176176
interrupts = <31>;
177177
#clock-cells = <1>;
178178
};
179-
180-
serial@43f90000 {
181-
compatible = "fsl,imx25-uart", "fsl,imx21-uart";
182-
reg = <0x43f90000 0x4000>;
183-
interrupts = <45>;
184-
clocks = <&clks 79>, <&clks 50>;
185-
clock-names = "ipg", "per";
186-
};

Documentation/devicetree/bindings/clock/imx27-clock.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,3 @@ examples:
4444
interrupts = <31>;
4545
#clock-cells = <1>;
4646
};
47-
48-
serial@1000a000 {
49-
compatible = "fsl,imx27-uart", "fsl,imx21-uart";
50-
reg = <0x1000a000 0x1000>;
51-
interrupts = <20>;
52-
clocks = <&clks IMX27_CLK_UART1_IPG_GATE>,
53-
<&clks IMX27_CLK_PER1_GATE>;
54-
clock-names = "ipg", "per";
55-
};

Documentation/devicetree/bindings/clock/imx28-clock.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,3 @@ examples:
106106
reg = <0x80040000 0x2000>;
107107
#clock-cells = <1>;
108108
};
109-
110-
serial@8006a000 {
111-
compatible = "fsl,imx28-auart";
112-
reg = <0x8006a000 0x2000>;
113-
interrupts = <112>;
114-
dmas = <&dma_apbx 8>, <&dma_apbx 9>;
115-
dma-names = "rx", "tx";
116-
clocks = <&clks 45>;
117-
};

Documentation/devicetree/bindings/clock/imx31-clock.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,3 @@ examples:
110110
interrupts = <31>, <53>;
111111
#clock-cells = <1>;
112112
};
113-
114-
serial@43f90000 {
115-
compatible = "fsl,imx31-uart", "fsl,imx21-uart";
116-
reg = <0x43f90000 0x4000>;
117-
interrupts = <45>;
118-
clocks = <&clks 10>, <&clks 30>;
119-
clock-names = "ipg", "per";
120-
};

Documentation/devicetree/bindings/clock/imx35-clock.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,3 @@ examples:
129129
interrupts = <31>;
130130
#clock-cells = <1>;
131131
};
132-
133-
mmc@53fb4000 {
134-
compatible = "fsl,imx35-esdhc";
135-
reg = <0x53fb4000 0x4000>;
136-
interrupts = <7>;
137-
clocks = <&clks 9>, <&clks 8>, <&clks 43>;
138-
clock-names = "ipg", "ahb", "per";
139-
};

0 commit comments

Comments
 (0)