]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: dts: am437x-gp-evm: Add sleep state for beeper pins
authorKeerthy <j-keerthy@ti.com>
Wed, 7 Nov 2018 05:04:20 +0000 (10:34 +0530)
committerTony Lindgren <tony@atomide.com>
Mon, 19 Nov 2018 18:32:43 +0000 (10:32 -0800)
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: Keerthy <j-keerthy@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am437x-gp-evm.dts

index 0127d11d14885e434a31093e064f608b2c042611..f4a20cade80858a72d1327e5c671121f8c7d5bec 100644 (file)
        beeper: beeper {
                compatible = "gpio-beeper";
                pinctrl-names = "default";
-               pinctrl-0 = <&beeper_pins>;
+               pinctrl-0 = <&beeper_pins_default>;
+               pinctrl-1 = <&beeper_pins_sleep>;
                gpios = <&gpio4 12 GPIO_ACTIVE_HIGH>;
        };
 };
                >;
        };
 
-       beeper_pins: beeper_pins {
+       beeper_pins_default: beeper_pins_default {
                pinctrl-single,pins = <
                        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 {
                pinctrl-single,pins = <
                        AM4372_IOPAD(0x854, PIN_INPUT_PULLDOWN | MUX_MODE7)