Skip to content

Commit 1f672c8

Browse files
Angus_Wangjamess-huang
authored andcommitted
Porting HiFiBerry digi pro and IQAudIO dac.
Change-Id: I0b332884925b0d7d769d291631a34e4aacc7400d Reviewed-on: https://tp-biosrd-v02/gerrit/81612 Reviewed-by: Jamess Huang(黃以民) <Jamess_Huang@asus.com> Tested-by: Jamess Huang(黃以民) <Jamess_Huang@asus.com>
1 parent 210f735 commit 1f672c8

File tree

3 files changed

+89
-0
lines changed

3 files changed

+89
-0
lines changed

arch/arm/boot/dts/overlays/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ dtbo-$(CONFIG_ARCH_ROCKCHIP) += \
55
hifiberry-dac.dtbo \
66
hifiberry-dacplus.dtbo \
77
hifiberry-digi.dtbo \
8+
hifiberry-digi-pro.dtbo \
9+
iqaudio-dac.dtbo \
810
iqaudio-dacplus.dtbo \
911
iqaudio-digi-wm8804-audio.dtbo \
1012
waveshare35a-tinker.dtbo \
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
/dts-v1/;
2+
/plugin/;
3+
4+
/ {
5+
compatible = "rockchip,rk3288";
6+
7+
fragment@0 {
8+
target-path ="/sound-simple-card";
9+
__overlay__ {
10+
status = "disabled";
11+
};
12+
};
13+
14+
fragment@1 {
15+
target = <&i2c1>;
16+
__overlay__ {
17+
#address-cells = <1>;
18+
#size-cells = <0>;
19+
status = "okay";
20+
21+
wm8804@3b {
22+
#sound-dai-cells = <0>;
23+
compatible = "wlf,wm8804";
24+
reg = <0x3b>;
25+
PVDD-supply = <&vdd_3v3_reg>;
26+
DVDD-supply = <&vdd_3v3_reg>;
27+
status = "okay";
28+
};
29+
};
30+
};
31+
32+
fragment@2 {
33+
target-path = "/sound-ext-card";
34+
__overlay__ {
35+
compatible = "hifiberry,hifiberry-digi";
36+
i2s-controller = <&i2s>;
37+
status = "okay";
38+
clock44-gpio = <&gpio5 13 0>;
39+
clock48-gpio = <&gpio5 16 0>;
40+
};
41+
};
42+
};
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
/dts-v1/;
2+
/plugin/;
3+
4+
/ {
5+
compatible = "rockchip,rk3288";
6+
7+
fragment@0 {
8+
target-path ="/sound-simple-card";
9+
__overlay__ {
10+
status = "disabled";
11+
};
12+
};
13+
14+
fragment@1 {
15+
target = <&i2c1>;
16+
__overlay__ {
17+
#address-cells = <1>;
18+
#size-cells = <0>;
19+
status = "okay";
20+
21+
pcm5122@4c {
22+
#sound-dai-cells = <0>;
23+
compatible = "ti,pcm5122";
24+
reg = <0x4c>;
25+
AVDD-supply = <&vdd_3v3_reg>;
26+
DVDD-supply = <&vdd_3v3_reg>;
27+
CPVDD-supply = <&vdd_3v3_reg>;
28+
status = "okay";
29+
};
30+
};
31+
};
32+
33+
fragment@2 {
34+
target-path = "/sound-ext-card";
35+
frag2: __overlay__ {
36+
compatible = "iqaudio,iqaudio-dac";
37+
i2s-controller = <&i2s>;
38+
status = "okay";
39+
};
40+
};
41+
42+
__overrides__ {
43+
24db_digital_gain = <&frag2>,"iqaudio,24db_digital_gain?";
44+
};
45+
};

0 commit comments

Comments
 (0)