18a99f76aSMaxime Ripard# SPDX-License-Identifier: GPL-2.0 28a99f76aSMaxime Ripard%YAML 1.2 38a99f76aSMaxime Ripard--- 48a99f76aSMaxime Ripard$id: http://devicetree.org/schemas/sound/allwinner,sun8i-a33-codec.yaml# 58a99f76aSMaxime Ripard$schema: http://devicetree.org/meta-schemas/core.yaml# 68a99f76aSMaxime Ripard 7*dd3cb467SAndrew Lunntitle: Allwinner A33 Codec 88a99f76aSMaxime Ripard 98a99f76aSMaxime Ripardmaintainers: 108a99f76aSMaxime Ripard - Chen-Yu Tsai <wens@csie.org> 115c7404bbSMaxime Ripard - Maxime Ripard <mripard@kernel.org> 128a99f76aSMaxime Ripard 138a99f76aSMaxime Ripardproperties: 148a99f76aSMaxime Ripard "#sound-dai-cells": 15880e007fSSamuel Holland minimum: 0 16880e007fSSamuel Holland maximum: 1 17880e007fSSamuel Holland description: 18880e007fSSamuel Holland A value of 0 is deprecated. When used, it only allows access to 19880e007fSSamuel Holland the ADC/DAC and AIF1 (the CPU DAI), not the other two AIFs/DAIs. 208a99f76aSMaxime Ripard 218a99f76aSMaxime Ripard compatible: 22cef305d4SSamuel Holland oneOf: 23cef305d4SSamuel Holland - items: 24cef305d4SSamuel Holland - const: allwinner,sun50i-a64-codec 25cef305d4SSamuel Holland - const: allwinner,sun8i-a33-codec 26cef305d4SSamuel Holland - const: allwinner,sun8i-a33-codec 278a99f76aSMaxime Ripard 288a99f76aSMaxime Ripard reg: 298a99f76aSMaxime Ripard maxItems: 1 308a99f76aSMaxime Ripard 318a99f76aSMaxime Ripard interrupts: 328a99f76aSMaxime Ripard maxItems: 1 338a99f76aSMaxime Ripard 348a99f76aSMaxime Ripard clocks: 358a99f76aSMaxime Ripard items: 368a99f76aSMaxime Ripard - description: Bus Clock 378a99f76aSMaxime Ripard - description: Module Clock 388a99f76aSMaxime Ripard 398a99f76aSMaxime Ripard clock-names: 408a99f76aSMaxime Ripard items: 418a99f76aSMaxime Ripard - const: bus 428a99f76aSMaxime Ripard - const: mod 438a99f76aSMaxime Ripard 448a99f76aSMaxime Ripardrequired: 458a99f76aSMaxime Ripard - "#sound-dai-cells" 468a99f76aSMaxime Ripard - compatible 478a99f76aSMaxime Ripard - reg 488a99f76aSMaxime Ripard - interrupts 498a99f76aSMaxime Ripard - clocks 508a99f76aSMaxime Ripard - clock-names 518a99f76aSMaxime Ripard 528a99f76aSMaxime RipardadditionalProperties: false 538a99f76aSMaxime Ripard 548a99f76aSMaxime Ripardexamples: 558a99f76aSMaxime Ripard - | 568a99f76aSMaxime Ripard audio-codec@1c22e00 { 57880e007fSSamuel Holland #sound-dai-cells = <1>; 588a99f76aSMaxime Ripard compatible = "allwinner,sun8i-a33-codec"; 598a99f76aSMaxime Ripard reg = <0x01c22e00 0x400>; 608a99f76aSMaxime Ripard interrupts = <0 29 4>; 618a99f76aSMaxime Ripard clocks = <&ccu 47>, <&ccu 92>; 628a99f76aSMaxime Ripard clock-names = "bus", "mod"; 638a99f76aSMaxime Ripard }; 648a99f76aSMaxime Ripard 658a99f76aSMaxime Ripard... 66