* [PATCH 1/1] ASoC: dt-bindings: Convert eukrea-tlv320.txt to yaml
@ 2026-02-11 21:46 Frank Li
2026-02-12 10:32 ` Daniel Baluta
0 siblings, 1 reply; 2+ messages in thread
From: Frank Li @ 2026-02-11 21:46 UTC (permalink / raw)
To: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
Conor Dooley,
open list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM...,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list
Cc: imx
Convert eukrea-tlv320.txt to yaml format.
Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
.../bindings/sound/eukrea,asoc-tlv320.yaml | 53 +++++++++++++++++++
.../bindings/sound/eukrea-tlv320.txt | 26 ---------
2 files changed, 53 insertions(+), 26 deletions(-)
create mode 100644 Documentation/devicetree/bindings/sound/eukrea,asoc-tlv320.yaml
delete mode 100644 Documentation/devicetree/bindings/sound/eukrea-tlv320.txt
diff --git a/Documentation/devicetree/bindings/sound/eukrea,asoc-tlv320.yaml b/Documentation/devicetree/bindings/sound/eukrea,asoc-tlv320.yaml
new file mode 100644
index 0000000000000..483507fa77937
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/eukrea,asoc-tlv320.yaml
@@ -0,0 +1,53 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/sound/eukrea,asoc-tlv320.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Audio complex for Eukrea boards with tlv320aic23 codec.
+
+maintainers:
+ - Frank Li <Frank.Li@nxp.com>
+
+properties:
+ compatible:
+ const: eukrea,asoc-tlv320
+
+ eukrea,model:
+ $ref: /schemas/types.yaml#/definitions/string
+ description:
+ The user-visible name of this sound complex.
+
+ ssi-controller:
+ $ref: /schemas/types.yaml#/definitions/phandle
+ description:
+ The phandle of the SSI controller.
+
+ fsl,mux-int-port:
+ $ref: /schemas/types.yaml#/definitions/uint32
+ description:
+ The internal port of the i.MX audio muxer (AUDMUX).
+
+ fsl,mux-ext-port:
+ $ref: /schemas/types.yaml#/definitions/uint32
+ description: |
+ The external port of the i.MX audio muxer.
+ Note: The AUDMUX port numbering should start at 1, which is consistent with
+ hardware manual.
+
+required:
+ - compatible
+ - eukrea,model
+ - ssi-controller
+
+additionalProperties: false
+
+examples:
+ - |
+ sound {
+ compatible = "eukrea,asoc-tlv320";
+ eukrea,model = "imx51-eukrea-tlv320aic23";
+ ssi-controller = <&ssi2>;
+ fsl,mux-int-port = <2>;
+ fsl,mux-ext-port = <3>;
+ };
diff --git a/Documentation/devicetree/bindings/sound/eukrea-tlv320.txt b/Documentation/devicetree/bindings/sound/eukrea-tlv320.txt
deleted file mode 100644
index 6dfa88c4dc1e8..0000000000000
--- a/Documentation/devicetree/bindings/sound/eukrea-tlv320.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-Audio complex for Eukrea boards with tlv320aic23 codec.
-
-Required properties:
-
- - compatible : "eukrea,asoc-tlv320"
-
- - eukrea,model : The user-visible name of this sound complex.
-
- - ssi-controller : The phandle of the SSI controller.
-
- - fsl,mux-int-port : The internal port of the i.MX audio muxer (AUDMUX).
-
- - fsl,mux-ext-port : The external port of the i.MX audio muxer.
-
-Note: The AUDMUX port numbering should start at 1, which is consistent with
-hardware manual.
-
-Example:
-
- sound {
- compatible = "eukrea,asoc-tlv320";
- eukrea,model = "imx51-eukrea-tlv320aic23";
- ssi-controller = <&ssi2>;
- fsl,mux-int-port = <2>;
- fsl,mux-ext-port = <3>;
- };
--
2.43.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 1/1] ASoC: dt-bindings: Convert eukrea-tlv320.txt to yaml
2026-02-11 21:46 [PATCH 1/1] ASoC: dt-bindings: Convert eukrea-tlv320.txt to yaml Frank Li
@ 2026-02-12 10:32 ` Daniel Baluta
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Baluta @ 2026-02-12 10:32 UTC (permalink / raw)
To: Frank Li
Cc: Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
Conor Dooley,
open list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM...,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list, imx
On Wed, Feb 11, 2026 at 11:49 PM Frank Li <Frank.Li@nxp.com> wrote:
>
> Convert eukrea-tlv320.txt to yaml format.
>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
> .../bindings/sound/eukrea,asoc-tlv320.yaml | 53 +++++++++++++++++++
> .../bindings/sound/eukrea-tlv320.txt | 26 ---------
> 2 files changed, 53 insertions(+), 26 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/sound/eukrea,asoc-tlv320.yaml
> delete mode 100644 Documentation/devicetree/bindings/sound/eukrea-tlv320.txt
>
> diff --git a/Documentation/devicetree/bindings/sound/eukrea,asoc-tlv320.yaml b/Documentation/devicetree/bindings/sound/eukrea,asoc-tlv320.yaml
> new file mode 100644
> index 0000000000000..483507fa77937
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/sound/eukrea,asoc-tlv320.yaml
> @@ -0,0 +1,53 @@
> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/sound/eukrea,asoc-tlv320.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Audio complex for Eukrea boards with tlv320aic23 codec.
> +
> +maintainers:
> + - Frank Li <Frank.Li@nxp.com>
> +
> +properties:
> + compatible:
> + const: eukrea,asoc-tlv320
> +
> + eukrea,model:
> + $ref: /schemas/types.yaml#/definitions/string
> + description:
> + The user-visible name of this sound complex.
> +
> + ssi-controller:
> + $ref: /schemas/types.yaml#/definitions/phandle
> + description:
> + The phandle of the SSI controller.
> +
> + fsl,mux-int-port:
> + $ref: /schemas/types.yaml#/definitions/uint32
> + description:
> + The internal port of the i.MX audio muxer (AUDMUX).
Same comment about port numbering applies also for mux-int-port. So
better add it here too.
> +
> + fsl,mux-ext-port:
> + $ref: /schemas/types.yaml#/definitions/uint32
> + description: |
> + The external port of the i.MX audio muxer.
> + Note: The AUDMUX port numbering should start at 1, which is consistent with
> + hardware manual.
> +
> +required:
> + - compatible
> + - eukrea,model
> + - ssi-controller
> +
> +additionalProperties: false
The driver sound/soc/fsl/eukrea-tlv320.c allows an optional property
named codec-handle
so I'm not sure additionalProperties: false is correct here.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-02-12 10:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-11 21:46 [PATCH 1/1] ASoC: dt-bindings: Convert eukrea-tlv320.txt to yaml Frank Li
2026-02-12 10:32 ` Daniel Baluta
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®