Skip to content

Commit 6aa2707

Browse files
robherringbroonie
authored andcommitted
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. Signed-off-by: Rob Herring <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 2283679 commit 6aa2707

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

Documentation/devicetree/bindings/spi/microchip,mpfs-spi.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,5 @@ examples:
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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ examples:
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
};

0 commit comments

Comments
 (0)