[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250709001239.379695-1-ew.kim@samsung.com>
Date: Wed, 9 Jul 2025 09:12:39 +0900
From: ew kim <ew.kim@...sung.com>
To: broonie@...nel.org, lgirdwood@...il.com, s.nawrocki@...sung.com,
robh@...nel.org, krzk+dt@...nel.org, conor+dt@...nel.org
Cc: alsa-devel@...a-project.org, devicetree@...r.kernel.org,
linux-samsung-soc@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, ew kim <ew.kim@...sung.com>
Subject: [PATCH] ASoC: dt-bindings: Add samsung,abox-generic document
Add soundcard bindings for the abox generic of exynus automotive.
Signed-off-by: ew kim <ew.kim@...sung.com>
---
.../bindings/sound/samsung,abox-generic.yaml | 77 +++++++++++++++++++
1 file changed, 77 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/samsung,abox-generic.yaml
diff --git a/Documentation/devicetree/bindings/sound/samsung,abox-generic.yaml b/Documentation/devicetree/bindings/sound/samsung,abox-generic.yaml
new file mode 100644
index 000000000000..bf641a197903
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/samsung,abox-generic.yaml
@@ -0,0 +1,77 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: "http://devicetree.org/schemas/soc/samsung/abox-generic.yaml#"
+$schema: "http://devicetree.org/meta-schemas/core.yaml#"
+
+title: Samsung Exynos Automotive Abox Generic
+
+maintainers:
+ - name: Eunwoo Kim
+ email: ew.kim@...sung.com
+
+description: |
+ Samsung Exynos Automotive Abox Generic core node.
+
+ This node represents the generic Abox controller which manages
+ various Abox sub-drivers and acts as a hub connecting them to
+ SoC-level audio drivers. It provides PCM playback and capture
+ configuration, as well as dummy I2S backend handling, enabling
+ integration between Abox IP blocks and the SoC audio subsystem.
+
+ Typically, this node is used to initialize and configure playback,
+ capture, and routing between the Abox and other SoC audio components.
+
+properties:
+ compatible:
+ const: samsung,abox_generic
+
+ samsung,num-of-pcm_playback:
+ description: Number of PCM playback instances.
+ $ref: /schemas/types.yaml#/definitions/uint32
+
+ samsung,num-of-pcm_capture:
+ description: Number of PCM capture instances.
+ $ref: /schemas/types.yaml#/definitions/uint32
+
+ samsung,num-of-i2s-dummy-backend:
+ description: Number of dummy I2S backend instances.
+ $ref: /schemas/types.yaml#/definitions/uint32
+
+ status:
+ description: Availability status.
+ enum: [ "okay", "disabled" ]
+
+ '#address-cells':
+ description: Number of address cells in the node.
+ const: 2
+
+ '#size-cells':
+ description: Number of size cells in the node.
+ const: 1
+
+ ranges:
+ description: Standard `ranges` property for bus address mapping.
+ type: object
+
+required:
+ - compatible
+ - samsung,num-of-pcm_playback
+ - samsung,num-of-pcm_capture
+ - samsung,num-of-i2s-dummy-backend
+
+additionalProperties: false
+
+examples:
+ - |
+ abox_generic: abox_generic@...eric {
+ compatible = "samsung,abox_generic";
+ samsung,num-of-pcm_playback = <32>;
+ samsung,num-of-pcm_capture = <32>;
+ samsung,num-of-i2s-dummy-backend = <5>;
+ status = "disabled";
+ #address-cells = <2>;
+ #size-cells = <1>;
+ ranges;
+ };
+
--
2.25.1
Powered by blists - more mailing lists