2022-10-05 14:52:42

by Claudio Cabral

[permalink] [raw]
Subject: [PATCH 1/2] ASoC: dt-bindings: add pin-switches to audio-graph-card2.yaml

Document support for pin-switches in audio-graph-card2
this devicetree property behaves the same way as its homonym in
simple-card

Reviewed-by: Alvin Šipraga <[email protected]>
Signed-off-by: Alvin Šipraga <[email protected]>
Signed-off-by: Claudio Cabral <[email protected]>
---
Documentation/devicetree/bindings/sound/audio-graph-card2.yaml | 3 +++
1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/sound/audio-graph-card2.yaml b/Documentation/devicetree/bindings/sound/audio-graph-card2.yaml
index 7416067c945e..ab2cc83d6b4b 100644
--- a/Documentation/devicetree/bindings/sound/audio-graph-card2.yaml
+++ b/Documentation/devicetree/bindings/sound/audio-graph-card2.yaml
@@ -32,6 +32,9 @@ properties:
codec2codec:
type: object
description: Codec to Codec node
+ pin-switches:
+ description: the widget names for which pin switches must be created.
+ $ref: /schemas/types.yaml#/definitions/string-array

required:
- compatible
--
2.37.3


2022-10-05 16:35:27

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH 1/2] ASoC: dt-bindings: add pin-switches to audio-graph-card2.yaml

On 05/10/2022 16:27, Claudio Cabral wrote:
> Document support for pin-switches in audio-graph-card2

Full stop?

> this devicetree property behaves the same way as its homonym in
> simple-card

Missing capital letter and full stop?

Instead please describe why do you need pin-switches in this binding...

>
> Reviewed-by: Alvin Šipraga <[email protected]>
> Signed-off-by: Alvin Šipraga <[email protected]>

Authorship or contributions (SoB) usually means someone reviewed it and
there is no need for both tags. The combination of both tags above is a
bit surprising.

> Signed-off-by: Claudio Cabral <[email protected]>
> ---
> Documentation/devicetree/bindings/sound/audio-graph-card2.yaml | 3 +++
> 1 file changed, 3 insertions(+)

Best regards,
Krzysztof

2022-10-06 11:00:16

by Alvin Šipraga

[permalink] [raw]
Subject: Re: [PATCH 1/2] ASoC: dt-bindings: add pin-switches to audio-graph-card2.yaml

On Wed, Oct 05, 2022 at 06:06:13PM +0200, Krzysztof Kozlowski wrote:
> On 05/10/2022 16:27, Claudio Cabral wrote:
> > Reviewed-by: Alvin Šipraga <[email protected]>
> > Signed-off-by: Alvin Šipraga <[email protected]>
>
> Authorship or contributions (SoB) usually means someone reviewed it and
> there is no need for both tags. The combination of both tags above is a
> bit surprising.

Thanks for clarifying. In that case the S-o-b ought to be dropped, since
it is Claudio's patch. I just reviewed it. Thanks!