History

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.

Rob Herring committed 4 years ago

Commit 47926041 parent a0512462 files · +3 −2Browse files

Unified · Split

2 files
  1. Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.yaml +0 −2
  2. Documentation/devicetree/bindings/mmc/marvell,xenon-sdhci.yaml +3 −0
Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.yaml+0−2
@@ -75,7 +75,6 @@ examples: · 74 unmodified lines
75 sd-uhs-sdr104;75 sd-uhs-sdr104;
76 sdhci,auto-cmd12;76 sdhci,auto-cmd12;
77 interrupts = <0x0 0x26 0x4>;77 interrupts = <0x0 0x26 0x4>;
78 interrupt-names = "sdio0_0";
79 clocks = <&scmi_clk 245>;78 clocks = <&scmi_clk 245>;
80 clock-names = "sw_sdio";79 clock-names = "sw_sdio";
81 };80 };
@@ -94,7 +93,6 @@ examples: · 12 unmodified lines
94 non-removable;93 non-removable;
95 bus-width = <0x8>;94 bus-width = <0x8>;
96 interrupts = <0x0 0x27 0x4>;95 interrupts = <0x0 0x27 0x4>;
97 interrupt-names = "sdio1_0";
98 clocks = <&scmi_clk 245>;96 clocks = <&scmi_clk 245>;
99 clock-names = "sw_sdio";97 clock-names = "sw_sdio";
100 };98 };
Documentation/devicetree/bindings/mmc/marvell,xenon-sdhci.yaml+3−0
@@ -56,6 +56,9 @@ properties: · 55 unmodified lines
56 - const: core56 - const: core
57 - const: axi57 - const: axi
58 58
59 interrupts:
60 maxItems: 1
61
59 marvell,xenon-sdhc-id:62 marvell,xenon-sdhc-id:
60 $ref: /schemas/types.yaml#/definitions/uint3263 $ref: /schemas/types.yaml#/definitions/uint32
61 minimum: 064 minimum: 0

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t