Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 25861233 authored by Guoping Yu's avatar Guoping Yu
Browse files

ARM: dts: msm: Add USB ID gpio for SKUK



Add following device node and configuration:

- GPIO pin configuration for USB ID detection
- ID detection configuration based on GPIO on
  USB device node

Change-Id: I8cf640583671c6af72171a50922cc4140b73be1a
Signed-off-by: default avatarGuoping Yu <guopingy@codeaurora.org>
parent 354e25a6
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -197,6 +197,17 @@
			};
		};

		usb-id-pin {
			qcom,pins = <&gp 110>;
			qcom,num-grp-pins = <1>;
			qcom,pin-func = <0>;
			label = "usb-id-pin";
			usbid_default: default {
				drive-strength = <8>;
				bias-pull-up;
			};
		};

		 spi0_active {
                        /* MOSI, MISO, CLK */
                        qcom,pins = <&gp 8>, <&gp 9>, <&gp 11>;
+7 −0
Original line number Diff line number Diff line
@@ -212,3 +212,10 @@
	/delete-property/ cd-gpios;
};

&usb_otg {
       qcom,hsusb-otg-mode = <3>;
       qcom,usbid-gpio = <&msm_gpio 110 0>;
       pinctrl-names = "default";
       pinctrl-0 = <&usbid_default>;
       vbus_otg-supply = <&smb1360_otg_supply>;
};