Commit e598511b authored by Miquel Raynal's avatar Miquel Raynal

dt-bindings: mtd: nand: Drop common properties already defined in generic files

generic files, so let's drop these properties from the individual NAND
controller bindings when no additional information is provided rather
than the possible presence of the property.
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/linux-mtd/20221114090315.848208-5-miquel.raynal@bootlin.com
parent 71a2026a
...@@ -14,9 +14,6 @@ maintainers: ...@@ -14,9 +14,6 @@ maintainers:
- Maxime Ripard <mripard@kernel.org> - Maxime Ripard <mripard@kernel.org>
properties: properties:
"#address-cells": true
"#size-cells": true
compatible: compatible:
enum: enum:
- allwinner,sun4i-a10-nand - allwinner,sun4i-a10-nand
...@@ -49,11 +46,7 @@ properties: ...@@ -49,11 +46,7 @@ properties:
dma-names: dma-names:
const: rxtx const: rxtx
pinctrl-names: true
patternProperties: patternProperties:
"^pinctrl-[0-9]+$": true
"^nand@[a-f0-9]+$": "^nand@[a-f0-9]+$":
type: object type: object
properties: properties:
...@@ -91,6 +84,6 @@ required: ...@@ -91,6 +84,6 @@ required:
- clocks - clocks
- clock-names - clock-names
additionalProperties: false unevaluatedProperties: false
... ...
...@@ -35,9 +35,6 @@ properties: ...@@ -35,9 +35,6 @@ properties:
interrupts: interrupts:
maxItems: 1 maxItems: 1
"#address-cells": true
"#size-cells": true
required: required:
- compatible - compatible
- reg - reg
...@@ -45,7 +42,7 @@ required: ...@@ -45,7 +42,7 @@ required:
- clock-names - clock-names
- interrupts - interrupts
additionalProperties: true unevaluatedProperties: true
examples: examples:
- | - |
......
...@@ -39,12 +39,6 @@ properties: ...@@ -39,12 +39,6 @@ properties:
- const: tx - const: tx
- const: rx - const: rx
"#address-cells":
const: 1
"#size-cells":
const: 0
patternProperties: patternProperties:
"^nand@[a-f0-9]+$": "^nand@[a-f0-9]+$":
type: object type: object
...@@ -67,10 +61,8 @@ required: ...@@ -67,10 +61,8 @@ required:
- clocks - clocks
- dmas - dmas
- dma-names - dma-names
- "#address-cells"
- "#size-cells"
additionalProperties: false unevaluatedProperties: false
examples: examples:
- | - |
......
...@@ -31,9 +31,6 @@ properties: ...@@ -31,9 +31,6 @@ properties:
- const: core - const: core
- const: aon - const: aon
"#address-cells": true
"#size-cells": true
patternProperties: patternProperties:
"^nand@[a-f0-9]$": "^nand@[a-f0-9]$":
type: object type: object
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment