-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ES9023: hifiberry-dacpluslight-es9023-audio overlay
Add hifiberry-dacpluslight-es9023-audio overlay for HiFiBerry DAC+ Light. ## ## HiFiBerry DAC+ Light ## ## card_name = "snd_rpi_hifiberry_dac" ## dai_name = "HifiBerry DAC" ## dai_stream_name = "HifiBerry DAC HiFi" ## # dtoverlay=hifiberry-dacpluslight-es9023-audio # dtoverlay=hifiberry-dacpluslight-es9023-audio,bclk_ratio_int_div # dtoverlay=hifiberry-dacpluslight-es9023-audio,bclk_ratio_int_div,384k Signed-off-by: DigitalDreamtime <clive.messer@digitaldreamtime.co.uk>
- Loading branch information
1 parent
002b06a
commit 632b005
Showing
3 changed files
with
78 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
57 changes: 57 additions & 0 deletions
57
arch/arm/boot/dts/overlays/hifiberry-dacpluslight-es9023-audio-overlay.dts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
// Definitions for HiFiBerry DAC+ Light using ESS Sabre ES9023 DAC | ||
/dts-v1/; | ||
/plugin/; | ||
|
||
/ { | ||
compatible = "brcm,bcm2708"; | ||
|
||
fragment@0 { | ||
target = <&i2s>; | ||
__overlay__ { | ||
status = "okay"; | ||
}; | ||
}; | ||
|
||
fragment@1 { | ||
target-path = "/"; | ||
__overlay__ { | ||
es9023_codec: es9023-codec { | ||
#sound-dai-cells = <0>; | ||
compatible = "ess,es9023"; | ||
status = "okay"; | ||
}; | ||
}; | ||
}; | ||
|
||
fragment@2 { | ||
target = <&sound>; | ||
es9023_dac: __overlay__ { | ||
compatible = "hifiberry,es9023-dacpluslight"; | ||
/* | ||
* These are the default names that will be | ||
* applied by the es9023-dac machine driver | ||
* based on the compatible parameter. | ||
* | ||
* es9023-dac,card-name = "snd_rpi_hifiberry_dac"; | ||
* es9023-dac,dai-name = "HifiBerry DAC"; | ||
* es9023-dac,dai-stream-name = "HifiBerry DAC HiFi"; | ||
*/ | ||
status = "okay"; | ||
es9023-dac,cpu { | ||
sound-dai = <&i2s>; | ||
}; | ||
es9023-dac,codec { | ||
sound-dai = <&es9023_codec>; | ||
}; | ||
}; | ||
}; | ||
|
||
__overrides__ { | ||
384k = <&es9023_codec>,"es9023,384k?"; | ||
bclk_ratio_int_div = | ||
<&es9023_dac>,"es9023-dac,bclk-ratio-int-div?"; | ||
card_name = <&es9023_dac>,"es9023-dac,card-name"; | ||
dai_name = <&es9023_dac>,"es9023-dac,dai-name"; | ||
dai_stream_name = <&es9023_dac>,"es9023-dac,dai-stream-name"; | ||
}; | ||
}; |