arm64: dts: allwinner: a64: Enable eMMC on A64-OLinuXino
Subsystems (2)
PATCH v2 1/1 arm64: dts: allwinner: a64: Enable eMMC on A64-OLinuXino
A64-OLinuXino board has three variants that have eMMC support. Add support for eMMC on boards that have it.
This patch has been tested on A64-OLinuXino-1Ge16GW with Linux 5.0 from Debain. Basic benchmarks using Flexible IO Tester show reasonable performance from the eMMC.
eMMC - Random Write: 23.1MiB/s
eMMC - Sequential Write: 74.5MiB/s
SD Card - Random Write: 1690KiB/s
SD Card - Sequential Write: 11.0MiB/s
v2: Fix descriptions for VCC and VCCQ.
From: Martin Ayotte <[email protected]>
--- .../arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts | 11 +++++++++++ 1 file changed, 11 insertions(+)
arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts +11 -0
@@ -155,6 +155,17 @@ }; }; +&mmc2 { + pinctrl-names = "default"; + pinctrl-0 = <&mmc2_pins>; + vmmc-supply = <®_dcdc1>; + vqmmc-supply = <®_dcdc1>; + bus-width = <8>; + non-removable; + cap-mmc-hw-reset; + status = "okay"; +}; + &ohci0 { status = "okay"; };
Signature · 7 lines
2.20.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 13 lines · Sunil Mohan Adapa
A64-OLinuXino board has three variants that have eMMC support. Add support for eMMC on boards that have it.
This patch has been tested on A64-OLinuXino-1Ge16GW with Linux 5.0 from Debain. Basic benchmarks using Flexible IO Tester show reasonable performance from the eMMC.
eMMC - Random Write: 23.1MiB/s
eMMC - Sequential Write: 74.5MiB/s
SD Card - Random Write: 1690KiB/s
SD Card - Sequential Write: 11.0MiB/s
Quoted 8 lines
v2: Fix descriptions for VCC and VCCQ.
[[email protected] Fix descriptions for VCC and VCCQ]Signed-off-by Sunil Mohan Adapa <[email protected]>Tested-by Sunil Mohan Adapa <[email protected]>From: Martin Ayotte <[email protected]>
Thanks. The patch looks good overall. The authorship is a little confusing though. If it was initially done by Martin (CC-ed), then he should be the author, and we should get his Signed-off-by if possible.
ChenYu
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Martin Ayotte
Tested-byIf my SOB could help here, I don't mind since I've done the commit more than a year ago for Armbian ...
-----Message d'origine-----
De : Chen-Yu Tsai [mailto:[email protected]]
Envoyé : Wednesday, July 31, 2019 10:42 PM
À : Sunil Mohan Adapa
Cc : linux-arm-kernel; Maxime Ripard; Martin Ayotte Objet : Re: [PATCH v2] arm64: dts: allwinner: a64: Enable eMMC on A64-OLinuXino
Quoted 2 lines · Sunil Mohan Adapa
A64-OLinuXino board has three variants that have eMMC support. Add support
for
Quoted 3 lines
eMMC on boards that have it.
This patch has been tested on A64-OLinuXino-1Ge16GW with Linux 5.0 from
Debain.
Quoted 1 line
Basic benchmarks using Flexible IO Tester show reasonable performance from
the
Quoted 7 lines
eMMC.
eMMC - Random Write: 23.1MiB/s
eMMC - Sequential Write: 74.5MiB/s
SD Card - Random Write: 1690KiB/s
SD Card - Sequential Write: 11.0MiB/s
Quoted 8 lines
v2: Fix descriptions for VCC and VCCQ.
[[email protected] Fix descriptions for VCC and VCCQ]Signed-off-by Sunil Mohan Adapa <[email protected]>Tested-by Sunil Mohan Adapa <[email protected]>From: Martin Ayotte <[email protected]>
Link:
https://github.com/armbian/build/commit/174953de1eb09e6aa1ef7075066b573dba62
5398
Thanks. The patch looks good overall. The authorship is a little confusing though. If it was initially done by Martin (CC-ed), then he should be the author, and we should get his Signed-off-by if possible.
ChenYu
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
A message that is not in the archive (sent off-list or not yet received): CAKQ8BtjLmhDgA8woY5NqaifODLUh_w_K4QYOUuqc4Six5Amerg@mail.gmail.com
Quoted 5 lines · Martin Ayotte
If my SOB could help here, I don't mind since I've done the commit more than a year ago for Armbian ...
Signed-off-by Martin Ayotte <[email protected]>Tested-by Martin Ayotte <[email protected]>
gmai.com is likely a typo.
Quoted 6 lines
On Wed, Jul 31, 2019 at 10:42 PM Chen-Yu Tsai <[email protected]
Quoted 4 lines
Thanks. The patch looks good overall. The authorship is a little confusing though. If it was initially done by Martin (CC-ed), then he should be the author, and we should get his Signed-off-by if possible.
Martin is indeed the original author of the patch. Thank you for reviewing.
Signature · 1 line
Sunil
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Martin Ayotte
Tested-byQuoted 1 line
gmai.com is likely a typo.
Right !
-----Message d'origine-----
De : Sunil Mohan Adapa [mailto:[email protected]]
Envoyé : Thursday, August 01, 2019 2:48 PM
À : Martin Ayotte; Chen-Yu Tsai
Cc : linux-arm-kernel; Maxime Ripard
Objet : Re: [PATCH v2] arm64: dts: allwinner: a64: Enable eMMC on A64-OLinuXino
Quoted 5 lines · Martin Ayotte
If my SOB could help here, I don't mind since I've done the commit more than a year ago for Armbian ...
Signed-off-by Martin Ayotte <[email protected]>Tested-by Martin Ayotte <[email protected]>
gmai.com is likely a typo.
Quoted 6 lines
On Wed, Jul 31, 2019 at 10:42 PM Chen-Yu Tsai <[email protected]
Quoted 4 lines
Thanks. The patch looks good overall. The authorship is a little confusing though. If it was initially done by Martin (CC-ed), then he should be the author, and we should get his Signed-off-by if possible.
Martin is indeed the original author of the patch. Thank you for reviewing.
Signature · 8 lines
Sunil _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 9 lines · Sunil Mohan Adapa
Quoted 5 lines · Martin Ayotte
If my SOB could help here, I don't mind since I've done the commit more than a year ago for Armbian ...
Signed-off-by Martin Ayotte <[email protected]>Tested-by Martin Ayotte <[email protected]>gmai.com is likely a typo.
Quoted 8 lines
Quoted 6 lines
On Wed, Jul 31, 2019 at 10:42 PM Chen-Yu Tsai <[email protected]
Quoted 4 lines
Thanks. The patch looks good overall. The authorship is a little confusing though. If it was initially done by Martin (CC-ed), then he should be the author, and we should get his Signed-off-by if possible.
Martin is indeed the original author of the patch. Thank you for reviewing.
I'd like to apply this patch with Martin as the author, if that's OK with you both?
Thanks
ChenYu
Quoted 3 lines
--
Sunil
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 17 lines · Chen-Yu Tsai
Quoted 16 lines · Sunil Mohan Adapa
Quoted 5 lines · Martin Ayotte
If my SOB could help here, I don't mind since I've done the commit more than a year ago for Armbian ...
Signed-off-by Martin Ayotte <[email protected]>Tested-by Martin Ayotte <[email protected]>gmai.com is likely a typo.
Quoted 6 lines
On Wed, Jul 31, 2019 at 10:42 PM Chen-Yu Tsai <[email protected]
Quoted 4 lines
Thanks. The patch looks good overall. The authorship is a little confusing though. If it was initially done by Martin (CC-ed), then he should be the author, and we should get his Signed-off-by if possible.
Quoted 4 lines
Quoted 1 line
Martin is indeed the original author of the patch. Thank you for reviewing.
I'd like to apply this patch with Martin as the author, if that's OK with you both?
That is completely okay with me.
Thanks,
Signature · 1 line
Sunil
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Fine for me too.
Thanks .
-----Message d'origine-----
De : Sunil Mohan Adapa [mailto:[email protected]]
Envoyé : Monday, August 05, 2019 1:25 AM
À : Chen-Yu Tsai
Cc : Maxime Ripard; Martin Ayotte; linux-arm-kernel Objet : Re: [PATCH v2] arm64: dts: allwinner: a64: Enable eMMC on A64-OLinuXino
Quoted 10 lines · Chen-Yu Tsai
Quoted 9 lines · Sunil Mohan Adapa
Quoted 5 lines · Martin Ayotte
If my SOB could help here, I don't mind since I've done the commit more than a year ago for Armbian ...
Signed-off-by Martin Ayotte <[email protected]>Tested-by Martin Ayotte <[email protected]>gmai.com is likely a typo.
Quoted 8 lines
Quoted 8 lines
Quoted 6 lines
On Wed, Jul 31, 2019 at 10:42 PM Chen-Yu Tsai <[email protected]
Quoted 4 lines
Thanks. The patch looks good overall. The authorship is a little confusing though. If it was initially done by Martin (CC-ed), then he should be the author, and we should get his Signed-off-by if possible.
Martin is indeed the original author of the patch. Thank you for
reviewing.
Quoted 2 lines
I'd like to apply this patch with Martin as the author, if that's OK with
you
Quoted 1 line
both?
That is completely okay with me.
Thanks,
Signature · 8 lines
Sunil _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 31 lines · Martin Ayotte
Fine for me too.
Thanks .
-----Message d'origine-----
De : Sunil Mohan Adapa [mailto:[email protected]]
Envoyé : Monday, August 05, 2019 1:25 AM
À : Chen-Yu Tsai
Cc : Maxime Ripard; Martin Ayotte; linux-arm-kernel Objet : Re: [PATCH v2] arm64: dts: allwinner: a64: Enable eMMC on A64-OLinuXinoQuoted 17 lines · Chen-Yu Tsai
Quoted 16 lines · Sunil Mohan Adapa
Quoted 5 lines · Martin Ayotte
If my SOB could help here, I don't mind since I've done the commit more than a year ago for Armbian ...
Signed-off-by Martin Ayotte <[email protected]>Tested-by Martin Ayotte <[email protected]>gmai.com is likely a typo.
Quoted 6 lines
On Wed, Jul 31, 2019 at 10:42 PM Chen-Yu Tsai <[email protected]
Quoted 4 lines
Thanks. The patch looks good overall. The authorship is a little confusing though. If it was initially done by Martin (CC-ed), then he should be the author, and we should get his Signed-off-by if possible.
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Martin is indeed the original author of the patch. Thank you for
reviewing.
Quoted 2 lines
I'd like to apply this patch with Martin as the author, if that's OK with
you
Quoted 1 line
both?
That is completely okay with me.
Applied for 5.4.
I reordered the tags so they make more sense:
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Just to let you know : typo in my email still there...
-----Message d'origine-----
De : Chen-Yu Tsai [mailto:[email protected]]
Envoyé : Tuesday, August 06, 2019 2:25 AM
À : Martin Ayotte
Cc : Sunil Mohan Adapa; Maxime Ripard; linux-arm-kernel Objet : Re: [PATCH v2] arm64: dts: allwinner: a64: Enable eMMC on A64-OLinuXino
Quoted 15 lines · Martin Ayotte
Fine for me too.
Thanks .
-----Message d'origine-----
De : Sunil Mohan Adapa [mailto:[email protected]]
Envoyé : Monday, August 05, 2019 1:25 AM
À : Chen-Yu Tsai
Cc : Maxime Ripard; Martin Ayotte; linux-arm-kernel Objet : Re: [PATCH v2] arm64: dts: allwinner: a64: Enable eMMC on A64-OLinuXinoQuoted 1 line · Chen-Yu Tsai
On Fri, Aug 2, 2019 at 2:47 AM Sunil Mohan Adapa <[email protected]>
Quoted 11 lines · wrote:
Quoted 11 lines
Quoted 11 lines · Martin Ayotte
Quoted 5 lines
If my SOB could help here, I don't mind since I've done the commit more than a year ago for Armbian ...
Signed-off-by Martin Ayotte <[email protected]>Tested-by Martin Ayotte <[email protected]>gmai.com is likely a typo.
Quoted 2 lines
On Wed, Jul 31, 2019 at 10:42 PM Chen-Yu Tsai <[email protected]
Quoted 9 lines
Quoted 6 lines
Quoted 6 lines
Quoted 4 lines
Quoted 4 lines
Thanks. The patch looks good overall. The authorship is a little confusing though. If it was initially done by Martin (CC-ed), then he should be the author, and we should get his Signed-off-by if possible.
Martin is indeed the original author of the patch. Thank you for
reviewing.
Quoted 2 lines
I'd like to apply this patch with Martin as the author, if that's OK
with
Quoted 4 lines
you
Quoted 1 line
both?
That is completely okay with me.
Applied for 5.4.
I reordered the tags so they make more sense:
https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux.git/commit/?h=su
nxi/dt-for-5.4&id=0834887732df5af41b59b2e4d530fc1f5478965f
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 2 lines · Martin Ayotte
Just to let you know : typo in my email still there...
Duh. Fixed it now.
Quoted 49 lines
-----Message d'origine-----
De : Chen-Yu Tsai [mailto:[email protected]]
Envoyé : Tuesday, August 06, 2019 2:25 AM
À : Martin Ayotte
Cc : Sunil Mohan Adapa; Maxime Ripard; linux-arm-kernel Objet : Re: [PATCH v2] arm64: dts: allwinner: a64: Enable eMMC on A64-OLinuXinoQuoted 15 lines · Martin Ayotte
Fine for me too.
Thanks .
-----Message d'origine-----
De : Sunil Mohan Adapa [mailto:[email protected]]
Envoyé : Monday, August 05, 2019 1:25 AM
À : Chen-Yu Tsai
Cc : Maxime Ripard; Martin Ayotte; linux-arm-kernel Objet : Re: [PATCH v2] arm64: dts: allwinner: a64: Enable eMMC on A64-OLinuXinoQuoted 1 line · Chen-Yu Tsai
On Fri, Aug 2, 2019 at 2:47 AM Sunil Mohan Adapa <[email protected]>
Quoted 11 lines · wrote:
Quoted 11 lines
Quoted 11 lines · Martin Ayotte
Quoted 5 lines
If my SOB could help here, I don't mind since I've done the commit more than a year ago for Armbian ...
Signed-off-by Martin Ayotte <[email protected]>Tested-by Martin Ayotte <[email protected]>gmai.com is likely a typo.
Quoted 2 lines
On Wed, Jul 31, 2019 at 10:42 PM Chen-Yu Tsai <[email protected]
Quoted 9 lines
Quoted 6 lines
Quoted 6 lines
Quoted 4 lines
Quoted 4 lines
Thanks. The patch looks good overall. The authorship is a little confusing though. If it was initially done by Martin (CC-ed), then he should be the author, and we should get his Signed-off-by if possible.
Martin is indeed the original author of the patch. Thank you for
reviewing.
Quoted 2 lines
I'd like to apply this patch with Martin as the author, if that's OK
with
Quoted 3 lines
you
Quoted 1 line
both?
Quoted 9 lines
Quoted 1 line
That is completely okay with me.
Applied for 5.4.
I reordered the tags so they make more sense:
https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux.git/commit/?h=su
nxi/dt-for-5.4&id=0834887732df5af41b59b2e4d530fc1f5478965f
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 39 lines · Chen-Yu Tsai
Quoted 38 lines · Martin Ayotte
Fine for me too.
Thanks .
-----Message d'origine-----
De : Sunil Mohan Adapa [mailto:[email protected]]
Envoyé : Monday, August 05, 2019 1:25 AM
À : Chen-Yu Tsai
Cc : Maxime Ripard; Martin Ayotte; linux-arm-kernel Objet : Re: [PATCH v2] arm64: dts: allwinner: a64: Enable eMMC on A64-OLinuXinoQuoted 10 lines · Chen-Yu Tsai
Quoted 9 lines · Sunil Mohan Adapa
Quoted 5 lines · Martin Ayotte
If my SOB could help here, I don't mind since I've done the commit more than a year ago for Armbian ...
Signed-off-by Martin Ayotte <[email protected]>Tested-by Martin Ayotte <[email protected]>gmai.com is likely a typo.
Quoted 8 lines
Quoted 8 lines
Quoted 6 lines
On Wed, Jul 31, 2019 at 10:42 PM Chen-Yu Tsai <[email protected]
Quoted 4 lines
Thanks. The patch looks good overall. The authorship is a little confusing though. If it was initially done by Martin (CC-ed), then he should be the author, and we should get his Signed-off-by if possible.
Martin is indeed the original author of the patch. Thank you for
reviewing.
Quoted 2 lines
I'd like to apply this patch with Martin as the author, if that's OK with
you
Quoted 1 line
both?
Quoted 7 lines
Quoted 1 line
That is completely okay with me.
Applied for 5.4.
I reordered the tags so they make more sense:
Sorry for being late on this, but it looks like the eMMC, NAND and SPI pins are conflicting on the A64-Olinuxino design.
There's no configuration with a NAND, so we don't really need to worry about that, but if we merge this in the main DT, we'll prevent anyone from using that DT on an olinuxino with a SPI flash.
I think we should just create emmc and SPI-flash variants of that DT.
Maxime
--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 49 lines · Maxime Ripard
Quoted 39 lines · Chen-Yu Tsai
Quoted 38 lines · Martin Ayotte
Fine for me too.
Thanks .
-----Message d'origine-----
De : Sunil Mohan Adapa [mailto:[email protected]]
Envoyé : Monday, August 05, 2019 1:25 AM
Ą : Chen-Yu Tsai
Cc : Maxime Ripard; Martin Ayotte; linux-arm-kernel Objet : Re: [PATCH v2] arm64: dts: allwinner: a64: Enable eMMC on A64-OLinuXinoQuoted 10 lines · Chen-Yu Tsai
Quoted 9 lines · Sunil Mohan Adapa
Quoted 5 lines · Martin Ayotte
If my SOB could help here, I don't mind since I've done the commit more than a year ago for Armbian ...
Signed-off-by Martin Ayotte <[email protected]>Tested-by Martin Ayotte <[email protected]>gmai.com is likely a typo.
Quoted 8 lines
Quoted 8 lines
Quoted 6 lines
On Wed, Jul 31, 2019 at 10:42 PM Chen-Yu Tsai <[email protected]
Quoted 4 lines
Thanks. The patch looks good overall. The authorship is a little confusing though. If it was initially done by Martin (CC-ed), then he should be the author, and we should get his Signed-off-by if possible.
Martin is indeed the original author of the patch. Thank you for
reviewing.
Quoted 2 lines
I'd like to apply this patch with Martin as the author, if that's OK with
you
Quoted 1 line
both?
Quoted 7 lines
Quoted 1 line
That is completely okay with me.
Applied for 5.4.
I reordered the tags so they make more sense:
Quoted 8 lines
Sorry for being late on this, but it looks like the eMMC, NAND and SPI pins are conflicting on the A64-Olinuxino design.
There's no configuration with a NAND, so we don't really need to worry about that, but if we merge this in the main DT, we'll prevent anyone from using that DT on an olinuxino with a SPI flash.
I think we should just create emmc and SPI-flash variants of that DT.
Actually they aren't. Olimex specifically uses eMMC modules that don't use the data strobe line, so SPI can be used together.
ChenYu
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Right !
I've even stuffed the missing SPINOR on my board and used an overlay to access it without any issue ...
-----Message d'origine-----
De : Chen-Yu Tsai [mailto:[email protected]]
Envoyé : Wednesday, August 07, 2019 8:09 AM
À : Maxime Ripard
Cc : Martin Ayotte; Sunil Mohan Adapa; linux-arm-kernel
Objet : Re: [PATCH v2] arm64: dts: allwinner: a64: Enable eMMC on A64-OLinuXino
Quoted 49 lines · Maxime Ripard
Quoted 39 lines · Chen-Yu Tsai
Quoted 38 lines · Martin Ayotte
Fine for me too.
Thanks .
-----Message d'origine-----
De : Sunil Mohan Adapa [mailto:[email protected]]
Envoyé : Monday, August 05, 2019 1:25 AM
Ą : Chen-Yu Tsai
Cc : Maxime Ripard; Martin Ayotte; linux-arm-kernel Objet : Re: [PATCH v2] arm64: dts: allwinner: a64: Enable eMMC on A64-OLinuXinoQuoted 10 lines · Chen-Yu Tsai
Quoted 9 lines · Sunil Mohan Adapa
Quoted 5 lines · Martin Ayotte
If my SOB could help here, I don't mind since I've done the commit more than a year ago for Armbian ...
Signed-off-by Martin Ayotte <[email protected]>Tested-by Martin Ayotte <[email protected]>gmai.com is likely a typo.
Quoted 8 lines
Quoted 8 lines
Quoted 6 lines
On Wed, Jul 31, 2019 at 10:42 PM Chen-Yu Tsai <[email protected]
Quoted 4 lines
Thanks. The patch looks good overall. The authorship is a little confusing though. If it was initially done by Martin (CC-ed), then he should be the author, and we should get his Signed-off-by if possible.
Martin is indeed the original author of the patch. Thank you for
reviewing.
Quoted 2 lines
I'd like to apply this patch with Martin as the author, if that's OK with
you
Quoted 1 line
both?
Quoted 7 lines
Quoted 1 line
That is completely okay with me.
Applied for 5.4.
I reordered the tags so they make more sense:
Quoted 8 lines
Sorry for being late on this, but it looks like the eMMC, NAND and SPI pins are conflicting on the A64-Olinuxino design.
There's no configuration with a NAND, so we don't really need to worry about that, but if we merge this in the main DT, we'll prevent anyone from using that DT on an olinuxino with a SPI flash.
I think we should just create emmc and SPI-flash variants of that DT.
Actually they aren't. Olimex specifically uses eMMC modules that don't use the data strobe line, so SPI can be used together.
ChenYu
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Hi,
Quoted 53 lines · Chen-Yu Tsai
Quoted 52 lines · Maxime Ripard
Quoted 39 lines · Chen-Yu Tsai
Quoted 38 lines · Martin Ayotte
Fine for me too.
Thanks .
-----Message d'origine-----
De : Sunil Mohan Adapa [mailto:[email protected]]
Envoyé : Monday, August 05, 2019 1:25 AM
Ą : Chen-Yu Tsai
Cc : Maxime Ripard; Martin Ayotte; linux-arm-kernel Objet : Re: [PATCH v2] arm64: dts: allwinner: a64: Enable eMMC on A64-OLinuXinoQuoted 10 lines · Chen-Yu Tsai
Quoted 9 lines · Sunil Mohan Adapa
Quoted 5 lines · Martin Ayotte
If my SOB could help here, I don't mind since I've done the commit more than a year ago for Armbian ...
Signed-off-by Martin Ayotte <[email protected]>Tested-by Martin Ayotte <[email protected]>gmai.com is likely a typo.
Quoted 8 lines
Quoted 8 lines
Quoted 6 lines
On Wed, Jul 31, 2019 at 10:42 PM Chen-Yu Tsai <[email protected]
Quoted 4 lines
Thanks. The patch looks good overall. The authorship is a little confusing though. If it was initially done by Martin (CC-ed), then he should be the author, and we should get his Signed-off-by if possible.
Martin is indeed the original author of the patch. Thank you for
reviewing.
Quoted 2 lines
I'd like to apply this patch with Martin as the author, if that's OK with
you
Quoted 1 line
both?
Quoted 7 lines
Quoted 1 line
That is completely okay with me.
Applied for 5.4.
I reordered the tags so they make more sense:
Sorry for being late on this, but it looks like the eMMC, NAND and SPI pins are conflicting on the A64-Olinuxino design.
Quoted 8 lines
Quoted 5 lines
There's no configuration with a NAND, so we don't really need to worry about that, but if we merge this in the main DT, we'll prevent anyone from using that DT on an olinuxino with a SPI flash.
I think we should just create emmc and SPI-flash variants of that DT.
Actually they aren't. Olimex specifically uses eMMC modules that don't use the data strobe line, so SPI can be used together.
Ah, right.
Still, this creates a precedent that I'm not really comfortable with. Three actually.
Merging this in the main DT means three things:
- We're not consistent anymore, including within the olinuxino boards only. A20 Olinuxino is pretty much in the same situation, yet we dealt with it differently.
- This means that this will create a spurious device and report errors in the kernel message and whenever someone will try to access the device on boards that don't have it wired. This shouldn't happen and we really shouldn't expose devices that just aren't there, just like you don't have all the devices that are not connected on your USB connector.
- Finally, this means that in order to keep it somewhat consistent, we would have to merge the SPI flash in the main DT too. This will prevent people without a SPI flash to use the SPI signals on the UEXT connector for something else, which again goes against the policy we've had for basically any other board.
Maxime
--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 71 lines · Maxime Ripard
Hi,
Quoted 53 lines · Chen-Yu Tsai
Quoted 52 lines · Maxime Ripard
Quoted 39 lines · Chen-Yu Tsai
Quoted 38 lines · Martin Ayotte
Fine for me too.
Thanks .
-----Message d'origine-----
De : Sunil Mohan Adapa [mailto:[email protected]]
Envoyé : Monday, August 05, 2019 1:25 AM
Ą : Chen-Yu Tsai
Cc : Maxime Ripard; Martin Ayotte; linux-arm-kernel Objet : Re: [PATCH v2] arm64: dts: allwinner: a64: Enable eMMC on A64-OLinuXinoQuoted 10 lines · Chen-Yu Tsai
Quoted 9 lines · Sunil Mohan Adapa
Quoted 5 lines · Martin Ayotte
If my SOB could help here, I don't mind since I've done the commit more than a year ago for Armbian ...
Signed-off-by Martin Ayotte <[email protected]>Tested-by Martin Ayotte <[email protected]>gmai.com is likely a typo.
Quoted 8 lines
Quoted 8 lines
Quoted 6 lines
On Wed, Jul 31, 2019 at 10:42 PM Chen-Yu Tsai <[email protected]
Quoted 4 lines
Thanks. The patch looks good overall. The authorship is a little confusing though. If it was initially done by Martin (CC-ed), then he should be the author, and we should get his Signed-off-by if possible.
Martin is indeed the original author of the patch. Thank you for
reviewing.
Quoted 2 lines
I'd like to apply this patch with Martin as the author, if that's OK with
you
Quoted 1 line
both?
Quoted 7 lines
Quoted 1 line
That is completely okay with me.
Applied for 5.4.
I reordered the tags so they make more sense:
Sorry for being late on this, but it looks like the eMMC, NAND and SPI pins are conflicting on the A64-Olinuxino design.
Quoted 8 lines
Quoted 5 lines
There's no configuration with a NAND, so we don't really need to worry about that, but if we merge this in the main DT, we'll prevent anyone from using that DT on an olinuxino with a SPI flash.
I think we should just create emmc and SPI-flash variants of that DT.
Actually they aren't. Olimex specifically uses eMMC modules that don't use the data strobe line, so SPI can be used together.
Ah, right.
Still, this creates a precedent that I'm not really comfortable with. Three actually.
Quoted 15 lines
Merging this in the main DT means three things:
- We're not consistent anymore, including within the olinuxino boards only. A20 Olinuxino is pretty much in the same situation, yet we dealt with it differently.
- This means that this will create a spurious device and report errors in the kernel message and whenever someone will try to access the device on boards that don't have it wired. This shouldn't happen and we really shouldn't expose devices that just aren't there, just like you don't have all the devices that are not connected on your USB connector.
- Finally, this means that in order to keep it somewhat consistent, we would have to merge the SPI flash in the main DT too. This will prevent people without a SPI flash to use the SPI signals on the UEXT connector for something else, which again goes against the policy we've had for basically any other board.
OK. Shall we back it out and figure out something else?
ChenYu
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 88 lines · Chen-Yu Tsai
Quoted 71 lines · Maxime Ripard
Hi,
Quoted 53 lines · Chen-Yu Tsai
Quoted 52 lines · Maxime Ripard
Quoted 39 lines · Chen-Yu Tsai
Quoted 38 lines · Martin Ayotte
Fine for me too.
Thanks .
-----Message d'origine-----
De : Sunil Mohan Adapa [mailto:[email protected]]
Envoyé : Monday, August 05, 2019 1:25 AM
Ą : Chen-Yu Tsai
Cc : Maxime Ripard; Martin Ayotte; linux-arm-kernel Objet : Re: [PATCH v2] arm64: dts: allwinner: a64: Enable eMMC on A64-OLinuXinoQuoted 10 lines · Chen-Yu Tsai
Quoted 9 lines · Sunil Mohan Adapa
Quoted 5 lines · Martin Ayotte
If my SOB could help here, I don't mind since I've done the commit more than a year ago for Armbian ...
Signed-off-by Martin Ayotte <[email protected]>Tested-by Martin Ayotte <[email protected]>gmai.com is likely a typo.
Quoted 8 lines
Quoted 8 lines
Quoted 6 lines
On Wed, Jul 31, 2019 at 10:42 PM Chen-Yu Tsai <[email protected]
Quoted 4 lines
Thanks. The patch looks good overall. The authorship is a little confusing though. If it was initially done by Martin (CC-ed), then he should be the author, and we should get his Signed-off-by if possible.
Martin is indeed the original author of the patch. Thank you for
reviewing.
Quoted 2 lines
I'd like to apply this patch with Martin as the author, if that's OK with
you
Quoted 1 line
both?
Quoted 7 lines
Quoted 1 line
That is completely okay with me.
Applied for 5.4.
I reordered the tags so they make more sense:
Sorry for being late on this, but it looks like the eMMC, NAND and SPI pins are conflicting on the A64-Olinuxino design.
Quoted 8 lines
Quoted 5 lines
There's no configuration with a NAND, so we don't really need to worry about that, but if we merge this in the main DT, we'll prevent anyone from using that DT on an olinuxino with a SPI flash.
I think we should just create emmc and SPI-flash variants of that DT.
Actually they aren't. Olimex specifically uses eMMC modules that don't use the data strobe line, so SPI can be used together.
Ah, right.
Still, this creates a precedent that I'm not really comfortable with. Three actually.
Quoted 15 lines
Merging this in the main DT means three things:
- We're not consistent anymore, including within the olinuxino boards only. A20 Olinuxino is pretty much in the same situation, yet we dealt with it differently.
- This means that this will create a spurious device and report errors in the kernel message and whenever someone will try to access the device on boards that don't have it wired. This shouldn't happen and we really shouldn't expose devices that just aren't there, just like you don't have all the devices that are not connected on your USB connector.
- Finally, this means that in order to keep it somewhat consistent, we would have to merge the SPI flash in the main DT too. This will prevent people without a SPI flash to use the SPI signals on the UEXT connector for something else, which again goes against the policy we've had for basically any other board.
Quoted 1 line
OK. Shall we back it out and figure out something else?
I can try to help with alternate implementation with some guidance. I can also test any patches on an A64-OLinuXino model with eMMC. So, do we create a new -emmc.dts like in case of A20 OLinuXino?
BTW, a basic question: how does u-boot know which variant of dtb (with -emmc or without) it has load before booting Linux? Does this need to be hardcoded now into the boot script? Currently, in Debian the DTB name is chosen by u-boot and not present in the boot script.
Thanks,
Signature · 1 line
Sunil
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 94 lines · Sunil Mohan Adapa
Quoted 88 lines · Chen-Yu Tsai
Quoted 71 lines · Maxime Ripard
Hi,
Quoted 53 lines · Chen-Yu Tsai
Quoted 52 lines · Maxime Ripard
Quoted 39 lines · Chen-Yu Tsai
Quoted 38 lines · Martin Ayotte
Fine for me too.
Thanks .
-----Message d'origine-----
De : Sunil Mohan Adapa [mailto:[email protected]]
Envoyé : Monday, August 05, 2019 1:25 AM
Ą : Chen-Yu Tsai
Cc : Maxime Ripard; Martin Ayotte; linux-arm-kernel Objet : Re: [PATCH v2] arm64: dts: allwinner: a64: Enable eMMC on A64-OLinuXinoQuoted 10 lines · Chen-Yu Tsai
Quoted 9 lines · Sunil Mohan Adapa
Quoted 5 lines · Martin Ayotte
If my SOB could help here, I don't mind since I've done the commit more than a year ago for Armbian ...
Signed-off-by Martin Ayotte <[email protected]>Tested-by Martin Ayotte <[email protected]>gmai.com is likely a typo.
Quoted 8 lines
Quoted 8 lines
Quoted 6 lines
On Wed, Jul 31, 2019 at 10:42 PM Chen-Yu Tsai <[email protected]
Quoted 4 lines
Thanks. The patch looks good overall. The authorship is a little confusing though. If it was initially done by Martin (CC-ed), then he should be the author, and we should get his Signed-off-by if possible.
Martin is indeed the original author of the patch. Thank you for
reviewing.
Quoted 2 lines
I'd like to apply this patch with Martin as the author, if that's OK with
you
Quoted 1 line
both?
Quoted 7 lines
Quoted 1 line
That is completely okay with me.
Applied for 5.4.
I reordered the tags so they make more sense:
Sorry for being late on this, but it looks like the eMMC, NAND and SPI pins are conflicting on the A64-Olinuxino design.
Quoted 8 lines
Quoted 5 lines
There's no configuration with a NAND, so we don't really need to worry about that, but if we merge this in the main DT, we'll prevent anyone from using that DT on an olinuxino with a SPI flash.
I think we should just create emmc and SPI-flash variants of that DT.
Actually they aren't. Olimex specifically uses eMMC modules that don't use the data strobe line, so SPI can be used together.
Ah, right.
Still, this creates a precedent that I'm not really comfortable with. Three actually.
Quoted 15 lines
Merging this in the main DT means three things:
- We're not consistent anymore, including within the olinuxino boards only. A20 Olinuxino is pretty much in the same situation, yet we dealt with it differently.
- This means that this will create a spurious device and report errors in the kernel message and whenever someone will try to access the device on boards that don't have it wired. This shouldn't happen and we really shouldn't expose devices that just aren't there, just like you don't have all the devices that are not connected on your USB connector.
- Finally, this means that in order to keep it somewhat consistent, we would have to merge the SPI flash in the main DT too. This will prevent people without a SPI flash to use the SPI signals on the UEXT connector for something else, which again goes against the policy we've had for basically any other board.Quoted 1 line
OK. Shall we back it out and figure out something else?
Quoted 8 lines
I can try to help with alternate implementation with some guidance. I can also test any patches on an A64-OLinuXino model with eMMC. So, do we create a new
-emmc.dtslike in case of A20 OLinuXino?BTW, a basic question: how does u-boot know which variant of dtb (with -emmc or without) it has load before booting Linux? Does this need to be hardcoded now into the boot script? Currently, in Debian the DTB name is chosen by u-boot and not present in the boot script.
The default name is set using Kconfig. It is present in the per-board defconfig files.
ChenYu
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 85 lines · Chen-Yu Tsai
Quoted 68 lines · Maxime Ripard
Quoted 53 lines · Chen-Yu Tsai
Quoted 52 lines · Maxime Ripard
Quoted 39 lines · Chen-Yu Tsai
Quoted 38 lines · Martin Ayotte
Fine for me too.
Thanks .
-----Message d'origine-----
De : Sunil Mohan Adapa [mailto:[email protected]]
Envoyé : Monday, August 05, 2019 1:25 AM
Ą : Chen-Yu Tsai
Cc : Maxime Ripard; Martin Ayotte; linux-arm-kernel Objet : Re: [PATCH v2] arm64: dts: allwinner: a64: Enable eMMC on A64-OLinuXinoQuoted 10 lines · Chen-Yu Tsai
Quoted 9 lines · Sunil Mohan Adapa
Quoted 5 lines · Martin Ayotte
If my SOB could help here, I don't mind since I've done the commit more than a year ago for Armbian ...
Signed-off-by Martin Ayotte <[email protected]>Tested-by Martin Ayotte <[email protected]>gmai.com is likely a typo.
Quoted 8 lines
Quoted 8 lines
Quoted 6 lines
On Wed, Jul 31, 2019 at 10:42 PM Chen-Yu Tsai <[email protected]
Quoted 4 lines
Thanks. The patch looks good overall. The authorship is a little confusing though. If it was initially done by Martin (CC-ed), then he should be the author, and we should get his Signed-off-by if possible.
Martin is indeed the original author of the patch. Thank you for
reviewing.
Quoted 2 lines
I'd like to apply this patch with Martin as the author, if that's OK with
you
Quoted 1 line
both?
Quoted 7 lines
Quoted 1 line
That is completely okay with me.
Applied for 5.4.
I reordered the tags so they make more sense:
Sorry for being late on this, but it looks like the eMMC, NAND and SPI pins are conflicting on the A64-Olinuxino design.
Quoted 8 lines
Quoted 5 lines
There's no configuration with a NAND, so we don't really need to worry about that, but if we merge this in the main DT, we'll prevent anyone from using that DT on an olinuxino with a SPI flash.
I think we should just create emmc and SPI-flash variants of that DT.
Actually they aren't. Olimex specifically uses eMMC modules that don't use the data strobe line, so SPI can be used together.
Ah, right.
Still, this creates a precedent that I'm not really comfortable with. Three actually.
Quoted 15 lines
Merging this in the main DT means three things:
- We're not consistent anymore, including within the olinuxino boards only. A20 Olinuxino is pretty much in the same situation, yet we dealt with it differently.
- This means that this will create a spurious device and report errors in the kernel message and whenever someone will try to access the device on boards that don't have it wired. This shouldn't happen and we really shouldn't expose devices that just aren't there, just like you don't have all the devices that are not connected on your USB connector.
- Finally, this means that in order to keep it somewhat consistent, we would have to merge the SPI flash in the main DT too. This will prevent people without a SPI flash to use the SPI signals on the UEXT connector for something else, which again goes against the policy we've had for basically any other board.
Quoted 1 line
OK. Shall we back it out and figure out something else?
I guess we can send a new patch on top to move it to a separate file
Maxime
--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel