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: << 13 - $ref: dai-common.yaml# << 14 << 15 properties: 12 properties: 16 $nodename: 13 $nodename: 17 pattern: "^audio-controller@.*" 14 pattern: "^audio-controller@.*" 18 15 19 "#sound-dai-cells": 16 "#sound-dai-cells": 20 const: 0 17 const: 0 21 18 22 compatible: 19 compatible: 23 items: 20 items: 24 - const: amlogic,t9015 21 - const: amlogic,t9015 25 22 26 clocks: 23 clocks: 27 items: 24 items: 28 - description: Peripheral clock 25 - description: Peripheral clock 29 26 30 clock-names: 27 clock-names: 31 items: 28 items: 32 - const: pclk 29 - const: pclk 33 30 34 reg: 31 reg: 35 maxItems: 1 32 maxItems: 1 36 33 37 resets: 34 resets: 38 maxItems: 1 35 maxItems: 1 39 36 40 AVDD-supply: << 41 description: << 42 Analogue power supply. << 43 << 44 sound-name-prefix: true << 45 << 46 required: 37 required: 47 - "#sound-dai-cells" 38 - "#sound-dai-cells" 48 - compatible 39 - compatible 49 - reg 40 - reg 50 - clocks 41 - clocks 51 - clock-names 42 - clock-names 52 - resets 43 - resets 53 - AVDD-supply << 54 44 55 additionalProperties: false 45 additionalProperties: false 56 46 57 examples: 47 examples: 58 - | 48 - | 59 #include <dt-bindings/clock/g12a-clkc.h> 49 #include <dt-bindings/clock/g12a-clkc.h> 60 #include <dt-bindings/reset/amlogic,meson- 50 #include <dt-bindings/reset/amlogic,meson-g12a-reset.h> 61 51 62 acodec: audio-controller@32000 { 52 acodec: audio-controller@32000 { 63 compatible = "amlogic,t9015"; 53 compatible = "amlogic,t9015"; 64 reg = <0x32000 0x14>; 54 reg = <0x32000 0x14>; 65 #sound-dai-cells = <0>; 55 #sound-dai-cells = <0>; 66 clocks = <&clkc CLKID_AUDIO_CODEC>; 56 clocks = <&clkc CLKID_AUDIO_CODEC>; 67 clock-names = "pclk"; 57 clock-names = "pclk"; 68 resets = <&reset RESET_AUDIO_CODEC>; 58 resets = <&reset RESET_AUDIO_CODEC>; 69 AVDD-supply = <&vddao_1v8>; << 70 }; 59 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.