Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: net: 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 missing properties to the schema.

Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20220526014149.2872762-1-robh@kernel.org

+7 -2
-1
Documentation/devicetree/bindings/net/cdns,macb.yaml
··· 191 191 clock-names = "pclk", "hclk", "tx_clk", "rx_clk", "tsu_clk"; 192 192 #address-cells = <1>; 193 193 #size-cells = <0>; 194 - #stream-id-cells = <1>; 195 194 iommus = <&smmu 0x875>; 196 195 power-domains = <&zynqmp_firmware PD_ETH_1>; 197 196 resets = <&zynqmp_reset ZYNQMP_RESET_GEM1>;
+3
Documentation/devicetree/bindings/net/mediatek,net.yaml
··· 27 27 reg: 28 28 maxItems: 1 29 29 30 + clocks: true 31 + clock-names: true 32 + 30 33 interrupts: 31 34 minItems: 3 32 35 maxItems: 4
+3
Documentation/devicetree/bindings/net/mediatek-dwmac.yaml
··· 58 58 - const: rmii_internal 59 59 - const: mac_cg 60 60 61 + power-domains: 62 + maxItems: 1 63 + 61 64 mediatek,pericfg: 62 65 $ref: /schemas/types.yaml#/definitions/phandle 63 66 description:
+1 -1
Documentation/devicetree/bindings/net/wireless/mediatek,mt76.yaml
··· 51 51 description: 52 52 Specify the consys reset for mt7986. 53 53 54 - reset-name: 54 + reset-names: 55 55 const: consys 56 56 57 57 mediatek,infracfg: