From: William Wu <william.wu@rock-chips.com>
To: kishon@ti.com
Cc: robh+dt@kernel.org, heiko@sntech.de,
linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org,
linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
frank.wang@rock-chips.com, huangtao@rock-chips.com,
dianders@google.com, briannorris@google.com, groeck@google.com,
daniel.meng@rock-chips.com, John.Youn@synopsys.com,
william.wu@rock-chips.com, lin.huang@rock-chips.com
Subject: [PATCH 2/3] arm64: dts: rockchip: add USB3 OTG reset for Type-C PHY on rk3399
Date: Fri, 12 Jan 2018 18:08:23 +0800 [thread overview]
Message-ID: <1515751704-13213-3-git-send-email-william.wu@rock-chips.com> (raw)
In-Reply-To: <1515751704-13213-1-git-send-email-william.wu@rock-chips.com>
Add USB3 OTG reset for Type-C PHY. It can be used to hold the USB3
OTG controller in reset state before initializing the Type-C PHY.
Signed-off-by: William Wu <william.wu@rock-chips.com>
---
arch/arm64/boot/dts/rockchip/rk3399.dtsi | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
index d340b58a..4e89d00 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi
@@ -1377,8 +1377,9 @@
power-domains = <&power RK3399_PD_TCPD0>;
resets = <&cru SRST_UPHY0>,
<&cru SRST_UPHY0_PIPE_L00>,
- <&cru SRST_P_UPHY0_TCPHY>;
- reset-names = "uphy", "uphy-pipe", "uphy-tcphy";
+ <&cru SRST_P_UPHY0_TCPHY>,
+ <&cru SRST_A_USB3_OTG0>;
+ reset-names = "uphy", "uphy-pipe", "uphy-tcphy", "usb3-otg";
rockchip,grf = <&grf>;
rockchip,typec-conn-dir = <0xe580 0 16>;
rockchip,usb3tousb2-en = <0xe580 3 19>;
@@ -1406,8 +1407,9 @@
power-domains = <&power RK3399_PD_TCPD1>;
resets = <&cru SRST_UPHY1>,
<&cru SRST_UPHY1_PIPE_L00>,
- <&cru SRST_P_UPHY1_TCPHY>;
- reset-names = "uphy", "uphy-pipe", "uphy-tcphy";
+ <&cru SRST_P_UPHY1_TCPHY>,
+ <&cru SRST_A_USB3_OTG1>;
+ reset-names = "uphy", "uphy-pipe", "uphy-tcphy", "usb3-otg";
rockchip,grf = <&grf>;
rockchip,typec-conn-dir = <0xe58c 0 16>;
rockchip,usb3tousb2-en = <0xe58c 3 19>;
--
2.0.0
next prev parent reply other threads:[~2018-01-12 10:09 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-12 10:08 [PATCH 0/3] Reset USB3 controller before initializing " William Wu
2018-01-12 10:08 ` [PATCH 1/3] dt-bindings: phy: phy-rockchip-typec: add usb3 otg reset William Wu
2018-01-17 22:07 ` Brian Norris
2018-01-18 17:20 ` Enric Balletbo Serra
2018-01-18 17:47 ` Brian Norris
2018-01-19 21:49 ` Rob Herring
[not found] ` <d05fb977-cd6c-4875-25be-9212e75b7e39@rock-chips.com>
2018-02-10 19:55 ` Heiko Stuebner
2018-02-12 16:40 ` wlf
2018-01-12 10:08 ` William Wu [this message]
2018-01-18 17:21 ` [PATCH 2/3] arm64: dts: rockchip: add USB3 OTG reset for Type-C PHY on rk3399 Enric Balletbo Serra
2018-01-12 10:08 ` [PATCH 3/3] phy: rockchip-typec: reset USB3 controller before initializing PHY William Wu
2018-01-18 17:22 ` Enric Balletbo Serra
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=1515751704-13213-3-git-send-email-william.wu@rock-chips.com \
--to=william.wu@rock-chips.com \
--cc=John.Youn@synopsys.com \
--cc=briannorris@google.com \
--cc=daniel.meng@rock-chips.com \
--cc=devicetree@vger.kernel.org \
--cc=dianders@google.com \
--cc=frank.wang@rock-chips.com \
--cc=groeck@google.com \
--cc=heiko@sntech.de \
--cc=huangtao@rock-chips.com \
--cc=kishon@ti.com \
--cc=lin.huang@rock-chips.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=robh+dt@kernel.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
all inboxes | Powered by JetHome®