1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/sound/amlog 4 $id: http://devicetree.org/schemas/sound/amlogic,t9015.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Amlogic T9015 Internal Audio DAC 7 title: Amlogic T9015 Internal Audio DAC 8 8 9 maintainers: 9 maintainers: 10 - Jerome Brunet <jbrunet@baylibre.com> 10 - Jerome Brunet <jbrunet@baylibre.com> 11 11 12 allOf: 12 allOf: 13 - $ref: dai-common.yaml# !! 13 - $ref: name-prefix.yaml# 14 14 15 properties: 15 properties: 16 $nodename: 16 $nodename: 17 pattern: "^audio-controller@.*" 17 pattern: "^audio-controller@.*" 18 18 19 "#sound-dai-cells": 19 "#sound-dai-cells": 20 const: 0 20 const: 0 21 21 22 compatible: 22 compatible: 23 items: 23 items: 24 - const: amlogic,t9015 24 - const: amlogic,t9015 25 25 26 clocks: 26 clocks: 27 items: 27 items: 28 - description: Peripheral clock 28 - description: Peripheral clock 29 29 30 clock-names: 30 clock-names: 31 items: 31 items: 32 - const: pclk 32 - const: pclk 33 33 34 reg: 34 reg: 35 maxItems: 1 35 maxItems: 1 36 36 37 resets: 37 resets: 38 maxItems: 1 38 maxItems: 1 39 39 40 AVDD-supply: 40 AVDD-supply: 41 description: 41 description: 42 Analogue power supply. 42 Analogue power supply. 43 43 44 sound-name-prefix: true 44 sound-name-prefix: true 45 45 46 required: 46 required: 47 - "#sound-dai-cells" 47 - "#sound-dai-cells" 48 - compatible 48 - compatible 49 - reg 49 - reg 50 - clocks 50 - clocks 51 - clock-names 51 - clock-names 52 - resets 52 - resets 53 - AVDD-supply 53 - AVDD-supply 54 54 55 additionalProperties: false 55 additionalProperties: false 56 56 57 examples: 57 examples: 58 - | 58 - | 59 #include <dt-bindings/clock/g12a-clkc.h> 59 #include <dt-bindings/clock/g12a-clkc.h> 60 #include <dt-bindings/reset/amlogic,meson- 60 #include <dt-bindings/reset/amlogic,meson-g12a-reset.h> 61 61 62 acodec: audio-controller@32000 { 62 acodec: audio-controller@32000 { 63 compatible = "amlogic,t9015"; 63 compatible = "amlogic,t9015"; 64 reg = <0x32000 0x14>; 64 reg = <0x32000 0x14>; 65 #sound-dai-cells = <0>; 65 #sound-dai-cells = <0>; 66 clocks = <&clkc CLKID_AUDIO_CODEC>; 66 clocks = <&clkc CLKID_AUDIO_CODEC>; 67 clock-names = "pclk"; 67 clock-names = "pclk"; 68 resets = <&reset RESET_AUDIO_CODEC>; 68 resets = <&reset RESET_AUDIO_CODEC>; 69 AVDD-supply = <&vddao_1v8>; 69 AVDD-supply = <&vddao_1v8>; 70 }; 70 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.