LF-220-2 ARM64: dts: imx8dxl-phantom-mek.dtsi: change pinctrl for vbus regulator
authorPeter Chen <peter.chen@nxp.com>
Thu, 28 Nov 2019 06:30:56 +0000 (14:30 +0800)
committerDong Aisheng <aisheng.dong@nxp.com>
Mon, 14 Dec 2020 03:21:23 +0000 (11:21 +0800)
The vbus regulator should be put under its node, not but at
usb controller node.

Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
arch/arm64/boot/dts/freescale/imx8dxl-phantom-mek.dtsi

index afcf4ff..2063408 100755 (executable)
 
                reg_usb_otg1_vbus: regulator@0 {
                        compatible = "regulator-fixed";
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&pinctrl_reg_usb_vbus>;
                        reg = <0>;
                        regulator-name = "usb_otg1_vbus";
                        regulator-min-microvolt = <5000000>;
                                IMX8QXP_EMMC0_STROBE_CONN_EMMC0_STROBE  0x00000041
                        >;
                };
-               pinctrl_usb_otg1: usbotg1grp {
+               pinctrl_reg_usb_vbus: regusbvbusgrp {
                        fsl,pins = <
                                IMX8QXP_USB_SS3_TC0_LSIO_GPIO4_IO03     0x06000021
                        >;
 
 &usbotg1 {
        vbus-supply = <&reg_usb_otg1_vbus>;
-       pinctrl-names = "default";
-       pinctrl-0 = <&pinctrl_usb_otg1>;
        srp-disable;
        hnp-disable;
        adp-disable;