Message ID | 20230606115605.1633595-3-olivier.moysan@foss.st.com (mailing list archive) |
---|---|
State | Accepted |
Commit | fe748da7c216528d46adb4c6f4a969346ec3a452 |
Headers | show |
Series | ASoC: stm32: fix dtbs_check warnings | expand |
On 06/06/2023 13:56, Olivier Moysan wrote: > When linking the CS42L51 to another DAI component, according > to audio graph cards bindings, an OF graph port property is expected > in the node. Document the port property. > > Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com> > --- Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/sound/cirrus,cs42l51.yaml b/Documentation/devicetree/bindings/sound/cirrus,cs42l51.yaml index 670b67ec0b61..f7bafbd4f1c2 100644 --- a/Documentation/devicetree/bindings/sound/cirrus,cs42l51.yaml +++ b/Documentation/devicetree/bindings/sound/cirrus,cs42l51.yaml @@ -44,6 +44,10 @@ properties: VAHP-supply: description: phandle to voltage regulator of headphone + port: + $ref: audio-graph-port.yaml# + unevaluatedProperties: false + required: - compatible - reg @@ -69,6 +73,13 @@ examples: VA-supply = <®_audio>; VAHP-supply = <®_audio>; reset-gpios = <&gpiog 9 GPIO_ACTIVE_LOW>; + + /* assume audio-graph */ + port { + cpu_endpoint: endpoint { + remote-endpoint = <&cpu_endpoint>; + }; + }; }; }; ...
When linking the CS42L51 to another DAI component, according to audio graph cards bindings, an OF graph port property is expected in the node. Document the port property. Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com> --- .../devicetree/bindings/sound/cirrus,cs42l51.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+)