Commit 0a1e19c8 authored by Rob Herring's avatar Rob Herring
Browse files

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: default avatarRob Herring <robh@kernel.org>
Acked-by: default avatarNicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20220526014149.2872762-1-robh@kernel.org
parent bcd7ec2c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -191,7 +191,6 @@ examples:
                    clock-names = "pclk", "hclk", "tx_clk", "rx_clk", "tsu_clk";
                    #address-cells = <1>;
                    #size-cells = <0>;
                    #stream-id-cells = <1>;
                    iommus = <&smmu 0x875>;
                    power-domains = <&zynqmp_firmware PD_ETH_1>;
                    resets = <&zynqmp_reset ZYNQMP_RESET_GEM1>;
+3 −0
Original line number Diff line number Diff line
@@ -27,6 +27,9 @@ properties:
  reg:
    maxItems: 1

  clocks: true
  clock-names: true

  interrupts:
    minItems: 3
    maxItems: 4
+3 −0
Original line number Diff line number Diff line
@@ -58,6 +58,9 @@ properties:
      - const: rmii_internal
      - const: mac_cg

  power-domains:
    maxItems: 1

  mediatek,pericfg:
    $ref: /schemas/types.yaml#/definitions/phandle
    description:
+1 −1
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@ properties:
    description:
      Specify the consys reset for mt7986.

  reset-name:
  reset-names:
    const: consys

  mediatek,infracfg: