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: rockchip: 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>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>

authored by

Krzysztof Kozlowski and committed by
Thierry Reding
ef75324d a63cb1a9

+32 -30
+32 -30
Documentation/devicetree/bindings/pwm/pwm-rockchip.yaml
··· 51 51 required: 52 52 - compatible 53 53 - reg 54 - - "#pwm-cells" 55 54 56 - if: 57 - properties: 58 - compatible: 59 - contains: 60 - enum: 61 - - rockchip,rk3328-pwm 62 - - rockchip,rv1108-pwm 55 + allOf: 56 + - $ref: pwm.yaml# 63 57 64 - then: 65 - properties: 66 - clocks: 67 - items: 68 - - description: Used to derive the functional clock for the device. 69 - - description: Used as the APB bus clock. 58 + - if: 59 + properties: 60 + compatible: 61 + contains: 62 + enum: 63 + - rockchip,rk3328-pwm 64 + - rockchip,rv1108-pwm 70 65 71 - clock-names: 72 - items: 73 - - const: pwm 74 - - const: pclk 66 + then: 67 + properties: 68 + clocks: 69 + items: 70 + - description: Used to derive the functional clock for the device. 71 + - description: Used as the APB bus clock. 75 72 76 - required: 77 - - clocks 78 - - clock-names 73 + clock-names: 74 + items: 75 + - const: pwm 76 + - const: pclk 79 77 80 - else: 81 - properties: 82 - clocks: 83 - maxItems: 1 84 - description: 85 - Used both to derive the functional clock 86 - for the device and as the bus clock. 78 + required: 79 + - clocks 80 + - clock-names 87 81 88 - required: 89 - - clocks 82 + else: 83 + properties: 84 + clocks: 85 + maxItems: 1 86 + description: 87 + Used both to derive the functional clock 88 + for the device and as the bus clock. 89 + 90 + required: 91 + - clocks 90 92 91 93 additionalProperties: false 92 94