* [PATCH] arm64: dts: renesas: salvator-common: add pfc node for USB3.0 channel 0
@ 2017-10-03 8:01 Yoshihiro Shimoda
2017-10-04 13:53 ` Geert Uytterhoeven
0 siblings, 1 reply; 3+ messages in thread
From: Yoshihiro Shimoda @ 2017-10-03 8:01 UTC (permalink / raw)
To: horms, magnus.damm, robh+dt, mark.rutland
Cc: devicetree, linux-renesas-soc, Yoshihiro Shimoda
Since a R-Car Gen3 bootloader enables the PFC of USB3.0 channel 0,
the USB3.0 host controller works without this setting on the kernel.
But, this setting should have salvator-common.dtsi. So, this patch
adds the pfc node for USB3.0 channel 0.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
---
This patch is based on the renesas.git / renesas-devel-20171002-v4.14-rc3 tag.
Since related patches are already merged into renesas-drivers.git /
sh-pfc-for-v4.15, this patch is possible to apply for v4.15, I think.
https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git/commit/?h=sh-pfc-for-v4.15&id=3627126ce39d8c7d35a9251b074fedd2edf9f743
https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git/commit/?h=sh-pfc-for-v4.15&id=5ec8a41a36715cf543cb7c109097fb3b4cdfb427
https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git/commit/?h=sh-pfc-for-v4.15&id=656285a892ce3ea9b9397826562789c0de1f5fc0
arch/arm64/boot/dts/renesas/salvator-common.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/salvator-common.dtsi b/arch/arm64/boot/dts/renesas/salvator-common.dtsi
index e41e53b..3dcb26b 100644
--- a/arch/arm64/boot/dts/renesas/salvator-common.dtsi
+++ b/arch/arm64/boot/dts/renesas/salvator-common.dtsi
@@ -495,6 +495,11 @@
bias-pull-down;
};
};
+
+ usb30_pins: usb30 {
+ groups = "usb30";
+ function = "usb30";
+ };
};
&pwm1 {
@@ -630,5 +635,8 @@
};
&xhci0 {
+ pinctrl-0 = <&usb30_pins>;
+ pinctrl-names = "default";
+
status = "okay";
};
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] arm64: dts: renesas: salvator-common: add pfc node for USB3.0 channel 0
2017-10-03 8:01 [PATCH] arm64: dts: renesas: salvator-common: add pfc node for USB3.0 channel 0 Yoshihiro Shimoda
@ 2017-10-04 13:53 ` Geert Uytterhoeven
[not found] ` <CAMuHMdUz78BmySULe_wizFEhFAtiBiQLZ9Ov++S94+yb4YpxDg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Geert Uytterhoeven @ 2017-10-04 13:53 UTC (permalink / raw)
To: Yoshihiro Shimoda
Cc: Simon Horman, Magnus Damm, Rob Herring, Mark Rutland,
devicetree@vger.kernel.org, Linux-Renesas
On Tue, Oct 3, 2017 at 10:01 AM, Yoshihiro Shimoda
<yoshihiro.shimoda.uh@renesas.com> wrote:
> Since a R-Car Gen3 bootloader enables the PFC of USB3.0 channel 0,
> the USB3.0 host controller works without this setting on the kernel.
> But, this setting should have salvator-common.dtsi. So, this patch
> adds the pfc node for USB3.0 channel 0.
>
> Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-10-05 9:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-03 8:01 [PATCH] arm64: dts: renesas: salvator-common: add pfc node for USB3.0 channel 0 Yoshihiro Shimoda
2017-10-04 13:53 ` Geert Uytterhoeven
[not found] ` <CAMuHMdUz78BmySULe_wizFEhFAtiBiQLZ9Ov++S94+yb4YpxDg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-10-05 9:06 ` Simon Horman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).