[PATCH v3 0/2] Add support for nuvoton ma35 nand controller

2024-08-21 Thread Hui-Ping Chen
27;. - Use 'dev_err_probe' instead of 'dev_err'. - Remove 'pr_info' and 'of_match_ptr'. - Remove 'module_init' and 'module_exit'. Hui-Ping Chen (2): dt-bindings: mtd: nuvoton,ma35d1-nand: add new bindings mtd: rawnand: nuvoton:

[PATCH v3 1/2] dt-bindings: mtd: nuvoton, ma35d1-nand: add new bindings

2024-08-21 Thread Hui-Ping Chen
Add dt-bindings for the Nuvoton MA35 SoC NAND Controller. Signed-off-by: Hui-Ping Chen Reviewed-by: Krzysztof Kozlowski --- .../bindings/mtd/nuvoton,ma35d1-nand.yaml | 93 +++ 1 file changed, 93 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd

[PATCH v3 2/2] mtd: rawnand: nuvoton: add new driver for the Nuvoton MA35 SoC

2024-08-21 Thread Hui-Ping Chen
Nuvoton MA35 SoCs NAND Flash Interface Controller supports 2KB, 4KB and 8KB page size, and up to 8-bit, 12-bit, and 24-bit hardware ECC calculation circuit to protect data communication. Signed-off-by: Hui-Ping Chen --- drivers/mtd/nand/raw/Kconfig |8 + drivers/mtd/nand/raw

Re: [PATCH v3 1/2] dt-bindings: mtd: nuvoton,ma35d1-nand: add new bindings

2024-08-27 Thread Hui-Ping Chen
Dear Miquèl, Thank you for your reply. On 2024/8/24 上午 12:26, Miquel Raynal wrote: Hi, hpchen0...@gmail.com wrote on Wed, 21 Aug 2024 07:11:31 +: Add dt-bindings for the Nuvoton MA35 SoC NAND Controller. Signed-off-by: Hui-Ping Chen Reviewed-by: Krzysztof Kozlowski

Re: [PATCH v3 1/2] dt-bindings: mtd: nuvoton,ma35d1-nand: add new bindings

2024-08-28 Thread Hui-Ping Chen
Aug 2024 07:11:31 +: Add dt-bindings for the Nuvoton MA35 SoC NAND Controller. Signed-off-by: Hui-Ping Chen Reviewed-by: Krzysztof Kozlowski --- .../bindings/mtd/nuvoton,ma35d1-nand.yaml | 93 +++ 1 file changed, 93 insertions(+) create mode 100644

Re: [PATCH v3 2/2] mtd: rawnand: nuvoton: add new driver for the Nuvoton MA35 SoC

2024-08-28 Thread Hui-Ping Chen
will fix that. 12-bit, and 24-bit hardware ECC calculation circuit to protect data communication. It's not the communication, it's the data itself. Okay, I will remove that. Signed-off-by: Hui-Ping Chen --- drivers/mtd/nand/raw/Kconfig |8 + drivers/mt

[PATCH 1/2] dt-bindings: mtd: nuvoton,ma35d1-nand: add new bindings

2024-08-12 Thread Hui-Ping Chen
Add dt-bindings for the Nuvoton MA35 SoC NAND Controller. Signed-off-by: Hui-Ping Chen --- .../bindings/mtd/nuvoton,ma35d1-nand.yaml | 97 +++ 1 file changed, 97 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/nuvoton,ma35d1-nand.yaml diff --git a

[PATCH 0/2] Add support for nuvoton ma35 nand controller

2024-08-12 Thread Hui-Ping Chen
This patch series adds the mtd nand driver for the nuvoton ma35 ARMv8 SoC. It includes DT binding documentation and the ma35 mtd nand driver. Hui-Ping Chen (2): dt-bindings: mtd: nuvoton,ma35d1-nand: add new bindings mtd: rawnand: nuvoton: add new driver for the Nuvoton MA35 SoC

[PATCH 2/2] mtd: rawnand: nuvoton: add new driver for the Nuvoton MA35 SoC

2024-08-12 Thread Hui-Ping Chen
Nuvoton MA35 SoCs NAND Flash Interface Controller supports 2KB, 4KB and 8KB page size, and up to 8-bit, 12-bit, and 24-bit hardware ECC calculation circuit to protect data communication. Signed-off-by: Hui-Ping Chen --- drivers/mtd/nand/raw/Kconfig |8 + drivers/mtd/nand/raw

[PATCH v2 1/2] dt-bindings: mtd: nuvoton, ma35d1-nand: add new bindings

2024-08-19 Thread Hui-Ping Chen
Add dt-bindings for the Nuvoton MA35 SoC NAND Controller. Signed-off-by: Hui-Ping Chen --- .../bindings/mtd/nuvoton,ma35d1-nand.yaml | 93 +++ 1 file changed, 93 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/nuvoton,ma35d1-nand.yaml diff --git a

[PATCH v2 2/2] mtd: rawnand: nuvoton: add new driver for the Nuvoton MA35 SoC

2024-08-19 Thread Hui-Ping Chen
Nuvoton MA35 SoCs NAND Flash Interface Controller supports 2KB, 4KB and 8KB page size, and up to 8-bit, 12-bit, and 24-bit hardware ECC calculation circuit to protect data communication. Signed-off-by: Hui-Ping Chen --- drivers/mtd/nand/raw/Kconfig |8 + drivers/mtd/nand/raw

[PATCH v2 0/2] Add support for nuvoton ma35 nand controller

2024-08-19 Thread Hui-Ping Chen
cc-strength' to the required list. - Update ma35d1 mtd nand driver - Fix coding style. - Use 'devm_clk_get' instead of 'of_clk_get'. - Use 'dev_err_probe' instead of 'dev_err'. - Remove 'pr_info' and 'of_match_ptr'.

Re: [PATCH v2 2/2] mtd: rawnand: nuvoton: add new driver for the Nuvoton MA35 SoC

2024-08-19 Thread Hui-Ping Chen
Dear Krzysztof, Thank you for your reply. On 2024/8/19 下午 07:19, Krzysztof Kozlowski wrote: On Mon, Aug 19, 2024 at 09:20:37AM +, Hui-Ping Chen wrote: Nuvoton MA35 SoCs NAND Flash Interface Controller supports 2KB, 4KB and 8KB page size, and up to 8-bit, 12-bit, and 24-bit hardware ECC

Re: [PATCH v4 2/2] mtd: rawnand: nuvoton: add new driver for the Nuvoton MA35 SoC

2024-09-18 Thread Hui-Ping Chen
Dear Sascha, Thank you for your reply. On 2024/9/18 下午 06:58, Sascha Hauer wrote: Hi, The driver has a few minor whitespace issues, please run through checkpatch.pl to catch them. I will fix it. Some more things inline. On Wed, Sep 18, 2024 at 09:03:08AM +, Hui-Ping Chen wrote

[PATCH v4 1/2] dt-bindings: mtd: nuvoton, ma35d1-nand: add new bindings

2024-09-18 Thread Hui-Ping Chen
Add dt-bindings for the Nuvoton MA35 SoC NAND Controller. Signed-off-by: Hui-Ping Chen Reviewed-by: Krzysztof Kozlowski --- .../bindings/mtd/nuvoton,ma35d1-nand.yaml | 93 +++ 1 file changed, 93 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd

[PATCH v4 2/2] mtd: rawnand: nuvoton: add new driver for the Nuvoton MA35 SoC

2024-09-18 Thread Hui-Ping Chen
Nuvoton MA35 SoCs NAND Flash Interface Controller supports 2kiB, 4kiB and 8kiB page size, and up to 8-bit, 12-bit, and 24-bit hardware ECC calculation circuit to protect data. Signed-off-by: Hui-Ping Chen --- drivers/mtd/nand/raw/Kconfig | 8 + drivers/mtd/nand/raw/Makefile

[PATCH v4 0/2] Add support for nuvoton ma35 nand controller

2024-09-18 Thread Hui-Ping Chen
- Add 'nand-ecc-step-size' and 'nand-ecc-strength' to the required list. - Update ma35d1 mtd nand driver - Fix coding style. - Use 'devm_clk_get' instead of 'of_clk_get'. - Use 'dev_err_probe' instead of 'dev_err'. - Remove &