提交 0ec47be5 编写于 作者: K Keerthy 提交者: Tony Lindgren

ARM: dts: am437x-gp-evm: Add sleep state for beeper pins

Add sleep state for beeper pins. Without this there was a power
increase during the suspend and standby states on V3_3D domain.
Signed-off-by: NKeerthy <j-keerthy@ti.com>
Signed-off-by: NTony Lindgren <tony@atomide.com>
上级 6a156a05
...@@ -161,7 +161,8 @@ ...@@ -161,7 +161,8 @@
beeper: beeper { beeper: beeper {
compatible = "gpio-beeper"; compatible = "gpio-beeper";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&beeper_pins>; pinctrl-0 = <&beeper_pins_default>;
pinctrl-1 = <&beeper_pins_sleep>;
gpios = <&gpio4 12 GPIO_ACTIVE_HIGH>; gpios = <&gpio4 12 GPIO_ACTIVE_HIGH>;
}; };
}; };
...@@ -523,12 +524,18 @@ ...@@ -523,12 +524,18 @@
>; >;
}; };
beeper_pins: beeper_pins { beeper_pins_default: beeper_pins_default {
pinctrl-single,pins = < pinctrl-single,pins = <
AM4372_IOPAD(0x9e0, PIN_OUTPUT_PULLUP | MUX_MODE7) /* cam1_field.gpio4_12 */ AM4372_IOPAD(0x9e0, PIN_OUTPUT_PULLUP | MUX_MODE7) /* cam1_field.gpio4_12 */
>; >;
}; };
beeper_pins_sleep: beeper_pins_sleep {
pinctrl-single,pins = <
AM4372_IOPAD(0x9e0, PIN_INPUT_PULLDOWN | MUX_MODE7) /* cam1_field.gpio4_12 */
>;
};
unused_pins: unused_pins { unused_pins: unused_pins {
pinctrl-single,pins = < pinctrl-single,pins = <
AM4372_IOPAD(0x854, PIN_INPUT_PULLDOWN | MUX_MODE7) AM4372_IOPAD(0x854, PIN_INPUT_PULLDOWN | MUX_MODE7)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册