[PATCH v2] ASoC: dt-bindings: sound: atmel-at91sam9g20ek: convert to json-schema
Krzysztof Kozlowski
krzk at kernel.org
Wed Dec 11 03:29:05 PST 2024
On 11/12/2024 10:46, Balakrishnan Sambath wrote:
> +properties:
> + compatible:
> + const: atmel,at91sam9g20ek-wm8731-audio
> +
> + atmel,model:
> + $ref: /schemas/types.yaml#/definitions/string
> + description: The user-visible name of this sound complex.
> +
> + atmel,audio-routing:
> + $ref: /schemas/types.yaml#/definitions/non-unique-string-array
> + description: A list of the connections between audio components.
> + items:
> + enum:
> + # Board Connectors
> + - Ext Spk
> + - Int Mic
> +
> + # CODEC Pins
> + - LOUT
> + - ROUT
> + - LHPOUT
> + - RHPOUT
> + - LLINEIN
> + - RLINEIN
> + - MICIN
As previously questioned, I don't think you can create infinite amount
of pairs out of it. Assuming you always connect board with codec
(because codec-codec are already defined inside the codec), you can have
max 14 pairs, but most likely less in practice.
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list