From: Peter Chen Date: Mon, 20 Jan 2020 02:04:43 +0000 (+0800) Subject: LF-835-2 ARM: dts: imx7ulp-evk: add pinctrl for suspend X-Git-Tag: rel_imx_5.10.35_2.0.0-somdevices.0~577^2~2^2~486 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=fc7dcd0095f7e82f5b90ece66aac0b3e4907d7fc;p=linux.git 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 --- 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;