Re: [PATCH] dt-bindings: sound: nvidia,tegra-audio: Convert multiple txt bindings to yaml
From: Dmitry Osipenko
Date: Wed Nov 24 2021 - 23:22:11 EST
01.11.2021 23:42, Rob Herring пишет:
>> + nvidia,audio-routing:
>> + $ref: /schemas/types.yaml#/definitions/non-unique-string-array
>> + description: |
>> + A list of the connections between audio components.
>> + Each entry is a pair of strings, the first being the connection's sink,
>> + the second being the connection's source. Valid names for sources and
>> + sinks are the pins (documented in the binding document),
>> + and the jacks on the board:
>> + ALC5632:
>> + * Headset Stereophone
>> + * Int Spk
>> + * Headset Mic
>> + * Digital Mic
>> + MAXX98090:
>> + * Headphones
>> + * SPeakers
Speakers
-
>> + * Mic Jack
>> + * Int Mic
>> + RT5640:
>> + * Headphones
>> + * Speakers
>> + * Mic Jack
>> + RT5677:
>> + * Headphone
>> + * Speaker
>> + * Headset Mic
>> + * Internal Mic 1
>> + * Internal Mic 2
>> + SGTL5000:
>> + * Headphone Jack
>> + * Line In Jack
>> + * Mic Jack
>> + WM8753:
>> + * Headphone Jack
>> + * Mic Jack
>> + WM8903:
>> + * Headphone Jack
>> + * Int Spk
>> + * Mic Jack
>> + * Int Mic
>> + WM9712:
>> + * Headphone
>> + * LineIn
>> + * Mic
> All these strings should be part of the schema.
Well, seems this can be done only using a separated bindings.