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: allwinner,sun4i-a10: Include generic PWM schema

Include generic pwm.yaml schema, which enforces PWM node naming and
brings pwm-cells requirement.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>

authored by

Krzysztof Kozlowski and committed by
Thierry Reding
360e770c 4d690e50

+24 -21
+24 -21
Documentation/devicetree/bindings/pwm/allwinner,sun4i-a10-pwm.yaml
··· 52 52 resets: 53 53 maxItems: 1 54 54 55 - if: 56 - properties: 57 - compatible: 58 - contains: 59 - const: allwinner,sun50i-h6-pwm 60 55 61 - then: 62 - properties: 63 - clocks: 64 - maxItems: 2 56 + allOf: 57 + - $ref: pwm.yaml# 65 58 66 - clock-names: 67 - items: 68 - - const: mod 69 - - const: bus 59 + - if: 60 + properties: 61 + compatible: 62 + contains: 63 + const: allwinner,sun50i-h6-pwm 70 64 71 - required: 72 - - clock-names 73 - - resets 65 + then: 66 + properties: 67 + clocks: 68 + maxItems: 2 74 69 75 - else: 76 - properties: 77 - clocks: 78 - maxItems: 1 70 + clock-names: 71 + items: 72 + - const: mod 73 + - const: bus 74 + 75 + required: 76 + - clock-names 77 + - resets 78 + 79 + else: 80 + properties: 81 + clocks: 82 + maxItems: 1 79 83 80 84 required: 81 - - "#pwm-cells" 82 85 - compatible 83 86 - reg 84 87 - clocks