From: shawnguo@kernel.org (Shawn Guo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] usb: dts: fix the issue that usb is not detected on ls1088ardb
Date: Wed, 26 Jul 2017 10:24:16 +0800 [thread overview]
Message-ID: <20170726022414.GH29754@dragon> (raw)
In-Reply-To: <1500518306-9879-1-git-send-email-yinbo.zhu@nxp.com>
On Thu, Jul 20, 2017 at 10:38:26AM +0800, yinbo.zhu at nxp.com wrote:
> From: "yinbo.zhu" <yinbo.zhu@nxp.com>
>
> Signed-off-by: yinbo.zhu <yinbo.zhu@nxp.com>
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 at 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 at 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 at 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 at 3400000 {
> compatible = "fsl,ls2088a-pcie", "fsl,ls1088a-pcie",
> "snps,dw-pcie";
> --
> 2.1.0.27.g96db324
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
WARNING: multiple messages have this Message-ID (diff)
From: Shawn Guo <shawnguo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: yinbo.zhu-3arQi8VN3Tc@public.gmane.org
Cc: "Rob Herring" <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
"Mark Rutland" <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
"Catalin Marinas" <catalin.marinas-5wv7dgnIgG8@public.gmane.org>,
"Will Deacon" <will.deacon-5wv7dgnIgG8@public.gmane.org>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
"Mihai Bantea" <mihai.bantea-3arQi8VN3Tc@public.gmane.org>,
"Horia Geantă" <horia.geanta-3arQi8VN3Tc@public.gmane.org>,
"Marc Zyngier" <marc.zyngier-5wv7dgnIgG8@public.gmane.org>,
"Liu Gang" <Gang.Liu-3arQi8VN3Tc@public.gmane.org>,
"open list"
<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
"Scott Wood" <oss-fOR+EgIDQEHk1uMJSBkQmQ@public.gmane.org>,
"Tang Yuantian" <Yuantian.Tang-3arQi8VN3Tc@public.gmane.org>,
"York Sun" <york.sun-3arQi8VN3Tc@public.gmane.org>,
"moderated list:ARM64 PORT (AARCH64 ARCHITECTURE)"
<linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>
Subject: Re: [PATCH] usb: dts: fix the issue that usb is not detected on ls1088ardb
Date: Wed, 26 Jul 2017 10:24:16 +0800 [thread overview]
Message-ID: <20170726022414.GH29754@dragon> (raw)
In-Reply-To: <1500518306-9879-1-git-send-email-yinbo.zhu-3arQi8VN3Tc@public.gmane.org>
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
WARNING: multiple messages have this Message-ID (diff)
From: Shawn Guo <shawnguo@kernel.org>
To: yinbo.zhu@nxp.com
Cc: "Rob Herring" <robh+dt@kernel.org>,
"Mark Rutland" <mark.rutland@arm.com>,
"Catalin Marinas" <catalin.marinas@arm.com>,
"Will Deacon" <will.deacon@arm.com>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@vger.kernel.org>,
"Mihai Bantea" <mihai.bantea@nxp.com>,
"Horia Geantă" <horia.geanta@nxp.com>,
"Marc Zyngier" <marc.zyngier@arm.com>,
"Liu Gang" <Gang.Liu@nxp.com>,
"open list" <linux-kernel@vger.kernel.org>,
"Scott Wood" <oss@buserror.net>,
"Tang Yuantian" <Yuantian.Tang@nxp.com>,
"York Sun" <york.sun@nxp.com>,
"moderated list:ARM64 PORT (AARCH64 ARCHITECTURE)"
<linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH] usb: dts: fix the issue that usb is not detected on ls1088ardb
Date: Wed, 26 Jul 2017 10:24:16 +0800 [thread overview]
Message-ID: <20170726022414.GH29754@dragon> (raw)
In-Reply-To: <1500518306-9879-1-git-send-email-yinbo.zhu@nxp.com>
On Thu, Jul 20, 2017 at 10:38:26AM +0800, yinbo.zhu@nxp.com wrote:
> From: "yinbo.zhu" <yinbo.zhu@nxp.com>
>
> Signed-off-by: yinbo.zhu <yinbo.zhu@nxp.com>
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@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2017-07-26 2:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-20 2:38 [PATCH] usb: dts: fix the issue that usb is not detected on ls1088ardb yinbo.zhu at nxp.com
2017-07-20 2:38 ` yinbo.zhu
2017-07-26 2:24 ` Shawn Guo [this message]
2017-07-26 2:24 ` Shawn Guo
2017-07-26 2:24 ` Shawn Guo
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=20170726022414.GH29754@dragon \
--to=shawnguo@kernel.org \
--cc=linux-arm-kernel@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 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.