* [PATCH] arm64: dts: exynos: gs101-pixel-common: add supply and regulator properties
@ 2026-02-24 5:03 Amit Sunil Dhamne via B4 Relay
2026-02-24 7:01 ` Krzysztof Kozlowski
0 siblings, 1 reply; 3+ messages in thread
From: Amit Sunil Dhamne via B4 Relay @ 2026-02-24 5:03 UTC (permalink / raw)
To: Peter Griffin, André Draszik, Tudor Ambarus, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Alim Akhtar
Cc: linux-arm-kernel, linux-samsung-soc, devicetree, linux-kernel,
Badhri Jagan Sridharan, Amit Sunil Dhamne
From: Amit Sunil Dhamne <amitsd@google.com>
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 power source mode.
Signed-off-by: Amit Sunil Dhamne <amitsd@google.com>
---
This patch depends on the patchset [1].
[1] https://lore.kernel.org/all/20260224-max77759-charger-v8-0-eb86bd570e9c@google.com/
---
arch/arm64/boot/dts/exynos/google/gs101-pixel-common.dtsi | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
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 93892adaa679..2cc00d34dda8 100644
--- a/arch/arm64/boot/dts/exynos/google/gs101-pixel-common.dtsi
+++ b/arch/arm64/boot/dts/exynos/google/gs101-pixel-common.dtsi
@@ -142,12 +142,13 @@ &hsi2c_12 {
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";
@@ -236,6 +237,11 @@ pmic@66 {
interrupt-controller;
#interrupt-cells = <2>;
+ power-supplies = <&maxtcpci>;
+ chgin_otg_reg: chgin-otg-regulator {
+ regulator-name = "chgin-otg";
+ };
+
gpio {
compatible = "maxim,max77759-gpio";
---
base-commit: 8bf22c33e7a172fbc72464f4cc484d23a6b412ba
change-id: 20260224-max77759-charger-dts-23493398e77c
Best regards,
--
Amit Sunil Dhamne <amitsd@google.com>
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] arm64: dts: exynos: gs101-pixel-common: add supply and regulator properties
2026-02-24 5:03 [PATCH] arm64: dts: exynos: gs101-pixel-common: add supply and regulator properties Amit Sunil Dhamne via B4 Relay
@ 2026-02-24 7:01 ` Krzysztof Kozlowski
2026-02-24 21:28 ` Amit Sunil Dhamne
0 siblings, 1 reply; 3+ messages in thread
From: Krzysztof Kozlowski @ 2026-02-24 7:01 UTC (permalink / raw)
To: amitsd, Peter Griffin, André Draszik, Tudor Ambarus,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Alim Akhtar
Cc: linux-arm-kernel, linux-samsung-soc, devicetree, linux-kernel,
Badhri Jagan Sridharan
On 24/02/2026 06:03, Amit Sunil Dhamne via B4 Relay wrote:
> From: Amit Sunil Dhamne <amitsd@google.com>
>
> 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 power source mode.
>
> Signed-off-by: Amit Sunil Dhamne <amitsd@google.com>
> ---
> This patch depends on the patchset [1].
> [1] https://lore.kernel.org/all/20260224-max77759-charger-v8-0-eb86bd570e9c@google.com/
> ---
> arch/arm64/boot/dts/exynos/google/gs101-pixel-common.dtsi | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
>
> 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 93892adaa679..2cc00d34dda8 100644
> --- a/arch/arm64/boot/dts/exynos/google/gs101-pixel-common.dtsi
> +++ b/arch/arm64/boot/dts/exynos/google/gs101-pixel-common.dtsi
> @@ -142,12 +142,13 @@ &hsi2c_12 {
> 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";
> @@ -236,6 +237,11 @@ pmic@66 {
> interrupt-controller;
> #interrupt-cells = <2>;
>
> + power-supplies = <&maxtcpci>;
Missing blank line. Please follow DTS coding style.
> + chgin_otg_reg: chgin-otg-regulator {
> + regulator-name = "chgin-otg";
> + };
> +
> gpio {
> compatible = "maxim,max77759-gpio";
>
>
> ---
> base-commit: 8bf22c33e7a172fbc72464f4cc484d23a6b412ba
> change-id: 20260224-max77759-charger-dts-23493398e77c
>
> Best regards,
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] arm64: dts: exynos: gs101-pixel-common: add supply and regulator properties
2026-02-24 7:01 ` Krzysztof Kozlowski
@ 2026-02-24 21:28 ` Amit Sunil Dhamne
0 siblings, 0 replies; 3+ messages in thread
From: Amit Sunil Dhamne @ 2026-02-24 21:28 UTC (permalink / raw)
To: Krzysztof Kozlowski, Peter Griffin, André Draszik,
Tudor Ambarus, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Alim Akhtar
Cc: linux-arm-kernel, linux-samsung-soc, devicetree, linux-kernel,
Badhri Jagan Sridharan
On 2/23/26 11:01 PM, Krzysztof Kozlowski wrote:
> On 24/02/2026 06:03, Amit Sunil Dhamne via B4 Relay wrote:
>> From: Amit Sunil Dhamne <amitsd@google.com>
>>
>> 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 power source mode.
>>
>> Signed-off-by: Amit Sunil Dhamne <amitsd@google.com>
>> ---
>> This patch depends on the patchset [1].
>> [1] https://lore.kernel.org/all/20260224-max77759-charger-v8-0-eb86bd570e9c@google.com/
>> ---
>> arch/arm64/boot/dts/exynos/google/gs101-pixel-common.dtsi | 8 +++++++-
>> 1 file changed, 7 insertions(+), 1 deletion(-)
>>
>> 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 93892adaa679..2cc00d34dda8 100644
>> --- a/arch/arm64/boot/dts/exynos/google/gs101-pixel-common.dtsi
>> +++ b/arch/arm64/boot/dts/exynos/google/gs101-pixel-common.dtsi
>> @@ -142,12 +142,13 @@ &hsi2c_12 {
>> 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";
>> @@ -236,6 +237,11 @@ pmic@66 {
>> interrupt-controller;
>> #interrupt-cells = <2>;
>>
>> + power-supplies = <&maxtcpci>;
> Missing blank line. Please follow DTS coding style.
Sorry, will fix.
BR,
Amit
>
>> + chgin_otg_reg: chgin-otg-regulator {
>> + regulator-name = "chgin-otg";
>> + };
>> +
>> gpio {
>> compatible = "maxim,max77759-gpio";
>>
>>
>> ---
>> base-commit: 8bf22c33e7a172fbc72464f4cc484d23a6b412ba
>> change-id: 20260224-max77759-charger-dts-23493398e77c
>>
>> Best regards,
>
> Best regards,
> Krzysztof
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-02-24 21:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-24 5:03 [PATCH] arm64: dts: exynos: gs101-pixel-common: add supply and regulator properties Amit Sunil Dhamne via B4 Relay
2026-02-24 7:01 ` Krzysztof Kozlowski
2026-02-24 21:28 ` Amit Sunil Dhamne
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox