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

Commit 53b92a66 authored by Tirupathi Reddy's avatar Tirupathi Reddy Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Add NX30P6093 device node for sdm670



NX30P6093 device detects moisture or dust present on
USB lines and notifies system to take further action
to avoid damage to Type-C USB port.

CRs-Fixed: 2102107
Change-Id: I28ce2f5f2865a1d7a8ef37e682886b8ab68d5b0f
Signed-off-by: default avatarTirupathi Reddy <tirupath@codeaurora.org>
parent cf5aef35
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -1979,6 +1979,19 @@
				drive-strength = <2>; /* 2 MA */
			};
		};

		nx30p6093_intr_default: nx30p6093_intr_default {
			mux {
				pins = "gpio5";
				function = "gpio";
			};

			config {
				pins = "gpio5";
				bias-disable;
				input-enable;
			};
		};
	};
};

+14 −0
Original line number Diff line number Diff line
@@ -2932,3 +2932,17 @@
&pm660_div_clk {
	status = "ok";
};

&qupv3_se10_i2c {
	nx30p6093: nx30p6093@36 {
		status = "disabled";
		compatible = "nxp,nx30p6093";
		reg = <0x36>;
		interrupt-parent = <&tlmm>;
		interrupts = <5 IRQ_TYPE_NONE>;
		nxp,long-wakeup-sec = <28800>; /* 8 hours */
		nxp,short-wakeup-ms = <180000>; /* 3 mins */
		pinctrl-names = "default";
		pinctrl-0 = <&nx30p6093_intr_default>;
	};
};