mirror of
https://github.com/torvalds/linux.git
synced 2026-06-05 04:56:13 +02:00
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: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/linux-mtd/20221114090315.848208-5-miquel.raynal@bootlin.com
This commit is contained in:
parent
71a2026a66
commit
e598511b0b
|
|
@ -14,9 +14,6 @@ maintainers:
|
|||
- Maxime Ripard <mripard@kernel.org>
|
||||
|
||||
properties:
|
||||
"#address-cells": true
|
||||
"#size-cells": true
|
||||
|
||||
compatible:
|
||||
enum:
|
||||
- allwinner,sun4i-a10-nand
|
||||
|
|
@ -49,11 +46,7 @@ properties:
|
|||
dma-names:
|
||||
const: rxtx
|
||||
|
||||
pinctrl-names: true
|
||||
|
||||
patternProperties:
|
||||
"^pinctrl-[0-9]+$": true
|
||||
|
||||
"^nand@[a-f0-9]+$":
|
||||
type: object
|
||||
properties:
|
||||
|
|
@ -91,6 +84,6 @@ required:
|
|||
- clocks
|
||||
- clock-names
|
||||
|
||||
additionalProperties: false
|
||||
unevaluatedProperties: false
|
||||
|
||||
...
|
||||
|
|
|
|||
|
|
@ -35,9 +35,6 @@ properties:
|
|||
interrupts:
|
||||
maxItems: 1
|
||||
|
||||
"#address-cells": true
|
||||
"#size-cells": true
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- reg
|
||||
|
|
@ -45,7 +42,7 @@ required:
|
|||
- clock-names
|
||||
- interrupts
|
||||
|
||||
additionalProperties: true
|
||||
unevaluatedProperties: true
|
||||
|
||||
examples:
|
||||
- |
|
||||
|
|
|
|||
|
|
@ -39,12 +39,6 @@ properties:
|
|||
- const: tx
|
||||
- const: rx
|
||||
|
||||
"#address-cells":
|
||||
const: 1
|
||||
|
||||
"#size-cells":
|
||||
const: 0
|
||||
|
||||
patternProperties:
|
||||
"^nand@[a-f0-9]+$":
|
||||
type: object
|
||||
|
|
@ -67,10 +61,8 @@ required:
|
|||
- clocks
|
||||
- dmas
|
||||
- dma-names
|
||||
- "#address-cells"
|
||||
- "#size-cells"
|
||||
|
||||
additionalProperties: false
|
||||
unevaluatedProperties: false
|
||||
|
||||
examples:
|
||||
- |
|
||||
|
|
|
|||
|
|
@ -31,9 +31,6 @@ properties:
|
|||
- const: core
|
||||
- const: aon
|
||||
|
||||
"#address-cells": true
|
||||
"#size-cells": true
|
||||
|
||||
patternProperties:
|
||||
"^nand@[a-f0-9]$":
|
||||
type: object
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user