From 3653ea2aa0a212677569a98cfccc183ba2c890cc Mon Sep 17 00:00:00 2001 From: Amit Sunil Dhamne Date: Sat, 19 Sep 2026 01:04:10 +0000 Subject: [PATCH] arm64: dts: exynos: gs101-pixel-common: add supply and regulator properties Add power supply and regulator properties to the MAX77759 pmic. The usb-typec device will reference the regulator provided by the pmic as it supplies vbus to the typec device when operating in source mode. Additionally, describe the charging path as well. The pmic draws its input from the Type-C port and in turn charges the battery that the fuel gauge measures, which gives the full ladder: usb-typec@25 -> pmic@66 -> fuel-gauge@36 Signed-off-by: Amit Sunil Dhamne Link: https://patch.msgid.link/20260919-max77759-charger-dts-v3-1-78b68fbf7d4a@google.com Signed-off-by: Krzysztof Kozlowski --- .../boot/dts/exynos/google/gs101-pixel-common.dtsi | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/exynos/google/gs101-pixel-common.dtsi b/arch/arm64/boot/dts/exynos/google/gs101-pixel-common.dtsi index 31bd42c81c38..05bd9f422407 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101-pixel-common.dtsi +++ b/arch/arm64/boot/dts/exynos/google/gs101-pixel-common.dtsi @@ -646,12 +646,13 @@ status = "okay"; /* TODO: add the devices once drivers exist */ - usb-typec@25 { + maxtcpci: usb-typec@25 { compatible = "maxim,max77759-tcpci", "maxim,max33359"; reg = <0x25>; interrupts-extended = <&gpa8 2 IRQ_TYPE_LEVEL_LOW>; pinctrl-0 = <&typec_int>; pinctrl-names = "default"; + vbus-supply = <&chgin_otg_reg>; connector { compatible = "usb-c-connector"; @@ -738,9 +739,10 @@ interrupts-extended = <&gpa9 3 IRQ_TYPE_LEVEL_LOW>; shunt-resistor-micro-ohms = <5000>; + power-supplies = <&max77759_pmic>; }; - pmic@66 { + max77759_pmic: pmic@66 { compatible = "maxim,max77759"; reg = <0x66>; @@ -750,6 +752,11 @@ interrupt-controller; #interrupt-cells = <2>; + power-supplies = <&maxtcpci>; + + chgin_otg_reg: chgin-otg-regulator { + regulator-name = "chgin-otg"; + }; gpio { compatible = "maxim,max77759-gpio"; -- knotmirror 0.0.1