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