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

Configure Feed

Select the types of activity you want to include in your feed.

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: Rob Herring <robh@kernel.org>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/Message-Id: <20230621231044.3816914-1-robh@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Rob Herring and committed by
Mark Brown
b2c28785 f47d4328

+2 -6
+2 -6
Documentation/devicetree/bindings/sound/microchip,sama7g5-pdmc.yaml
··· 56 56 items: 57 57 items: 58 58 - description: value for DS line 59 + enum: [0, 1] 59 60 - description: value for sampling edge 60 - anyOf: 61 - - enum: 62 - - [0, 0] 63 - - [0, 1] 64 - - [1, 0] 65 - - [1, 1] 61 + enum: [0, 1] 66 62 minItems: 1 67 63 maxItems: 4 68 64 uniqueItems: true