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

Commit 68625650 authored by Fenglin Wu's avatar Fenglin Wu
Browse files

ARM: dts: msm: Add type-C ssmux config for msmtitanium DTP



Add type-C ssmux config for msmtitanium DTP to support the type-C
interface on device, and also add the type-C setting in charger to
support type-C power capability notification.

Change-Id: Ie436359fc2e58818952fafb73d966c5ca80c6202
Signed-off-by: default avatarFenglin Wu <fenglinw@codeaurora.org>
parent 184e2ced
Loading
Loading
Loading
Loading
+16 −7
Original line number Diff line number Diff line
@@ -14,13 +14,6 @@
#include "msmtitanium-pinctrl.dtsi"
#include "msmtitanium-camera-sensor-qrd.dtsi"

/ {
	qrd_batterydata: qcom,battery-data {
		qcom,batt-id-range-pct = <15>;
		#include "batterydata-qrd-sku1-4v4-2800mah.dtsi"
	};
};

&soc {
	gpio_keys {
		compatible = "gpio-keys";
@@ -83,11 +76,27 @@
	};
};

/ {
	qrd_batterydata: qcom,battery-data {
		qcom,batt-id-range-pct = <15>;
		#include "batterydata-qrd-sku1-4v4-2800mah.dtsi"
	};
};

&pmtitanium_typec {
	ss-mux-supply = <&pmtitanium_l13>;
	qcom,ssmux-gpio = <&tlmm 139 0>;
	pinctrl-names = "default";
	pinctrl-0 = <&typec_ssmux_config>;
};

&pmi8950_charger {
	qcom,battery-data = <&qrd_batterydata>;
	qcom,float-voltage-mv = <4400>;
	qcom,chg-led-sw-controls;
	qcom,chg-led-support;
	qcom,external-typec;
	qcom,typec-psy-name = "typec";
	status = "okay";
};