File tree 4 files changed +54
-0
lines changed
arch/arm/boot/dts/overlays
4 files changed +54
-0
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,7 @@ dtbo-$(CONFIG_ARCH_BCM2835) += \
86
86
hd44780-i2c-lcd.dtbo \
87
87
hd44780-lcd.dtbo \
88
88
hdmi-backlight-hwhack-gpio.dtbo \
89
+ hifiberry-adc.dtbo \
89
90
hifiberry-amp.dtbo \
90
91
hifiberry-amp100.dtbo \
91
92
hifiberry-amp3.dtbo \
Original file line number Diff line number Diff line change @@ -1786,6 +1786,13 @@ Params: gpio_pin GPIO pin used (default 17)
1786
1786
expects a high to switch it on.
1787
1787
1788
1788
1789
+ Name: hifiberry-adc
1790
+ Info: Configures the HifiBerry ADC audio card
1791
+ Load: dtoverlay=hifiberry-adc,<param>=<val>
1792
+ Params: leds_off If set to 'true' the onboard indicator LED
1793
+ is switched off at all times.
1794
+
1795
+
1789
1796
Name: hifiberry-amp
1790
1797
Info: Configures the HifiBerry Amp and Amp+ audio cards
1791
1798
Load: dtoverlay=hifiberry-amp
Original file line number Diff line number Diff line change
1
+ // SPDX-License-Identifier: GPL-2.0
2
+ // Definitions for HiFiBerry ADC, no onboard clocks
3
+ /dts-v1/;
4
+ /plugin/;
5
+
6
+ / {
7
+ compatible = "brcm,bcm2835";
8
+
9
+ fragment@0 {
10
+ target = <&i2s_clk_producer>;
11
+ __overlay__ {
12
+ status = "okay";
13
+ };
14
+ };
15
+
16
+ fragment@1 {
17
+ target = <&i2c1>;
18
+ __overlay__ {
19
+ #address-cells = <1>;
20
+ #size-cells = <0>;
21
+ status = "okay";
22
+
23
+ hb_adc: pcm186x@4a {
24
+ #sound-dai-cells = <0>;
25
+ compatible = "ti,pcm1863";
26
+ reg = <0x4a>;
27
+ status = "okay";
28
+ };
29
+ };
30
+ };
31
+
32
+ fragment@2 {
33
+ target = <&sound>;
34
+ hifiberry_adc: __overlay__ {
35
+ compatible = "hifiberry,hifiberry-adc";
36
+ audio-codec = <&hb_adc>;
37
+ i2s-controller = <&i2s_clk_producer>;
38
+ status = "okay";
39
+ };
40
+ };
41
+
42
+ __overrides__ {
43
+ leds_off = <&hifiberry_adc>,"hifiberry-adc,leds_off?";
44
+ };
45
+ };
Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ config SND_BCM2708_SOC_HIFIBERRY_ADC
45
45
select SND_RPI_HIFIBERRY_ADC
46
46
help
47
47
Say Y or M if you want to add support for HifiBerry ADC.
48
+ Use this module for HiFiBerry's ADC-only sound cards
48
49
49
50
config SND_BCM2708_SOC_HIFIBERRY_DAC
50
51
tristate "Support for HifiBerry DAC and DAC8X"
You can’t perform that action at this time.
0 commit comments