Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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) <robh@kernel.org>
Link: https://lore.kernel.org/r/20240520222646.1741958-1-robh@kernel.org
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Rob Herring (Arm) and committed by
Stephen Boyd
45b2fb09 578ba5d3

+1 -28
+1 -28
Documentation/devicetree/bindings/clock/milbeaut-clock.yaml
··· 40 40 additionalProperties: false 41 41 42 42 examples: 43 - # Clock controller node: 44 43 - | 45 - m10v-clk-ctrl@1d021000 { 44 + clock-controller@1d021000 { 46 45 compatible = "socionext,milbeaut-m10v-ccu"; 47 46 reg = <0x1d021000 0x4000>; 48 47 #clock-cells = <1>; 49 48 clocks = <&clki40mhz>; 50 49 }; 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 - 77 50 ...