[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250721023052.3586000-4-ew.kim@samsung.com>
Date: Mon, 21 Jul 2025 11:30:46 +0900
From: ew kim <ew.kim@...sung.com>
To: broonie@...nel.org, s.nawrocki@...sung.com, robh@...nel.org,
krzk+dt@...nel.org
Cc: lgirdwood@...il.com, tiwai@...e.com, perex@...ex.cz,
conor+dt@...nel.org, alim.akhtar@...sung.com, linux-sound@...r.kernel.org,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-samsung-soc@...r.kernel.org, linux-kernel@...r.kernel.org, ew kim
<ew.kim@...sung.com>
Subject: [PATCH 3/9] ASoC: dt-bindings: sound: Add Samsung ExynosAuto ABOX
binding
Add the device tree binding documentation for the Samsung Exynos Automotive
ABOX generic audio management core. This binding describes how to configure
the maximum number of PCM playback, PCM capture, and dummy I2S backend
instances for the ABOX core. Actual hardware functionality is provided
by child audio sub-drivers.
Signed-off-by: ew kim <ew.kim@...sung.com>
---
.../bindings/sound/samsung,exynosauto.yaml | 69 +++++++++++++++++++
1 file changed, 69 insertions(+)
create mode 100644 Documentation/devicetree/bindings/sound/samsung,exynosauto.yaml
diff --git a/Documentation/devicetree/bindings/sound/samsung,exynosauto.yaml b/Documentation/devicetree/bindings/sound/samsung,exynosauto.yaml
new file mode 100644
index 000000000000..b1e49f38ffe9
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/samsung,exynosauto.yaml
@@ -0,0 +1,69 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/sound/samsung,exynosauto.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Samsung Exynos Automotive Abox Generic
+
+maintainers:
+ - Eunwoo Kim <ew.kim@...sung.com>
+
+description: |
+ The Samsung Exynos Automotive Abox Generic node represents a
+ generic audio management platform device inside Exynos Automotive SoCs.
+ It does not directly control hardware resources itself, but acts as
+ a common interface to manage child audio sub-drivers for PCM playback,
+ PCM capture, and I2S dummy backends.
+
+ Typically, this node provides configuration for the maximum number of
+ PCM playback and capture devices (ALSA PCM) and the maximum number
+ of dummy I2S backend devices. The actual hardware control is handled
+ by child drivers attached to this generic core.
+
+ This node must exist for the platform driver to probe,
+ even though it does not map any physical hardware address.
+
+properties:
+ compatible:
+ const: samsung,abox_generic
+
+ samsung,num-pcm-playback:
+ description: Maximum number of PCM playback instances (ALSA PCM devices).
+ $ref: /schemas/types.yaml#/definitions/uint32
+
+ samsung,num-pcm-capture:
+ description: Maximum number of PCM capture instances (ALSA PCM devices).
+ $ref: /schemas/types.yaml#/definitions/uint32
+
+ samsung,num-i2s-dummy-backend:
+ description: Maximum number of dummy I2S backend instances.
+ $ref: /schemas/types.yaml#/definitions/uint32
+
+ '#address-cells':
+ description: Required for child nodes that may declare address space.
+ const: 2
+
+ '#size-cells':
+ description: Required for child nodes that may declare address space.
+ const: 1
+
+required:
+ - compatible
+ - samsung,num-pcm-playback
+ - samsung,num-pcm-capture
+ - samsung,num-i2s-dummy-backend
+
+additionalProperties: false
+
+examples:
+ - |
+ abox_generic {
+ compatible = "samsung,abox_generic";
+ samsung,num-pcm-playback = <32>;
+ samsung,num-pcm-capture = <32>;
+ samsung,num-i2s-dummy-backend = <5>;
+ status = "disabled";
+ #address-cells = <2>;
+ #size-cells = <1>;
+ };
--
2.25.1
Powered by blists - more mailing lists