Skip to contentSkip to conversation

OPE support on Tegra210 and later

PATCH Superseded Sameer Pujar 3 participants 12 messages May 18, 2022 – May 21, 2022

Subsystems (4)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

cover OPE support on Tegra210 and later

This series adds support for Output Prcoessing Module (OPE) module on Tegra210 and later generations of SoCs. OPE is a client of AHUB and it has sub blocks of PEQ (Parametric Equalizer) and MBDRC (Multi Band Dynamic Range Compressor) for data processing.

An ASoC component is registered for OPE, which includes PEQ and MBDRC functions as well. This can be plugged in audio path using ALSA mixer controls. The series adds necessary binding documentaion, driver and DT binding patches to enable OPE module on Jetson platforms.

Sameer Pujar (6):
ASoC: tegra: Add binding doc for OPE module
ASoC: tegra: Add Tegra210 based OPE driver
ASoC: tegra: AHUB routes for OPE module
arm64: defconfig: Build Tegra OPE module
arm64: tegra: Add OPE device on Tegra210 and later
arm64: tegra: Enable OPE on various platforms

 .../bindings/sound/nvidia,tegra210-ahub.yaml       |    4 +
 .../bindings/sound/nvidia,tegra210-mbdrc.yaml      |   51 +
 .../bindings/sound/nvidia,tegra210-ope.yaml        |   91 ++
 .../bindings/sound/nvidia,tegra210-peq.yaml        |   52 +
 arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts |   43 +
 arch/arm64/boot/dts/nvidia/tegra186.dtsi           |   23 +
 arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts |   43 +
 .../arm64/boot/dts/nvidia/tegra194-p3509-0000.dtsi |   43 +
 arch/arm64/boot/dts/nvidia/tegra194.dtsi           |   23 +
 arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts |   84 ++
 arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts |   84 ++
 arch/arm64/boot/dts/nvidia/tegra210.dtsi           |   40 +
 .../dts/nvidia/tegra234-p3737-0000+p3701-0000.dts  |   43 +
 arch/arm64/boot/dts/nvidia/tegra234.dtsi           |   23 +
 arch/arm64/configs/defconfig                       |    1 +
 sound/soc/tegra/Kconfig                            |    9 +
 sound/soc/tegra/Makefile                           |    2 +
 sound/soc/tegra/tegra210_ahub.c                    |   39 +-
 sound/soc/tegra/tegra210_mbdrc.c                   | 1012 ++++++++++++++++++++
 sound/soc/tegra/tegra210_mbdrc.h                   |  215 +++++
 sound/soc/tegra/tegra210_ope.c                     |  419 ++++++++
 sound/soc/tegra/tegra210_ope.h                     |   90 ++
 sound/soc/tegra/tegra210_peq.c                     |  434 +++++++++
 sound/soc/tegra/tegra210_peq.h                     |   56 ++
 24 files changed, 2920 insertions(+), 4 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/sound/nvidia,tegra210-mbdrc.yaml
 create mode 100644 Documentation/devicetree/bindings/sound/nvidia,tegra210-ope.yaml
 create mode 100644 Documentation/devicetree/bindings/sound/nvidia,tegra210-peq.yaml
 create mode 100644 sound/soc/tegra/tegra210_mbdrc.c
 create mode 100644 sound/soc/tegra/tegra210_mbdrc.h
 create mode 100644 sound/soc/tegra/tegra210_ope.c
 create mode 100644 sound/soc/tegra/tegra210_ope.h
 create mode 100644 sound/soc/tegra/tegra210_peq.c
 create mode 100644 sound/soc/tegra/tegra210_peq.h
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/6 ASoC: tegra: Add binding doc for OPE module

This patch adds YAML schema for DT bindings of Output Processing Engine (OPE) module. It consists of Parametric Equalizer (PEQ) and Multi Band Dynamic Range Compressor (MBDRC) sub blocks and binding doc for these blocks are added as well. The OPE will be registered as an ASoC component and can be plugged into an audio path as per need via ALSA mixer controls. The DT bindings are applicable on Tegra210 and later SoCs where OPE module is present.

---
 .../bindings/sound/nvidia,tegra210-ahub.yaml       |  4 +
 .../bindings/sound/nvidia,tegra210-mbdrc.yaml      | 51 ++++++++++++
 .../bindings/sound/nvidia,tegra210-ope.yaml        | 91 ++++++++++++++++++++++
 .../bindings/sound/nvidia,tegra210-peq.yaml        | 52 +++++++++++++
 4 files changed, 198 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/nvidia,tegra210-mbdrc.yaml
 create mode 100644 Documentation/devicetree/bindings/sound/nvidia,tegra210-ope.yaml
 create mode 100644 Documentation/devicetree/bindings/sound/nvidia,tegra210-peq.yaml
Documentation/devicetree/bindings/sound/nvidia,tegra210-ahub.yaml +4 -0
index 6df6f85..1fb93d9 100644
@@ -110,6 +110,10 @@ patternProperties:
     type: object
     $ref: nvidia,tegra186-asrc.yaml#
 
+  '^ope@[0-9a-f]+$':
+    type: object
+    $ref: nvidia,tegra210-ope.yaml#
+
 required:
   - compatible
   - reg
Documentation/devicetree/bindings/sound/nvidia,tegra210-mbdrc.yaml new file +51 -0

51 lines not on this page · raw message

Documentation/devicetree/bindings/sound/nvidia,tegra210-ope.yaml new file +91 -0

91 lines not on this page · raw message

Documentation/devicetree/bindings/sound/nvidia,tegra210-peq.yaml new file +52 -0

52 lines not on this page · raw message

Signature · 1 line
2.7.4
#2 lore raw

Re: [PATCH 1/6] ASoC: tegra: Add binding doc for OPE module

Quoted 40 lines · Sameer Pujar

This patch adds YAML schema for DT bindings of Output Processing Engine (OPE) module. It consists of Parametric Equalizer (PEQ) and Multi Band Dynamic Range Compressor (MBDRC) sub blocks and binding doc for these blocks are added as well. The OPE will be registered as an ASoC component and can be plugged into an audio path as per need via ALSA mixer controls. The DT bindings are applicable on Tegra210 and later SoCs where OPE module is present.

---
 .../bindings/sound/nvidia,tegra210-ahub.yaml       |  4 +
 .../bindings/sound/nvidia,tegra210-mbdrc.yaml      | 51 ++++++++++++
 .../bindings/sound/nvidia,tegra210-ope.yaml        | 91 ++++++++++++++++++++++
 .../bindings/sound/nvidia,tegra210-peq.yaml        | 52 +++++++++++++
 4 files changed, 198 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/nvidia,tegra210-mbdrc.yaml
 create mode 100644 Documentation/devicetree/bindings/sound/nvidia,tegra210-ope.yaml
 create mode 100644 Documentation/devicetree/bindings/sound/nvidia,tegra210-peq.yaml
Documentation/devicetree/bindings/sound/nvidia,tegra210-ahub.yaml +4 -0
index 6df6f85..1fb93d9 100644
@@ -110,6 +110,10 @@ patternProperties:
     type: object
     $ref: nvidia,tegra186-asrc.yaml#
 
+  '^ope@[0-9a-f]+$':
+    type: object
+    $ref: nvidia,tegra210-ope.yaml#
+
 required:
   - compatible
   - reg
Documentation/devicetree/bindings/sound/nvidia,tegra210-mbdrc.yaml new file +0 -0
new file mode 100644
index 00000000..199712ed

Documentation/devicetree/bindings/sound/nvidia,tegra210-mbdrc.yaml line 7

Quoted 7 lines
Documentation/devicetree/bindings/sound/nvidia,tegra210-mbdrc.yaml new file +7 -0
@@ -0,0 +1,51 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/sound/nvidia,tegra210-mbdrc.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Tegra210 MBDRC Device Tree Bindings

s/Device Tree Bindings//

and then you have enough space to de-acronym this MBDRC.

Quoted 5 lines
Documentation/devicetree/bindings/sound/nvidia,tegra210-mbdrc.yaml new file +5 -0
+
+description: |
+  The Multi Band Dynamic Range Compressor (MBDRC) is part of Output
+  Processing Engine (OPE) which interfaces with Audio Hub (AHUB) via
+  Audio Client Interface (ACIF). MBDRC can be used as a traditional

Documentation/devicetree/bindings/sound/nvidia,tegra210-mbdrc.yaml line 22

Quoted 10 lines
Documentation/devicetree/bindings/sound/nvidia,tegra210-mbdrc.yaml new file +10 -0
+  single full band or a dual band or a multi band dynamic processor.
+
+maintainers:
+  - Jon Hunter <[email protected]>
+  - Mohan Kumar <[email protected]>
+  - Sameer Pujar <[email protected]>
+
+properties:
+  $nodename:
+    pattern: "^mbdrc@[0-9a-f]*$"

Why? We enforce only generic names in shared schemas and this is neither shared schema nor is it generic name.

Quoted 13 lines
Documentation/devicetree/bindings/sound/nvidia,tegra210-mbdrc.yaml new file +13 -0
+
+  compatible:
+    oneOf:
+      - const: nvidia,tegra210-mbdrc
+      - items:
+          - enum:
+              - nvidia,tegra234-mbdrc
+              - nvidia,tegra194-mbdrc
+              - nvidia,tegra186-mbdrc
+          - const: nvidia,tegra210-mbdrc
+
+  reg:
+    maxItems: 1

Documentation/devicetree/bindings/sound/nvidia,tegra210-mbdrc.yaml line 45

Quoted 10 lines
Documentation/devicetree/bindings/sound/nvidia,tegra210-mbdrc.yaml new file +10 -0
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+

No need for space

Documentation/devicetree/bindings/sound/nvidia,tegra210-mbdrc.yaml line 46

Quoted 1 line
Documentation/devicetree/bindings/sound/nvidia,tegra210-mbdrc.yaml new file +1 -0
+    mbdrc@702d8200 {

Generic node name.

Quoted 11 lines
Documentation/devicetree/bindings/sound/nvidia,tegra210-mbdrc.yaml new file +5 -0
+        compatible = "nvidia,tegra210-mbdrc";
+        reg = <0x702d8200 0x200>;
+    };
+
+...
Documentation/devicetree/bindings/sound/nvidia,tegra210-ope.yaml new file +0 -0
new file mode 100644
index 00000000..92488fd

Documentation/devicetree/bindings/sound/nvidia,tegra210-ope.yaml line 7

Quoted 7 lines
Documentation/devicetree/bindings/sound/nvidia,tegra210-ope.yaml new file +7 -0
@@ -0,0 +1,91 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/sound/nvidia,tegra210-ope.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Tegra210 OPE Device Tree Bindings

Same comment.

Quoted 7 lines
Documentation/devicetree/bindings/sound/nvidia,tegra210-ope.yaml new file +7 -0
+
+description: |
+  The Output Processing Engine (OPE) is one of the AHUB client. It has
+  PEQ (Parametric Equalizer) and MBDRC (Multi Band Dynamic Range Compressor)
+  sub blocks for data processing.
+
+maintainers:

Documentation/devicetree/bindings/sound/nvidia,tegra210-ope.yaml line 24

Quoted 10 lines
Documentation/devicetree/bindings/sound/nvidia,tegra210-ope.yaml new file +10 -0
+  - Jon Hunter <[email protected]>
+  - Mohan Kumar <[email protected]>
+  - Sameer Pujar <[email protected]>
+
+allOf:
+  - $ref: name-prefix.yaml#
+
+properties:
+  $nodename:
+    pattern: "^ope@[0-9a-f]*$"

Same comment.

Quoted 22 lines
Documentation/devicetree/bindings/sound/nvidia,tegra210-ope.yaml new file +22 -0
+
+  compatible:
+    oneOf:
+      - const: nvidia,tegra210-ope
+      - items:
+          - enum:
+              - nvidia,tegra234-ope
+              - nvidia,tegra194-ope
+              - nvidia,tegra186-ope
+          - const: nvidia,tegra210-ope
+
+  reg:
+    maxItems: 1
+
+  "#address-cells":
+    const: 1
+
+  "#size-cells":
+    const: 1
+
+  ranges: true
+

Documentation/devicetree/bindings/sound/nvidia,tegra210-ope.yaml line 56

Quoted 10 lines
Documentation/devicetree/bindings/sound/nvidia,tegra210-ope.yaml new file +10 -0
+  sound-name-prefix:
+    pattern: "^OPE[1-9]$"
+
+  ports:
+    $ref: /schemas/graph.yaml#/properties/ports
+    properties:
+      port@0:
+        $ref: audio-graph-port.yaml#
+        unevaluatedProperties: false
+        description: |

No need for |

Documentation/devicetree/bindings/sound/nvidia,tegra210-ope.yaml line 63

Quoted 7 lines
Documentation/devicetree/bindings/sound/nvidia,tegra210-ope.yaml new file +7 -0
+          OPE ACIF (Audio Client Interface) input port. This is connected
+          to corresponding ACIF output port on AHUB (Audio Hub).
+
+      port@1:
+        $ref: audio-graph-port.yaml#
+        unevaluatedProperties: false
+        description: |

Ditto

Quoted 11 lines
Documentation/devicetree/bindings/sound/nvidia,tegra210-ope.yaml new file +11 -0
+          OPE ACIF output port. This is connected to corresponding ACIF
+          input port on AHUB.
+
+patternProperties:
+  '^peq@[0-9a-f]+$':
+    type: object
+    $ref: nvidia,tegra210-peq.yaml#
+
+  '^mbdrc@[0-9a-f]+$':
+    type: object
+    $ref: nvidia,tegra210-mbdrc.yaml#

Documentation/devicetree/bindings/sound/nvidia,tegra210-ope.yaml line 84

Quoted 10 lines
Documentation/devicetree/bindings/sound/nvidia,tegra210-ope.yaml new file +10 -0
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+

Similar to other patch.

Documentation/devicetree/bindings/sound/nvidia,tegra210-ope.yaml line 85

Quoted 1 line
Documentation/devicetree/bindings/sound/nvidia,tegra210-ope.yaml new file +1 -0
+    ope@702d8000 {

I would suggest generic node name, if it is possible.

Quoted 12 lines
Documentation/devicetree/bindings/sound/nvidia,tegra210-ope.yaml new file +6 -0
+        compatible = "nvidia,tegra210-ope";
+        reg = <0x702d8000 0x100>;
+        sound-name-prefix = "OPE1";
+    };
+
+...
Documentation/devicetree/bindings/sound/nvidia,tegra210-peq.yaml new file +0 -0
new file mode 100644
index 00000000..0f78746

Documentation/devicetree/bindings/sound/nvidia,tegra210-peq.yaml line 7

Quoted 7 lines
Documentation/devicetree/bindings/sound/nvidia,tegra210-peq.yaml new file +7 -0
@@ -0,0 +1,52 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/sound/nvidia,tegra210-peq.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Tegra210 PEQ Device Tree Bindings

Ditto

Quoted 6 lines
Documentation/devicetree/bindings/sound/nvidia,tegra210-peq.yaml new file +6 -0
+
+description: |
+  The Parametric Equalizer (PEQ) is a cascade of biquad filters with
+  each filter tuned based on certain parameters. It can be used to
+  equalize the irregularities in the speaker frequency response.
+  PEQ sits inside Output Processing Engine (OPE) which interfaces

Documentation/devicetree/bindings/sound/nvidia,tegra210-peq.yaml line 23

Quoted 10 lines
Documentation/devicetree/bindings/sound/nvidia,tegra210-peq.yaml new file +10 -0
+  with Audio Hub (AHUB) via Audio Client Interface (ACIF).
+
+maintainers:
+  - Jon Hunter <[email protected]>
+  - Mohan Kumar <[email protected]>
+  - Sameer Pujar <[email protected]>
+
+properties:
+  $nodename:
+    pattern: "^peq@[0-9a-f]*$"

Ditto

Quoted 13 lines
Documentation/devicetree/bindings/sound/nvidia,tegra210-peq.yaml new file +13 -0
+
+  compatible:
+    oneOf:
+      - const: nvidia,tegra210-peq
+      - items:
+          - enum:
+              - nvidia,tegra234-peq
+              - nvidia,tegra194-peq
+              - nvidia,tegra186-peq
+          - const: nvidia,tegra210-peq
+
+  reg:
+    maxItems: 1

Documentation/devicetree/bindings/sound/nvidia,tegra210-peq.yaml line 46

Quoted 10 lines
Documentation/devicetree/bindings/sound/nvidia,tegra210-peq.yaml new file +10 -0
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+

Ditto

Documentation/devicetree/bindings/sound/nvidia,tegra210-peq.yaml line 47

Quoted 1 line
Documentation/devicetree/bindings/sound/nvidia,tegra210-peq.yaml new file +1 -0
+    peq@702d8100 {

Generic node name, so this is "equalizer", I guess?

Documentation/devicetree/bindings/sound/nvidia,tegra210-peq.yaml line 52

Quoted 5 lines
Documentation/devicetree/bindings/sound/nvidia,tegra210-peq.yaml new file +5 -0
+        compatible = "nvidia,tegra210-peq";
+        reg = <0x702d8100 0x100>;
+    };
+
+...

Best regards,
Krzysztof

maintainer
#3 lore raw

Re: [PATCH 1/6] ASoC: tegra: Add binding doc for OPE module

Quoted 7 lines · Krzysztof Kozlowski
Quoted 1 line · Sameer Pujar

+title: Tegra210 MBDRC Device Tree Bindings

s/Device Tree Bindings//

and then you have enough space to de-acronym this MBDRC.

I suspect people rarely expand the acronym when referring to this device so it's probably clearer the way it is.

#4 lore raw

Re: [PATCH 1/6] ASoC: tegra: Add binding doc for OPE module

In reply to Krzysztof Kozlowski

Thanks Krzysztof for review.

Quoted 17 lines · Krzysztof Kozlowski
Quoted 4 lines · Sameer Pujar
Documentation/devicetree/bindings/sound/nvidia,tegra210-mbdrc.yaml new file +4 -0
+description: |
+  The Multi Band Dynamic Range Compressor (MBDRC) is part of Output
+  Processing Engine (OPE) which interfaces with Audio Hub (AHUB) via
+  Audio Client Interface (ACIF). MBDRC can be used as a traditional

Documentation/devicetree/bindings/sound/nvidia,tegra210-mbdrc.yaml line 22

Quoted 10 lines
Documentation/devicetree/bindings/sound/nvidia,tegra210-mbdrc.yaml new file +10 -0
+  single full band or a dual band or a multi band dynamic processor.
+
+maintainers:
+  - Jon Hunter <[email protected]>
+  - Mohan Kumar <[email protected]>
+  - Sameer Pujar <[email protected]>
+
+properties:
+  $nodename:
+    pattern: "^mbdrc@[0-9a-f]*$"

Why? We enforce only generic names in shared schemas and this is neither shared schema nor is it generic name.

Idea was to keep these node names consistent across DT files and parent node can allow a given list of child nodes with strict checks. Does name like "dynamic-range-compressor@xxx"

Quoted 17 lines
Quoted 17 lines
Documentation/devicetree/bindings/sound/nvidia,tegra210-mbdrc.yaml new file +16 -0
+
+  compatible:
+    oneOf:
+      - const: nvidia,tegra210-mbdrc
+      - items:
+          - enum:
+              - nvidia,tegra234-mbdrc
+              - nvidia,tegra194-mbdrc
+              - nvidia,tegra186-mbdrc
+          - const: nvidia,tegra210-mbdrc
+
+  reg:
+    maxItems: 1
+
+required:
+  - compatible
Quoted 8 lines

Documentation/devicetree/bindings/sound/nvidia,tegra210-mbdrc.yaml line 45

Quoted 7 lines
Documentation/devicetree/bindings/sound/nvidia,tegra210-mbdrc.yaml new file +7 -0
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+

No need for space

will remove

Quoted 25 lines
Quoted 25 lines
Documentation/devicetree/bindings/sound/nvidia,tegra210-ope.yaml new file +25 -0
+
+  compatible:
+    oneOf:
+      - const: nvidia,tegra210-ope
+      - items:
+          - enum:
+              - nvidia,tegra234-ope
+              - nvidia,tegra194-ope
+              - nvidia,tegra186-ope
+          - const: nvidia,tegra210-ope
+
+  reg:
+    maxItems: 1
+
+  "#address-cells":
+    const: 1
+
+  "#size-cells":
+    const: 1
+
+  ranges: true
+
+  sound-name-prefix:
+    pattern: "^OPE[1-9]$"
+
Quoted 8 lines

Documentation/devicetree/bindings/sound/nvidia,tegra210-ope.yaml line 56

Quoted 7 lines
Documentation/devicetree/bindings/sound/nvidia,tegra210-ope.yaml new file +7 -0
+  ports:
+    $ref: /schemas/graph.yaml#/properties/ports
+    properties:
+      port@0:
+        $ref: audio-graph-port.yaml#
+        unevaluatedProperties: false
+        description: |

No need for |

will remove.

Quoted 3 lines
Quoted 2 lines

+ ope@702d8000 {

I would suggest generic node name, if it is possible.

May be "processing-engine@xxx" ?

Quoted 2 lines

peq@702d8100 {
Generic node name, so this is "equalizer", I guess?

Yes, I can use this name.

#5 lore raw

Re: [PATCH 1/6] ASoC: tegra: Add binding doc for OPE module

Quoted 22 lines · Sameer Pujar

Thanks Krzysztof for review.

Quoted 17 lines · Krzysztof Kozlowski
Quoted 4 lines · Sameer Pujar
Documentation/devicetree/bindings/sound/nvidia,tegra210-mbdrc.yaml new file +4 -0
+description: |
+  The Multi Band Dynamic Range Compressor (MBDRC) is part of Output
+  Processing Engine (OPE) which interfaces with Audio Hub (AHUB) via
+  Audio Client Interface (ACIF). MBDRC can be used as a traditional

Documentation/devicetree/bindings/sound/nvidia,tegra210-mbdrc.yaml line 22

Quoted 10 lines
Documentation/devicetree/bindings/sound/nvidia,tegra210-mbdrc.yaml new file +10 -0
+  single full band or a dual band or a multi band dynamic processor.
+
+maintainers:
+  - Jon Hunter <[email protected]>
+  - Mohan Kumar <[email protected]>
+  - Sameer Pujar <[email protected]>
+
+properties:
+  $nodename:
+    pattern: "^mbdrc@[0-9a-f]*$"

Why? We enforce only generic names in shared schemas and this is neither shared schema nor is it generic name.

Quoted 3 lines

Idea was to keep these node names consistent across DT files and parent node can allow a given list of child nodes with strict checks. Does name like "dynamic-range-compressor@xxx"

The checks are not coming from device node name, but from matching schema to compatible. Why do you need consistent names across DTS files? They should be anyway generic but what happens if they differ?

Additionally, the parent schema enforces nodes of children, so if this is included in other schema, then the change is pointless.

I propose to drop it, unless it is a shared schema for many different vendors.

Quoted 63 lines
Quoted 17 lines
Quoted 17 lines
Documentation/devicetree/bindings/sound/nvidia,tegra210-mbdrc.yaml new file +16 -0
+
+  compatible:
+    oneOf:
+      - const: nvidia,tegra210-mbdrc
+      - items:
+          - enum:
+              - nvidia,tegra234-mbdrc
+              - nvidia,tegra194-mbdrc
+              - nvidia,tegra186-mbdrc
+          - const: nvidia,tegra210-mbdrc
+
+  reg:
+    maxItems: 1
+
+required:
+  - compatible
Quoted 8 lines

Documentation/devicetree/bindings/sound/nvidia,tegra210-mbdrc.yaml line 45

Quoted 7 lines
Documentation/devicetree/bindings/sound/nvidia,tegra210-mbdrc.yaml new file +7 -0
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+

No need for space

will remove

Quoted 25 lines
Quoted 25 lines
Documentation/devicetree/bindings/sound/nvidia,tegra210-ope.yaml new file +25 -0
+
+  compatible:
+    oneOf:
+      - const: nvidia,tegra210-ope
+      - items:
+          - enum:
+              - nvidia,tegra234-ope
+              - nvidia,tegra194-ope
+              - nvidia,tegra186-ope
+          - const: nvidia,tegra210-ope
+
+  reg:
+    maxItems: 1
+
+  "#address-cells":
+    const: 1
+
+  "#size-cells":
+    const: 1
+
+  ranges: true
+
+  sound-name-prefix:
+    pattern: "^OPE[1-9]$"
+
Quoted 8 lines

Documentation/devicetree/bindings/sound/nvidia,tegra210-ope.yaml line 56

Quoted 7 lines
Documentation/devicetree/bindings/sound/nvidia,tegra210-ope.yaml new file +7 -0
+  ports:
+    $ref: /schemas/graph.yaml#/properties/ports
+    properties:
+      port@0:
+        $ref: audio-graph-port.yaml#
+        unevaluatedProperties: false
+        description: |

No need for |

Quoted 8 lines

will remove.

Quoted 3 lines
Quoted 2 lines

+ ope@702d8000 {

I would suggest generic node name, if it is possible.

May be "processing-engine@xxx" ?

Sure.

Best regards,
Krzysztof

#6 lore raw

Re: [PATCH 1/6] ASoC: tegra: Add binding doc for OPE module

Quoted 18 lines · Krzysztof Kozlowski
Quoted 18 lines
Quoted 18 lines · Sameer Pujar
Quoted 4 lines
Documentation/devicetree/bindings/sound/nvidia,tegra210-mbdrc.yaml new file +4 -0
+description: |
+  The Multi Band Dynamic Range Compressor (MBDRC) is part of Output
+  Processing Engine (OPE) which interfaces with Audio Hub (AHUB) via
+  Audio Client Interface (ACIF). MBDRC can be used as a traditional

Documentation/devicetree/bindings/sound/nvidia,tegra210-mbdrc.yaml line 22

Quoted 10 lines
Documentation/devicetree/bindings/sound/nvidia,tegra210-mbdrc.yaml new file +10 -0
+  single full band or a dual band or a multi band dynamic processor.
+
+maintainers:
+  - Jon Hunter <[email protected]>
+  - Mohan Kumar <[email protected]>
+  - Sameer Pujar <[email protected]>
+
+properties:
+  $nodename:
+    pattern: "^mbdrc@[0-9a-f]*$"

Why? We enforce only generic names in shared schemas and this is neither shared schema nor is it generic name.

Quoted 6 lines
Quoted 3 lines

Idea was to keep these node names consistent across DT files and parent node can allow a given list of child nodes with strict checks. Does name like "dynamic-range-compressor@xxx"

The checks are not coming from device node name, but from matching schema to compatible. Why do you need consistent names across DTS files? They should be anyway generic but what happens if they differ?

The IP is re-used in many Tegra SoC generations and thus it is nice to use the same name. But,

Quoted 2 lines

Additionally, the parent schema enforces nodes of children, so if this is included in other schema, then the change is pointless.

I see your point. Since parent schema already enforces the child node names, another place from child schema to enforce similar rule is not really necessary for now. I will drop this. Thanks.

#7 lore raw

PATCH 2/6 ASoC: tegra: Add Tegra210 based OPE driver

In reply to Sameer Pujar

The Output Processing Engine (OPE) is one of the AHUB client. It has PEQ (Parametric Equalizer) and MBDRC (Multi Band Dynamic Range Compressor) sub blocks for data processing. The PEQ block gets samples from the MBDRC block.

This patch registers OPE driver with ASoC framework. The component driver exposes DAPM widgets, routes and kcontrols for the device. The DAI driver exposes OPE interfaces, which can be used to connect different components in the ASoC layer. Makefile and Kconfig support is added to allow build the driver.

---
 sound/soc/tegra/Kconfig          |    9 +
 sound/soc/tegra/Makefile         |    2 +
 sound/soc/tegra/tegra210_mbdrc.c | 1012 ++++++++++++++++++++++++++++++++++++++
 sound/soc/tegra/tegra210_mbdrc.h |  215 ++++++++
 sound/soc/tegra/tegra210_ope.c   |  419 ++++++++++++++++
 sound/soc/tegra/tegra210_ope.h   |   90 ++++
 sound/soc/tegra/tegra210_peq.c   |  434 ++++++++++++++++
 sound/soc/tegra/tegra210_peq.h   |   56 +++
 8 files changed, 2237 insertions(+)
 create mode 100644 sound/soc/tegra/tegra210_mbdrc.c
 create mode 100644 sound/soc/tegra/tegra210_mbdrc.h
 create mode 100644 sound/soc/tegra/tegra210_ope.c
 create mode 100644 sound/soc/tegra/tegra210_ope.h
 create mode 100644 sound/soc/tegra/tegra210_peq.c
 create mode 100644 sound/soc/tegra/tegra210_peq.h
sound/soc/tegra/Kconfig +9 -0
index b337852..65c6c47 100644
@@ -88,6 +88,15 @@ config SND_SOC_TEGRA210_I2S
 	  compatible devices.
 	  Say Y or M if you want to add support for Tegra210 I2S module.
 
+config SND_SOC_TEGRA210_OPE
+	tristate "Tegra210 OPE module"
+	help
+	  Config to enable the Output Processing Engine (OPE) which includes
+	  Parametric Equalizer (PEQ) and Multi Band Dynamic Range Compressor
+	  (MBDRC) sub blocks for data processing. It can support up to 8
+	  channels.
+	  Say Y or M if you want to add support for Tegra210 OPE module.
+
 config SND_SOC_TEGRA186_ASRC
 	tristate "Tegra186 ASRC module"
 	help
sound/soc/tegra/Makefile +2 -0
index 70a498d..b723c78 100644
@@ -19,6 +19,7 @@ snd-soc-tegra210-sfc-objs := tegra210_sfc.o
 snd-soc-tegra210-amx-objs := tegra210_amx.o
 snd-soc-tegra210-adx-objs := tegra210_adx.o
 snd-soc-tegra210-mixer-objs := tegra210_mixer.o
+snd-soc-tegra210-ope-objs := tegra210_ope.o tegra210_mbdrc.o tegra210_peq.o
 
 obj-$(CONFIG_SND_SOC_TEGRA) += snd-soc-tegra-pcm.o
 obj-$(CONFIG_SND_SOC_TEGRA20_AC97) += snd-soc-tegra20-ac97.o
@@ -38,6 +39,7 @@ obj-$(CONFIG_SND_SOC_TEGRA210_SFC) += snd-soc-tegra210-sfc.o
 obj-$(CONFIG_SND_SOC_TEGRA210_AMX) += snd-soc-tegra210-amx.o
 obj-$(CONFIG_SND_SOC_TEGRA210_ADX) += snd-soc-tegra210-adx.o
 obj-$(CONFIG_SND_SOC_TEGRA210_MIXER) += snd-soc-tegra210-mixer.o
+obj-$(CONFIG_SND_SOC_TEGRA210_OPE) += snd-soc-tegra210-ope.o
 
 # Tegra machine Support
 snd-soc-tegra-wm8903-objs := tegra_wm8903.o
sound/soc/tegra/tegra210_mbdrc.c new file +1012 -0

1,012 lines not on this page · raw message

sound/soc/tegra/tegra210_mbdrc.h new file +215 -0

215 lines not on this page · raw message

sound/soc/tegra/tegra210_ope.c new file +419 -0

419 lines not on this page · raw message

sound/soc/tegra/tegra210_ope.h new file +90 -0

90 lines not on this page · raw message

sound/soc/tegra/tegra210_peq.c new file +434 -0

434 lines not on this page · raw message

sound/soc/tegra/tegra210_peq.h new file +56 -0

56 lines not on this page · raw message

Signature · 1 line
2.7.4
#8 lore raw

PATCH 3/6 ASoC: tegra: AHUB routes for OPE module

In reply to Sameer Pujar

Add AHUB routes for OPE module. The OPE module can be plugged into audio path as per the need. The routing controls can be used to setup the audio path with OPE similar to the already existing routes. The support is added on Tegra210 and later Tegra SoCs where OPE module is present.

---
 sound/soc/tegra/tegra210_ahub.c | 39 +++++++++++++++++++++++++++++++++++----
 1 file changed, 35 insertions(+), 4 deletions(-)
sound/soc/tegra/tegra210_ahub.c +35 -4
index 8980571..e429ffc 100644
@@ -170,6 +170,11 @@ static struct snd_soc_dai_driver tegra210_ahub_dais[] = {
 	DAI(MIXER1 TX3),
 	DAI(MIXER1 TX4),
 	DAI(MIXER1 TX5),
+	/* XBAR -> OPE -> XBAR */
+	DAI(OPE1 RX),
+	DAI(OPE1 TX),
+	DAI(OPE2 RX),
+	DAI(OPE2 TX),
 };
 
 static struct snd_soc_dai_driver tegra186_ahub_dais[] = {
@@ -294,6 +299,9 @@ static struct snd_soc_dai_driver tegra186_ahub_dais[] = {
 	DAI(ASRC1 RX6),
 	DAI(ASRC1 TX6),
 	DAI(ASRC1 RX7),
+	/* XBAR -> OPE -> XBAR */
+	DAI(OPE1 RX),
+	DAI(OPE1 TX),
 };
 
 static const char * const tegra210_ahub_mux_texts[] = {
@@ -337,6 +345,8 @@ static const char * const tegra210_ahub_mux_texts[] = {
 	"MIXER1 TX3",
 	"MIXER1 TX4",
 	"MIXER1 TX5",
+	"OPE1",
+	"OPE2",
 };
 
 static const char * const tegra186_ahub_mux_texts[] = {
@@ -408,6 +418,7 @@ static const char * const tegra186_ahub_mux_texts[] = {
 	"ASRC1 TX4",
 	"ASRC1 TX5",
 	"ASRC1 TX6",
+	"OPE1",
 };
 
 static const unsigned int tegra210_ahub_mux_values[] = {
@@ -459,6 +470,9 @@ static const unsigned int tegra210_ahub_mux_values[] = {
 	MUX_VALUE(1, 2),
 	MUX_VALUE(1, 3),
 	MUX_VALUE(1, 4),
+	/* OPE */
+	MUX_VALUE(2, 0),
+	MUX_VALUE(2, 1),
 };
 
 static const unsigned int tegra186_ahub_mux_values[] = {
@@ -540,6 +554,8 @@ static const unsigned int tegra186_ahub_mux_values[] = {
 	MUX_VALUE(3, 27),
 	MUX_VALUE(3, 28),
 	MUX_VALUE(3, 29),
+	/* OPE */
+	MUX_VALUE(2, 0),
 };
 
 /* Controls for t210 */
@@ -584,6 +600,8 @@ MUX_ENUM_CTRL_DECL(t210_mixer17_tx, 0x26);
 MUX_ENUM_CTRL_DECL(t210_mixer18_tx, 0x27);
 MUX_ENUM_CTRL_DECL(t210_mixer19_tx, 0x28);
 MUX_ENUM_CTRL_DECL(t210_mixer110_tx, 0x29);
+MUX_ENUM_CTRL_DECL(t210_ope1_tx, 0x40);
+MUX_ENUM_CTRL_DECL(t210_ope2_tx, 0x41);
 
 /* Controls for t186 */
 MUX_ENUM_CTRL_DECL_186(t186_admaif1_tx, 0x00);
@@ -657,6 +675,7 @@ MUX_ENUM_CTRL_DECL_186(t186_asrc14_tx, 0x6f);
 MUX_ENUM_CTRL_DECL_186(t186_asrc15_tx, 0x70);
 MUX_ENUM_CTRL_DECL_186(t186_asrc16_tx, 0x71);
 MUX_ENUM_CTRL_DECL_186(t186_asrc17_tx, 0x72);
+MUX_ENUM_CTRL_DECL_186(t186_ope1_tx, 0x40);
 
 /* Controls for t234 */
 MUX_ENUM_CTRL_DECL_234(t234_mvc1_tx, 0x44);
@@ -753,6 +772,8 @@ static const struct snd_soc_dapm_widget tegra210_ahub_widgets[] = {
 	TX_WIDGETS("MIXER1 TX3"),
 	TX_WIDGETS("MIXER1 TX4"),
 	TX_WIDGETS("MIXER1 TX5"),
+	WIDGETS("OPE1", t210_ope1_tx),
+	WIDGETS("OPE2", t210_ope2_tx),
 };
 
 static const struct snd_soc_dapm_widget tegra186_ahub_widgets[] = {
@@ -862,6 +883,7 @@ static const struct snd_soc_dapm_widget tegra186_ahub_widgets[] = {
 	TX_WIDGETS("ASRC1 TX4"),
 	TX_WIDGETS("ASRC1 TX5"),
 	TX_WIDGETS("ASRC1 TX6"),
+	WIDGETS("OPE1", t186_ope1_tx),
 };
 
 static const struct snd_soc_dapm_widget tegra234_ahub_widgets[] = {
@@ -971,6 +993,7 @@ static const struct snd_soc_dapm_widget tegra234_ahub_widgets[] = {
 	TX_WIDGETS("ASRC1 TX4"),
 	TX_WIDGETS("ASRC1 TX5"),
 	TX_WIDGETS("ASRC1 TX6"),
+	WIDGETS("OPE1", t186_ope1_tx),
 };
 
 #define TEGRA_COMMON_MUX_ROUTES(name)					\
@@ -1013,7 +1036,11 @@ static const struct snd_soc_dapm_widget tegra234_ahub_widgets[] = {
 	{ name " Mux",		"MIXER1 TX2",	"MIXER1 TX2 XBAR-RX" },	\
 	{ name " Mux",		"MIXER1 TX3",	"MIXER1 TX3 XBAR-RX" },	\
 	{ name " Mux",		"MIXER1 TX4",	"MIXER1 TX4 XBAR-RX" },	\
-	{ name " Mux",		"MIXER1 TX5",	"MIXER1 TX5 XBAR-RX" },
+	{ name " Mux",		"MIXER1 TX5",	"MIXER1 TX5 XBAR-RX" }, \
+	{ name " Mux",		"OPE1",		"OPE1 XBAR-RX" },
+
+#define TEGRA210_ONLY_MUX_ROUTES(name)					\
+	{ name " Mux",          "OPE2",         "OPE2 XBAR-RX" },
 
 #define TEGRA186_ONLY_MUX_ROUTES(name)					\
 	{ name " Mux",		"ADMAIF11",	"ADMAIF11 XBAR-RX" },	\
@@ -1045,10 +1072,11 @@ static const struct snd_soc_dapm_widget tegra234_ahub_widgets[] = {
 	{ name " Mux",		"ASRC1 TX5",	"ASRC1 TX5 XBAR-RX" },	\
 	{ name " Mux",		"ASRC1 TX6",	"ASRC1 TX6 XBAR-RX" },
 
-#define TEGRA210_MUX_ROUTES(name)						\
-	TEGRA_COMMON_MUX_ROUTES(name)
+#define TEGRA210_MUX_ROUTES(name)					\
+	TEGRA_COMMON_MUX_ROUTES(name)					\
+	TEGRA210_ONLY_MUX_ROUTES(name)
 
-#define TEGRA186_MUX_ROUTES(name)						\
+#define TEGRA186_MUX_ROUTES(name)					\
 	TEGRA_COMMON_MUX_ROUTES(name)					\
 	TEGRA186_ONLY_MUX_ROUTES(name)
 
@@ -1111,6 +1139,8 @@ static const struct snd_soc_dapm_route tegra210_ahub_routes[] = {
 	TEGRA210_MUX_ROUTES("MIXER1 RX8")
 	TEGRA210_MUX_ROUTES("MIXER1 RX9")
 	TEGRA210_MUX_ROUTES("MIXER1 RX10")
+	TEGRA210_MUX_ROUTES("OPE1")
+	TEGRA210_MUX_ROUTES("OPE2")
 };
 
 static const struct snd_soc_dapm_route tegra186_ahub_routes[] = {
@@ -1205,6 +1235,7 @@ static const struct snd_soc_dapm_route tegra186_ahub_routes[] = {
 	TEGRA186_MUX_ROUTES("ASRC1 RX5")
 	TEGRA186_MUX_ROUTES("ASRC1 RX6")
 	TEGRA186_MUX_ROUTES("ASRC1 RX7")
+	TEGRA186_MUX_ROUTES("OPE1")
 };
 
 static const struct snd_soc_component_driver tegra210_ahub_component = {
Signature · 1 line
2.7.4
#9 lore raw

PATCH 4/6 arm64: defconfig: Build Tegra OPE module

In reply to Sameer Pujar

Output Processing Engine (OPE) module is a client of AHUB on Tegra210 and later generations of Tegra SoCs. Enable the driver build to use this in audio path.

---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/configs/defconfig +1 -0
index cc9afaa..eb61a4f 100644
@@ -826,6 +826,7 @@ CONFIG_SND_SOC_TEGRA=m
 CONFIG_SND_SOC_TEGRA210_AHUB=m
 CONFIG_SND_SOC_TEGRA210_DMIC=m
 CONFIG_SND_SOC_TEGRA210_I2S=m
+CONFIG_SND_SOC_TEGRA210_OPE=m
 CONFIG_SND_SOC_TEGRA186_ASRC=m
 CONFIG_SND_SOC_TEGRA186_DSPK=m
 CONFIG_SND_SOC_TEGRA210_ADMAIF=m
Signature · 1 line
2.7.4
#10 lore raw

PATCH 5/6 arm64: tegra: Add OPE device on Tegra210 and later

In reply to Sameer Pujar

Output Processing Engine (OPE) is a client of AHUB and is present on Tegra210 and later generations of Tegra SoC. Add this device on the relevant SoC DTSI files.

---
 arch/arm64/boot/dts/nvidia/tegra186.dtsi | 23 ++++++++++++++++++
 arch/arm64/boot/dts/nvidia/tegra194.dtsi | 23 ++++++++++++++++++
 arch/arm64/boot/dts/nvidia/tegra210.dtsi | 40 ++++++++++++++++++++++++++++++++
 arch/arm64/boot/dts/nvidia/tegra234.dtsi | 23 ++++++++++++++++++
 4 files changed, 109 insertions(+)
arch/arm64/boot/dts/nvidia/tegra186.dtsi +23 -0
index 0e9afc3..3adb839 100644
@@ -509,6 +509,29 @@
 				status = "disabled";
 			};
 
+			tegra_ope1: ope@2908000 {
+				compatible = "nvidia,tegra186-ope",
+					     "nvidia,tegra210-ope";
+				reg = <0x2908000 0x100>;
+				#address-cells = <1>;
+				#size-cells = <1>;
+				ranges;
+				sound-name-prefix = "OPE1";
+				status = "disabled";
+
+				peq@2908100 {
+					compatible = "nvidia,tegra186-peq",
+						     "nvidia,tegra210-peq";
+					reg = <0x2908100 0x100>;
+				};
+
+				mbdrc@2908200 {
+					compatible = "nvidia,tegra186-mbdrc",
+						     "nvidia,tegra210-mbdrc";
+					reg = <0x2908200 0x200>;
+				};
+			};
+
 			tegra_amixer: amixer@290bb00 {
 				compatible = "nvidia,tegra186-amixer",
 					     "nvidia,tegra210-amixer";
arch/arm64/boot/dts/nvidia/tegra194.dtsi +23 -0
index d1f8248..4df5590 100644
@@ -562,6 +562,29 @@
 					status = "disabled";
 				};
 
+				tegra_ope1: ope@2908000 {
+					compatible = "nvidia,tegra194-ope",
+						     "nvidia,tegra210-ope";
+					reg = <0x2908000 0x100>;
+					#address-cells = <1>;
+					#size-cells = <1>;
+					ranges;
+					sound-name-prefix = "OPE1";
+					status = "disabled";
+
+					peq@2908100 {
+						compatible = "nvidia,tegra194-peq",
+							     "nvidia,tegra210-peq";
+						reg = <0x2908100 0x100>;
+					};
+
+					mbdrc@2908200 {
+						compatible = "nvidia,tegra194-mbdrc",
+							     "nvidia,tegra210-mbdrc";
+						reg = <0x2908200 0x200>;
+					};
+				};
+
 				tegra_amixer: amixer@290bb00 {
 					compatible = "nvidia,tegra194-amixer",
 						     "nvidia,tegra210-amixer";
arch/arm64/boot/dts/nvidia/tegra210.dtsi +40 -0
index 4f0e51f..c528a91 100644
@@ -1723,6 +1723,46 @@
 				status = "disabled";
 			};
 
+			tegra_ope1: ope@702d8000 {
+				compatible = "nvidia,tegra210-ope";
+				reg = <0x702d8000 0x100>;
+				#address-cells = <1>;
+				#size-cells = <1>;
+				ranges;
+				sound-name-prefix = "OPE1";
+				status = "disabled";
+
+				peq@702d8100 {
+					compatible = "nvidia,tegra210-peq";
+					reg = <0x702d8100 0x100>;
+				};
+
+				mbdrc@702d8200 {
+					compatible = "nvidia,tegra210-mbdrc";
+					reg = <0x702d8200 0x200>;
+				};
+			};
+
+			tegra_ope2: ope@702d8400 {
+				compatible = "nvidia,tegra210-ope";
+				reg = <0x702d8400 0x100>;
+				#address-cells = <1>;
+				#size-cells = <1>;
+				ranges;
+				sound-name-prefix = "OPE2";
+				status = "disabled";
+
+				peq@702d8500 {
+					compatible = "nvidia,tegra210-peq";
+					reg = <0x702d8500 0x100>;
+				};
+
+				mbdrc@702d8600 {
+					compatible = "nvidia,tegra210-mbdrc";
+					reg = <0x702d8600 0x200>;
+				};
+			};
+
 			tegra_amixer: amixer@702dbb00 {
 				compatible = "nvidia,tegra210-amixer";
 				reg = <0x702dbb00 0x800>;
arch/arm64/boot/dts/nvidia/tegra234.dtsi +23 -0
index 82f9a77..966cd82 100644
@@ -304,6 +304,29 @@
 					status = "disabled";
 				};
 
+				tegra_ope1: ope@2908000 {
+					compatible = "nvidia,tegra234-ope",
+						     "nvidia,tegra210-ope";
+					reg = <0x2908000 0x100>;
+					#address-cells = <1>;
+					#size-cells = <1>;
+					ranges;
+					sound-name-prefix = "OPE1";
+					status = "disabled";
+
+					peq@2908100 {
+						compatible = "nvidia,tegra234-peq",
+							     "nvidia,tegra210-peq";
+						reg = <0x2908100 0x100>;
+					};
+
+					mbdrc@2908200 {
+						compatible = "nvidia,tegra234-mbdrc",
+							     "nvidia,tegra210-mbdrc";
+						reg = <0x2908200 0x200>;
+					};
+				};
+
 				tegra_mvc1: mvc@290a000 {
 					compatible = "nvidia,tegra234-mvc",
 						     "nvidia,tegra210-mvc";
Signature · 1 line
2.7.4
#11 lore raw

PATCH 6/6 arm64: tegra: Enable OPE on various platforms

In reply to Sameer Pujar

Enable OPE module usage on various Jetson platforms. This can be plugged into an audio path using ALSA mixer controls. Add audio-graph-port binding to use OPE device with generic audio-graph based sound card.

---
 arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts | 43 +++++++++++
 arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts | 43 +++++++++++
 .../arm64/boot/dts/nvidia/tegra194-p3509-0000.dtsi | 43 +++++++++++
 arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts | 84 ++++++++++++++++++++++
 arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts | 84 ++++++++++++++++++++++
 .../dts/nvidia/tegra234-p3737-0000+p3701-0000.dts  | 43 +++++++++++
 6 files changed, 340 insertions(+)
arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts +43 -0
index 70737a0..05543c3 100644
@@ -915,6 +915,22 @@
 						remote-endpoint = <&asrc_in7_ep>;
 					};
 				};
+
+				xbar_ope1_in_port: port@70 {
+					reg = <0x70>;
+
+					xbar_ope1_in_ep: endpoint {
+						remote-endpoint = <&ope1_cif_in_ep>;
+					};
+				};
+
+				port@71 {
+					reg = <0x71>;
+
+					xbar_ope1_out_ep: endpoint {
+						remote-endpoint = <&ope1_cif_out_ep>;
+					};
+				};
 			};
 
 			admaif@290f000 {
@@ -1911,6 +1927,31 @@
 				};
 			};
 
+			ope@2908000 {
+				status = "okay";
+
+				ports {
+					#address-cells = <1>;
+					#size-cells = <0>;
+
+					port@0 {
+						reg = <0x0>;
+
+						ope1_cif_in_ep: endpoint {
+							remote-endpoint = <&xbar_ope1_in_ep>;
+						};
+					};
+
+					ope1_out_port: port@1 {
+						reg = <0x1>;
+
+						ope1_cif_out_ep: endpoint {
+							remote-endpoint = <&xbar_ope1_out_ep>;
+						};
+					};
+				};
+			};
+
 			amixer@290bb00 {
 				status = "okay";
 
@@ -2552,6 +2593,7 @@
 		       <&xbar_asrc_in3_port>, <&xbar_asrc_in4_port>,
 		       <&xbar_asrc_in5_port>, <&xbar_asrc_in6_port>,
 		       <&xbar_asrc_in7_port>,
+		       <&xbar_ope1_in_port>,
 		       /* HW accelerators */
 		       <&sfc1_out_port>, <&sfc2_out_port>,
 		       <&sfc3_out_port>, <&sfc4_out_port>,
@@ -2571,6 +2613,7 @@
 		       <&mixer_out5_port>,
 		       <&asrc_out1_port>, <&asrc_out2_port>, <&asrc_out3_port>,
 		       <&asrc_out4_port>, <&asrc_out5_port>, <&asrc_out6_port>,
+		       <&ope1_out_port>,
 		       /* I/O */
 		       <&i2s1_port>, <&i2s2_port>, <&i2s3_port>, <&i2s4_port>,
 		       <&i2s5_port>, <&i2s6_port>, <&dmic1_port>, <&dmic2_port>,
arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts +43 -0

67 lines not on this page · raw message

arch/arm64/boot/dts/nvidia/tegra194-p3509-0000.dtsi +43 -0

67 lines not on this page · raw message

arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts +84 -0

108 lines not on this page · raw message

arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts +84 -0

108 lines not on this page · raw message

arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts +43 -0

67 lines not on this page · raw message

Signature · 1 line
2.7.4