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
4747 clocks = <&clkcfg CLK_SPI0>;
4848 interrupt-parent = <&plic>;
4949 interrupts = <54>;
50− spi-max-frequency = <25000000>;
5150 };
5251 ...
Documentation/devicetree/bindings/spi/qcom,spi-geni-qcom.yaml+0−1
@@ -110,7 +110,6 @@ examples: · 109 unmodified lines
110110 pinctrl-names = "default";
111111 pinctrl-0 = <&qup_spi1_default>;
112112 interrupts = <GIC_SPI 602 IRQ_TYPE_LEVEL_HIGH>;
113− spi-max-frequency = <50000000>;
114113 #address-cells = <1>;
115114 #size-cells = <0>;
116115 };

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