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

dt-bindings: pwm: google,cros-ec: include generic pwm schema

Include generic pwm.yaml schema, which enforces PWM node naming. Keep
the old name in bindings as deprecated.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>

authored by

Krzysztof Kozlowski and committed by
Thierry Reding
6b94ee66 657e54e5

+8 -1
+4
Documentation/devicetree/bindings/mfd/google,cros-ec.yaml
··· 89 89 90 90 ec-pwm: 91 91 $ref: "/schemas/pwm/google,cros-ec-pwm.yaml#" 92 + deprecated: true 93 + 94 + pwm: 95 + $ref: "/schemas/pwm/google,cros-ec-pwm.yaml#" 92 96 93 97 keyboard-controller: 94 98 $ref: "/schemas/input/google,cros-ec-keyb.yaml#"
+4 -1
Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml
··· 16 16 An EC PWM node should be only found as a sub-node of the EC node (see 17 17 Documentation/devicetree/bindings/mfd/google,cros-ec.yaml). 18 18 19 + allOf: 20 + - $ref: pwm.yaml# 21 + 19 22 properties: 20 23 compatible: 21 24 const: google,cros-ec-pwm ··· 42 39 compatible = "google,cros-ec-spi"; 43 40 reg = <0>; 44 41 45 - cros_ec_pwm: ec-pwm { 42 + cros_ec_pwm: pwm { 46 43 compatible = "google,cros-ec-pwm"; 47 44 #pwm-cells = <1>; 48 45 };