Linux-Amlogic Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: ldevulder@suse.de (Loic Devulder)
To: linus-amlogic@lists.infradead.org
Subject: [PATCH v2 1/2] ARM64: meson: Add 'usb2_phy0' in P212 DT file
Date: Mon,  9 Jul 2018 17:34:06 +0200	[thread overview]
Message-ID: <20180709153407.29138-2-ldevulder@suse.de> (raw)
In-Reply-To: <20180709153407.29138-1-ldevulder@suse.de>

Enable power supply for USB Amlogic Meson GXL P212 based boards.

Signed-off-by: Loic Devulder <ldevulder@suse.de>
---
 arch/arm/dts/meson-gxl-s905x-p212.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/dts/meson-gxl-s905x-p212.dtsi b/arch/arm/dts/meson-gxl-s905x-p212.dtsi
index 0cfd701809..4e61ec8f5b 100644
--- a/arch/arm/dts/meson-gxl-s905x-p212.dtsi
+++ b/arch/arm/dts/meson-gxl-s905x-p212.dtsi
@@ -189,3 +189,11 @@
 &usb0 {
 	status = "okay";
 };
+
+&usb2_phy0 {
+        /*
+         * even though the schematics don't show it:
+         * HDMI_5V is also used as supply for the USB VBUS.
+         */
+        phy-supply = <&hdmi_5v>;
+};
-- 
2.13.7

  reply	other threads:[~2018-07-09 15:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-09 15:34 [PATCH v2 0/2] Fix USB and enable ADC on Khadas VIM Loic Devulder
2018-07-09 15:34 ` Loic Devulder [this message]
2018-07-09 18:14   ` [PATCH v2 1/2] ARM64: meson: Add 'usb2_phy0' in P212 DT file Neil Armstrong
2018-07-09 19:56     ` Loic Devulder
2018-07-09 15:34 ` [PATCH v2 2/2] configs: Update Meson GX configs Loic Devulder
2018-07-09 18:14   ` Neil Armstrong

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=20180709153407.29138-2-ldevulder@suse.de \
    --to=ldevulder@suse.de \
    --cc=linus-amlogic@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox