2023-08-09 19:12:14

by Guido Günther

[permalink] [raw]
Subject: [PATCH v1 1/5] dt-bindings: sound: gtm601: Add description

This allows to us to document the channel and sampling
rate requirements.

Signed-off-by: Guido Günther <[email protected]>
---
Documentation/devicetree/bindings/sound/option,gtm601.yaml | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/sound/option,gtm601.yaml b/Documentation/devicetree/bindings/sound/option,gtm601.yaml
index 69c2ccc79dc5..ff813d97fc59 100644
--- a/Documentation/devicetree/bindings/sound/option,gtm601.yaml
+++ b/Documentation/devicetree/bindings/sound/option,gtm601.yaml
@@ -16,10 +16,12 @@ description: >
properties:
compatible:
oneOf:
- - items: # 48 kHz stereo
+ - description: Broadmobi BM818 (48Khz stereo)
+ items:
- const: broadmobi,bm818
- const: option,gtm601
- - const: option,gtm601 # 8 kHz mono
+ - description: GTM601 (8kHz mono)
+ const: option,gtm601

'#sound-dai-cells':
const: 0
--
2.40.1



2023-08-10 05:52:26

by David Heidelberg

[permalink] [raw]
Subject: Re: [PATCH v1 1/5] dt-bindings: sound: gtm601: Add description


On 09/08/2023 20:50, Guido Günther wrote:
> This allows to us to document the channel and sampling
> rate requirements.
>
> Signed-off-by: Guido Günther <[email protected]>

Thank you!

Reviewed-by: David Heidelberg <[email protected]>

> ---
> Documentation/devicetree/bindings/sound/option,gtm601.yaml | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)

--
David Heidelberg
Certified Linux Magician


2023-08-10 15:58:53

by Conor Dooley

[permalink] [raw]
Subject: Re: [PATCH v1 1/5] dt-bindings: sound: gtm601: Add description

On Wed, Aug 09, 2023 at 08:50:10PM +0200, Guido G?nther wrote:
> This allows to us to document the channel and sampling
> rate requirements.
>
> Signed-off-by: Guido G?nther <[email protected]>
> ---
> Documentation/devicetree/bindings/sound/option,gtm601.yaml | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/sound/option,gtm601.yaml b/Documentation/devicetree/bindings/sound/option,gtm601.yaml
> index 69c2ccc79dc5..ff813d97fc59 100644
> --- a/Documentation/devicetree/bindings/sound/option,gtm601.yaml
> +++ b/Documentation/devicetree/bindings/sound/option,gtm601.yaml
> @@ -16,10 +16,12 @@ description: >
> properties:
> compatible:
> oneOf:
> - - items: # 48 kHz stereo
> + - description: Broadmobi BM818 (48Khz stereo)
> + items:
> - const: broadmobi,bm818
> - const: option,gtm601
> - - const: option,gtm601 # 8 kHz mono
> + - description: GTM601 (8kHz mono)
> + const: option,gtm601

Makes little odds IMO which way it is done.
Acked-by: Conor Dooley <[email protected]>


Attachments:
(No filename) (1.12 kB)
signature.asc (235.00 B)
Download all attachments