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