Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions arch/arm/boot/dts/overlays/README
Original file line number Diff line number Diff line change
Expand Up @@ -1773,7 +1773,7 @@ Params: <None>


Name: hifiberry-dac8x
Info: Configures the HifiBerry DAC8X audio cards (only on PI5)
Info: Configures the HifiBerry DAC8X audio cards (only on Pi5)
Load: dtoverlay=hifiberry-dac8x
Params: <None>

Expand Down Expand Up @@ -1860,8 +1860,6 @@ Params: 24db_digital_gain Allow gain to be applied via the PCM512x codec
responsibility of the user to ensure that
the Digital volume control is set to a value
that does not result in clipping/distortion!)
slave Force DAC+ADC into slave mode, using Pi as
master for bit clock and frame clock.
leds_off If set to 'true' the onboard indicator LEDs
are switched off at all times.

Expand Down
12 changes: 5 additions & 7 deletions arch/arm/boot/dts/overlays/hifiberry-dacplusadc-overlay.dts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Definitions for HiFiBerry DAC+ADC
// Definitions for HiFiBerry DAC+ADC, no onboard clocks
/dts-v1/;
/plugin/;

Expand All @@ -15,8 +15,8 @@
};
};

frag1: fragment@1 {
target = <&i2s_clk_consumer>;
fragment@1 {
target = <&i2s_clk_producer>;
__overlay__ {
status = "okay";
};
Expand Down Expand Up @@ -58,17 +58,15 @@
target = <&sound>;
hifiberry_dacplusadc: __overlay__ {
compatible = "hifiberry,hifiberry-dacplusadc";
i2s-controller = <&i2s_clk_consumer>;
i2s-controller = <&i2s_clk_producer>;
hifiberry-dacplusadc,slave;
status = "okay";
};
};

__overrides__ {
24db_digital_gain =
<&hifiberry_dacplusadc>,"hifiberry,24db_digital_gain?";
slave = <&hifiberry_dacplusadc>,"hifiberry-dacplusadc,slave?",
<&frag1>,"target:0=",<&i2s_clk_producer>,
<&hifiberry_dacplusadc>,"i2s-controller:0=",<&i2s_clk_producer>;
leds_off = <&hifiberry_dacplusadc>,"hifiberry-dacplusadc,leds_off?";
};
};