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