summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Li <Frank.Li@nxp.com>2026-05-15 10:52:03 -0400
committerMark Brown <broonie@kernel.org>2026-07-27 13:12:45 +0100
commit78a9d1426416248eec2afff8a86f1a8456780b4d (patch)
tree08ecb4167062e87d6fbf5882460c57b15af58c85
parent7859b74c0bd600cddd86afd55a3dde285a8c2937 (diff)
downloadlinux-next-78a9d1426416248eec2afff8a86f1a8456780b4d.tar.gz
linux-next-78a9d1426416248eec2afff8a86f1a8456780b4d.zip
ASoC: dt-bindings: Convert eukrea-tlv320.txt to yaml
Convert eukrea-tlv320.txt to yaml format. Signed-off-by: Frank Li <Frank.Li@nxp.com> Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Link: https://patch.msgid.link/20260515145205.1696584-1-Frank.Li@oss.nxp.com Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--Documentation/devicetree/bindings/sound/eukrea,asoc-tlv320.yaml61
-rw-r--r--Documentation/devicetree/bindings/sound/eukrea-tlv320.txt26
2 files changed, 61 insertions, 26 deletions
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 000000000000..24b793feb02d
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/eukrea,asoc-tlv320.yaml
@@ -0,0 +1,61 @@
+# 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).
+ Note: The AUDMUX port numbering should start at 1, which is consistent with
+ hardware manual.
+ minimum: 1
+ maximum: 8
+
+ 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.
+ minimum: 1
+ maximum: 8
+
+required:
+ - compatible
+ - eukrea,model
+ - ssi-controller
+ - fsl,mux-int-port
+ - fsl,mux-ext-port
+
+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 6dfa88c4dc1e..000000000000
--- 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>;
- };