* Re: [PATCH -next] ARM: dts: sun8i: Add NFC node to Allwinner A23/A33 SoC
@ 2016-07-06 20:29 ` Maxime Ripard
0 siblings, 0 replies; 10+ messages in thread
From: Maxime Ripard @ 2016-07-06 20:29 UTC (permalink / raw)
To: Icenowy Zheng
Cc: boris.brezillon, robh+dt, mark.rutland, wens, linux, devicetree,
linux-arm-kernel, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1060 bytes --]
Hi,
On Wed, Jul 06, 2016 at 08:33:52AM +0800, Icenowy Zheng wrote:
> Add NAND Flash controller node definition to the A23/A33 SoC.
>
> Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
Has this ever been tested? On what board, with what NAND chip?
> ---
> arch/arm/boot/dts/sun8i-a23-a33.dtsi | 23 +++++++++++++++++++++++
> 1 file changed, 23 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun8i-a23-a33.dtsi b/arch/arm/boot/dts/sun8i-a23-a33.dtsi
> index 7e05e09..270c38a 100644
> --- a/arch/arm/boot/dts/sun8i-a23-a33.dtsi
> +++ b/arch/arm/boot/dts/sun8i-a23-a33.dtsi
> @@ -209,6 +209,14 @@
> "apb2_uart3", "apb2_uart4";
> };
>
> + nand_clk: clk@01c20080 {
> + #clock-cells = <0>;
> + compatible = "allwinner,sun4i-a10-mod0-clk";
> + reg = <0x01c20080 0x4>;
> + clocks = <&osc24M>, <&pll6 1>;
> + clock-output-names = "nand";
> + };
> +
This should be in a separate patch.
Thanks!
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: [PATCH -next] ARM: dts: sun8i: Add NFC node to Allwinner A23/A33 SoC
@ 2016-07-06 20:29 ` Maxime Ripard
0 siblings, 0 replies; 10+ messages in thread
From: Maxime Ripard @ 2016-07-06 20:29 UTC (permalink / raw)
To: Icenowy Zheng
Cc: mark.rutland, boris.brezillon, devicetree, linux, linux-kernel,
wens, robh+dt, linux-arm-kernel
[-- Attachment #1.1: Type: text/plain, Size: 1060 bytes --]
Hi,
On Wed, Jul 06, 2016 at 08:33:52AM +0800, Icenowy Zheng wrote:
> Add NAND Flash controller node definition to the A23/A33 SoC.
>
> Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
Has this ever been tested? On what board, with what NAND chip?
> ---
> arch/arm/boot/dts/sun8i-a23-a33.dtsi | 23 +++++++++++++++++++++++
> 1 file changed, 23 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun8i-a23-a33.dtsi b/arch/arm/boot/dts/sun8i-a23-a33.dtsi
> index 7e05e09..270c38a 100644
> --- a/arch/arm/boot/dts/sun8i-a23-a33.dtsi
> +++ b/arch/arm/boot/dts/sun8i-a23-a33.dtsi
> @@ -209,6 +209,14 @@
> "apb2_uart3", "apb2_uart4";
> };
>
> + nand_clk: clk@01c20080 {
> + #clock-cells = <0>;
> + compatible = "allwinner,sun4i-a10-mod0-clk";
> + reg = <0x01c20080 0x4>;
> + clocks = <&osc24M>, <&pll6 1>;
> + clock-output-names = "nand";
> + };
> +
This should be in a separate patch.
Thanks!
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
[-- Attachment #2: Type: text/plain, Size: 176 bytes --]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 10+ messages in thread* [PATCH -next] ARM: dts: sun8i: Add NFC node to Allwinner A23/A33 SoC
2016-07-06 20:29 ` Maxime Ripard
@ 2016-07-07 0:04 ` Icenowy Zheng
-1 siblings, 0 replies; 10+ messages in thread
From: Icenowy Zheng @ 2016-07-07 0:04 UTC (permalink / raw)
To: linux-arm-kernel
07.07.2016, 04:29, "Maxime Ripard" <maxime.ripard@free-electrons.com>:
> Hi,
>
> On Wed, Jul 06, 2016 at 08:33:52AM +0800, Icenowy Zheng wrote:
>> ?Add NAND Flash controller node definition to the A23/A33 SoC.
>>
>> ?Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
>
> Has this ever been tested? On what board, with what NAND chip?
>
>> ?---
>> ??arch/arm/boot/dts/sun8i-a23-a33.dtsi | 23 +++++++++++++++++++++++
>> ??1 file changed, 23 insertions(+)
>>
>> ?diff --git a/arch/arm/boot/dts/sun8i-a23-a33.dtsi b/arch/arm/boot/dts/sun8i-a23-a33.dtsi
>> ?index 7e05e09..270c38a 100644
>> ?--- a/arch/arm/boot/dts/sun8i-a23-a33.dtsi
>> ?+++ b/arch/arm/boot/dts/sun8i-a23-a33.dtsi
>> ?@@ -209,6 +209,14 @@
>> ??????????????????????????????????????????"apb2_uart3", "apb2_uart4";
>> ??????????????????};
>>
>> ?+ nand_clk: clk at 01c20080 {
>> ?+ #clock-cells = <0>;
>> ?+ compatible = "allwinner,sun4i-a10-mod0-clk";
>> ?+ reg = <0x01c20080 0x4>;
>> ?+ clocks = <&osc24M>, <&pll6 1>;
>> ?+ clock-output-names = "nand";
>> ?+ };
>> ?+
>
> This should be in a separate patch.
>
> Thanks!
> Maxime
>
> --
> Maxime Ripard, Free Electrons
> Embedded Linux and Kernel engineering
> http://free-electrons.com
with a http://linux-sunxi.org/Aoson_M751s tablet, (SKhynix H27UCG8T2ETR-BC NAND chip).
I used the patchset at http://lists.infradead.org/pipermail/linux-mtd/2016-June/067848.html to ensure the NAND chip to work properly (otherwise the chip id cannot be correctly identified)
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: [PATCH -next] ARM: dts: sun8i: Add NFC node to Allwinner A23/A33 SoC
@ 2016-07-07 0:04 ` Icenowy Zheng
0 siblings, 0 replies; 10+ messages in thread
From: Icenowy Zheng @ 2016-07-07 0:04 UTC (permalink / raw)
To: Maxime Ripard
Cc: mark.rutland@arm.com, boris.brezillon@free-electrons.com,
devicetree@vger.kernel.org, linux@armlinux.org.uk,
linux-kernel@vger.kernel.org, wens@csie.org, robh+dt@kernel.org,
linux-arm-kernel@lists.infradead.org
07.07.2016, 04:29, "Maxime Ripard" <maxime.ripard@free-electrons.com>:
> Hi,
>
> On Wed, Jul 06, 2016 at 08:33:52AM +0800, Icenowy Zheng wrote:
>> Add NAND Flash controller node definition to the A23/A33 SoC.
>>
>> Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
>
> Has this ever been tested? On what board, with what NAND chip?
>
>> ---
>> arch/arm/boot/dts/sun8i-a23-a33.dtsi | 23 +++++++++++++++++++++++
>> 1 file changed, 23 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/sun8i-a23-a33.dtsi b/arch/arm/boot/dts/sun8i-a23-a33.dtsi
>> index 7e05e09..270c38a 100644
>> --- a/arch/arm/boot/dts/sun8i-a23-a33.dtsi
>> +++ b/arch/arm/boot/dts/sun8i-a23-a33.dtsi
>> @@ -209,6 +209,14 @@
>> "apb2_uart3", "apb2_uart4";
>> };
>>
>> + nand_clk: clk@01c20080 {
>> + #clock-cells = <0>;
>> + compatible = "allwinner,sun4i-a10-mod0-clk";
>> + reg = <0x01c20080 0x4>;
>> + clocks = <&osc24M>, <&pll6 1>;
>> + clock-output-names = "nand";
>> + };
>> +
>
> This should be in a separate patch.
>
> Thanks!
> Maxime
>
> --
> Maxime Ripard, Free Electrons
> Embedded Linux and Kernel engineering
> http://free-electrons.com
with a http://linux-sunxi.org/Aoson_M751s tablet, (SKhynix H27UCG8T2ETR-BC NAND chip).
I used the patchset at http://lists.infradead.org/pipermail/linux-mtd/2016-June/067848.html to ensure the NAND chip to work properly (otherwise the chip id cannot be correctly identified)
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 10+ messages in thread* [PATCH -next] ARM: dts: sun8i: Add NFC node to Allwinner A23/A33 SoC
2016-07-07 0:04 ` Icenowy Zheng
(?)
@ 2016-07-07 7:23 ` Maxime Ripard
-1 siblings, 0 replies; 10+ messages in thread
From: Maxime Ripard @ 2016-07-07 7:23 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Jul 07, 2016 at 08:04:41AM +0800, Icenowy Zheng wrote:
> with a http://linux-sunxi.org/Aoson_M751s tablet, (SKhynix
> H27UCG8T2ETR-BC NAND chip).
>
> I used the patchset at
> http://lists.infradead.org/pipermail/linux-mtd/2016-June/067848.html
> to ensure the NAND chip to work properly (otherwise the chip id
> cannot be correctly identified)
(Please reply in-line and wrap your mails).
Ok. That needs to be in the commit log then.
Thanks!
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160707/1eba7734/attachment.sig>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH -next] ARM: dts: sun8i: Add NFC node to Allwinner A23/A33 SoC
@ 2016-07-07 7:23 ` Maxime Ripard
0 siblings, 0 replies; 10+ messages in thread
From: Maxime Ripard @ 2016-07-07 7:23 UTC (permalink / raw)
To: Icenowy Zheng
Cc: boris.brezillon@free-electrons.com, robh+dt@kernel.org,
mark.rutland@arm.com, wens@csie.org, linux@armlinux.org.uk,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
[-- Attachment #1: Type: text/plain, Size: 579 bytes --]
On Thu, Jul 07, 2016 at 08:04:41AM +0800, Icenowy Zheng wrote:
> with a http://linux-sunxi.org/Aoson_M751s tablet, (SKhynix
> H27UCG8T2ETR-BC NAND chip).
>
> I used the patchset at
> http://lists.infradead.org/pipermail/linux-mtd/2016-June/067848.html
> to ensure the NAND chip to work properly (otherwise the chip id
> cannot be correctly identified)
(Please reply in-line and wrap your mails).
Ok. That needs to be in the commit log then.
Thanks!
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH -next] ARM: dts: sun8i: Add NFC node to Allwinner A23/A33 SoC
@ 2016-07-07 7:23 ` Maxime Ripard
0 siblings, 0 replies; 10+ messages in thread
From: Maxime Ripard @ 2016-07-07 7:23 UTC (permalink / raw)
To: Icenowy Zheng
Cc: mark.rutland@arm.com, boris.brezillon@free-electrons.com,
devicetree@vger.kernel.org, linux@armlinux.org.uk,
linux-kernel@vger.kernel.org, wens@csie.org, robh+dt@kernel.org,
linux-arm-kernel@lists.infradead.org
[-- Attachment #1.1: Type: text/plain, Size: 579 bytes --]
On Thu, Jul 07, 2016 at 08:04:41AM +0800, Icenowy Zheng wrote:
> with a http://linux-sunxi.org/Aoson_M751s tablet, (SKhynix
> H27UCG8T2ETR-BC NAND chip).
>
> I used the patchset at
> http://lists.infradead.org/pipermail/linux-mtd/2016-June/067848.html
> to ensure the NAND chip to work properly (otherwise the chip id
> cannot be correctly identified)
(Please reply in-line and wrap your mails).
Ok. That needs to be in the commit log then.
Thanks!
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
[-- Attachment #2: Type: text/plain, Size: 176 bytes --]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 10+ messages in thread