Skip to content

Commit a8b09e6

Browse files
geertulag-linaro
authored andcommitted
dt-bindings: backlight: pwm: Make power-supply not required
make dtbs_check: arch/arm/boot/dts/renesas/r8a7742-iwg21d-q7.dtb: backlight: 'power-supply' is a required property From schema: Documentation/devicetree/bindings/leds/backlight/pwm-backlight.yaml As that backlight device node already has an "enable-gpios" property to control the power supplied to the backlight, it sounds a bit silly to have to add a "power-supply" property just to silence this warning. In addition, as of commit deaeeda ("backlight: pwm_bl: Don't rely on a disabled PWM emiting inactive state"), the Linux driver considers the power supply optional. Fix this by synchronizing the bindings with actual driver behavior by making the "power-supply" optional. Fixes: deaeeda ("backlight: pwm_bl: Don't rely on a disabled PWM emiting inactive state") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Conor Dooley <conor.dooley@microchip.com> Link: https://lore.kernel.org/r/29943059c80c8db0db437f9548f084a67326647b.1684856131.git.geert+renesas@glider.be Signed-off-by: Lee Jones <lee@kernel.org>
1 parent e01134e commit a8b09e6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Documentation/devicetree/bindings/leds/backlight/pwm-backlight.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ dependencies:
6868
required:
6969
- compatible
7070
- pwms
71-
- power-supply
7271

7372
additionalProperties: false
7473

0 commit comments

Comments
 (0)