ARM: dts: sunxi: Add missing backlight supply
The pwm-backlight binding requires a power supply. Make sure we provide one. Signed-off-by: Maxime Ripard <maxime@cerno.tech> Acked-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Jernej Skrabec <jernej.skrabec@siol.net> Link: https://lore.kernel.org/r/20210114113538.1233933-7-maxime@cerno.tech
This commit is contained in:
Родитель
e299e6dd35
Коммит
86131fb96e
|
@ -62,6 +62,7 @@
|
|||
brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>;
|
||||
default-brightness-level = <8>;
|
||||
enable-gpios = <&pio 7 7 GPIO_ACTIVE_HIGH>; /* PH7 */
|
||||
power-supply = <®_vcc3v3>;
|
||||
};
|
||||
|
||||
chosen {
|
||||
|
|
|
@ -62,6 +62,7 @@
|
|||
brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>;
|
||||
default-brightness-level = <8>;
|
||||
enable-gpios = <&pio 7 7 GPIO_ACTIVE_HIGH>; /* PH7 */
|
||||
power-supply = <®_vcc3v3>;
|
||||
};
|
||||
|
||||
chosen {
|
||||
|
|
|
@ -62,6 +62,7 @@
|
|||
brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>;
|
||||
default-brightness-level = <8>;
|
||||
enable-gpios = <&pio 7 7 GPIO_ACTIVE_HIGH>; /* PH7 */
|
||||
power-supply = <®_vcc3v3>;
|
||||
};
|
||||
|
||||
chosen {
|
||||
|
|
|
@ -61,6 +61,7 @@
|
|||
pwms = <&pwm 0 50000 PWM_POLARITY_INVERTED>;
|
||||
brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>;
|
||||
default-brightness-level = <8>;
|
||||
power-supply = <®_vcc3v3>;
|
||||
/* TODO: backlight uses axp gpio1 as enable pin */
|
||||
};
|
||||
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
enable-gpios = <&pio 1 4 GPIO_ACTIVE_HIGH>; /* PB4 */
|
||||
brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>;
|
||||
default-brightness-level = <8>;
|
||||
power-supply = <®_vcc3v3>;
|
||||
};
|
||||
|
||||
chosen {
|
||||
|
|
|
@ -71,7 +71,7 @@
|
|||
compatible = "pwm-backlight";
|
||||
pwms = <&pwm 0 10000 0>;
|
||||
enable-gpios = <&axp_gpio 1 GPIO_ACTIVE_HIGH>;
|
||||
|
||||
power-supply = <®_vcc3v3>;
|
||||
brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>;
|
||||
default-brightness-level = <8>;
|
||||
};
|
||||
|
|
|
@ -55,6 +55,7 @@
|
|||
brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>;
|
||||
default-brightness-level = <8>;
|
||||
enable-gpios = <&axp_gpio 1 GPIO_ACTIVE_HIGH>; /* AXP GPIO1 */
|
||||
power-supply = <®_vcc3v0>;
|
||||
};
|
||||
|
||||
chosen {
|
||||
|
|
|
@ -64,6 +64,7 @@
|
|||
brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>;
|
||||
default-brightness-level = <8>;
|
||||
enable-gpios = <&pio 7 7 GPIO_ACTIVE_HIGH>; /* PH7 */
|
||||
power-supply = <®_vcc3v3>;
|
||||
};
|
||||
|
||||
chosen {
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
compatible = "pwm-backlight";
|
||||
pwms = <&pwm 0 50000 PWM_POLARITY_INVERTED>;
|
||||
enable-gpios = <&pio 3 29 GPIO_ACTIVE_HIGH>;
|
||||
|
||||
power-supply = <®_sw>;
|
||||
brightness-levels = <0 1 2 4 8 16 32 64 128 255>;
|
||||
default-brightness-level = <9>;
|
||||
};
|
||||
|
|
|
@ -54,6 +54,7 @@
|
|||
brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>;
|
||||
default-brightness-level = <8>;
|
||||
enable-gpios = <&pio 7 6 GPIO_ACTIVE_HIGH>; /* PH6 */
|
||||
power-supply = <®_dc1sw>;
|
||||
};
|
||||
|
||||
chosen {
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
compatible = "pwm-backlight";
|
||||
pwms = <&r_pwm 0 50000 PWM_POLARITY_INVERTED>;
|
||||
enable-gpios = <&pio 7 10 GPIO_ACTIVE_HIGH>; /* PH10 */
|
||||
power-supply = <®_ps>;
|
||||
/* Backlight configuration differs per PinePhone revision. */
|
||||
};
|
||||
|
||||
|
@ -50,6 +51,14 @@
|
|||
};
|
||||
};
|
||||
|
||||
reg_ps: ps-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "ps";
|
||||
regulator-min-microvolt = <5000000>;
|
||||
regulator-max-microvolt = <5000000>;
|
||||
regulator-boot-on;
|
||||
};
|
||||
|
||||
reg_vbat_wifi: vbat-wifi {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-min-microvolt = <3300000>;
|
||||
|
|
Загрузка…
Ссылка в новой задаче