1*5f62a964SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*5f62a964SEmmanuel Vadot%YAML 1.2 3*5f62a964SEmmanuel Vadot--- 4*5f62a964SEmmanuel Vadot$id: http://devicetree.org/schemas/sound/rockchip,rk3036-codec.yaml# 5*5f62a964SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*5f62a964SEmmanuel Vadot 7*5f62a964SEmmanuel Vadottitle: Rockchip RK3036 internal codec 8*5f62a964SEmmanuel Vadot 9*5f62a964SEmmanuel Vadotmaintainers: 10*5f62a964SEmmanuel Vadot - Heiko Stuebner <heiko@sntech.de> 11*5f62a964SEmmanuel Vadot 12*5f62a964SEmmanuel VadotallOf: 13*5f62a964SEmmanuel Vadot - $ref: dai-common.yaml# 14*5f62a964SEmmanuel Vadot 15*5f62a964SEmmanuel Vadotproperties: 16*5f62a964SEmmanuel Vadot compatible: 17*5f62a964SEmmanuel Vadot const: rockchip,rk3036-codec 18*5f62a964SEmmanuel Vadot 19*5f62a964SEmmanuel Vadot reg: 20*5f62a964SEmmanuel Vadot maxItems: 1 21*5f62a964SEmmanuel Vadot 22*5f62a964SEmmanuel Vadot clocks: 23*5f62a964SEmmanuel Vadot items: 24*5f62a964SEmmanuel Vadot - description: clock for audio codec 25*5f62a964SEmmanuel Vadot 26*5f62a964SEmmanuel Vadot clock-names: 27*5f62a964SEmmanuel Vadot items: 28*5f62a964SEmmanuel Vadot - const: acodec_pclk 29*5f62a964SEmmanuel Vadot 30*5f62a964SEmmanuel Vadot rockchip,grf: 31*5f62a964SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/phandle 32*5f62a964SEmmanuel Vadot description: 33*5f62a964SEmmanuel Vadot The phandle of the syscon node for the GRF register. 34*5f62a964SEmmanuel Vadot 35*5f62a964SEmmanuel Vadot "#sound-dai-cells": 36*5f62a964SEmmanuel Vadot const: 0 37*5f62a964SEmmanuel Vadot 38*5f62a964SEmmanuel Vadotrequired: 39*5f62a964SEmmanuel Vadot - compatible 40*5f62a964SEmmanuel Vadot - reg 41*5f62a964SEmmanuel Vadot - clocks 42*5f62a964SEmmanuel Vadot - clock-names 43*5f62a964SEmmanuel Vadot - rockchip,grf 44*5f62a964SEmmanuel Vadot - "#sound-dai-cells" 45*5f62a964SEmmanuel Vadot 46*5f62a964SEmmanuel VadotunevaluatedProperties: false 47*5f62a964SEmmanuel Vadot 48*5f62a964SEmmanuel Vadotexamples: 49*5f62a964SEmmanuel Vadot - | 50*5f62a964SEmmanuel Vadot #include <dt-bindings/clock/rk3036-cru.h> 51*5f62a964SEmmanuel Vadot acodec: audio-codec@20030000 { 52*5f62a964SEmmanuel Vadot compatible = "rockchip,rk3036-codec"; 53*5f62a964SEmmanuel Vadot reg = <0x20030000 0x4000>; 54*5f62a964SEmmanuel Vadot rockchip,grf = <&grf>; 55*5f62a964SEmmanuel Vadot clock-names = "acodec_pclk"; 56*5f62a964SEmmanuel Vadot clocks = <&cru ACLK_VCODEC>; 57*5f62a964SEmmanuel Vadot #sound-dai-cells = <0>; 58*5f62a964SEmmanuel Vadot }; 59