Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / sound / google,cros-ec-codec.txt
1 * Audio codec controlled by ChromeOS EC
2
3 Google's ChromeOS EC codec is a digital mic codec provided by the
4 Embedded Controller (EC) and is controlled via a host-command interface.
5
6 An EC codec node should only be found as a sub-node of the EC node (see
7 Documentation/devicetree/bindings/mfd/cros-ec.txt).
8
9 Required properties:
10 - compatible: Must contain "google,cros-ec-codec"
11 - #sound-dai-cells: Should be 1. The cell specifies number of DAIs.
12 - max-dmic-gain: A number for maximum gain in dB on digital microphone.
13
14 Example:
15
16 cros-ec@0 {
17         compatible = "google,cros-ec-spi";
18
19         ...
20
21         cros_ec_codec: ec-codec {
22                 compatible = "google,cros-ec-codec";
23                 #sound-dai-cells = <1>;
24                 max-dmic-gain = <43>;
25         };
26 };