1e67e8565SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2e67e8565SEmmanuel Vadot%YAML 1.2 3e67e8565SEmmanuel Vadot--- 4e67e8565SEmmanuel Vadot$id: http://devicetree.org/schemas/sound/nvidia,tegra20-spdif.yaml# 5e67e8565SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6e67e8565SEmmanuel Vadot 7e67e8565SEmmanuel Vadottitle: NVIDIA Tegra20 S/PDIF Controller 8e67e8565SEmmanuel Vadot 9e67e8565SEmmanuel Vadotdescription: | 10e67e8565SEmmanuel Vadot The S/PDIF controller supports both input and output in serial audio 11e67e8565SEmmanuel Vadot digital interface format. The input controller can digitally recover 12e67e8565SEmmanuel Vadot a clock from the received stream. The S/PDIF controller is also used 13e67e8565SEmmanuel Vadot to generate the embedded audio for HDMI output channel. 14e67e8565SEmmanuel Vadot 15e67e8565SEmmanuel Vadotmaintainers: 16e67e8565SEmmanuel Vadot - Thierry Reding <treding@nvidia.com> 17e67e8565SEmmanuel Vadot - Jon Hunter <jonathanh@nvidia.com> 18e67e8565SEmmanuel Vadot 19*8bab661aSEmmanuel VadotallOf: 20*8bab661aSEmmanuel Vadot - $ref: dai-common.yaml# 21*8bab661aSEmmanuel Vadot 22e67e8565SEmmanuel Vadotproperties: 23e67e8565SEmmanuel Vadot compatible: 24e67e8565SEmmanuel Vadot const: nvidia,tegra20-spdif 25e67e8565SEmmanuel Vadot 26e67e8565SEmmanuel Vadot reg: 27e67e8565SEmmanuel Vadot maxItems: 1 28e67e8565SEmmanuel Vadot 29e67e8565SEmmanuel Vadot resets: 30e67e8565SEmmanuel Vadot maxItems: 1 31e67e8565SEmmanuel Vadot 32e67e8565SEmmanuel Vadot interrupts: 33e67e8565SEmmanuel Vadot maxItems: 1 34e67e8565SEmmanuel Vadot 35e67e8565SEmmanuel Vadot clocks: 36e67e8565SEmmanuel Vadot minItems: 2 37e67e8565SEmmanuel Vadot 38e67e8565SEmmanuel Vadot clock-names: 39e67e8565SEmmanuel Vadot items: 40e67e8565SEmmanuel Vadot - const: out 41e67e8565SEmmanuel Vadot - const: in 42e67e8565SEmmanuel Vadot 43e67e8565SEmmanuel Vadot dmas: 44e67e8565SEmmanuel Vadot minItems: 2 45e67e8565SEmmanuel Vadot 46e67e8565SEmmanuel Vadot dma-names: 47e67e8565SEmmanuel Vadot items: 48e67e8565SEmmanuel Vadot - const: rx 49e67e8565SEmmanuel Vadot - const: tx 50e67e8565SEmmanuel Vadot 51e67e8565SEmmanuel Vadot "#sound-dai-cells": 52e67e8565SEmmanuel Vadot const: 0 53e67e8565SEmmanuel Vadot 54e67e8565SEmmanuel Vadot nvidia,fixed-parent-rate: 55e67e8565SEmmanuel Vadot description: | 56e67e8565SEmmanuel Vadot Specifies whether board prefers parent clock to stay at a fixed rate. 57e67e8565SEmmanuel Vadot This allows multiple Tegra20 audio components work simultaneously by 58e67e8565SEmmanuel Vadot limiting number of supportable audio rates. 59e67e8565SEmmanuel Vadot type: boolean 60e67e8565SEmmanuel Vadot 61e67e8565SEmmanuel Vadotrequired: 62e67e8565SEmmanuel Vadot - compatible 63e67e8565SEmmanuel Vadot - reg 64e67e8565SEmmanuel Vadot - resets 65e67e8565SEmmanuel Vadot - interrupts 66e67e8565SEmmanuel Vadot - clocks 67e67e8565SEmmanuel Vadot - clock-names 68e67e8565SEmmanuel Vadot - dmas 69e67e8565SEmmanuel Vadot - dma-names 70e67e8565SEmmanuel Vadot - "#sound-dai-cells" 71e67e8565SEmmanuel Vadot 72*8bab661aSEmmanuel VadotunevaluatedProperties: false 73e67e8565SEmmanuel Vadot 74e67e8565SEmmanuel Vadotexamples: 75e67e8565SEmmanuel Vadot - | 76e67e8565SEmmanuel Vadot spdif@70002400 { 77e67e8565SEmmanuel Vadot compatible = "nvidia,tegra20-spdif"; 78e67e8565SEmmanuel Vadot reg = <0x70002400 0x200>; 79e67e8565SEmmanuel Vadot interrupts = <77>; 80e67e8565SEmmanuel Vadot clocks = <&clk 99>, <&clk 98>; 81e67e8565SEmmanuel Vadot clock-names = "out", "in"; 82e67e8565SEmmanuel Vadot resets = <&rst 10>; 83e67e8565SEmmanuel Vadot dmas = <&apbdma 3>, <&apbdma 3>; 84e67e8565SEmmanuel Vadot dma-names = "rx", "tx"; 85e67e8565SEmmanuel Vadot #sound-dai-cells = <0>; 86e67e8565SEmmanuel Vadot }; 87e67e8565SEmmanuel Vadot 88e67e8565SEmmanuel Vadot... 89