Skip to content

Commit 70cdc14

Browse files
nxpfranklimiquelraynal
authored andcommitted
dt-bindings: mtd: gpmi-nand: Add 'fsl,imx8qxp-gpmi-nand' compatible string
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]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected]
1 parent 8675330 commit 70cdc14

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

Documentation/devicetree/bindings/mtd/gpmi-nand.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ properties:
2424
- fsl,imx6q-gpmi-nand
2525
- fsl,imx6sx-gpmi-nand
2626
- fsl,imx7d-gpmi-nand
27+
- fsl,imx8qxp-gpmi-nand
2728
- items:
2829
- enum:
2930
- fsl,imx8mm-gpmi-nand
@@ -151,6 +152,27 @@ allOf:
151152
- const: gpmi_io
152153
- const: gpmi_bch_apb
153154

155+
- if:
156+
properties:
157+
compatible:
158+
contains:
159+
enum:
160+
- fsl,imx8qxp-gpmi-nand
161+
then:
162+
properties:
163+
clocks:
164+
items:
165+
- description: SoC gpmi io clock
166+
- description: SoC gpmi apb clock
167+
- description: SoC gpmi bch clock
168+
- description: SoC gpmi bch apb clock
169+
clock-names:
170+
items:
171+
- const: gpmi_io
172+
- const: gpmi_apb
173+
- const: gpmi_bch
174+
- const: gpmi_bch_apb
175+
154176
examples:
155177
- |
156178
nand-controller@8000c000 {

0 commit comments

Comments
 (0)