Unverified Commit b2c28785 authored by Rob Herring's avatar Rob Herring Committed by Mark Brown
Browse files

ASoC: dt-bindings: microchip,sama7g5-pdmc: Simplify "microchip,mic-pos" constraints



"enum" values should be integers or strings, not arrays (though json-schema
does allow arrays, we do not). In this case, all possible combinations are
allowed anyways, so there's little point in expressing as an array.

Signed-off-by: default avatarRob Herring <robh@kernel.org>
Reviewed-by: default avatarClaudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/Message-Id

: <20230621231044.3816914-1-robh@kernel.org>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent f47d4328
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -56,13 +56,9 @@ properties:
    items:
      items:
        - description: value for DS line
          enum: [0, 1]
        - description: value for sampling edge
      anyOf:
        - enum:
            - [0, 0]
            - [0, 1]
            - [1, 0]
            - [1, 1]
          enum: [0, 1]
    minItems: 1
    maxItems: 4
    uniqueItems: true