[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240530-max77693-charger-extcon-v1-11-dc2a9e5bdf30@gmail.com>
Date: Thu, 30 May 2024 10:56:01 +0200
From: Artur Weber <aweber.kernel@...il.com>
To: Krzysztof Kozlowski <krzk@...nel.org>,
Chanwoo Choi <cw00.choi@...sung.com>
Cc: Sebastian Reichel <sre@...nel.org>, Rob Herring <robh@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Lee Jones <lee@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Alim Akhtar <alim.akhtar@...sung.com>, linux-pm@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-samsung-soc@...r.kernel.org,
~postmarketos/upstreaming@...ts.sr.ht, Henrik Grimler <henrik@...mler.se>,
Wolfgang Wiedmeyer <wolfgit@...dmeyer.de>,
Denis 'GNUtoo' Carikli <GNUtoo@...erdimension.org>,
Artur Weber <aweber.kernel@...il.com>
Subject: [PATCH RFC 11/11] ARM: dts: samsung: exynos4212-tab3: Add USB
connector node
Add a subnode to the MAX77693 MFD for the MUIC and connect the USB
connector node to the charger to allow for charger type/OTG cable
detection.
Signed-off-by: Artur Weber <aweber.kernel@...il.com>
---
arch/arm/boot/dts/samsung/exynos4212-tab3.dtsi | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm/boot/dts/samsung/exynos4212-tab3.dtsi b/arch/arm/boot/dts/samsung/exynos4212-tab3.dtsi
index b13c135bd944..2e7f7e8f6c3b 100644
--- a/arch/arm/boot/dts/samsung/exynos4212-tab3.dtsi
+++ b/arch/arm/boot/dts/samsung/exynos4212-tab3.dtsi
@@ -151,6 +151,17 @@ charger_reg: CHARGER {
};
};
+ muic {
+ compatible = "maxim,max77693-muic";
+
+ usb_conn: connector {
+ compatible = "samsung,usb-connector-11pin",
+ "usb-b-connector";
+ label = "micro-USB";
+ type = "micro";
+ };
+ };
+
charger {
compatible = "maxim,max77693-charger";
@@ -160,6 +171,8 @@ charger {
maxim,battery-overcurrent-microamp = <3500000>;
maxim,fast-charge-current-microamp = <1800000>;
maxim,charge-input-threshold-microvolt = <4300000>;
+
+ maxim,usb-connector = <&usb_conn>;
};
};
};
--
2.45.1
Powered by blists - more mailing lists