xref: /linux/Documentation/devicetree/bindings/sound/nvidia,tegra210-sfc.yaml (revision e78f70bad29c5ae1e1076698b690b15794e9b81e)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/sound/nvidia,tegra210-sfc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Tegra210 SFC
8
9description: |
10  The Sampling Frequency Converter (SFC) converts the sampling frequency
11  of the input signal from one frequency to another. It supports sampling
12  frequency conversions of streams of up to two channels (stereo).
13
14maintainers:
15  - Jon Hunter <jonathanh@nvidia.com>
16  - Mohan Kumar <mkumard@nvidia.com>
17  - Sameer Pujar <spujar@nvidia.com>
18
19allOf:
20  - $ref: dai-common.yaml#
21
22properties:
23  $nodename:
24    pattern: "^sfc@[0-9a-f]*$"
25
26  compatible:
27    oneOf:
28      - const: nvidia,tegra210-sfc
29      - items:
30          - enum:
31              - nvidia,tegra264-sfc
32              - nvidia,tegra234-sfc
33              - nvidia,tegra194-sfc
34              - nvidia,tegra186-sfc
35          - const: nvidia,tegra210-sfc
36
37  reg:
38    maxItems: 1
39
40  sound-name-prefix:
41    pattern: "^SFC[1-9]$"
42
43  ports:
44    $ref: /schemas/graph.yaml#/properties/ports
45    properties:
46      port@0:
47        $ref: audio-graph-port.yaml#
48        unevaluatedProperties: false
49        description: |
50          SFC ACIF (Audio Client Interface) input port. This is connected
51          to corresponding ACIF output port on AHUB (Audio Hub).
52
53      port@1:
54        $ref: audio-graph-port.yaml#
55        unevaluatedProperties: false
56        description: |
57          SFC ACIF output port. This is connected to corresponding ACIF
58          input port on AHUB.
59
60required:
61  - compatible
62  - reg
63
64additionalProperties: false
65
66examples:
67  - |
68
69    sfc@702d2000 {
70        compatible = "nvidia,tegra210-sfc";
71        reg = <0x702d2000 0x200>;
72        sound-name-prefix = "SFC1";
73    };
74
75...
76