Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1* Audio codec controlled by ChromeOS EC
2
3Google's ChromeOS EC codec is a digital mic codec provided by the
4Embedded Controller (EC) and is controlled via a host-command interface.
5
6An EC codec node should only be found as a sub-node of the EC node (see
7Documentation/devicetree/bindings/mfd/cros-ec.txt).
8
9Required 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
14Example:
15
16cros-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};