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

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: pwm: Use examples with documented/matching schema

'nvidia,tegra20-pwm' is not yet documented in the YAML schema. Use
'allwinner,sun7i-a20-pwm' instead to get rid of the following warning
with 'make DT_CHECKER_FLAGS=-m dt_binding_check':

pwm/pwm.example.dt.yaml:0:0: /example-0/pwm@7000a000: failed to match
any schema with compatible: ['nvidia,tegra20-pwm']

Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Link: https://lore.kernel.org/r/20210608215834.2236920-1-sudeep.holla@arm.com
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Sudeep Holla and committed by
Rob Herring
ca622ed6 8676e8e7

+5 -4
+5 -4
Documentation/devicetree/bindings/pwm/pwm.yaml
··· 24 24 25 25 examples: 26 26 - | 27 - pwm: pwm@7000a000 { 28 - compatible = "nvidia,tegra20-pwm"; 29 - reg = <0x7000a000 0x100>; 30 - #pwm-cells = <2>; 27 + pwm: pwm@1c20e00 { 28 + compatible = "allwinner,sun7i-a20-pwm"; 29 + reg = <0x01c20e00 0xc>; 30 + clocks = <&osc24M>; 31 + #pwm-cells = <3>; 31 32 };