ARM: dts: imx6qdl-sabresd: add regulator control for isl29023 sensor
Subsystems (2)
PATCH 1/4 ARM: dts: imx6qdl-sabresd: add regulator control for isl29023 sensor
The isl29023 light sensor driver has supported regulator control, assign the power supply for isl29023 to enable the control.
--- arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 1 + 1 file changed, 1 insertion(+)
arch/arm/boot/dts/imx6qdl-sabresd.dtsi +1 -0
@@ -449,6 +449,7 @@ pinctrl-0 = <&pinctrl_i2c3_isl29023_int>; interrupt-parent = <&gpio3>; interrupts = <9 IRQ_TYPE_EDGE_FALLING>; + vcc-supply = <®_sensors>; }; };
Signature · 1 line
2.7.4
PATCH 2/4 ARM: dts: imx6qdl-sabresd: add regulators control for mag3110 sensor
The mag3110 sensor driver has supported regulators control, assign the power supplies for mag3110 to enable the control.
--- arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 2 ++ 1 file changed, 2 insertions(+)
arch/arm/boot/dts/imx6qdl-sabresd.dtsi +2 -0
@@ -440,6 +440,8 @@ pinctrl-0 = <&pinctrl_i2c3_mag3110_int>; interrupt-parent = <&gpio3>; interrupts = <16 IRQ_TYPE_EDGE_RISING>; + vdd-supply = <®_sensors>; + vddio-supply = <®_sensors>; }; light-sensor@44 {
Signature · 1 line
2.7.4
PATCH 3/4 ARM: dts: imx6qdl-sabresd: add regulators control for mma8451 sensor
In reply to Anson HuangThe mma8451 sensor driver has supported regulators control, assign the power supplies for mma8451 to enable the control.
--- arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 2 ++ 1 file changed, 2 insertions(+)
arch/arm/boot/dts/imx6qdl-sabresd.dtsi +2 -0
@@ -250,6 +250,8 @@ pinctrl-0 = <&pinctrl_i2c1_mma8451_int>; interrupt-parent = <&gpio1>; interrupts = <18 IRQ_TYPE_LEVEL_LOW>; + vdd-supply = <®_sensors>; + vddio-supply = <®_sensors>; }; ov5642: camera@3c {
Signature · 1 line
2.7.4
PATCH 4/4 ARM: dts: imx6qdl-sabresd: remove reg_sensors' regulator-always-on
In reply to Anson HuangNow that all sensors supplied by reg_sensors have supported regulator control, reg_sensors does NOT need to be always ON, remove "regulator-always-on" to save power.
--- arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 1 - 1 file changed, 1 deletion(-)
arch/arm/boot/dts/imx6qdl-sabresd.dtsi +0 -1
@@ -64,7 +64,6 @@ regulator-max-microvolt = <3300000>; gpio = <&gpio2 31 GPIO_ACTIVE_HIGH>; enable-active-high; - regulator-always-on; }; gpio-keys {
Signature · 1 line
2.7.4
Shawn Guo
AppliedQuoted 4 lines · Anson Huang
The isl29023 light sensor driver has supported regulator control, assign the power supply for isl29023 to enable the control.
Signed-off-by Anson Huang <[email protected]>
Applied all, thanks.