* [v2, 0/5] Add eSDHC UHS-I/HS200 mode support for ls1012a/ls1046a/ls208xa @ 2017-05-04 10:48 Yangbo Lu [not found] ` <1493894940-47452-1-git-send-email-yangbo.lu-3arQi8VN3Tc@public.gmane.org> 0 siblings, 1 reply; 11+ messages in thread From: Yangbo Lu @ 2017-05-04 10:48 UTC (permalink / raw) To: devicetree-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Shawn Guo, ulf.hansson-QSEj5FYQhm4dnm+yROfE0A, Rob Herring, Catalin Marinas, Harninder Rai Cc: Xiaobo Xie, Yangbo Lu This patchset is to add eSDHC UHS-I/HS200 mode support for ls1012a/ls1046a/ls208xa. Also add eSDHC node for ls1088a. Because eSDHC is not a standard SD controller, the specific speed mode support depends on board's peripheral circuit for eSDHC. So, we have to add these speed modes support on board dts file. In additon, these dts patches depends on esdhc driver patches which just had been merged on mmc.git. Otherwise, the UHS-I SD card and eMMC HS200 card would fail to be initialized, but other cards still could work fine. https://patchwork.kernel.org/patch/9689875/ https://patchwork.kernel.org/patch/9689877/ https://patchwork.kernel.org/patch/9689879/ https://patchwork.kernel.org/patch/9689887/ https://patchwork.kernel.org/patch/9689885/ Yangbo Lu (5): mmc: dt: add compatible into eSDHC required properties arm64: dts: ls1046a: support SD UHS-I and eMMC HS200 on RDB arm64: dts: ls208xa: support SD UHS-I on RDB and eMMC HS200 on QDS arm64: dts: ls1012a: add eSDHC nodes arm64: dts: ls1088a: add esdhc node .../devicetree/bindings/mmc/fsl-esdhc.txt | 1 + arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts | 8 +++++++ arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts | 13 +++++++++++ arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 25 ++++++++++++++++++++++ arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts | 8 +++++++ arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 4 ++-- arch/arm64/boot/dts/freescale/fsl-ls1088a-qds.dts | 4 ++++ arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts | 4 ++++ arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 12 +++++++++++ arch/arm64/boot/dts/freescale/fsl-ls208xa-qds.dtsi | 1 + arch/arm64/boot/dts/freescale/fsl-ls208xa-rdb.dtsi | 4 ++++ arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 2 +- 12 files changed, 83 insertions(+), 3 deletions(-) -- 2.1.0.27.g96db324 -- 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] 11+ messages in thread
[parent not found: <1493894940-47452-1-git-send-email-yangbo.lu-3arQi8VN3Tc@public.gmane.org>]
* [v2, 1/5] mmc: dt: add compatible into eSDHC required properties [not found] ` <1493894940-47452-1-git-send-email-yangbo.lu-3arQi8VN3Tc@public.gmane.org> @ 2017-05-04 10:48 ` Yangbo Lu [not found] ` <1493894940-47452-2-git-send-email-yangbo.lu-3arQi8VN3Tc@public.gmane.org> 2017-05-04 10:48 ` [v2, 2/5] arm64: dts: ls1046a: support SD UHS-I and eMMC HS200 on RDB Yangbo Lu ` (3 subsequent siblings) 4 siblings, 1 reply; 11+ messages in thread From: Yangbo Lu @ 2017-05-04 10:48 UTC (permalink / raw) To: devicetree-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Shawn Guo, ulf.hansson-QSEj5FYQhm4dnm+yROfE0A, Rob Herring, Catalin Marinas, Harninder Rai Cc: Xiaobo Xie, Yangbo Lu This patch is to add compatible into eSDHC required properties. Signed-off-by: Yangbo Lu <yangbo.lu-3arQi8VN3Tc@public.gmane.org> --- Changes for v2: - Added this patch. --- Documentation/devicetree/bindings/mmc/fsl-esdhc.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt b/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt index dedfb02..b04b248 100644 --- a/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt +++ b/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt @@ -7,6 +7,7 @@ This file documents differences between the core properties described by mmc.txt and the properties used by the sdhci-esdhc driver. Required properties: + - compatible : should be "fsl,esdhc", or "fsl,<chip>-esdhc". - interrupt-parent : interrupt source phandle. - clock-frequency : specifies eSDHC base clock frequency. -- 2.1.0.27.g96db324 -- 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 related [flat|nested] 11+ messages in thread
[parent not found: <1493894940-47452-2-git-send-email-yangbo.lu-3arQi8VN3Tc@public.gmane.org>]
* Re: [v2, 1/5] mmc: dt: add compatible into eSDHC required properties [not found] ` <1493894940-47452-2-git-send-email-yangbo.lu-3arQi8VN3Tc@public.gmane.org> @ 2017-05-05 2:36 ` Shawn Guo 2017-05-05 3:01 ` Y.B. Lu 0 siblings, 1 reply; 11+ messages in thread From: Shawn Guo @ 2017-05-05 2:36 UTC (permalink / raw) To: Yangbo Lu Cc: devicetree-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, ulf.hansson-QSEj5FYQhm4dnm+yROfE0A, Rob Herring, Catalin Marinas, Harninder Rai, Xiaobo Xie On Thu, May 04, 2017 at 06:48:56PM +0800, Yangbo Lu wrote: > This patch is to add compatible into eSDHC required properties. > > Signed-off-by: Yangbo Lu <yangbo.lu-3arQi8VN3Tc@public.gmane.org> > --- > Changes for v2: > - Added this patch. > --- > Documentation/devicetree/bindings/mmc/fsl-esdhc.txt | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt b/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt > index dedfb02..b04b248 100644 > --- a/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt > +++ b/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt > @@ -7,6 +7,7 @@ This file documents differences between the core properties described > by mmc.txt and the properties used by the sdhci-esdhc driver. > > Required properties: > + - compatible : should be "fsl,esdhc", or "fsl,<chip>-esdhc". I think either supported <chip> or the compatible should be listed explicitly. Shawn > - interrupt-parent : interrupt source phandle. > - clock-frequency : specifies eSDHC base clock frequency. > > -- > 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] 11+ messages in thread
* RE: [v2, 1/5] mmc: dt: add compatible into eSDHC required properties 2017-05-05 2:36 ` Shawn Guo @ 2017-05-05 3:01 ` Y.B. Lu [not found] ` <DB6PR0401MB2536CB3661070921AEA0C5B6F8EB0-2mNvjAGDOPkZcyyZo0JLBI3W/0Ik+aLCnBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org> 0 siblings, 1 reply; 11+ messages in thread From: Y.B. Lu @ 2017-05-05 3:01 UTC (permalink / raw) To: Shawn Guo Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, ulf.hansson-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, Rob Herring, Catalin Marinas, Harninder Rai, Xiaobo Xie Hi Shawn, > -----Original Message----- > From: Shawn Guo [mailto:shawnguo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org] > Sent: Friday, May 05, 2017 10:37 AM > To: Y.B. Lu > Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org; > ulf.hansson-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org; Rob Herring; Catalin Marinas; Harninder Rai; > Xiaobo Xie > Subject: Re: [v2, 1/5] mmc: dt: add compatible into eSDHC required > properties > > On Thu, May 04, 2017 at 06:48:56PM +0800, Yangbo Lu wrote: > > This patch is to add compatible into eSDHC required properties. > > > > Signed-off-by: Yangbo Lu <yangbo.lu-3arQi8VN3Tc@public.gmane.org> > > --- > > Changes for v2: > > - Added this patch. > > --- > > Documentation/devicetree/bindings/mmc/fsl-esdhc.txt | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt > > b/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt > > index dedfb02..b04b248 100644 > > --- a/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt > > +++ b/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt > > @@ -7,6 +7,7 @@ This file documents differences between the core > > properties described by mmc.txt and the properties used by the sdhci- > esdhc driver. > > > > Required properties: > > + - compatible : should be "fsl,esdhc", or "fsl,<chip>-esdhc". > > I think either supported <chip> or the compatible should be listed > explicitly. > [Lu Yangbo-B47093] I think the reason we use <chip> is to avoid listing too much chips, and to avoid doc updating if new chips are added. The checkpatch script also had considered that. Currently there're about 20 platforms with "fsl,<chip>-esdhc" compatible in kernel dts. And the doc also provide an example. Example: sdhci@2e000 { compatible = "fsl,mpc8378-esdhc", "fsl,esdhc"; Should we still need to list all ? Thanks. > Shawn > > > - interrupt-parent : interrupt source phandle. > > - clock-frequency : specifies eSDHC base clock frequency. > > > > -- > > 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] 11+ messages in thread
[parent not found: <DB6PR0401MB2536CB3661070921AEA0C5B6F8EB0-2mNvjAGDOPkZcyyZo0JLBI3W/0Ik+aLCnBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org>]
* Re: [v2, 1/5] mmc: dt: add compatible into eSDHC required properties [not found] ` <DB6PR0401MB2536CB3661070921AEA0C5B6F8EB0-2mNvjAGDOPkZcyyZo0JLBI3W/0Ik+aLCnBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org> @ 2017-05-05 3:18 ` Shawn Guo 2017-05-08 16:36 ` Rob Herring 1 sibling, 0 replies; 11+ messages in thread From: Shawn Guo @ 2017-05-05 3:18 UTC (permalink / raw) To: Y.B. Lu Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, ulf.hansson-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, Harninder Rai, Catalin Marinas, Xiaobo Xie, Rob Herring, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org On Fri, May 05, 2017 at 03:01:04AM +0000, Y.B. Lu wrote: > > > diff --git a/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt > > > b/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt > > > index dedfb02..b04b248 100644 > > > --- a/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt > > > +++ b/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt > > > @@ -7,6 +7,7 @@ This file documents differences between the core > > > properties described by mmc.txt and the properties used by the sdhci- > > esdhc driver. > > > > > > Required properties: > > > + - compatible : should be "fsl,esdhc", or "fsl,<chip>-esdhc". > > > > I think either supported <chip> or the compatible should be listed > > explicitly. > > > > [Lu Yangbo-B47093] I think the reason we use <chip> is to avoid listing too much chips, and to avoid doc updating if new chips are added. > The checkpatch script also had considered that. > > Currently there're about 20 platforms with "fsl,<chip>-esdhc" compatible in kernel dts. > And the doc also provide an example. > Example: > > sdhci@2e000 { > compatible = "fsl,mpc8378-esdhc", "fsl,esdhc"; > > Should we still need to list all ? I anyway need an ACK from Rob on this patch. Let's see what he would say. Shawn -- 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] 11+ messages in thread
* Re: [v2, 1/5] mmc: dt: add compatible into eSDHC required properties [not found] ` <DB6PR0401MB2536CB3661070921AEA0C5B6F8EB0-2mNvjAGDOPkZcyyZo0JLBI3W/0Ik+aLCnBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org> 2017-05-05 3:18 ` Shawn Guo @ 2017-05-08 16:36 ` Rob Herring 2017-05-09 2:51 ` Y.B. Lu 1 sibling, 1 reply; 11+ messages in thread From: Rob Herring @ 2017-05-08 16:36 UTC (permalink / raw) To: Y.B. Lu Cc: Shawn Guo, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, ulf.hansson-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, Catalin Marinas, Harninder Rai, Xiaobo Xie On Fri, May 05, 2017 at 03:01:04AM +0000, Y.B. Lu wrote: > Hi Shawn, > > > > -----Original Message----- > > From: Shawn Guo [mailto:shawnguo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org] > > Sent: Friday, May 05, 2017 10:37 AM > > To: Y.B. Lu > > Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org; > > ulf.hansson-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org; Rob Herring; Catalin Marinas; Harninder Rai; > > Xiaobo Xie > > Subject: Re: [v2, 1/5] mmc: dt: add compatible into eSDHC required > > properties > > > > On Thu, May 04, 2017 at 06:48:56PM +0800, Yangbo Lu wrote: > > > This patch is to add compatible into eSDHC required properties. > > > > > > Signed-off-by: Yangbo Lu <yangbo.lu-3arQi8VN3Tc@public.gmane.org> > > > --- > > > Changes for v2: > > > - Added this patch. > > > --- > > > Documentation/devicetree/bindings/mmc/fsl-esdhc.txt | 1 + > > > 1 file changed, 1 insertion(+) > > > > > > diff --git a/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt > > > b/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt > > > index dedfb02..b04b248 100644 > > > --- a/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt > > > +++ b/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt > > > @@ -7,6 +7,7 @@ This file documents differences between the core > > > properties described by mmc.txt and the properties used by the sdhci- > > esdhc driver. > > > > > > Required properties: > > > + - compatible : should be "fsl,esdhc", or "fsl,<chip>-esdhc". > > > > I think either supported <chip> or the compatible should be listed > > explicitly. > > > > [Lu Yangbo-B47093] I think the reason we use <chip> is to avoid listing too much chips, and to avoid doc updating if new chips are added. > The checkpatch script also had considered that. > > Currently there're about 20 platforms with "fsl,<chip>-esdhc" compatible in kernel dts. Yes, but it's generally preferred to list possible values of <chip>. Rob -- 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] 11+ messages in thread
* RE: [v2, 1/5] mmc: dt: add compatible into eSDHC required properties 2017-05-08 16:36 ` Rob Herring @ 2017-05-09 2:51 ` Y.B. Lu 0 siblings, 0 replies; 11+ messages in thread From: Y.B. Lu @ 2017-05-09 2:51 UTC (permalink / raw) To: Rob Herring Cc: Shawn Guo, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, ulf.hansson-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, Catalin Marinas, Harninder Rai, Xiaobo Xie > -----Original Message----- > From: Rob Herring [mailto:robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org] > Sent: Tuesday, May 09, 2017 12:36 AM > To: Y.B. Lu > Cc: Shawn Guo; devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; linux-arm- > kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org; ulf.hansson-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org; Catalin Marinas; > Harninder Rai; Xiaobo Xie > Subject: Re: [v2, 1/5] mmc: dt: add compatible into eSDHC required > properties > > On Fri, May 05, 2017 at 03:01:04AM +0000, Y.B. Lu wrote: > > Hi Shawn, > > > > > > > -----Original Message----- > > > From: Shawn Guo [mailto:shawnguo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org] > > > Sent: Friday, May 05, 2017 10:37 AM > > > To: Y.B. Lu > > > Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; > > > linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org; > > > ulf.hansson-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org; Rob Herring; Catalin Marinas; Harninder Rai; > > > Xiaobo Xie > > > Subject: Re: [v2, 1/5] mmc: dt: add compatible into eSDHC required > > > properties > > > > > > On Thu, May 04, 2017 at 06:48:56PM +0800, Yangbo Lu wrote: > > > > This patch is to add compatible into eSDHC required properties. > > > > > > > > Signed-off-by: Yangbo Lu <yangbo.lu-3arQi8VN3Tc@public.gmane.org> > > > > --- > > > > Changes for v2: > > > > - Added this patch. > > > > --- > > > > Documentation/devicetree/bindings/mmc/fsl-esdhc.txt | 1 + > > > > 1 file changed, 1 insertion(+) > > > > > > > > diff --git a/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt > > > > b/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt > > > > index dedfb02..b04b248 100644 > > > > --- a/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt > > > > +++ b/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt > > > > @@ -7,6 +7,7 @@ This file documents differences between the core > > > > properties described by mmc.txt and the properties used by the > > > > sdhci- > > > esdhc driver. > > > > > > > > Required properties: > > > > + - compatible : should be "fsl,esdhc", or "fsl,<chip>-esdhc". > > > > > > I think either supported <chip> or the compatible should be listed > > > explicitly. > > > > > > > [Lu Yangbo-B47093] I think the reason we use <chip> is to avoid listing > too much chips, and to avoid doc updating if new chips are added. > > The checkpatch script also had considered that. > > > > Currently there're about 20 platforms with "fsl,<chip>-esdhc" > compatible in kernel dts. > > Yes, but it's generally preferred to list possible values of <chip>. > [Lu Yangbo-B47093] Ok, thanks for your suggestions, Rob and Shawn. I will send out the new version soon :) > Rob -- 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] 11+ messages in thread
* [v2, 2/5] arm64: dts: ls1046a: support SD UHS-I and eMMC HS200 on RDB [not found] ` <1493894940-47452-1-git-send-email-yangbo.lu-3arQi8VN3Tc@public.gmane.org> 2017-05-04 10:48 ` [v2, 1/5] mmc: dt: add compatible into eSDHC required properties Yangbo Lu @ 2017-05-04 10:48 ` Yangbo Lu 2017-05-04 10:48 ` [v2, 3/5] arm64: dts: ls208xa: support SD UHS-I on RDB and eMMC HS200 on QDS Yangbo Lu ` (2 subsequent siblings) 4 siblings, 0 replies; 11+ messages in thread From: Yangbo Lu @ 2017-05-04 10:48 UTC (permalink / raw) To: devicetree-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Shawn Guo, ulf.hansson-QSEj5FYQhm4dnm+yROfE0A, Rob Herring, Catalin Marinas, Harninder Rai Cc: Xiaobo Xie, Yangbo Lu This patch is to enable SD UHS-I mode and eMMC HS200 mode on LS1046ARDB in dts. Also, the eSDHC peripheral clock must be used instead of platform clock to support these modes. Signed-off-by: Yangbo Lu <yangbo.lu-3arQi8VN3Tc@public.gmane.org> --- Changes for v2: - Sorted the node. --- arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts | 8 ++++++++ arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts index c5361e9..2d28726 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts @@ -72,6 +72,14 @@ status = "okay"; }; +&esdhc { + mmc-hs200-1_8v; + sd-uhs-sdr104; + sd-uhs-sdr50; + sd-uhs-sdr25; + sd-uhs-sdr12; +}; + &i2c0 { status = "okay"; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi index d67557f..46b7839 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi @@ -209,10 +209,10 @@ }; esdhc: esdhc@1560000 { - compatible = "fsl,esdhc"; + compatible = "fsl,ls1046a-esdhc", "fsl,esdhc"; reg = <0x0 0x1560000 0x0 0x10000>; interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>; - clock-frequency = <0>; + clocks = <&clockgen 2 1>; voltage-ranges = <1800 1800 3300 3300>; sdhci,auto-cmd12; big-endian; -- 2.1.0.27.g96db324 -- 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 related [flat|nested] 11+ messages in thread
* [v2, 3/5] arm64: dts: ls208xa: support SD UHS-I on RDB and eMMC HS200 on QDS [not found] ` <1493894940-47452-1-git-send-email-yangbo.lu-3arQi8VN3Tc@public.gmane.org> 2017-05-04 10:48 ` [v2, 1/5] mmc: dt: add compatible into eSDHC required properties Yangbo Lu 2017-05-04 10:48 ` [v2, 2/5] arm64: dts: ls1046a: support SD UHS-I and eMMC HS200 on RDB Yangbo Lu @ 2017-05-04 10:48 ` Yangbo Lu 2017-05-04 10:48 ` [v2, 4/5] arm64: dts: ls1012a: add eSDHC nodes Yangbo Lu 2017-05-04 10:49 ` [v2, 5/5] arm64: dts: ls1088a: add esdhc node Yangbo Lu 4 siblings, 0 replies; 11+ messages in thread From: Yangbo Lu @ 2017-05-04 10:48 UTC (permalink / raw) To: devicetree-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Shawn Guo, ulf.hansson-QSEj5FYQhm4dnm+yROfE0A, Rob Herring, Catalin Marinas, Harninder Rai Cc: Xiaobo Xie, Yangbo Lu This patch is to enable SD UHS-I mode on LS208xRDB and eMMC HS200 mode on LS208xQDS in dts. Also, the eSDHC peripheral clock must be used instead of platform clock to support these modes. Signed-off-by: Yangbo Lu <yangbo.lu-3arQi8VN3Tc@public.gmane.org> --- Changes for v2: - None. --- arch/arm64/boot/dts/freescale/fsl-ls208xa-qds.dtsi | 1 + arch/arm64/boot/dts/freescale/fsl-ls208xa-rdb.dtsi | 4 ++++ arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls208xa-qds.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls208xa-qds.dtsi index c4282d9..b237446 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls208xa-qds.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls208xa-qds.dtsi @@ -46,6 +46,7 @@ */ &esdhc { + mmc-hs200-1_8v; status = "okay"; }; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls208xa-rdb.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls208xa-rdb.dtsi index 9a1d0d2..29af54b 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls208xa-rdb.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls208xa-rdb.dtsi @@ -46,6 +46,10 @@ */ &esdhc { + sd-uhs-sdr104; + sd-uhs-sdr50; + sd-uhs-sdr25; + sd-uhs-sdr12; status = "okay"; }; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi index 6e531b9..94cdd30 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi @@ -472,7 +472,7 @@ compatible = "fsl,ls2080a-esdhc", "fsl,esdhc"; reg = <0x0 0x2140000 0x0 0x10000>; interrupts = <0 28 0x4>; /* Level high type */ - clock-frequency = <0>; /* Updated by bootloader */ + clocks = <&clockgen 4 1>; voltage-ranges = <1800 1800 3300 3300>; sdhci,auto-cmd12; little-endian; -- 2.1.0.27.g96db324 -- 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 related [flat|nested] 11+ messages in thread
* [v2, 4/5] arm64: dts: ls1012a: add eSDHC nodes [not found] ` <1493894940-47452-1-git-send-email-yangbo.lu-3arQi8VN3Tc@public.gmane.org> ` (2 preceding siblings ...) 2017-05-04 10:48 ` [v2, 3/5] arm64: dts: ls208xa: support SD UHS-I on RDB and eMMC HS200 on QDS Yangbo Lu @ 2017-05-04 10:48 ` Yangbo Lu 2017-05-04 10:49 ` [v2, 5/5] arm64: dts: ls1088a: add esdhc node Yangbo Lu 4 siblings, 0 replies; 11+ messages in thread From: Yangbo Lu @ 2017-05-04 10:48 UTC (permalink / raw) To: devicetree-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Shawn Guo, ulf.hansson-QSEj5FYQhm4dnm+yROfE0A, Rob Herring, Catalin Marinas, Harninder Rai Cc: Xiaobo Xie, Yangbo Lu There are two eSDHC controllers in LS1012A. This patch is to add eSDHC nodes for ls1012a dts. Also enable eSDHC for RDB/QDS boards. Signed-off-by: Yangbo Lu <yangbo.lu-3arQi8VN3Tc@public.gmane.org> --- Changes for v2: - Sorted the node. --- arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts | 8 ++++++++ arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts | 13 ++++++++++++ arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 25 +++++++++++++++++++++++ 3 files changed, 46 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts index 40ef468..8c013b5 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts @@ -97,6 +97,14 @@ status = "okay"; }; +&esdhc0 { + status = "okay"; +}; + +&esdhc1 { + status = "okay"; +}; + &i2c0 { status = "okay"; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts index 65d4313..c1a119e 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts @@ -54,6 +54,19 @@ status = "okay"; }; +&esdhc0 { + sd-uhs-sdr104; + sd-uhs-sdr50; + sd-uhs-sdr25; + sd-uhs-sdr12; + status = "okay"; +}; + +&esdhc1 { + mmc-hs200-1_8v; + status = "okay"; +}; + &i2c0 { status = "okay"; }; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi index ae47156..9a2ccd8 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi @@ -117,12 +117,37 @@ #size-cells = <2>; ranges; + esdhc0: esdhc@1560000 { + compatible = "fsl,ls1012a-esdhc", "fsl,esdhc"; + reg = <0x0 0x1560000 0x0 0x10000>; + interrupts = <0 62 0x4>; + clocks = <&clockgen 4 0>; + voltage-ranges = <1800 1800 3300 3300>; + sdhci,auto-cmd12; + big-endian; + bus-width = <4>; + status = "disabled"; + }; + scfg: scfg@1570000 { compatible = "fsl,ls1012a-scfg", "syscon"; reg = <0x0 0x1570000 0x0 0x10000>; big-endian; }; + esdhc1: esdhc@1580000 { + compatible = "fsl,ls1012a-esdhc", "fsl,esdhc"; + reg = <0x0 0x1580000 0x0 0x10000>; + interrupts = <0 65 0x4>; + clocks = <&clockgen 4 0>; + voltage-ranges = <1800 1800 3300 3300>; + sdhci,auto-cmd12; + big-endian; + broken-cd; + bus-width = <4>; + status = "disabled"; + }; + crypto: crypto@1700000 { compatible = "fsl,sec-v5.4", "fsl,sec-v5.0", "fsl,sec-v4.0"; -- 2.1.0.27.g96db324 -- 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 related [flat|nested] 11+ messages in thread
* [v2, 5/5] arm64: dts: ls1088a: add esdhc node [not found] ` <1493894940-47452-1-git-send-email-yangbo.lu-3arQi8VN3Tc@public.gmane.org> ` (3 preceding siblings ...) 2017-05-04 10:48 ` [v2, 4/5] arm64: dts: ls1012a: add eSDHC nodes Yangbo Lu @ 2017-05-04 10:49 ` Yangbo Lu 4 siblings, 0 replies; 11+ messages in thread From: Yangbo Lu @ 2017-05-04 10:49 UTC (permalink / raw) To: devicetree-u79uwXL29TY76Z2rM5mHXA, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Shawn Guo, ulf.hansson-QSEj5FYQhm4dnm+yROfE0A, Rob Herring, Catalin Marinas, Harninder Rai Cc: Xiaobo Xie, Yangbo Lu Add esdhc node for ls1088a and enable it on both RDB and QDS boards. Signed-off-by: Yangbo Lu <yangbo.lu-3arQi8VN3Tc@public.gmane.org> --- Changes for v2: - Sorted the node. --- arch/arm64/boot/dts/freescale/fsl-ls1088a-qds.dts | 4 ++++ arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts | 4 ++++ arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 12 ++++++++++++ 3 files changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls1088a-qds.dts index 8c3cae5..ff21055 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a-qds.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a-qds.dts @@ -118,6 +118,10 @@ status = "okay"; }; +&esdhc { + status = "okay"; +}; + &sata { status = "okay"; }; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts index 8a04fbb..ab62ef6 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts @@ -102,6 +102,10 @@ status = "okay"; }; +&esdhc { + status = "okay"; +}; + &sata { status = "okay"; }; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi index 2946fd7..10b5775 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi @@ -263,6 +263,18 @@ status = "disabled"; }; + esdhc: esdhc@2140000 { + compatible = "fsl,ls1088a-esdhc", "fsl,esdhc"; + reg = <0x0 0x2140000 0x0 0x10000>; + interrupts = <0 28 0x4>; /* Level high type */ + clock-frequency = <0>; + voltage-ranges = <1800 1800 3300 3300>; + sdhci,auto-cmd12; + little-endian; + bus-width = <4>; + status = "disabled"; + }; + sata: sata@3200000 { compatible = "fsl,ls1088a-ahci", "fsl,ls1043a-ahci"; reg = <0x0 0x3200000 0x0 0x10000>; -- 2.1.0.27.g96db324 -- 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 related [flat|nested] 11+ messages in thread
end of thread, other threads:[~2017-05-09 2:51 UTC | newest] Thread overview: 11+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2017-05-04 10:48 [v2, 0/5] Add eSDHC UHS-I/HS200 mode support for ls1012a/ls1046a/ls208xa Yangbo Lu [not found] ` <1493894940-47452-1-git-send-email-yangbo.lu-3arQi8VN3Tc@public.gmane.org> 2017-05-04 10:48 ` [v2, 1/5] mmc: dt: add compatible into eSDHC required properties Yangbo Lu [not found] ` <1493894940-47452-2-git-send-email-yangbo.lu-3arQi8VN3Tc@public.gmane.org> 2017-05-05 2:36 ` Shawn Guo 2017-05-05 3:01 ` Y.B. Lu [not found] ` <DB6PR0401MB2536CB3661070921AEA0C5B6F8EB0-2mNvjAGDOPkZcyyZo0JLBI3W/0Ik+aLCnBOFsp37pqbUKgpGm//BTAC/G2K4zDHf@public.gmane.org> 2017-05-05 3:18 ` Shawn Guo 2017-05-08 16:36 ` Rob Herring 2017-05-09 2:51 ` Y.B. Lu 2017-05-04 10:48 ` [v2, 2/5] arm64: dts: ls1046a: support SD UHS-I and eMMC HS200 on RDB Yangbo Lu 2017-05-04 10:48 ` [v2, 3/5] arm64: dts: ls208xa: support SD UHS-I on RDB and eMMC HS200 on QDS Yangbo Lu 2017-05-04 10:48 ` [v2, 4/5] arm64: dts: ls1012a: add eSDHC nodes Yangbo Lu 2017-05-04 10:49 ` [v2, 5/5] arm64: dts: ls1088a: add esdhc node Yangbo Lu
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).