1*e3fff693SAnimesh Agarwal# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*e3fff693SAnimesh Agarwal%YAML 1.2 3*e3fff693SAnimesh Agarwal--- 4*e3fff693SAnimesh Agarwal$id: http://devicetree.org/schemas/sound/cirrus,cs42xx8.yaml# 5*e3fff693SAnimesh Agarwal$schema: http://devicetree.org/meta-schemas/core.yaml# 6*e3fff693SAnimesh Agarwal 7*e3fff693SAnimesh Agarwaltitle: Cirrus Logic CS42448/CS42888 audio CODEC 8*e3fff693SAnimesh Agarwal 9*e3fff693SAnimesh Agarwalmaintainers: 10*e3fff693SAnimesh Agarwal - patches@opensource.cirrus.com 11*e3fff693SAnimesh Agarwal 12*e3fff693SAnimesh Agarwalproperties: 13*e3fff693SAnimesh Agarwal compatible: 14*e3fff693SAnimesh Agarwal enum: 15*e3fff693SAnimesh Agarwal - cirrus,cs42448 16*e3fff693SAnimesh Agarwal - cirrus,cs42888 17*e3fff693SAnimesh Agarwal 18*e3fff693SAnimesh Agarwal reg: 19*e3fff693SAnimesh Agarwal maxItems: 1 20*e3fff693SAnimesh Agarwal 21*e3fff693SAnimesh Agarwal clocks: 22*e3fff693SAnimesh Agarwal minItems: 1 23*e3fff693SAnimesh Agarwal maxItems: 2 24*e3fff693SAnimesh Agarwal 25*e3fff693SAnimesh Agarwal clock-names: 26*e3fff693SAnimesh Agarwal const: mclk 27*e3fff693SAnimesh Agarwal 28*e3fff693SAnimesh Agarwal VA-supply: 29*e3fff693SAnimesh Agarwal description: Analog power supply. 30*e3fff693SAnimesh Agarwal 31*e3fff693SAnimesh Agarwal VD-supply: 32*e3fff693SAnimesh Agarwal description: Digital power supply. 33*e3fff693SAnimesh Agarwal 34*e3fff693SAnimesh Agarwal VLC-supply: 35*e3fff693SAnimesh Agarwal description: Control port power supply 36*e3fff693SAnimesh Agarwal 37*e3fff693SAnimesh Agarwal VLS-supply: 38*e3fff693SAnimesh Agarwal description: Serial port interface power supply. 39*e3fff693SAnimesh Agarwal 40*e3fff693SAnimesh Agarwal reset-gpios: 41*e3fff693SAnimesh Agarwal description: This pin is connected to the chip's RESET pin. 42*e3fff693SAnimesh Agarwal maxItems: 1 43*e3fff693SAnimesh Agarwal 44*e3fff693SAnimesh Agarwalrequired: 45*e3fff693SAnimesh Agarwal - compatible 46*e3fff693SAnimesh Agarwal - reg 47*e3fff693SAnimesh Agarwal - clocks 48*e3fff693SAnimesh Agarwal - clock-names 49*e3fff693SAnimesh Agarwal 50*e3fff693SAnimesh Agarwalif: 51*e3fff693SAnimesh Agarwal properties: 52*e3fff693SAnimesh Agarwal compatible: 53*e3fff693SAnimesh Agarwal contains: 54*e3fff693SAnimesh Agarwal const: cirrus,cs42888 55*e3fff693SAnimesh Agarwalthen: 56*e3fff693SAnimesh Agarwal required: 57*e3fff693SAnimesh Agarwal - VA-supply 58*e3fff693SAnimesh Agarwal - VD-supply 59*e3fff693SAnimesh Agarwal - VLC-supply 60*e3fff693SAnimesh Agarwal - VLS-supply 61*e3fff693SAnimesh Agarwal 62*e3fff693SAnimesh AgarwaladditionalProperties: false 63*e3fff693SAnimesh Agarwal 64*e3fff693SAnimesh Agarwalexamples: 65*e3fff693SAnimesh Agarwal - | 66*e3fff693SAnimesh Agarwal i2c { 67*e3fff693SAnimesh Agarwal #address-cells = <1>; 68*e3fff693SAnimesh Agarwal #size-cells = <0>; 69*e3fff693SAnimesh Agarwal 70*e3fff693SAnimesh Agarwal codec@48 { 71*e3fff693SAnimesh Agarwal compatible = "cirrus,cs42888"; 72*e3fff693SAnimesh Agarwal reg = <0x48>; 73*e3fff693SAnimesh Agarwal clocks = <&codec_mclk 0>; 74*e3fff693SAnimesh Agarwal clock-names = "mclk"; 75*e3fff693SAnimesh Agarwal VA-supply = <®_audio>; 76*e3fff693SAnimesh Agarwal VD-supply = <®_audio>; 77*e3fff693SAnimesh Agarwal VLS-supply = <®_audio>; 78*e3fff693SAnimesh Agarwal VLC-supply = <®_audio>; 79*e3fff693SAnimesh Agarwal reset-gpios = <&gpio 1>; 80*e3fff693SAnimesh Agarwal }; 81*e3fff693SAnimesh Agarwal }; 82