Skip to content

Commit 24a3c0c

Browse files
ES9023: i-sabre-dac overlay
Add i-sabre-dac overlay for Audiophonics I-Sabre DAC. ## ## Audiophonics I-Sabre DAC ## ## card_name = "ISabre" ## dai_name = "ISabre DAC" ## dai_stream_name = "ISabre DAC HiFi" ## # dtoverlay=i-sabre-dac # dtoverlay=i-sabre-dac,bclk_ratio_integer_div # dtoverlay=i-sabre-dac,bclk_ratio_integer_div,384k v4 using SNDRV_PCM_RATE_KNOT. Signed-off-by: DigitalDreamtime <[email protected]>
1 parent 6a552ea commit 24a3c0c

File tree

3 files changed

+57
-0
lines changed

3 files changed

+57
-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.dtbo

arch/arm/boot/dts/overlays/README

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,20 @@ Params: speed Display SPI bus speed
438438
ledgpio GPIO used to control backlight
439439

440440

441+
Name: i-sabre-dac
442+
Info: Configures the Audiophonics I-Sabre DAC
443+
Load: dtoverlay=i-sabre-dac,<param>
444+
Params: bclk_ratio_integer_div Use bclk_ratio=50 for 16 and 24 bps and
445+
bclk_ratio=100 for 32 bps media when sample rate
446+
is a multiple of 8000 and less than 192kHz,
447+
which allows the use of the OSC with integer
448+
divider rather than PLL with fractional (MASH)
449+
divider. Enable with
450+
"dtoverlay=akkordion-dac,bclk_ratio_integer_div"
451+
384k Instructs the es9023 codec driver to support
452+
352k8 and 384k sample rates.
453+
454+
441455
Name: i2c-gpio
442456
Info: Adds support for software i2c controller on gpio pins
443457
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+
384k = <&es9023>,"es9023,384k?";
40+
bclk_ratio_integer_div = <&frag2>,"es9023,bclk_ratio_integer_div?";
41+
};
42+
};

0 commit comments

Comments
 (0)