xref: /freebsd/sys/contrib/device-tree/Bindings/sound/ak4642.txt (revision e6bfd18d21b225af6a0ed67ceeaf1293b7b9eba5)
1AK4642 I2C transmitter
2
3This device supports I2C mode only.
4
5Required 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
10Optional 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
17Example 1:
18
19&i2c {
20	ak4648: ak4648@12 {
21		compatible = "asahi-kasei,ak4642";
22		reg = <0x12>;
23	};
24};
25
26Example 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};
38