dt-bindings: mmc: Fix unevaluatedProperties warnings in examples
The 'unevaluatedProperties' schema checks is not fully working and doesn't catch some cases where there's a $ref to another schema. A fix is pending, but results in new warnings in examples. Fix the warnings by removing spurious properties or adding a missing property to the schema. Signed-off-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20220526014204.2873107-1-robh@kernel.org Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
@ -75,7 +75,6 @@ examples:
|
|||||||
sd-uhs-sdr104;
|
sd-uhs-sdr104;
|
||||||
sdhci,auto-cmd12;
|
sdhci,auto-cmd12;
|
||||||
interrupts = <0x0 0x26 0x4>;
|
interrupts = <0x0 0x26 0x4>;
|
||||||
interrupt-names = "sdio0_0";
|
|
||||||
clocks = <&scmi_clk 245>;
|
clocks = <&scmi_clk 245>;
|
||||||
clock-names = "sw_sdio";
|
clock-names = "sw_sdio";
|
||||||
};
|
};
|
||||||
@ -94,7 +93,6 @@ examples:
|
|||||||
non-removable;
|
non-removable;
|
||||||
bus-width = <0x8>;
|
bus-width = <0x8>;
|
||||||
interrupts = <0x0 0x27 0x4>;
|
interrupts = <0x0 0x27 0x4>;
|
||||||
interrupt-names = "sdio1_0";
|
|
||||||
clocks = <&scmi_clk 245>;
|
clocks = <&scmi_clk 245>;
|
||||||
clock-names = "sw_sdio";
|
clock-names = "sw_sdio";
|
||||||
};
|
};
|
||||||
|
@ -56,6 +56,9 @@ properties:
|
|||||||
- const: core
|
- const: core
|
||||||
- const: axi
|
- const: axi
|
||||||
|
|
||||||
|
interrupts:
|
||||||
|
maxItems: 1
|
||||||
|
|
||||||
marvell,xenon-sdhc-id:
|
marvell,xenon-sdhc-id:
|
||||||
$ref: /schemas/types.yaml#/definitions/uint32
|
$ref: /schemas/types.yaml#/definitions/uint32
|
||||||
minimum: 0
|
minimum: 0
|
||||||
|
Reference in New Issue
Block a user