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

dt-bindings: clk: vc5: Fix example

The example properties do not match the binding. Fix them, and prohibit
undocumented properties in clock nodes to prevent this from happening in
the future.

Fixes: 45c940184b50 ("dt-bindings: clk: versaclock5: convert to yaml")
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net>
Link: https://lore.kernel.org/r/20210607190546.2616259-1-sean.anderson@seco.com
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Sean Anderson and committed by
Rob Herring
89f8a707 cdbbe6ce

+4 -3
+4 -3
Documentation/devicetree/bindings/clock/idt,versaclock5.yaml
··· 86 86 description: The Slew rate control for CMOS single-ended. 87 87 $ref: /schemas/types.yaml#/definitions/uint32 88 88 enum: [ 80, 85, 90, 100 ] 89 + additionalProperties: false 89 90 90 91 required: 91 92 - compatible ··· 142 141 clock-names = "xin"; 143 142 144 143 OUT1 { 145 - idt,drive-mode = <VC5_CMOSD>; 146 - idt,voltage-microvolts = <1800000>; 144 + idt,mode = <VC5_CMOSD>; 145 + idt,voltage-microvolt = <1800000>; 147 146 idt,slew-percent = <80>; 148 147 }; 149 148 150 149 OUT4 { 151 - idt,drive-mode = <VC5_LVDS>; 150 + idt,mode = <VC5_LVDS>; 152 151 }; 153 152 }; 154 153 };