Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
linux-imx-kuk
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
4
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SECO Northern Europe
Kernel
linux-imx-kuk
Commits
17c448df
Commit
17c448df
authored
1 year ago
by
Tobias Kahlki
Committed by
Jonas Höppner
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
arm64:dts:tr8p: Combine audio nodes, drop support for: 'PCB_REVISION<2'
parent
7ebe5de8
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
arch/arm64/boot/dts/seconorth/trizeps8plus.dtsi
+38
-70
38 additions, 70 deletions
arch/arm64/boot/dts/seconorth/trizeps8plus.dtsi
arch/arm64/boot/dts/seconorth/trizeps8plus_v1r3.dtsi
+2
-2
2 additions, 2 deletions
arch/arm64/boot/dts/seconorth/trizeps8plus_v1r3.dtsi
with
40 additions
and
72 deletions
arch/arm64/boot/dts/seconorth/trizeps8plus.dtsi
+
38
−
70
View file @
17c448df
...
...
@@ -205,77 +205,40 @@ reg_usdhc2_vmmc: regulator-usdhc2-vmmc {
vin-supply = <®_vin_fused>;
};
#if defined(TRIZEPS8MINI_BT_SCO_XTOR) && (TRIZEPS8MINI_BT_SCO_XTOR==1)
sound-xtor {
compatible = "fsl,imx-audio-xtor";
model = "xtor-audio";
cpu-dai = <&sai3>;
status = "okay";
};
#else
#if 0
bt_sco_codec: bt_sco_codec {
#sound-dai-cells = <0>;
compatible = "linux,bt-sco";
};
sound-bt-sco {
compatible = "simple-audio-card";
simple-audio-card,name = "bt-sco-audio";
simple-audio-card,format = "i2s";
simple-audio-card,bitclock-inversion;
simple-audio-card,frame-master = <&btcpu>;
simple-audio-card,bitclock-master = <&btcpu>;
btcpu: simple-audio-card,cpu {
sound-dai = <&sai2>;
dai-tdm-slot-num = <2>;
dai-tdm-slot-width = <16>;
};
simple-audio-card,codec {
sound-dai = <&bt_sco_codec>;
};
sound_hdmi: sound-hdmi {
compatible = "fsl,imx-audio-cdnhdmi";
model = "audio-hdmi";
audio-cpu = <&aud2htx>;
hdmi-out;
constraint-rate = <44100>,
<88200>,
<176400>,
<32000>,
<48000>,
<96000>,
<192000>;
status = "disabled";
};
#endif
#endif
sound_hdmi: sound-hdmi {
compatible = "fsl,imx-audio-cdnhdmi";
model = "audio-hdmi";
audio-cpu = <&aud2htx>;
hdmi-out;
constraint-rate = <44100>,
<88200>,
<176400>,
<32000>,
<48000>,
<96000>,
<192000>;
status = "disabled";
};
s
ound_wm8983: sound-wm8983
{
s
imple_audio: simple-audio
{
compatible = "simple-audio-card";
status = "okay";
simple-audio-card,name = "wm8983-audio";
simple-audio-card,format = "i2s";
simple-audio-card,frame-master = <&cpudai>;
simple-audio-card,bitclock-master = <&cpudai>;
simple-audio-card,name = "wm8962-audio";
simple-audio-card,widgets =
"Headphone", "Headphone Jack",
"Speaker", "Speaker",
"Speaker", "Speaker",
"Line","LineIn Jack",
"Microphone", "Microphone";
simple-audio-card,routing =
"Headphone Jack", "HPL",
"Headphone Jack", "HPR",
"Headphone Jack", "OUT4",
"Speaker", "SPKL",
"Speaker", "SPKR",
"LineIn Jack", "L2",
"LineIn Jack", "R2",
"Microphone", "LIP",
"Microphone", "LIN",
"Headphone Jack", "HPOUTL",
"Headphone Jack", "HPOUTR",
"Speaker", "SPKOUT",
"IN4L", "LineIn Jack",
"IN4R", "LineIn Jack",
"IN1L", "Microphone",
"IN1R", "Microphone",
"Microphone", "MICBIAS";
cpudai: simple-audio-card,cpu {
...
...
@@ -285,17 +248,11 @@ cpudai: simple-audio-card,cpu {
};
simple-audio-card,codec {
sound-dai = <&
wm8983
>;
sound-dai = <&
audiocodec
>;
clocks = <&clk IMX8MP_CLK_SAI2_ROOT>;
};
};
sound-micfil {
compatible = "fsl,imx-audio-micfil";
model = "imx-audio-micfil";
cpu-dai = <&micfil>;
};
backlight1: backlight1 {
compatible = "pwm-backlight";
pwms = <&pwm1 0 100000 0>;
...
...
@@ -343,6 +300,9 @@ opp-25M {
opp-100M {
opp-hz = /bits/ 64 <100000000>;
};
&aud2htx {
#sound-dai-cells = <0>;
};
opp-750M {
opp-hz = /bits/ 64 <750000000>;
...
...
@@ -734,13 +694,21 @@ ldo5: LDO5 {
};
};
wm8983
: wm89
83
@1a { /* Audio-Codec */
audiocodec
: wm89
62
@1a { /* Audio-Codec */
#sound-dai-cells = <0>;
compatible = "kuk,wm8983";
status = "okay";
compatible = "wlf,wm8962";
reg = <0x1a>;
spk-mono;
clocks = <&clk IMX8MP_CLK_SAI2_ROOT>;
clock-names = "mclk";
DCVDD-supply = <®_1v8>; // Digital Core Supply
DBVDD-supply = <®_3v3>; // Digital Buffer Supply
AVDD-supply = <®_1v8>; // Analog Supply
CPVDD-supply = <®_1v8>; // Charge Pump Supply (for headphone)
MICVDD-supply = <®_3v3>; // Microphone Supply
PLLVDD-supply = <®_1v8>; // PLL Supply
SPKVDD1-supply = <®_3v3>; // Left Speaker Supply
SPKVDD2-supply = <®_3v3>; // Right Speaker Supply
};
#if 0
...
...
This diff is collapsed.
Click to expand it.
arch/arm64/boot/dts/seconorth/trizeps8plus_v1r3.dtsi
+
2
−
2
View file @
17c448df
...
...
@@ -56,9 +56,9 @@ &sai2 {
};
/ {
/delete-node/ s
ound-wm8983
;
/delete-node/ s
imple-audio
;
s
ound_wm8962: sound-wm8962
{
s
imple_audio: simple-audio
{
compatible = "simple-audio-card";
simple-audio-card,format = "i2s";
simple-audio-card,frame-master = <&cpudai>;
...
...
This diff is collapsed.
Click to expand it.
GitBot
@gitbot
mentioned in commit
seco-ne/yocto/manifest@5d9fc8c4
·
1 year ago
mentioned in commit
seco-ne/yocto/manifest@5d9fc8c4
mentioned in commit seco-ne/yocto/manifest@5d9fc8c485266fbff5a6e2e543f6d4b8ce5919bf
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment