Skip to content

Commit 4792604

Browse files
robherringUlf Hansson
authored andcommitted
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>
1 parent a051246 commit 4792604

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ examples:
7575
sd-uhs-sdr104;
7676
sdhci,auto-cmd12;
7777
interrupts = <0x0 0x26 0x4>;
78-
interrupt-names = "sdio0_0";
7978
clocks = <&scmi_clk 245>;
8079
clock-names = "sw_sdio";
8180
};
@@ -94,7 +93,6 @@ examples:
9493
non-removable;
9594
bus-width = <0x8>;
9695
interrupts = <0x0 0x27 0x4>;
97-
interrupt-names = "sdio1_0";
9896
clocks = <&scmi_clk 245>;
9997
clock-names = "sw_sdio";
10098
};

Documentation/devicetree/bindings/mmc/marvell,xenon-sdhci.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ properties:
5656
- const: core
5757
- const: axi
5858

59+
interrupts:
60+
maxItems: 1
61+
5962
marvell,xenon-sdhc-id:
6063
$ref: /schemas/types.yaml#/definitions/uint32
6164
minimum: 0

0 commit comments

Comments
 (0)