Skip to content

Commit f1a43af

Browse files
committed
Merge tag 'mvebu-fixes-6.17-1' of git://git.kernel.org/pub/scm/linux/kernel/git/gclement/mvebu into arm/fixes
mvebu fixes for 6.17 (part 1) Fix SATA ports on various boards: Macchiatobin, CN913x-solidrun. Fix audio on Armada 370 DB and OpenRD. Disable eMMC high-speed modes on the CN9132 CEX-7 module. Disable runtime reconfiguration for PCIe lanes on the CN9132 CEX-7 module. * tag 'mvebu-fixes-6.17-1' of git://git.kernel.org/pub/scm/linux/kernel/git/gclement/mvebu: arm64: dts: marvell: cn9132-clearfog: fix multi-lane pci x2 and x4 ports arm64: dts: marvell: cn9132-clearfog: disable eMMC high-speed modes arm64: dts: marvell: cn913x-solidrun: fix sata ports status ARM: dts: kirkwood: Fix sound DAI cells for OpenRD clients ARM64: dts: mcbin: fix SATA ports on Macchiatobin ARM: dts: armada-370-db: Fix stereo audio input routing on Armada 370 Link: https://lore.kernel.org/r/87ikhnn1pl.fsf@BLaptop.bootlin.com Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2 parents 875691c + 794a066 commit f1a43af

7 files changed

Lines changed: 36 additions & 13 deletions

File tree

arch/arm/boot/dts/marvell/armada-370-db.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
"Out Jack", "HPL",
120120
"Out Jack", "HPR",
121121
"AIN1L", "In Jack",
122-
"AIN1L", "In Jack";
122+
"AIN1R", "In Jack";
123123
status = "okay";
124124

125125
simple-audio-card,dai-link@0 {

arch/arm/boot/dts/marvell/kirkwood-openrd-client.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
simple-audio-card,mclk-fs = <256>;
3939

4040
simple-audio-card,cpu {
41-
sound-dai = <&audio0 0>;
41+
sound-dai = <&audio0>;
4242
};
4343

4444
simple-audio-card,codec {

arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,11 +345,13 @@
345345
/* CPS Lane 1 - U32 */
346346
sata-port@0 {
347347
phys = <&cp1_comphy1 0>;
348+
status = "okay";
348349
};
349350

350351
/* CPS Lane 3 - U31 */
351352
sata-port@1 {
352353
phys = <&cp1_comphy3 1>;
354+
status = "okay";
353355
};
354356
};
355357

arch/arm64/boot/dts/marvell/cn9130-cf.dtsi

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,11 +152,12 @@
152152

153153
/* SRDS #0 - SATA on M.2 connector */
154154
&cp0_sata0 {
155-
phys = <&cp0_comphy0 1>;
156155
status = "okay";
157156

158-
/* only port 1 is available */
159-
/delete-node/ sata-port@0;
157+
sata-port@1 {
158+
phys = <&cp0_comphy0 1>;
159+
status = "okay";
160+
};
160161
};
161162

162163
/* microSD */

arch/arm64/boot/dts/marvell/cn9131-cf-solidwan.dts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -563,11 +563,13 @@
563563

564564
/* SRDS #1 - SATA on M.2 (J44) */
565565
&cp1_sata0 {
566-
phys = <&cp1_comphy1 0>;
567566
status = "okay";
568567

569568
/* only port 0 is available */
570-
/delete-node/ sata-port@1;
569+
sata-port@0 {
570+
phys = <&cp1_comphy1 0>;
571+
status = "okay";
572+
};
571573
};
572574

573575
&cp1_syscon0 {

arch/arm64/boot/dts/marvell/cn9132-clearfog.dts

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,13 @@
413413
/* SRDS #0,#1,#2,#3 - PCIe */
414414
&cp0_pcie0 {
415415
num-lanes = <4>;
416-
phys = <&cp0_comphy0 0>, <&cp0_comphy1 0>, <&cp0_comphy2 0>, <&cp0_comphy3 0>;
416+
/*
417+
* The mvebu-comphy driver does not currently know how to pass correct
418+
* lane-count to ATF while configuring the serdes lanes.
419+
* Rely on bootloader configuration only.
420+
*
421+
* phys = <&cp0_comphy0 0>, <&cp0_comphy1 0>, <&cp0_comphy2 0>, <&cp0_comphy3 0>;
422+
*/
417423
status = "okay";
418424
};
419425

@@ -475,7 +481,13 @@
475481
/* SRDS #0,#1 - PCIe */
476482
&cp1_pcie0 {
477483
num-lanes = <2>;
478-
phys = <&cp1_comphy0 0>, <&cp1_comphy1 0>;
484+
/*
485+
* The mvebu-comphy driver does not currently know how to pass correct
486+
* lane-count to ATF while configuring the serdes lanes.
487+
* Rely on bootloader configuration only.
488+
*
489+
* phys = <&cp1_comphy0 0>, <&cp1_comphy1 0>;
490+
*/
479491
status = "okay";
480492
};
481493

@@ -512,10 +524,9 @@
512524
status = "okay";
513525

514526
/* only port 1 is available */
515-
/delete-node/ sata-port@0;
516-
517527
sata-port@1 {
518528
phys = <&cp1_comphy3 1>;
529+
status = "okay";
519530
};
520531
};
521532

@@ -631,9 +642,8 @@
631642
status = "okay";
632643

633644
/* only port 1 is available */
634-
/delete-node/ sata-port@0;
635-
636645
sata-port@1 {
646+
status = "okay";
637647
phys = <&cp2_comphy3 1>;
638648
};
639649
};

arch/arm64/boot/dts/marvell/cn9132-sr-cex7.dtsi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,14 @@
137137
pinctrl-0 = <&ap_mmc0_pins>;
138138
pinctrl-names = "default";
139139
vqmmc-supply = <&v_1_8>;
140+
/*
141+
* Not stable in HS modes - phy needs "more calibration", so disable
142+
* UHS (by preventing voltage switch), SDR104, SDR50 and DDR50 modes.
143+
*/
144+
no-1-8-v;
145+
no-sd;
146+
no-sdio;
147+
non-removable;
140148
status = "okay";
141149
};
142150

0 commit comments

Comments
 (0)