]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/sound/ak4642.txt
Merge remote-tracking branch 'input/next'
[karo-tx-linux.git] / Documentation / devicetree / bindings / sound / ak4642.txt
1 AK4642 I2C transmitter
2
3 This device supports I2C mode only.
4
5 Required properties:
6
7   - compatible : "asahi-kasei,ak4642" or "asahi-kasei,ak4643" or "asahi-kasei,ak4648"
8   - reg : The chip select number on the I2C bus
9
10 Optional properties:
11
12   - #clock-cells :              common clock binding; shall be set to 0
13   - clocks :                    common clock binding; MCKI clock
14   - clock-frequency :           common clock binding; frequency of MCKO
15   - clock-output-names :        common clock binding; MCKO clock name
16
17 Example 1:
18
19 &i2c {
20         ak4648: ak4648@0x12 {
21                 compatible = "asahi-kasei,ak4642";
22                 reg = <0x12>;
23         };
24 };
25
26 Example 2:
27
28 &i2c {
29         ak4643: codec@12 {
30                 compatible = "asahi-kasei,ak4643";
31                 reg = <0x12>;
32                 #clock-cells = <0>;
33                 clocks = <&audio_clock>;
34                 clock-frequency = <12288000>;
35                 clock-output-names = "ak4643_mcko";
36         };
37 };