Skip to content

Commit be0708d

Browse files
ES9023: i-sabre-dac overlay
Add i-sabre-dac overlay for Audiophonics I-Sabre DAC. Signed-off-by: DigitalDreamtime <[email protected]>
1 parent f6b39e7 commit be0708d

File tree

3 files changed

+59
-0
lines changed

3 files changed

+59
-0
lines changed

arch/arm/boot/dts/overlays/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ dtbo-$(RPI_DT_OVERLAYS) += hifiberry-dacplus.dtbo
3434
dtbo-$(RPI_DT_OVERLAYS) += hifiberry-digi.dtbo
3535
dtbo-$(RPI_DT_OVERLAYS) += hy28a.dtbo
3636
dtbo-$(RPI_DT_OVERLAYS) += hy28b.dtbo
37+
dtbo-$(RPI_DT_OVERLAYS) += i-sabre-dac.dtbo
3738
dtbo-$(RPI_DT_OVERLAYS) += i2c-rtc.dtbo
3839
dtbo-$(RPI_DT_OVERLAYS) += i2c-gpio.dtbo
3940
dtbo-$(RPI_DT_OVERLAYS) += i2c-mux-pca9548a.dtbo

arch/arm/boot/dts/overlays/README

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,22 @@ Params: speed Display SPI bus speed
442442
ledgpio GPIO used to control backlight
443443

444444

445+
Name: i-sabre-dac
446+
Info: Configures the Audiophonics I-Sabre DAC
447+
Load: dtoverlay=i-sabre-dac,<param>
448+
Params: bclk_ratio_integer_div Use bclk_ratio=50 for 16 and 24 bps and
449+
bclk_ratio=100 for 32 bps media when sample rate
450+
is a multiple of 8000 and less than 192kHz,
451+
which allows the use of the OSC with integer
452+
divider rather than PLL with fractional (MASH)
453+
divider. Enable with
454+
"dtoverlay=akkordion-dac,bclk_ratio_integer_div"
455+
max_rate Instructs the es9023 codec driver to support
456+
352k8 and 384k sample rates, assuming the kernel
457+
has been compiled with support for these sample
458+
rates.
459+
460+
445461
Name: i2c-gpio
446462
Info: Adds support for software i2c controller on gpio pins
447463
Load: dtoverlay=i2c-gpio,<param>=<val>
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
// Definitions for Audiophonics I-Sabre DAC
2+
/dts-v1/;
3+
/plugin/;
4+
5+
/ {
6+
compatible = "brcm,bcm2708";
7+
8+
fragment@0 {
9+
target = <&i2s>;
10+
__overlay__ {
11+
status = "okay";
12+
};
13+
};
14+
15+
fragment@1 {
16+
target-path = "/";
17+
__overlay__ {
18+
es9023: es9023-codec {
19+
#sound-dai-cells = <0>;
20+
compatible = "ess,es9023";
21+
status = "okay";
22+
};
23+
};
24+
};
25+
26+
fragment@2 {
27+
target = <&sound>;
28+
frag2: __overlay__ {
29+
compatible = "audiphonics,i-sabre-dac";
30+
card_name = "ISabre";
31+
dai_name = "ISabre DAC";
32+
dai_stream_name = "ISabre DAC HiFi";
33+
i2s-controller = <&i2s>;
34+
status = "okay";
35+
};
36+
};
37+
38+
__overrides__ {
39+
max_rate = <&es9023>,"es9023,max_rate?";
40+
bclk_ratio_integer_div = <&frag2>,"es9023,bclk_ratio_integer_div?";
41+
};
42+
};

0 commit comments

Comments
 (0)