1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
example for dts:
a. for mono tas2562
tas2562:tas2562@4c {
#sound-dai-cells = <0>;
compatible = "ti,tas2562";
reg = <0x4c>;
ti,left-channel = <0x4c>;
ti,channels = <1>; /* channel number */
ti,reset-gpio = <&gpio1 17 0>;
ti,irq-gpio = <&gpio1 15 0>;
status = "ok";
ti,iv-width = <16>; /* IV sense by default is set to 16 bit, in case of power Limiter it should be 12*/
ti,vbat-mon = <0>; /* By default Vbat should be 0, in case os power limiter it should be 1*/
};
b. for stereo tas2562
tas2562:tas2562@4c {
#sound-dai-cells = <0>;
compatible = "ti,tas2562";
reg = <0x4c>;
ti,left-channel = <0x4c>;
ti,right-channel = <0x4d>;
ti,channels = <2>; /* channel number */
ti,reset-gpio = <&gpio1 17 0>;
ti,reset-gpio2 = <&gpio1 16 0>;
ti,irq-gpio = <&gpio1 15 0>;
ti,irq-gpio2 = <&gpio1 14 0>;
status = "ok";
ti,iv-width = <8>; /* IV sense by default is set to 16 bit, in case of power Limiter it should be 12*/
ti,vbat-mon = <1>; /* By default Vbat should be 0, in case os power limiter it should be 1*/
};
|