Skip to content

Commit 45b2fb0

Browse files
robherringbebarino
authored andcommitted
dt-bindings: clock: milbeaut: Drop providers and consumers from example
Convention for examples is to only show what's covered by the binding, so drop the consumer "socionext,milbeaut-usio-uart" and input clock provider "fixed-clock" from the example. "socionext,milbeaut-usio-uart" is also not documented by a schema which caused a warning. Signed-off-by: Rob Herring (Arm) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
1 parent 578ba5d commit 45b2fb0

File tree

1 file changed

+1
-28
lines changed

1 file changed

+1
-28
lines changed

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

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -40,38 +40,11 @@ required:
4040
additionalProperties: false
4141

4242
examples:
43-
# Clock controller node:
4443
- |
45-
m10v-clk-ctrl@1d021000 {
44+
clock-controller@1d021000 {
4645
compatible = "socionext,milbeaut-m10v-ccu";
4746
reg = <0x1d021000 0x4000>;
4847
#clock-cells = <1>;
4948
clocks = <&clki40mhz>;
5049
};
51-
52-
# Required an external clock for Clock controller node:
53-
- |
54-
clocks {
55-
clki40mhz: clki40mhz {
56-
compatible = "fixed-clock";
57-
#clock-cells = <0>;
58-
clock-frequency = <40000000>;
59-
};
60-
/* other clocks */
61-
};
62-
63-
# The clock consumer shall specify the desired clock-output of the clock
64-
# controller as below by specifying output-id in its "clk" phandle cell.
65-
# 2: uart
66-
# 4: 32-bit timer
67-
# 7: UHS-I/II
68-
- |
69-
serial@1e700010 {
70-
compatible = "socionext,milbeaut-usio-uart";
71-
reg = <0x1e700010 0x10>;
72-
interrupts = <0 141 0x4>, <0 149 0x4>;
73-
interrupt-names = "rx", "tx";
74-
clocks = <&clk 2>;
75-
};
76-
7750
...

0 commit comments

Comments
 (0)