diff options
author | Ulrich Hecht <ulrich.hecht+renesas@gmail.com> | 2017-09-18 11:56:14 -0400 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2017-09-21 04:03:51 -0400 |
commit | 829e4887b8676255778e162efc57e4a0f18f8bb3 (patch) | |
tree | 6c3fa387ff841a767e44dd21a6c6693b727a033e | |
parent | 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e (diff) |
arm64: dts: salvator-common: add 12V regulator to backlight
This fixes the warning "pwm-backlight backlight: backlight supply power
not found, using dummy regulator".
Fixes: b33be33670217533 ("arm64: dts: salvator-x: Add panel backlight support")
Reported-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r-- | arch/arm64/boot/dts/renesas/salvator-common.dtsi | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/renesas/salvator-common.dtsi b/arch/arm64/boot/dts/renesas/salvator-common.dtsi index 4786c67b5e65..d9d885006a8e 100644 --- a/arch/arm64/boot/dts/renesas/salvator-common.dtsi +++ b/arch/arm64/boot/dts/renesas/salvator-common.dtsi | |||
@@ -62,6 +62,7 @@ | |||
62 | brightness-levels = <256 128 64 16 8 4 0>; | 62 | brightness-levels = <256 128 64 16 8 4 0>; |
63 | default-brightness-level = <6>; | 63 | default-brightness-level = <6>; |
64 | 64 | ||
65 | power-supply = <®_12v>; | ||
65 | enable-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>; | 66 | enable-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>; |
66 | }; | 67 | }; |
67 | 68 | ||
@@ -83,6 +84,15 @@ | |||
83 | regulator-always-on; | 84 | regulator-always-on; |
84 | }; | 85 | }; |
85 | 86 | ||
87 | reg_12v: regulator2 { | ||
88 | compatible = "regulator-fixed"; | ||
89 | regulator-name = "fixed-12V"; | ||
90 | regulator-min-microvolt = <12000000>; | ||
91 | regulator-max-microvolt = <12000000>; | ||
92 | regulator-boot-on; | ||
93 | regulator-always-on; | ||
94 | }; | ||
95 | |||
86 | rsnd_ak4613: sound { | 96 | rsnd_ak4613: sound { |
87 | compatible = "simple-audio-card"; | 97 | compatible = "simple-audio-card"; |
88 | 98 | ||