1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0 2c66ec88fSEmmanuel Vadot%YAML 1.2 3c66ec88fSEmmanuel Vadot--- 4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/sound/allwinner,sun8i-a33-codec.yaml# 5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 77ef62cebSEmmanuel Vadottitle: Allwinner A33 Codec 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotmaintainers: 10c66ec88fSEmmanuel Vadot - Chen-Yu Tsai <wens@csie.org> 11c66ec88fSEmmanuel Vadot - Maxime Ripard <mripard@kernel.org> 12c66ec88fSEmmanuel Vadot 13*8bab661aSEmmanuel VadotallOf: 14*8bab661aSEmmanuel Vadot - $ref: dai-common.yaml# 15*8bab661aSEmmanuel Vadot 16c66ec88fSEmmanuel Vadotproperties: 17c66ec88fSEmmanuel Vadot "#sound-dai-cells": 185956d97fSEmmanuel Vadot minimum: 0 195956d97fSEmmanuel Vadot maximum: 1 205956d97fSEmmanuel Vadot description: 215956d97fSEmmanuel Vadot A value of 0 is deprecated. When used, it only allows access to 225956d97fSEmmanuel Vadot the ADC/DAC and AIF1 (the CPU DAI), not the other two AIFs/DAIs. 23c66ec88fSEmmanuel Vadot 24c66ec88fSEmmanuel Vadot compatible: 256be33864SEmmanuel Vadot oneOf: 266be33864SEmmanuel Vadot - items: 276be33864SEmmanuel Vadot - const: allwinner,sun50i-a64-codec 286be33864SEmmanuel Vadot - const: allwinner,sun8i-a33-codec 296be33864SEmmanuel Vadot - const: allwinner,sun8i-a33-codec 30c66ec88fSEmmanuel Vadot 31c66ec88fSEmmanuel Vadot reg: 32c66ec88fSEmmanuel Vadot maxItems: 1 33c66ec88fSEmmanuel Vadot 34c66ec88fSEmmanuel Vadot interrupts: 35c66ec88fSEmmanuel Vadot maxItems: 1 36c66ec88fSEmmanuel Vadot 37c66ec88fSEmmanuel Vadot clocks: 38c66ec88fSEmmanuel Vadot items: 39c66ec88fSEmmanuel Vadot - description: Bus Clock 40c66ec88fSEmmanuel Vadot - description: Module Clock 41c66ec88fSEmmanuel Vadot 42c66ec88fSEmmanuel Vadot clock-names: 43c66ec88fSEmmanuel Vadot items: 44c66ec88fSEmmanuel Vadot - const: bus 45c66ec88fSEmmanuel Vadot - const: mod 46c66ec88fSEmmanuel Vadot 47c66ec88fSEmmanuel Vadotrequired: 48c66ec88fSEmmanuel Vadot - "#sound-dai-cells" 49c66ec88fSEmmanuel Vadot - compatible 50c66ec88fSEmmanuel Vadot - reg 51c66ec88fSEmmanuel Vadot - interrupts 52c66ec88fSEmmanuel Vadot - clocks 53c66ec88fSEmmanuel Vadot - clock-names 54c66ec88fSEmmanuel Vadot 55*8bab661aSEmmanuel VadotunevaluatedProperties: false 56c66ec88fSEmmanuel Vadot 57c66ec88fSEmmanuel Vadotexamples: 58c66ec88fSEmmanuel Vadot - | 59c66ec88fSEmmanuel Vadot audio-codec@1c22e00 { 605956d97fSEmmanuel Vadot #sound-dai-cells = <1>; 61c66ec88fSEmmanuel Vadot compatible = "allwinner,sun8i-a33-codec"; 62c66ec88fSEmmanuel Vadot reg = <0x01c22e00 0x400>; 63c66ec88fSEmmanuel Vadot interrupts = <0 29 4>; 64c66ec88fSEmmanuel Vadot clocks = <&ccu 47>, <&ccu 92>; 65c66ec88fSEmmanuel Vadot clock-names = "bus", "mod"; 66c66ec88fSEmmanuel Vadot }; 67c66ec88fSEmmanuel Vadot 68c66ec88fSEmmanuel Vadot... 69