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