
Add soundcard bindings for the abox generic of exynus automotive.
Signed-off-by: ew kim ew.kim@samsung.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@samsung.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@generic { + 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; + }; +