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
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
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]>