* [PATCH 1/1] ARM:dts:sunxi: Add Olimex A20-SOM-EVB-eMMC board
@ 2018-05-16 11:38 Stefan Mavrodiev
[not found] ` <1526470689-6275-1-git-send-email-stefan-kyXcfZUBQGPQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Stefan Mavrodiev @ 2018-05-16 11:38 UTC (permalink / raw)
To: Rob Herring, Mark Rutland, Maxime Ripard, Chen-Yu Tsai,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list, moderated list:ARM/Allwinner sunXi SoC support
Cc: linux-sunxi, Stefan Mavrodiev
With the new rev.E of A20-SOM-EVB, there is option for 16GB eMMC.
Currently used card is KLMAG2GEND, wired to MMC2 slot.
Signed-off-by: Stefan Mavrodiev <stefan@olimex.com>
---
arch/arm/boot/dts/Makefile | 1 +
.../arm/boot/dts/sun7i-a20-olimex-som-evb-emmc.dts | 37 ++++++++++++++++++++++
2 files changed, 38 insertions(+)
create mode 100644 arch/arm/boot/dts/sun7i-a20-olimex-som-evb-emmc.dts
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 1db91ec..7f1ee65 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -959,6 +959,7 @@ dtb-$(CONFIG_MACH_SUN7I) += \
sun7i-a20-m3.dtb \
sun7i-a20-mk808c.dtb \
sun7i-a20-olimex-som-evb.dtb \
+ sun7i-a20-olimex-som-evb-emmc.dtb \
sun7i-a20-olimex-som204-evb.dtb \
sun7i-a20-olimex-som204-evb-emmc.dtb \
sun7i-a20-olinuxino-lime.dtb \
diff --git a/arch/arm/boot/dts/sun7i-a20-olimex-som-evb-emmc.dts b/arch/arm/boot/dts/sun7i-a20-olimex-som-evb-emmc.dts
new file mode 100644
index 0000000..81ebc97
--- /dev/null
+++ b/arch/arm/boot/dts/sun7i-a20-olimex-som-evb-emmc.dts
@@ -0,0 +1,37 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Device Tree Source for A20-Olimex-SOM-EVB-eMMC Board
+ *
+ * Copyright (C) 2018 Olimex Ltd.
+ * Author: Stefan Mavrodiev <stefan@olimex.com>
+ */
+
+/dts-v1/;
+#include "sun7i-a20-olimex-som-evb.dts"
+
+/ {
+
+ model = "Olimex A20-Olimex-SOM-EVB-eMMC";
+ compatible = "olimex,a20-olimex-som-evb-emmc", "allwinner,sun7i-a20";
+
+ mmc2_pwrseq: mmc2_pwrseq {
+ compatible = "mmc-pwrseq-emmc";
+ reset-gpios = <&pio 2 18 GPIO_ACTIVE_LOW>;
+ };
+};
+
+&mmc2 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&mmc2_pins_a>;
+ vmmc-supply = <®_vcc3v3>;
+ mmc-pwrseq = <&mmc2_pwrseq>;
+ bus-width = <4>;
+ non-removable;
+ status = "okay";
+
+ emmc: emmc@0 {
+ reg = <0>;
+ compatible = "mmc-card";
+ broken-hpi;
+ };
+};
--
2.7.4
^ permalink raw reply related [flat|nested] 5+ messages in thread[parent not found: <1526470689-6275-1-git-send-email-stefan-kyXcfZUBQGPQT0dZR+AlfA@public.gmane.org>]
* Re: [PATCH 1/1] ARM:dts:sunxi: Add Olimex A20-SOM-EVB-eMMC board [not found] ` <1526470689-6275-1-git-send-email-stefan-kyXcfZUBQGPQT0dZR+AlfA@public.gmane.org> @ 2018-05-17 7:25 ` Stefan Wahren 2018-05-17 7:34 ` Stefan Mavrodiev 2018-05-18 8:03 ` Maxime Ripard 1 sibling, 1 reply; 5+ messages in thread From: Stefan Wahren @ 2018-05-17 7:25 UTC (permalink / raw) To: Rob Herring, Mark Rutland, Stefan Mavrodiev, Maxime Ripard, devicetree-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, Chen-Yu Tsai, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r Cc: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw Hi Stefan, > Stefan Mavrodiev <stefan-kyXcfZUBQGPQT0dZR+AlfA@public.gmane.org> hat am 16. Mai 2018 um 13:38 geschrieben: > > > With the new rev.E of A20-SOM-EVB, there is option for 16GB eMMC. > Currently used card is KLMAG2GEND, wired to MMC2 slot. > > Signed-off-by: Stefan Mavrodiev <stefan-kyXcfZUBQGPQT0dZR+AlfA@public.gmane.org> > --- > arch/arm/boot/dts/Makefile | 1 + > .../arm/boot/dts/sun7i-a20-olimex-som-evb-emmc.dts | 37 ++++++++++++++++++++++ > 2 files changed, 38 insertions(+) > create mode 100644 arch/arm/boot/dts/sun7i-a20-olimex-som-evb-emmc.dts > > diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile > index 1db91ec..7f1ee65 100644 > --- a/arch/arm/boot/dts/Makefile > +++ b/arch/arm/boot/dts/Makefile > @@ -959,6 +959,7 @@ dtb-$(CONFIG_MACH_SUN7I) += \ > sun7i-a20-m3.dtb \ > sun7i-a20-mk808c.dtb \ > sun7i-a20-olimex-som-evb.dtb \ > + sun7i-a20-olimex-som-evb-emmc.dtb \ > sun7i-a20-olimex-som204-evb.dtb \ > sun7i-a20-olimex-som204-evb-emmc.dtb \ > sun7i-a20-olinuxino-lime.dtb \ > diff --git a/arch/arm/boot/dts/sun7i-a20-olimex-som-evb-emmc.dts b/arch/arm/boot/dts/sun7i-a20-olimex-som-evb-emmc.dts > new file mode 100644 > index 0000000..81ebc97 > --- /dev/null > +++ b/arch/arm/boot/dts/sun7i-a20-olimex-som-evb-emmc.dts > @@ -0,0 +1,37 @@ > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > +/* > + * Device Tree Source for A20-Olimex-SOM-EVB-eMMC Board > + * > + * Copyright (C) 2018 Olimex Ltd. > + * Author: Stefan Mavrodiev <stefan-kyXcfZUBQGPQT0dZR+AlfA@public.gmane.org> > + */ > + > +/dts-v1/; > +#include "sun7i-a20-olimex-som-evb.dts" > + > +/ { > + > + model = "Olimex A20-Olimex-SOM-EVB-eMMC"; > + compatible = "olimex,a20-olimex-som-evb-emmc", "allwinner,sun7i-a20"; the file Documentation/devicetree/bindings/arm/olimex.txt seems to be out of date. I cannot find any recent board compatible. Didn't checkpatch complain about it? Regards Stefan ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] ARM:dts:sunxi: Add Olimex A20-SOM-EVB-eMMC board 2018-05-17 7:25 ` Stefan Wahren @ 2018-05-17 7:34 ` Stefan Mavrodiev [not found] ` <7ad11904-be61-a459-f2be-ff37fcd02402-kyXcfZUBQGPQT0dZR+AlfA@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: Stefan Mavrodiev @ 2018-05-17 7:34 UTC (permalink / raw) To: Stefan Wahren, Rob Herring, Mark Rutland, Stefan Mavrodiev, Maxime Ripard, devicetree, linux-kernel, Chen-Yu Tsai, linux-arm-kernel Cc: linux-sunxi On 05/17/2018 10:25 AM, Stefan Wahren wrote: > Hi Stefan, > >> Stefan Mavrodiev <stefan@olimex.com> hat am 16. Mai 2018 um 13:38 geschrieben: >> >> >> With the new rev.E of A20-SOM-EVB, there is option for 16GB eMMC. >> Currently used card is KLMAG2GEND, wired to MMC2 slot. >> >> Signed-off-by: Stefan Mavrodiev <stefan@olimex.com> >> --- >> arch/arm/boot/dts/Makefile | 1 + >> .../arm/boot/dts/sun7i-a20-olimex-som-evb-emmc.dts | 37 ++++++++++++++++++++++ >> 2 files changed, 38 insertions(+) >> create mode 100644 arch/arm/boot/dts/sun7i-a20-olimex-som-evb-emmc.dts >> >> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile >> index 1db91ec..7f1ee65 100644 >> --- a/arch/arm/boot/dts/Makefile >> +++ b/arch/arm/boot/dts/Makefile >> @@ -959,6 +959,7 @@ dtb-$(CONFIG_MACH_SUN7I) += \ >> sun7i-a20-m3.dtb \ >> sun7i-a20-mk808c.dtb \ >> sun7i-a20-olimex-som-evb.dtb \ >> + sun7i-a20-olimex-som-evb-emmc.dtb \ >> sun7i-a20-olimex-som204-evb.dtb \ >> sun7i-a20-olimex-som204-evb-emmc.dtb \ >> sun7i-a20-olinuxino-lime.dtb \ >> diff --git a/arch/arm/boot/dts/sun7i-a20-olimex-som-evb-emmc.dts b/arch/arm/boot/dts/sun7i-a20-olimex-som-evb-emmc.dts >> new file mode 100644 >> index 0000000..81ebc97 >> --- /dev/null >> +++ b/arch/arm/boot/dts/sun7i-a20-olimex-som-evb-emmc.dts >> @@ -0,0 +1,37 @@ >> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) >> +/* >> + * Device Tree Source for A20-Olimex-SOM-EVB-eMMC Board >> + * >> + * Copyright (C) 2018 Olimex Ltd. >> + * Author: Stefan Mavrodiev <stefan@olimex.com> >> + */ >> + >> +/dts-v1/; >> +#include "sun7i-a20-olimex-som-evb.dts" >> + >> +/ { >> + >> + model = "Olimex A20-Olimex-SOM-EVB-eMMC"; >> + compatible = "olimex,a20-olimex-som-evb-emmc", "allwinner,sun7i-a20"; > the file Documentation/devicetree/bindings/arm/olimex.txt seems to be out of date. I cannot find any recent board compatible. > > Didn't checkpatch complain about it? Yes it did. I didn't get is seriously because neither Olimex A20 based board is documented in the binding. > > Regards > Stefan Regards, Stefan Mavrodiev ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <7ad11904-be61-a459-f2be-ff37fcd02402-kyXcfZUBQGPQT0dZR+AlfA@public.gmane.org>]
* Re: [PATCH 1/1] ARM:dts:sunxi: Add Olimex A20-SOM-EVB-eMMC board [not found] ` <7ad11904-be61-a459-f2be-ff37fcd02402-kyXcfZUBQGPQT0dZR+AlfA@public.gmane.org> @ 2018-05-18 8:02 ` Maxime Ripard 0 siblings, 0 replies; 5+ messages in thread From: Maxime Ripard @ 2018-05-18 8:02 UTC (permalink / raw) To: Stefan Mavrodiev Cc: Stefan Wahren, Rob Herring, Mark Rutland, devicetree-u79uwXL29TY76Z2rM5mHXA, linux-kernel-u79uwXL29TY76Z2rM5mHXA, Chen-Yu Tsai, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw [-- Attachment #1: Type: text/plain, Size: 2574 bytes --] On Thu, May 17, 2018 at 10:34:06AM +0300, Stefan Mavrodiev wrote: > On 05/17/2018 10:25 AM, Stefan Wahren wrote: > > Hi Stefan, > > > > > Stefan Mavrodiev <stefan-kyXcfZUBQGPQT0dZR+AlfA@public.gmane.org> hat am 16. Mai 2018 um 13:38 geschrieben: > > > > > > > > > With the new rev.E of A20-SOM-EVB, there is option for 16GB eMMC. > > > Currently used card is KLMAG2GEND, wired to MMC2 slot. > > > > > > Signed-off-by: Stefan Mavrodiev <stefan-kyXcfZUBQGPQT0dZR+AlfA@public.gmane.org> > > > --- > > > arch/arm/boot/dts/Makefile | 1 + > > > .../arm/boot/dts/sun7i-a20-olimex-som-evb-emmc.dts | 37 ++++++++++++++++++++++ > > > 2 files changed, 38 insertions(+) > > > create mode 100644 arch/arm/boot/dts/sun7i-a20-olimex-som-evb-emmc.dts > > > > > > diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile > > > index 1db91ec..7f1ee65 100644 > > > --- a/arch/arm/boot/dts/Makefile > > > +++ b/arch/arm/boot/dts/Makefile > > > @@ -959,6 +959,7 @@ dtb-$(CONFIG_MACH_SUN7I) += \ > > > sun7i-a20-m3.dtb \ > > > sun7i-a20-mk808c.dtb \ > > > sun7i-a20-olimex-som-evb.dtb \ > > > + sun7i-a20-olimex-som-evb-emmc.dtb \ > > > sun7i-a20-olimex-som204-evb.dtb \ > > > sun7i-a20-olimex-som204-evb-emmc.dtb \ > > > sun7i-a20-olinuxino-lime.dtb \ > > > diff --git a/arch/arm/boot/dts/sun7i-a20-olimex-som-evb-emmc.dts b/arch/arm/boot/dts/sun7i-a20-olimex-som-evb-emmc.dts > > > new file mode 100644 > > > index 0000000..81ebc97 > > > --- /dev/null > > > +++ b/arch/arm/boot/dts/sun7i-a20-olimex-som-evb-emmc.dts > > > @@ -0,0 +1,37 @@ > > > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > > > +/* > > > + * Device Tree Source for A20-Olimex-SOM-EVB-eMMC Board > > > + * > > > + * Copyright (C) 2018 Olimex Ltd. > > > + * Author: Stefan Mavrodiev <stefan-kyXcfZUBQGPQT0dZR+AlfA@public.gmane.org> > > > + */ > > > + > > > +/dts-v1/; > > > +#include "sun7i-a20-olimex-som-evb.dts" > > > + > > > +/ { > > > + > > > + model = "Olimex A20-Olimex-SOM-EVB-eMMC"; > > > + compatible = "olimex,a20-olimex-som-evb-emmc", "allwinner,sun7i-a20"; > > the file Documentation/devicetree/bindings/arm/olimex.txt seems to be out of date. I cannot find any recent board compatible. > > > > Didn't checkpatch complain about it? > > Yes it did. I didn't get is seriously because neither Olimex A20 based board > is documented in the binding. I guess we should fix that as well, but that can come in a subsequent patch. Maxime -- Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] ARM:dts:sunxi: Add Olimex A20-SOM-EVB-eMMC board [not found] ` <1526470689-6275-1-git-send-email-stefan-kyXcfZUBQGPQT0dZR+AlfA@public.gmane.org> 2018-05-17 7:25 ` Stefan Wahren @ 2018-05-18 8:03 ` Maxime Ripard 1 sibling, 0 replies; 5+ messages in thread From: Maxime Ripard @ 2018-05-18 8:03 UTC (permalink / raw) To: Stefan Mavrodiev Cc: Rob Herring, Mark Rutland, Chen-Yu Tsai, open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, open list, moderated list:ARM/Allwinner sunXi SoC support, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw [-- Attachment #1: Type: text/plain, Size: 414 bytes --] On Wed, May 16, 2018 at 02:38:08PM +0300, Stefan Mavrodiev wrote: > With the new rev.E of A20-SOM-EVB, there is option for 16GB eMMC. > Currently used card is KLMAG2GEND, wired to MMC2 slot. > > Signed-off-by: Stefan Mavrodiev <stefan-kyXcfZUBQGPQT0dZR+AlfA@public.gmane.org> Applied, thanks! Maxime -- Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-05-18 8:03 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-16 11:38 [PATCH 1/1] ARM:dts:sunxi: Add Olimex A20-SOM-EVB-eMMC board Stefan Mavrodiev
[not found] ` <1526470689-6275-1-git-send-email-stefan-kyXcfZUBQGPQT0dZR+AlfA@public.gmane.org>
2018-05-17 7:25 ` Stefan Wahren
2018-05-17 7:34 ` Stefan Mavrodiev
[not found] ` <7ad11904-be61-a459-f2be-ff37fcd02402-kyXcfZUBQGPQT0dZR+AlfA@public.gmane.org>
2018-05-18 8:02 ` Maxime Ripard
2018-05-18 8:03 ` Maxime Ripard
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).