* [PATCH v2] ARM: zx296702-ad1: remove deprecated usage of mmc
@ 2016-01-21 11:16 Shawn Lin
[not found] ` <1453375011-548-1-git-send-email-shawn.lin-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Shawn Lin @ 2016-01-21 11:16 UTC (permalink / raw)
To: Jun Nie, Kevin Hilman
Cc: Rob Herring, devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Arnd Bergmann,
Shawn Lin, Jaehoon Chung
supports-highspeed property and slot are deprecated for dw_mmc,
this patch remove slot node and replace supports-highspeed with
cap-sd-highspeed and cap-mmc-highspeed.
Cc: Jaehoon Chung <jh80.chung-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
Signed-off-by: Shawn Lin <shawn.lin-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
---
Changes in v2:
- remove slot suggested by Jaehoon
arch/arm/boot/dts/zx296702-ad1.dts | 18 ++++++------------
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/arch/arm/boot/dts/zx296702-ad1.dts b/arch/arm/boot/dts/zx296702-ad1.dts
index 081f980..c2ffa9d 100644
--- a/arch/arm/boot/dts/zx296702-ad1.dts
+++ b/arch/arm/boot/dts/zx296702-ad1.dts
@@ -19,28 +19,22 @@
&mmc0 {
num-slots = <1>;
- supports-highspeed;
+ bus-width = <4>;
+ cap-sd-highspeed;
+ cap-mmc-highspeed;
non-removable;
disable-wp;
status = "okay";
-
- slot@0 {
- reg = <0>;
- bus-width = <4>;
- };
};
&mmc1 {
num-slots = <1>;
- supports-highspeed;
+ bus-width = <8>;
+ cap-sd-highspeed;
+ cap-mmc-highspeed;
non-removable;
disable-wp;
status = "okay";
-
- slot@0 {
- reg = <0>;
- bus-width = <8>;
- };
};
&uart0 {
--
2.3.7
--
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] 2+ messages in thread
* Re: [PATCH v2] ARM: zx296702-ad1: remove deprecated usage of mmc
[not found] ` <1453375011-548-1-git-send-email-shawn.lin-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
@ 2016-01-22 5:58 ` Jun Nie
0 siblings, 0 replies; 2+ messages in thread
From: Jun Nie @ 2016-01-22 5:58 UTC (permalink / raw)
To: Shawn Lin
Cc: Kevin Hilman, Rob Herring, devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Arnd Bergmann,
Jaehoon Chung
2016-01-21 19:16 GMT+08:00 Shawn Lin <shawn.lin-TNX95d0MmH7DzftRWevZcw@public.gmane.org>:
> supports-highspeed property and slot are deprecated for dw_mmc,
> this patch remove slot node and replace supports-highspeed with
> cap-sd-highspeed and cap-mmc-highspeed.
>
> Cc: Jaehoon Chung <jh80.chung-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
> Signed-off-by: Shawn Lin <shawn.lin-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
>
> ---
>
> Changes in v2:
> - remove slot suggested by Jaehoon
>
> arch/arm/boot/dts/zx296702-ad1.dts | 18 ++++++------------
> 1 file changed, 6 insertions(+), 12 deletions(-)
>
> diff --git a/arch/arm/boot/dts/zx296702-ad1.dts b/arch/arm/boot/dts/zx296702-ad1.dts
> index 081f980..c2ffa9d 100644
> --- a/arch/arm/boot/dts/zx296702-ad1.dts
> +++ b/arch/arm/boot/dts/zx296702-ad1.dts
> @@ -19,28 +19,22 @@
>
> &mmc0 {
> num-slots = <1>;
> - supports-highspeed;
> + bus-width = <4>;
> + cap-sd-highspeed;
> + cap-mmc-highspeed;
> non-removable;
> disable-wp;
> status = "okay";
> -
> - slot@0 {
> - reg = <0>;
> - bus-width = <4>;
> - };
> };
>
> &mmc1 {
> num-slots = <1>;
> - supports-highspeed;
> + bus-width = <8>;
> + cap-sd-highspeed;
> + cap-mmc-highspeed;
> non-removable;
> disable-wp;
> status = "okay";
> -
> - slot@0 {
> - reg = <0>;
> - bus-width = <8>;
> - };
> };
>
> &uart0 {
> --
> 2.3.7
>
>
Thanks for helping handle this.
Reviewed-by: Jun Nie <jun.nie-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Jun
--
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:[~2016-01-22 5:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-21 11:16 [PATCH v2] ARM: zx296702-ad1: remove deprecated usage of mmc Shawn Lin
[not found] ` <1453375011-548-1-git-send-email-shawn.lin-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
2016-01-22 5:58 ` Jun Nie
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).