MLK-20158-2 ARM: dts: imx7ulp-evk: add pinctrl for "sleep" state
authorPeter Chen <peter.chen@nxp.com>
Thu, 1 Nov 2018 07:21:29 +0000 (15:21 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
After commit 2911e974c845 ("MLK-19098 ARM: dts: imx7ulp-evk: use OTG
ID function instead of GPIO") , the ID pinctrl is set by chipidea
driver, so we need to restore its setting after system resume
due to pinctrl setting is lost at VLLS state.

Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
arch/arm/boot/dts/imx7ulp-evk.dts

index 4aa9680..559ddf3 100644 (file)
 
 &usbotg1 {
        vbus-supply = <&reg_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;