xref: /freebsd/sys/contrib/device-tree/Bindings/sound/cirrus,cs4270.yaml (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
1*0e8011faSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*0e8011faSEmmanuel Vadot%YAML 1.2
3*0e8011faSEmmanuel Vadot---
4*0e8011faSEmmanuel Vadot$id: http://devicetree.org/schemas/sound/cirrus,cs4270.yaml#
5*0e8011faSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*0e8011faSEmmanuel Vadot
7*0e8011faSEmmanuel Vadottitle: Cirrus Logic CS4270 audio CODEC
8*0e8011faSEmmanuel Vadot
9*0e8011faSEmmanuel Vadotmaintainers:
10*0e8011faSEmmanuel Vadot  - patches@opensource.cirrus.com
11*0e8011faSEmmanuel Vadot
12*0e8011faSEmmanuel Vadotdescription:
13*0e8011faSEmmanuel Vadot  The CS4270 is a stereo audio codec. The driver for this device currently only
14*0e8011faSEmmanuel Vadot  supports I2C.
15*0e8011faSEmmanuel Vadot
16*0e8011faSEmmanuel VadotallOf:
17*0e8011faSEmmanuel Vadot  - $ref: dai-common.yaml#
18*0e8011faSEmmanuel Vadot
19*0e8011faSEmmanuel Vadotproperties:
20*0e8011faSEmmanuel Vadot  compatible:
21*0e8011faSEmmanuel Vadot    const: cirrus,cs4270
22*0e8011faSEmmanuel Vadot
23*0e8011faSEmmanuel Vadot  reg:
24*0e8011faSEmmanuel Vadot    maxItems: 1
25*0e8011faSEmmanuel Vadot
26*0e8011faSEmmanuel Vadot  '#sound-dai-cells':
27*0e8011faSEmmanuel Vadot    const: 0
28*0e8011faSEmmanuel Vadot
29*0e8011faSEmmanuel Vadot  reset-gpios:
30*0e8011faSEmmanuel Vadot    description:
31*0e8011faSEmmanuel Vadot      This pin will be deasserted before communication to the codec starts.
32*0e8011faSEmmanuel Vadot    maxItems: 1
33*0e8011faSEmmanuel Vadot
34*0e8011faSEmmanuel Vadot  va-supply:
35*0e8011faSEmmanuel Vadot    description: Analog power supply.
36*0e8011faSEmmanuel Vadot
37*0e8011faSEmmanuel Vadot  vd-supply:
38*0e8011faSEmmanuel Vadot    description: Digital power supply.
39*0e8011faSEmmanuel Vadot
40*0e8011faSEmmanuel Vadot  vlc-supply:
41*0e8011faSEmmanuel Vadot    description: Serial Control Port power supply.
42*0e8011faSEmmanuel Vadot
43*0e8011faSEmmanuel Vadotrequired:
44*0e8011faSEmmanuel Vadot  - compatible
45*0e8011faSEmmanuel Vadot  - reg
46*0e8011faSEmmanuel Vadot
47*0e8011faSEmmanuel VadotunevaluatedProperties: false
48*0e8011faSEmmanuel Vadot
49*0e8011faSEmmanuel Vadotexamples:
50*0e8011faSEmmanuel Vadot  - |
51*0e8011faSEmmanuel Vadot    i2c {
52*0e8011faSEmmanuel Vadot      #address-cells = <1>;
53*0e8011faSEmmanuel Vadot      #size-cells = <0>;
54*0e8011faSEmmanuel Vadot
55*0e8011faSEmmanuel Vadot      codec@48 {
56*0e8011faSEmmanuel Vadot          compatible = "cirrus,cs4270";
57*0e8011faSEmmanuel Vadot          reg = <0x48>;
58*0e8011faSEmmanuel Vadot      };
59*0e8011faSEmmanuel Vadot    };
60