From: Chris Morgan <macroalpha82@gmail.com>
To: linux-sunxi@lists.linux.dev
Cc: devicetree@vger.kernel.org, linux-pm@vger.kernel.org,
broonie@kernel.org, lgirdwood@gmail.com, lee@kernel.org,
samuel@sholland.org, jernej.skrabec@gmail.com, wens@csie.org,
conor+dt@kernel.org, krzk+dt@kernel.org, robh@kernel.org,
sre@kernel.org, Chris Morgan <macromorgan@hotmail.com>
Subject: [PATCH 4/4] arm64: dts: allwinner: Anbernic RG35XX: add AXP717 USB power
Date: Wed, 22 May 2024 18:01:32 -0500 [thread overview]
Message-ID: <20240522230132.364915-5-macroalpha82@gmail.com> (raw)
In-Reply-To: <20240522230132.364915-1-macroalpha82@gmail.com>
From: Chris Morgan <macromorgan@hotmail.com>
Add the necessary node for the USB power driver and bind it to the OTG
port.
Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
---
.../boot/dts/allwinner/sun50i-h700-anbernic-rg35xx-2024.dts | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h700-anbernic-rg35xx-2024.dts b/arch/arm64/boot/dts/allwinner/sun50i-h700-anbernic-rg35xx-2024.dts
index ee30584b6ad7..96a43d55baab 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h700-anbernic-rg35xx-2024.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h700-anbernic-rg35xx-2024.dts
@@ -307,6 +307,10 @@ reg_cpusldo: cpusldo {
/* unused */
};
};
+
+ usb_power: usb-power {
+ compatible = "x-powers,axp717-usb-power-supply";
+ };
};
};
@@ -323,5 +327,6 @@ &usbotg {
};
&usbphy {
+ usb0_vbus_power-supply = <&usb_power>;
status = "okay";
};
--
2.34.1
prev parent reply other threads:[~2024-05-22 23:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-22 23:01 [PATCH 0/4] AXP717: Add USB Power Supply Chris Morgan
2024-05-22 23:01 ` [PATCH 1/4] mfd: axp20x: AXP717: Correct MODULE_ENABLE_CONTROL register name Chris Morgan
2024-05-22 23:01 ` [PATCH 2/4] dt-bindings: mfd: x-powers,axp20x-usb-power-supply: add AXP717 Chris Morgan
2024-05-23 6:40 ` Krzysztof Kozlowski
2024-05-22 23:01 ` [PATCH 3/4] power: supply: axp20x_usb_power: Add support for AXP717 Chris Morgan
2024-05-27 9:10 ` Oliver Neukum
2024-05-29 15:22 ` Chris Morgan
[not found] ` <ZldINkZO11XuiJAP@wintermute.localhost.fail>
2024-06-06 17:09 ` Chris Morgan
2024-05-22 23:01 ` Chris Morgan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240522230132.364915-5-macroalpha82@gmail.com \
--to=macroalpha82@gmail.com \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jernej.skrabec@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=lee@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-pm@vger.kernel.org \
--cc=linux-sunxi@lists.linux.dev \
--cc=macromorgan@hotmail.com \
--cc=robh@kernel.org \
--cc=samuel@sholland.org \
--cc=sre@kernel.org \
--cc=wens@csie.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.