* [PATCH] usb: dts: fix the issue that usb is not detected on ls1088ardb
@ 2017-07-20 2:38 yinbo.zhu
[not found] ` <1500518306-9879-1-git-send-email-yinbo.zhu-3arQi8VN3Tc@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: yinbo.zhu @ 2017-07-20 2:38 UTC (permalink / raw)
To: Shawn Guo, Rob Herring, Mark Rutland, Catalin Marinas,
Will Deacon
Cc: open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
Mihai Bantea, Horia Geantă, Marc Zyngier, Liu Gang,
open list, Scott Wood, Tang Yuantian, York Sun, yinbo.zhu,
moderated list:ARM64 PORT (AARCH64 ARCHITECTURE)
From: "yinbo.zhu" <yinbo.zhu@nxp.com>
Signed-off-by: yinbo.zhu <yinbo.zhu@nxp.com>
---
arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts | 8 ++++++++
arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 18 ++++++++++++++++++
2 files changed, 26 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts
index e9276a5..d5c3d96 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts
@@ -149,6 +149,14 @@
status = "okay";
};
+&usb0 {
+ status = "okay";
+};
+
+&usb1 {
+ status = "okay";
+};
+
&emdio1 {
/* Freescale F104 PHY1 */
mdio1_phy1: emdio1_phy@1 {
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
index 3a3be87..65b3059 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
@@ -566,6 +566,24 @@
fsl,qspi-has-second-chip;
};
+ usb0: usb3@3100000 {
+ compatible = "snps,dwc3";
+ reg = <0x0 0x3100000 0x0 0x10000>;
+ interrupts = <0 80 0x4>; /* Level high type */
+ dr_mode = "host";
+ configure-gfladj;
+ snps,dis_rxdet_inp3_quirk;
+ };
+
+ usb1: usb3@3110000 {
+ compatible = "snps,dwc3";
+ reg = <0x0 0x3110000 0x0 0x10000>;
+ interrupts = <0 81 0x4>; /* Level high type */
+ dr_mode = "host";
+ configure-gfladj;
+ snps,dis_rxdet_inp3_quirk;
+ };
+
pcie@3400000 {
compatible = "fsl,ls2088a-pcie", "fsl,ls1088a-pcie",
"snps,dw-pcie";
--
2.1.0.27.g96db324
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] usb: dts: fix the issue that usb is not detected on ls1088ardb
[not found] ` <1500518306-9879-1-git-send-email-yinbo.zhu-3arQi8VN3Tc@public.gmane.org>
@ 2017-07-26 2:24 ` Shawn Guo
0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2017-07-26 2:24 UTC (permalink / raw)
To: yinbo.zhu-3arQi8VN3Tc
Cc: Rob Herring, Mark Rutland, Catalin Marinas, Will Deacon,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
Mihai Bantea, Horia Geantă, Marc Zyngier, Liu Gang,
open list, Scott Wood, Tang Yuantian, York Sun,
moderated list:ARM64 PORT (AARCH64 ARCHITECTURE)
On Thu, Jul 20, 2017 at 10:38:26AM +0800, yinbo.zhu-3arQi8VN3Tc@public.gmane.org wrote:
> From: "yinbo.zhu" <yinbo.zhu-3arQi8VN3Tc@public.gmane.org>
>
> Signed-off-by: yinbo.zhu <yinbo.zhu-3arQi8VN3Tc@public.gmane.org>
The subject should be prefixed like 'arm64: dts: ls1088a: ...'. And
the current subject is confusing. You are adding USB support rather
than fixing something.
Also empty commit log is not really good.
> ---
> arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts | 8 ++++++++
> arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 18 ++++++++++++++++++
> 2 files changed, 26 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts
> index e9276a5..d5c3d96 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts
> +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts
> @@ -149,6 +149,14 @@
> status = "okay";
> };
>
> +&usb0 {
> + status = "okay";
> +};
> +
> +&usb1 {
> + status = "okay";
> +};
> +
> &emdio1 {
> /* Freescale F104 PHY1 */
> mdio1_phy1: emdio1_phy@1 {
What tree is your patch generated against? I do not see this 'emdio1'
device in my tree.
Remember to sort the node alphabetically in label name when adding new
labelled nodes.
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
> index 3a3be87..65b3059 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
> +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
> @@ -566,6 +566,24 @@
> fsl,qspi-has-second-chip;
> };
>
> + usb0: usb3@3100000 {
> + compatible = "snps,dwc3";
> + reg = <0x0 0x3100000 0x0 0x10000>;
> + interrupts = <0 80 0x4>; /* Level high type */
Use IRQ_TYPE_LEVEL_HIGH, so that you can save the comment here.
> + dr_mode = "host";
> + configure-gfladj;
What is this property?
Shawn
> + snps,dis_rxdet_inp3_quirk;
> + };
> +
> + usb1: usb3@3110000 {
> + compatible = "snps,dwc3";
> + reg = <0x0 0x3110000 0x0 0x10000>;
> + interrupts = <0 81 0x4>; /* Level high type */
> + dr_mode = "host";
> + configure-gfladj;
> + snps,dis_rxdet_inp3_quirk;
> + };
> +
> pcie@3400000 {
> compatible = "fsl,ls2088a-pcie", "fsl,ls1088a-pcie",
> "snps,dw-pcie";
> --
> 2.1.0.27.g96db324
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-07-26 2:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-20 2:38 [PATCH] usb: dts: fix the issue that usb is not detected on ls1088ardb yinbo.zhu
[not found] ` <1500518306-9879-1-git-send-email-yinbo.zhu-3arQi8VN3Tc@public.gmane.org>
2017-07-26 2:24 ` Shawn Guo
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).