From fc7dcd0095f7e82f5b90ece66aac0b3e4907d7fc Mon Sep 17 00:00:00 2001 From: Peter Chen Date: Mon, 20 Jan 2020 10:04:43 +0800 Subject: [PATCH] LF-835-2 ARM: dts: imx7ulp-evk: add pinctrl for suspend For imx7ulp, the power of pinctrl is lost during the system susupend, so we need to restore the pinctrl value after resume. Add one group pinctrl for "sleep" for both id and vbus pinctrl. Reviewed-by: Jun Li Acked-by: Leonard Crestez Signed-off-by: Peter Chen Signed-off-by: Dong Aisheng --- arch/arm/boot/dts/imx7ulp-evk.dts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/imx7ulp-evk.dts b/arch/arm/boot/dts/imx7ulp-evk.dts index 2e3c453c5a99..542ee033281b 100644 --- a/arch/arm/boot/dts/imx7ulp-evk.dts +++ b/arch/arm/boot/dts/imx7ulp-evk.dts @@ -125,8 +125,9 @@ reg_usb_otg1_vbus: regulator-usb-otg1-vbus { compatible = "regulator-fixed"; - pinctrl-names = "default"; + pinctrl-names = "default", "sleep"; pinctrl-0 = <&pinctrl_usbotg1_vbus>; + pinctrl-1 = <&pinctrl_usbotg1_vbus>; regulator-name = "usb_otg1_vbus"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; @@ -400,8 +401,9 @@ &usbotg1 { vbus-supply = <®_usb_otg1_vbus>; - pinctrl-names = "default"; + pinctrl-names = "default", "sleep"; pinctrl-0 = <&pinctrl_usbotg1_id>; + pinctrl-1 = <&pinctrl_usbotg1_id>; srp-disable; hnp-disable; adp-disable; -- 2.17.1