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