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/allwi 4 $id: http://devicetree.org/schemas/sound/allwinner,sun8i-a33-codec.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Allwinner A33 Codec 7 title: Allwinner A33 Codec 8 8 9 maintainers: 9 maintainers: 10 - Chen-Yu Tsai <wens@csie.org> 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 11 - Maxime Ripard <mripard@kernel.org> 12 12 13 allOf: 13 allOf: 14 - $ref: dai-common.yaml# 14 - $ref: dai-common.yaml# 15 15 16 properties: 16 properties: 17 "#sound-dai-cells": 17 "#sound-dai-cells": 18 minimum: 0 18 minimum: 0 19 maximum: 1 19 maximum: 1 20 description: 20 description: 21 A value of 0 is deprecated. When used, i 21 A value of 0 is deprecated. When used, it only allows access to 22 the ADC/DAC and AIF1 (the CPU DAI), not 22 the ADC/DAC and AIF1 (the CPU DAI), not the other two AIFs/DAIs. 23 23 24 compatible: 24 compatible: 25 oneOf: 25 oneOf: 26 - items: 26 - items: 27 - const: allwinner,sun50i-a64-codec 27 - const: allwinner,sun50i-a64-codec 28 - const: allwinner,sun8i-a33-codec 28 - const: allwinner,sun8i-a33-codec 29 - const: allwinner,sun8i-a33-codec 29 - const: allwinner,sun8i-a33-codec 30 30 31 reg: 31 reg: 32 maxItems: 1 32 maxItems: 1 33 33 34 interrupts: 34 interrupts: 35 maxItems: 1 35 maxItems: 1 36 36 37 clocks: 37 clocks: 38 items: 38 items: 39 - description: Bus Clock 39 - description: Bus Clock 40 - description: Module Clock 40 - description: Module Clock 41 41 42 clock-names: 42 clock-names: 43 items: 43 items: 44 - const: bus 44 - const: bus 45 - const: mod 45 - const: mod 46 46 47 required: 47 required: 48 - "#sound-dai-cells" 48 - "#sound-dai-cells" 49 - compatible 49 - compatible 50 - reg 50 - reg 51 - interrupts 51 - interrupts 52 - clocks 52 - clocks 53 - clock-names 53 - clock-names 54 54 55 unevaluatedProperties: false 55 unevaluatedProperties: false 56 56 57 examples: 57 examples: 58 - | 58 - | 59 audio-codec@1c22e00 { 59 audio-codec@1c22e00 { 60 #sound-dai-cells = <1>; 60 #sound-dai-cells = <1>; 61 compatible = "allwinner,sun8i-a33-codec" 61 compatible = "allwinner,sun8i-a33-codec"; 62 reg = <0x01c22e00 0x400>; 62 reg = <0x01c22e00 0x400>; 63 interrupts = <0 29 4>; 63 interrupts = <0 29 4>; 64 clocks = <&ccu 47>, <&ccu 92>; 64 clocks = <&ccu 47>, <&ccu 92>; 65 clock-names = "bus", "mod"; 65 clock-names = "bus", "mod"; 66 }; 66 }; 67 67 68 ... 68 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.