1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/sound/nvidi 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra30-hda.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: NVIDIA Tegra HDA controller 7 title: NVIDIA Tegra HDA controller 8 8 9 description: | 9 description: | 10 The High Definition Audio (HDA) block provid 10 The High Definition Audio (HDA) block provides a serial interface to 11 audio codec. It supports multiple input and 11 audio codec. It supports multiple input and output streams. 12 12 13 maintainers: 13 maintainers: 14 - Thierry Reding <treding@nvidia.com> 14 - Thierry Reding <treding@nvidia.com> 15 - Jon Hunter <jonathanh@nvidia.com> 15 - Jon Hunter <jonathanh@nvidia.com> 16 16 17 properties: 17 properties: 18 $nodename: 18 $nodename: 19 pattern: "^hda@[0-9a-f]*$" 19 pattern: "^hda@[0-9a-f]*$" 20 20 21 compatible: 21 compatible: 22 oneOf: 22 oneOf: 23 - const: nvidia,tegra30-hda 23 - const: nvidia,tegra30-hda 24 - items: 24 - items: 25 - enum: 25 - enum: 26 - nvidia,tegra234-hda << 27 - nvidia,tegra194-hda 26 - nvidia,tegra194-hda 28 - nvidia,tegra186-hda 27 - nvidia,tegra186-hda 29 - nvidia,tegra210-hda 28 - nvidia,tegra210-hda 30 - nvidia,tegra124-hda 29 - nvidia,tegra124-hda 31 - const: nvidia,tegra30-hda 30 - const: nvidia,tegra30-hda 32 - items: 31 - items: 33 - const: nvidia,tegra132-hda 32 - const: nvidia,tegra132-hda 34 - const: nvidia,tegra124-hda 33 - const: nvidia,tegra124-hda 35 - const: nvidia,tegra30-hda 34 - const: nvidia,tegra30-hda 36 35 37 reg: 36 reg: 38 maxItems: 1 37 maxItems: 1 39 38 40 interrupts: 39 interrupts: 41 description: The interrupt from the HDA co 40 description: The interrupt from the HDA controller 42 maxItems: 1 41 maxItems: 1 43 42 44 clocks: 43 clocks: 45 minItems: 2 << 46 maxItems: 3 44 maxItems: 3 47 45 48 clock-names: 46 clock-names: 49 minItems: 2 << 50 items: 47 items: 51 - const: hda 48 - const: hda 52 - const: hda2hdmi 49 - const: hda2hdmi 53 - const: hda2codec_2x 50 - const: hda2codec_2x 54 51 55 resets: 52 resets: 56 minItems: 2 53 minItems: 2 57 maxItems: 3 54 maxItems: 3 58 55 59 reset-names: 56 reset-names: 60 minItems: 2 57 minItems: 2 61 items: 58 items: 62 - const: hda 59 - const: hda 63 - const: hda2hdmi 60 - const: hda2hdmi 64 - const: hda2codec_2x 61 - const: hda2codec_2x 65 62 66 power-domains: 63 power-domains: 67 maxItems: 1 64 maxItems: 1 68 65 69 interconnects: 66 interconnects: 70 maxItems: 2 67 maxItems: 2 71 68 72 interconnect-names: 69 interconnect-names: 73 items: 70 items: 74 - const: dma-mem 71 - const: dma-mem 75 - const: write 72 - const: write 76 73 77 iommus: 74 iommus: 78 maxItems: 1 75 maxItems: 1 79 76 80 nvidia,model: 77 nvidia,model: 81 $ref: /schemas/types.yaml#/definitions/str 78 $ref: /schemas/types.yaml#/definitions/string 82 description: | 79 description: | 83 The user-visible name of this sound comp 80 The user-visible name of this sound complex. If this property is 84 not specified then boards can use defaul 81 not specified then boards can use default name provided in hda driver. 85 82 86 required: 83 required: 87 - compatible 84 - compatible 88 - reg 85 - reg 89 - interrupts 86 - interrupts 90 - clocks 87 - clocks 91 - clock-names 88 - clock-names 92 89 93 additionalProperties: false 90 additionalProperties: false 94 91 95 examples: 92 examples: 96 - | 93 - | 97 #include<dt-bindings/clock/tegra124-car-co 94 #include<dt-bindings/clock/tegra124-car-common.h> 98 #include<dt-bindings/interrupt-controller/ 95 #include<dt-bindings/interrupt-controller/arm-gic.h> 99 96 100 hda@70030000 { 97 hda@70030000 { 101 compatible = "nvidia,tegra124-hda", "n 98 compatible = "nvidia,tegra124-hda", "nvidia,tegra30-hda"; 102 reg = <0x70030000 0x10000>; 99 reg = <0x70030000 0x10000>; 103 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVE 100 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>; 104 clocks = <&tegra_car TEGRA124_CLK_HDA> 101 clocks = <&tegra_car TEGRA124_CLK_HDA>, 105 <&tegra_car TEGRA124_CLK_HDA2 102 <&tegra_car TEGRA124_CLK_HDA2HDMI>, 106 <&tegra_car TEGRA124_CLK_HDA2 103 <&tegra_car TEGRA124_CLK_HDA2CODEC_2X>; 107 clock-names = "hda", "hda2hdmi", "hda2 104 clock-names = "hda", "hda2hdmi", "hda2codec_2x"; 108 resets = <&tegra_car 125>, /* hda */ 105 resets = <&tegra_car 125>, /* hda */ 109 <&tegra_car 128>, /* hda2hdmi 106 <&tegra_car 128>, /* hda2hdmi */ 110 <&tegra_car 111>; /* hda2code 107 <&tegra_car 111>; /* hda2codec_2x */ 111 reset-names = "hda", "hda2hdmi", "hda2 108 reset-names = "hda", "hda2hdmi", "hda2codec_2x"; 112 nvidia,model = "jetson-tk1-hda"; 109 nvidia,model = "jetson-tk1-hda"; 113 }; 110 }; 114 111 115 ... 112 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.