Kuninori Morimoto | bbf1453 | 2013-01-10 00:29:11 -0800 | [diff] [blame] | 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 | |
Kuninori Morimoto | 171a013 | 2015-09-10 06:40:19 +0000 | [diff] [blame] | 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: |
Kuninori Morimoto | bbf1453 | 2013-01-10 00:29:11 -0800 | [diff] [blame] | 18 | |
| 19 | &i2c { |
| 20 | ak4648: ak4648@0x12 { |
| 21 | compatible = "asahi-kasei,ak4642"; |
| 22 | reg = <0x12>; |
| 23 | }; |
| 24 | }; |
Kuninori Morimoto | 171a013 | 2015-09-10 06:40:19 +0000 | [diff] [blame] | 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 | }; |