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,tegra234-sfc
32              - nvidia,tegra194-sfc
33              - nvidia,tegra186-sfc
34          - const: nvidia,tegra210-sfc
35
36  reg:
37    maxItems: 1
38
39  sound-name-prefix:
40    pattern: "^SFC[1-9]$"
41
42  ports:
43    $ref: /schemas/graph.yaml#/properties/ports
44    properties:
45      port@0:
46        $ref: audio-graph-port.yaml#
47        unevaluatedProperties: false
48        description: |
49          SFC ACIF (Audio Client Interface) input port. This is connected
50          to corresponding ACIF output port on AHUB (Audio Hub).
51
52      port@1:
53        $ref: audio-graph-port.yaml#
54        unevaluatedProperties: false
55        description: |
56          SFC ACIF output port. This is connected to corresponding ACIF
57          input port on AHUB.
58
59required:
60  - compatible
61  - reg
62
63additionalProperties: false
64
65examples:
66  - |
67
68    sfc@702d2000 {
69        compatible = "nvidia,tegra210-sfc";
70        reg = <0x702d2000 0x200>;
71        sound-name-prefix = "SFC1";
72    };
73
74...
75