History

spi: dt-bindings: 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. 'spi-max-frequency' is supposed to be a per SPI peripheral device property, not a SPI controller property, so drop it.

Rob Herring committed 4 years ago

Commit 6aa27071 parent 22836792 files · +0 −2Browse files

Unified · Split

2 files
  1. Documentation/devicetree/bindings/spi/microchip,mpfs-spi.yaml +0 −1
  2. Documentation/devicetree/bindings/spi/qcom,spi-geni-qcom.yaml +0 −1
Documentation/devicetree/bindings/spi/microchip,mpfs-spi.yaml+0−1
@@ -47,6 +47,5 @@ examples: · 46 unmodified lines
47 clocks = <&clkcfg CLK_SPI0>;47 clocks = <&clkcfg CLK_SPI0>;
48 interrupt-parent = <&plic>;48 interrupt-parent = <&plic>;
49 interrupts = <54>;49 interrupts = <54>;
50 spi-max-frequency = <25000000>;
51 };50 };
52...51...
Documentation/devicetree/bindings/spi/qcom,spi-geni-qcom.yaml+0−1
@@ -110,7 +110,6 @@ examples: · 109 unmodified lines
110 pinctrl-names = "default";110 pinctrl-names = "default";
111 pinctrl-0 = <&qup_spi1_default>;111 pinctrl-0 = <&qup_spi1_default>;
112 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;112 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
113 spi-max-frequency = <50000000>;
114 #address-cells = <1>;113 #address-cells = <1>;
115 #size-cells = <0>;114 #size-cells = <0>;
116 };115 };

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