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

Commit b13c25ab authored by Sudharsan Reddy Yettapu's avatar Sudharsan Reddy Yettapu Committed by Sivasri Kumar Vanka
Browse files

ARM: dts: qcom: Add extcon phandle to ChipIdea driver



Update ChipIdea USB OTG device tree node to detect external
connector cable as USB device or host and configure the USB
mode as pheripheral or host.

Change-Id: I597c70f5a99cdbe3f566dcf092806cd96387bc8f
Signed-off-by: default avatarSudharsan Reddy Yettapu <syepattu@codeaurora.org>
Signed-off-by: default avatarSuresh Kumar Allam <allamsuresh@codeaurora.org>
Signed-off-by: default avatarSivasri Kumar Vanka <sivasri@codeaurora.org>
parent 338791a2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/*
 * Copyright (c) 2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -160,7 +160,7 @@

&i2c_4 {
	/* SMB358 charger configuration */
	smb358_otg_vreg: smb358-charger@57 {
	smb358_otg_supply: smb358-charger@57 {
		compatible = "qcom,smb358-charger";
		regulator-name = "smb358_otg_vreg";
		reg = <0x57>;
+3 −2
Original line number Diff line number Diff line
/*
 * Copyright (c) 2019, The Linux Foundation. All rights reserved.
 * Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -1868,7 +1868,8 @@
};

&usb_otg {
	vbus_otg-supply = <&smb358_otg_vreg>;
	vbus_otg-supply = <&smb358_otg_supply>;
	extcon = <&smb358_otg_supply>;
};

&pm8019_vadc {