mtd: nand: gpmi-nand: add imx8qxp gpmi nand support
Subsystems (6)
Frank Li
maintainerv2 cover mtd: nand: gpmi-nand: add imx8qxp gpmi nand support
Update binding doc to support imx8qxp NAND. Add new compatible string "fsl,imx8qxp-gpmi-nand". Update dts for imx8qxp and imx8dxl
Run dt_binding_check: fsl,mxs-dma.yaml
SCHEMA Documentation/devicetree/bindings/processed-schema.json
DTEX Documentation/devicetree/bindings/dma/fsl,mxs-dma.example.dts
DTC_CHK Documentation/devicetree/bindings/dma/fsl,mxs-dma.example.dtb
Run dt_binding_check: gpmi-nand.yaml
SCHEMA Documentation/devicetree/bindings/processed-schema.json
DTEX Documentation/devicetree/bindings/mtd/gpmi-nand.example.dts
DTC_CHK Documentation/devicetree/bindings/mtd/gpmi-nand.example.dtb
No warning:
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j8 CHECK_DTBS=y freescale/imx8dxl-evk.dtb
SYNC include/config/auto.conf.cmd
UPD include/config/kernel.release
DTC_CHK arch/arm64/boot/dts/freescale/imx8dxl-evk.dtb
---
Changes in v2:
- Add bool support_edo_timing to simple check logic.
- fix typo at commit message of mtd: rawnand: gpmi: add iMX8QXP support.
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Frank Li (5):
dt-bindings: mtd: gpmi-nand: Add 'fsl,imx8qxp-gpmi-nand' compatible string
dt-bindings: dma: fsl-mxs-dma: Add compatible string "fsl,imx8qxp-dma-apbh"
mtd: rawnand: gpmi: add 'support_edo_timing' in gpmi_devdata
arm64: dts: imx8-ss-conn: add gpmi nand node
arm64: dts: imx8dxl-ss-conn: add gpmi nand
Han Xu (1):
mtd: rawnand: gpmi: add iMX8QXP support.
.../devicetree/bindings/dma/fsl,mxs-dma.yaml | 15 +++++ .../devicetree/bindings/mtd/gpmi-nand.yaml | 22 +++++++ arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi | 69 ++++++++++++++++++++++ arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi | 11 ++++ drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c | 20 ++++++- drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.h | 6 +- 6 files changed, 141 insertions(+), 2 deletions(-)
---
base-commit: dbd9e2e056d8577375ae4b31ada94f8aa3769e8a
change-id: 20240516-gpmi_nand-e11272cbdfae
Best regards,
---
Frank Li <[email protected]>
Frank Li
maintainerPATCH v2 1/6 dt-bindings: mtd: gpmi-nand: Add 'fsl,imx8qxp-gpmi-nand' compatible string
Add 'fsl,imx8qxp-gpmi-nand' compatible string and clock-names restriction.
--- .../devicetree/bindings/mtd/gpmi-nand.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+)
Documentation/devicetree/bindings/mtd/gpmi-nand.yaml +22 -0
@@ -24,6 +24,7 @@ properties: - fsl,imx6q-gpmi-nand - fsl,imx6sx-gpmi-nand - fsl,imx7d-gpmi-nand + - fsl,imx8qxp-gpmi-nand - items: - enum: - fsl,imx8mm-gpmi-nand
@@ -151,6 +152,27 @@ allOf: - const: gpmi_io - const: gpmi_bch_apb + - if: + properties: + compatible: + contains: + enum: + - fsl,imx8qxp-gpmi-nand + then: + properties: + clocks: + items: + - description: SoC gpmi io clock + - description: SoC gpmi apb clock + - description: SoC gpmi bch clock + - description: SoC gpmi bch apb clock + clock-names: + items: + - const: gpmi_io + - const: gpmi_apb + - const: gpmi_bch + - const: gpmi_bch_apb + examples: - | nand-controller@8000c000 {
Signature · 1 line
2.34.1
Re: [PATCH v2 1/6] dt-bindings: mtd: gpmi-nand: Add 'fsl,imx8qxp-gpmi-nand' compatible string
Quoted 6 lines · Frank Li
Add 'fsl,imx8qxp-gpmi-nand' compatible string and clock-names restriction.
Signed-off-by Frank Li <[email protected]>--- .../devicetree/bindings/mtd/gpmi-nand.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+)
Re: [PATCH v2 1/6] dt-bindings: mtd: gpmi-nand: Add 'fsl,imx8qxp-gpmi-nand' compatible string
In reply to Frank LiQuoted 4 lines · Frank Li
Add 'fsl,imx8qxp-gpmi-nand' compatible string and clock-names restriction.
Signed-off-by Frank Li <[email protected]>Reviewed-by Rob Herring (Arm) <[email protected]>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
Frank Li
maintainerPATCH v2 2/6 dt-bindings: dma: fsl-mxs-dma: Add compatible string "fsl,imx8qxp-dma-apbh"
In reply to Frank LiAdd compatible string "fsl,imx8qxp-dma-apbh". It requires power-domains compared with "fsl,imx28-dma-apbh".
Allow 'power-domains' property because i.MX8DXL i.MX8QM and i.MX8QXP need it.
Keep the same restriction about 'power-domains' for other compatible strings.
--- Documentation/devicetree/bindings/dma/fsl,mxs-dma.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+)
Documentation/devicetree/bindings/dma/fsl,mxs-dma.yaml +15 -0
@@ -11,6 +11,17 @@ maintainers: allOf: - $ref: dma-controller.yaml# + - if: + properties: + compatible: + contains: + const: fsl,imx8qxp-dma-apbh + then: + required: + - power-domains + else: + properties: + power-domains: false properties: compatible:
@@ -20,6 +31,7 @@ properties: - fsl,imx6q-dma-apbh - fsl,imx6sx-dma-apbh - fsl,imx7d-dma-apbh + - fsl,imx8qxp-dma-apbh - const: fsl,imx28-dma-apbh - enum: - fsl,imx23-dma-apbh
@@ -42,6 +54,9 @@ properties: dma-channels: enum: [4, 8, 16] + power-domains: + maxItems: 1 + required: - compatible - reg
Signature · 1 line
2.34.1
Re: [PATCH v2 2/6] dt-bindings: dma: fsl-mxs-dma: Add compatible string "fsl,imx8qxp-dma-apbh"
Quoted 6 lines · Frank Li
Add compatible string "fsl,imx8qxp-dma-apbh". It requires power-domains compared with "fsl,imx28-dma-apbh".
Allow 'power-domains' property because i.MX8DXL i.MX8QM and i.MX8QXP need it.
Quoted 8 lines
Keep the same restriction about 'power-domains' for other compatible strings.
Signed-off-by Frank Li <[email protected]>--- Documentation/devicetree/bindings/dma/fsl,mxs-dma.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+)
Re: [PATCH v2 2/6] dt-bindings: dma: fsl-mxs-dma: Add compatible string "fsl,imx8qxp-dma-apbh"
In reply to Frank LiQuoted 11 lines · Frank Li
Add compatible string "fsl,imx8qxp-dma-apbh". It requires power-domains compared with "fsl,imx28-dma-apbh".
Allow 'power-domains' property because i.MX8DXL i.MX8QM and i.MX8QXP need it.
Keep the same restriction about 'power-domains' for other compatible strings.
Signed-off-by Frank Li <[email protected]>Reviewed-by Rob Herring (Arm) <[email protected]>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
Miquel Raynal
maintainerRe: [PATCH v2 2/6] dt-bindings: dma: fsl-mxs-dma: Add compatible string "fsl,imx8qxp-dma-apbh"
Hi Vinod,
[email protected] wrote on Mon, 27 May 2024 14:18:36 +0200:
Quoted 7 lines · Frank Li
Quoted 6 lines
Add compatible string "fsl,imx8qxp-dma-apbh". It requires power-domains compared with "fsl,imx28-dma-apbh".
Allow 'power-domains' property because i.MX8DXL i.MX8QM and i.MX8QXP need it.
Quoted 7 lines
Quoted 5 lines
Keep the same restriction about 'power-domains' for other compatible strings.
Signed-off-by Frank Li <[email protected]>Reviewed-by Rob Herring (Arm) <[email protected]>Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
I just realize now I picked this up whereas it was not intended to be merged through mtd. I'm fine keeping this patch for the next merge window if I get your explicit agreement otherwise I'll drop it.
Thanks,
Miquèl
Frank Li
maintainerRe: [PATCH v2 2/6] dt-bindings: dma: fsl-mxs-dma: Add compatible string "fsl,imx8qxp-dma-apbh"
Quoted 14 lines · Miquel Raynal
Hi Vinod,
[email protected] wrote on Mon, 27 May 2024 14:18:36 +0200:
Quoted 10 lines · Frank Li
Quoted 9 lines
Add compatible string "fsl,imx8qxp-dma-apbh". It requires power-domains compared with "fsl,imx28-dma-apbh".
Allow 'power-domains' property because i.MX8DXL i.MX8QM and i.MX8QXP need it.
Keep the same restriction about 'power-domains' for other compatible strings.
Quoted 8 lines
Quoted 4 lines
Quoted 2 lines
Signed-off-by Frank Li <[email protected]>Reviewed-by Rob Herring (Arm) <[email protected]>Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
I just realize now I picked this up whereas it was not intended to be merged through mtd. I'm fine keeping this patch for the next merge window if I get your explicit agreement otherwise I'll drop it.
I think it is fine. Basically this dma is only used for GPMI NAND now.
Frank
Quoted 3 lines
Thanks,
Miquèl
Miquel Raynal
maintainerRe: [PATCH v2 2/6] dt-bindings: dma: fsl-mxs-dma: Add compatible string "fsl,imx8qxp-dma-apbh"
In reply to Miquel RaynalHi,
[email protected] wrote on Fri, 12 Jul 2024 16:35:03 +0200:
Quoted 14 lines
Hi Vinod,
[email protected] wrote on Mon, 27 May 2024 14:18:36 +0200:
Quoted 10 lines · Frank Li
Quoted 9 lines
Add compatible string "fsl,imx8qxp-dma-apbh". It requires power-domains compared with "fsl,imx28-dma-apbh".
Allow 'power-domains' property because i.MX8DXL i.MX8QM and i.MX8QXP need it.
Keep the same restriction about 'power-domains' for other compatible strings.
Quoted 8 lines
Quoted 4 lines
Quoted 2 lines
Signed-off-by Frank Li <[email protected]>Reviewed-by Rob Herring (Arm) <[email protected]>Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
I just realize now I picked this up whereas it was not intended to be merged through mtd. I'm fine keeping this patch for the next merge window if I get your explicit agreement otherwise I'll drop it.
I need to send the PR to Linux, I will drop this patch which can anyway be taken in the next cycle.
Thanks,
Miquèl
Frank Li
maintainerPATCH v2 3/6 mtd: rawnand: gpmi: add 'support_edo_timing' in gpmi_devdata
In reply to Frank LiIntroduce a boolean flag, 'support_edo_timing', within gpmi_devdata to simplify the logic check in gpmi_setup_interface(). This is made in preparation for adding support for imx8qxp gpmi.
--- drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c | 6 +++++- drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.h | 1 + 2 files changed, 6 insertions(+), 1 deletion(-)
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c +5 -1
@@ -983,7 +983,7 @@ static int gpmi_setup_interface(struct nand_chip *chip, int chipnr,return PTR_ERR (sdr);/* Only MX28/MX6 GPMI controller can reach EDO timings */ -if (sdr->tRC_min <=25000 && !GPMI_IS_MX28 (this) && !GPMI_IS_MX6 (this)) +if (sdr->tRC_min <=25000 && !this->devdata->support_edo_timing)return -ENOTSUPP ;/* Stop here if this call was just a check */
@@ -1142,6 +1142,7 @@ static const struct gpmi_devdata gpmi_devdata_imx28 = { .type = IS_MX28, .bch_max_ecc_strength = 20, .max_chain_delay = 16000, + .support_edo_timing = true, .clks = gpmi_clks_for_mx2x, .clks_count = ARRAY_SIZE(gpmi_clks_for_mx2x), };
@@ -1154,6 +1155,7 @@ static const struct gpmi_devdata gpmi_devdata_imx6q = { .type = IS_MX6Q, .bch_max_ecc_strength = 40, .max_chain_delay = 12000, + .support_edo_timing = true, .clks = gpmi_clks_for_mx6, .clks_count = ARRAY_SIZE(gpmi_clks_for_mx6), };
@@ -1162,6 +1164,7 @@ static const struct gpmi_devdata gpmi_devdata_imx6sx = { .type = IS_MX6SX, .bch_max_ecc_strength = 62, .max_chain_delay = 12000, + .support_edo_timing = true, .clks = gpmi_clks_for_mx6, .clks_count = ARRAY_SIZE(gpmi_clks_for_mx6), };
@@ -1174,6 +1177,7 @@ static const struct gpmi_devdata gpmi_devdata_imx7d = { .type = IS_MX7D, .bch_max_ecc_strength = 62, .max_chain_delay = 12000, + .support_edo_timing = true, .clks = gpmi_clks_for_mx7d, .clks_count = ARRAY_SIZE(gpmi_clks_for_mx7d), };
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.h +1 -0
@@ -86,6 +86,7 @@ struct gpmi_devdata {int max_chain_delay;/* See the SDR EDO mode */ const char *const *clks;const int clks_count; +bool support_edo_timing; };/**
Signature · 1 line
2.34.1
Miquel Raynal
maintainerRe: [PATCH v2 3/6] mtd: rawnand: gpmi: add 'support_edo_timing' in gpmi_devdata
Hi Frank,
[email protected] wrote on Mon, 20 May 2024 12:09:14 -0400:
Quoted 3 lines
Introduce a boolean flag, '
support_edo_timing', withingpmi_devdatato simplify the logic check ingpmi_setup_interface(). This is made in preparation for adding support for imx8qxp gpmi.
Excellent idea. I really prefer it compared to the former implementation.
Thanks,
Miquèl
Re: [PATCH v2 3/6] mtd: rawnand: gpmi: add 'support_edo_timing' in gpmi_devdata
In reply to Frank LiQuoted 5 lines · Frank Li
Introduce a boolean flag, '
support_edo_timing', withingpmi_devdatato simplify the logic check ingpmi_setup_interface(). This is made in preparation for adding support for imx8qxp gpmi.Signed-off-by Frank Li <[email protected]>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
Frank Li
maintainerPATCH v2 4/6 mtd: rawnand: gpmi: add iMX8QXP support.
In reply to Frank LiFrom: Han Xu <[email protected]>
Add "fsl,imx8qxp-gpmi-nand" compatible string. iMX8QXP gpmi nand is similar to iMX7D. But it is using 4 clocks: "gpmi_io", "gpmi_apb", "gpmi_bch" and "gpmi_bch_apb".
--- drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c | 14 ++++++++++++++ drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.h | 5 ++++- 2 files changed, 18 insertions(+), 1 deletion(-)
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c +14 -0
@@ -1182,6 +1182,19 @@ static const struct gpmi_devdata gpmi_devdata_imx7d = { .clks_count = ARRAY_SIZE(gpmi_clks_for_mx7d), }; +static const char *gpmi_clks_for_mx8qxp[GPMI_CLK_MAX ] = { +"gpmi_io" ,"gpmi_apb" ,"gpmi_bch" ,"gpmi_bch_apb" , +}; + +static const struct gpmi_devdata gpmi_devdata_imx8qxp = { + .type =IS_MX8QXP , + .bch_max_ecc_strength =62 , + .max_chain_delay =12000 , + .support_edo_timing = true, + .clks = gpmi_clks_for_mx8qxp, + .clks_count =ARRAY_SIZE (gpmi_clks_for_mx8qxp), +}; +static int acquire_register_block (struct gpmi_nand_data *this,const char *res_name) {
@@ -2725,6 +2738,7 @@ static const struct of_device_id gpmi_nand_id_table[] = { { .compatible = "fsl,imx6q-gpmi-nand", .data = &gpmi_devdata_imx6q, }, { .compatible = "fsl,imx6sx-gpmi-nand", .data = &gpmi_devdata_imx6sx, }, { .compatible = "fsl,imx7d-gpmi-nand", .data = &gpmi_devdata_imx7d,}, + { .compatible = "fsl,imx8qxp-gpmi-nand", .data = &gpmi_devdata_imx8qxp, }, {} }; MODULE_DEVICE_TABLE(of, gpmi_nand_id_table);
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.h +4 -1
@@ -78,6 +78,7 @@ enum gpmi_type {IS_MX6Q ,IS_MX6SX ,IS_MX7D , + IS_MX8QXP, }; struct gpmi_devdata {
@@ -173,8 +174,10 @@ struct gpmi_nand_data {#define GPMI_IS_MX6Q (x) ((x)->devdata->type == IS_MX6Q)#define GPMI_IS_MX6SX (x) ((x)->devdata->type == IS_MX6SX)#define GPMI_IS_MX7D (x) ((x)->devdata->type == IS_MX7D) +#define GPMI_IS_MX8QXP (x) ((x)->devdata->type == IS_MX8QXP)#define GPMI_IS_MX6 (x) (GPMI_IS_MX6Q(x) || GPMI_IS_MX6SX(x) || \ - GPMI_IS_MX7D(x)) + GPMI_IS_MX7D(x) || GPMI_IS_MX8QXP(x)) +#define GPMI_IS_MXS (x) (GPMI_IS_MX23(x) || GPMI_IS_MX28(x))#endif
Signature · 1 line
2.34.1
Re: [PATCH v2 4/6] mtd: rawnand: gpmi: add iMX8QXP support.
Quoted 8 lines · Frank Li
From: Han Xu <[email protected]>
Add "fsl,imx8qxp-gpmi-nand" compatible string. iMX8QXP gpmi nand is similar to iMX7D. But it is using 4 clocks: "
gpmi_io", "gpmi_apb", "gpmi_bch" and "gpmi_bch_apb".Signed-off-by Han Xu <[email protected]>Signed-off-by Frank Li <[email protected]>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
Frank Li
maintainerPATCH v2 5/6 arm64: dts: imx8-ss-conn: add gpmi nand node
In reply to Frank LiAdd gpmi nand support.
--- arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi | 69 +++++++++++++++++++++++++ 1 file changed, 69 insertions(+)
arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi +69 -0
@@ -28,6 +28,13 @@ conn_ipg_clk: clock-conn-ipg { clock-output-names = "conn_ipg_clk"; }; +conn_bch_clk: clock-conn-bch { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <400000000>; + clock-output-names = "conn_bch_clk"; +}; + conn_subsys: bus@5b000000 { compatible = "simple-bus"; #address-cells = <1>;
@@ -302,4 +309,66 @@ usb3_lpcg: clock-controller@5b280000 { "usb3_aclk"; power-domains = <&pd IMX_SC_R_USB_2_PHY>; }; + + rawnand_0_lpcg: clock-controller@5b290000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x5b290000 0x4>; + #clock-cells = <1>; + clocks = <&clk IMX_SC_R_NAND IMX_SC_PM_CLK_PER>, + <&clk IMX_SC_R_NAND IMX_SC_PM_CLK_MST_BUS>, + <&conn_axi_clk>, + <&conn_axi_clk>; + clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>, + <IMX_LPCG_CLK_4>, <IMX_LPCG_CLK_5>; + clock-output-names = "gpmi_bch", + "gpmi_io", + "gpmi_apb", + "gpmi_bch_apb"; + power-domains = <&pd IMX_SC_R_NAND>; + }; + + rawnand_4_lpcg: clock-controller@5b290004 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x5b290004 0x10000>; + #clock-cells = <1>; + clocks = <&conn_axi_clk>; + clock-indices = <IMX_LPCG_CLK_4>; + clock-output-names = "apbhdma_hclk"; + power-domains = <&pd IMX_SC_R_NAND>; + }; + + dma_apbh: dma-controller@5b810000 { + compatible = "fsl,imx8qxp-dma-apbh", "fsl,imx28-dma-apbh"; + reg = <0x5b810000 0x2000>; + interrupts = <GIC_SPI 274 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 274 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 274 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 274 IRQ_TYPE_LEVEL_HIGH>; + #dma-cells = <1>; + dma-channels = <4>; + clocks = <&rawnand_4_lpcg IMX_LPCG_CLK_0>; + power-domains = <&pd IMX_SC_R_NAND>; + }; + + gpmi: nand-controller@5b812000{ + compatible = "fsl,imx8qxp-gpmi-nand"; + reg = <0x5b812000 0x2000>, <0x5b814000 0x2000>; + reg-names = "gpmi-nand", "bch"; + #address-cells = <1>; + #size-cells = <0>; + interrupts = <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "bch"; + clocks = <&rawnand_0_lpcg IMX_LPCG_CLK_1>, + <&rawnand_0_lpcg IMX_LPCG_CLK_4>, + <&rawnand_0_lpcg IMX_LPCG_CLK_0>, + <&rawnand_0_lpcg IMX_LPCG_CLK_5>; + clock-names = "gpmi_io", "gpmi_apb", + "gpmi_bch", "gpmi_bch_apb"; + dmas = <&dma_apbh 0>; + dma-names = "rx-tx"; + power-domains = <&pd IMX_SC_R_NAND>; + assigned-clocks = <&clk IMX_SC_R_NAND IMX_SC_PM_CLK_MST_BUS>; + assigned-clock-rates = <50000000>; + status = "disabled"; + }; };
Signature · 1 line
2.34.1
Shawn Guo
AppliedRe: [PATCH v2 5/6] arm64: dts: imx8-ss-conn: add gpmi nand node
Quoted 3 lines · Frank Li
Add gpmi nand support.
Signed-off-by Frank Li <[email protected]>
Applied, thanks!
Frank Li
maintainerPATCH v2 6/6 arm64: dts: imx8dxl-ss-conn: add gpmi nand
In reply to Frank LiUpdate gpmi nand and dma_apbh interrupt number for imx8dxl.
--- arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+)
arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi +11 -0
@@ -108,6 +108,13 @@ usb2_2_lpcg: clock-controller@5b280000 { }; +&dma_apbh { + interrupts = <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>; +}; + &enet0_lpcg { clocks = <&conn_enet0_root_clk>, <&conn_enet0_root_clk>,
@@ -127,6 +134,10 @@ &fec1 { assigned-clock-rates = <125000000>; }; +&gpmi { + interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>; +}; + &usdhc1 { compatible = "fsl,imx8dxl-usdhc", "fsl,imx8qxp-usdhc"; interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
Signature · 1 line
2.34.1
Frank Li
maintainerRe: [PATCH v2 6/6] arm64: dts: imx8dxl-ss-conn: add gpmi nand
Quoted 3 lines · Frank Li
Update gpmi nand and
dma_apbhinterrupt number for imx8dxl.Signed-off-by Frank Li <[email protected]>
Shawn:
Driver and binding part already picked. Can you take care dts part?
Frank
Quoted 37 lines
--- arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+)arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi +11
-0@@ -108,6 +108,13 @@ usb2_2_lpcg: clock-controller@5b280000 { }; +&dma_apbh { + interrupts = <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>; +}; + &enet0_lpcg { clocks = <&conn_enet0_root_clk>, <&conn_enet0_root_clk>,@@ -127,6 +134,10 @@ &fec1 { assigned-clock-rates = <125000000>; }; +&gpmi { + interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>; +}; + &usdhc1 { compatible = "fsl,imx8dxl-usdhc", "fsl,imx8qxp-usdhc"; interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;Signature · 2 lines
-- 2.34.1
Shawn Guo
AppliedRe: [PATCH v2 6/6] arm64: dts: imx8dxl-ss-conn: add gpmi nand
In reply to Frank LiQuoted 3 lines · Frank Li
Update gpmi nand and
dma_apbhinterrupt number for imx8dxl.Signed-off-by Frank Li <[email protected]>
Applied, thanks!