mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-28 21:33:52 +00:00
dt-bindings: mtd: qcom: Prevent NAND chip unevaluated properties
List all the possible properties in the NAND chip as per the example and set unevaluatedProperties to false in the NAND chip section. Cc: Manivannan Sadhasivam <mani@kernel.org> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/linux-mtd/20230619092916.3028470-7-miquel.raynal@bootlin.com
This commit is contained in:
parent
411a1215a0
commit
7578bb1f92
1 changed files with 4 additions and 0 deletions
|
@ -34,7 +34,9 @@ properties:
|
|||
patternProperties:
|
||||
"^nand@[a-f0-9]$":
|
||||
type: object
|
||||
$ref: raw-nand-chip.yaml
|
||||
properties:
|
||||
|
||||
nand-bus-width:
|
||||
const: 8
|
||||
|
||||
|
@ -61,6 +63,8 @@ patternProperties:
|
|||
|
||||
Refer to the ipq8064 example on how to use this special binding.
|
||||
|
||||
unevaluatedProperties: false
|
||||
|
||||
allOf:
|
||||
- $ref: nand-controller.yaml#
|
||||
|
||||
|
|
Loading…
Reference in a new issue