All of lore.kernel.org
 help / color / mirror / Atom feed
* CP110 Comphy Issue
@ 2019-11-24  7:07 Sven Auhagen
  2019-11-24  7:31 ` Baruch Siach
  0 siblings, 1 reply; 9+ messages in thread
From: Sven Auhagen @ 2019-11-24  7:07 UTC (permalink / raw)
  To: miquel.raynal; +Cc: Baruch Siach, linux-arm-kernel

Hi Miquel,

I am testing Kernel 5.4 RC8 with the new CP110 comphy initialization and it does not work for our custom board on CP 1 PCIE0.
It hangs on phy up indefinitely during boot.

CP0 PCIE0 works fine.

I am using:
+&cp1_pcie0 {
+              pinctrl-names = "default";
+              pinctrl-0 = <&cp0_pci1_reset_pins>;
+              num-lanes = <1>;
+              //num-viewport = <8>;
+              reset-gpios = <&cp0_gpio2 1 GPIO_ACTIVE_LOW>;
+              //rx-disable-gpio = <&cp0_gpio2 20 GPIO_ACTIVE_LOW>;
+              phys = <&cp1_comphy0 0>;
+              phy-names = "cp1-pcie0-x1-phy";
+              status = "okay";
+};

And this one works

+&cp0_pcie0 {
+              pinctrl-names = "default";
+              pinctrl-0 = <&cp0_pci0_reset_pins>;
+              num-lanes = <1>;
+              //num-viewport = <8>;
+              reset-gpios = <&cp0_gpio2 0 GPIO_ACTIVE_LOW>;
+              //rx-disable-gpio = <&cp0_gpio2 19 GPIO_ACTIVE_LOW>;
+              phys = <&cp0_comphy0 0>;
+              phy-names = "cp0-pcie0-x1-phy";
+              status = "okay";
+};
+

I am using u-boot 2019.04 and ATF 2.1.
PCIe is initialized by U-Boot.

I was using a ported version of the comphy code from the marvell linux github before which did not have this problem.

Let me know if I can debug anything here on my end.

Best
Sven


Beste Grüße/Best regards

Sven Auhagen
Dipl. Math. oec., M.Sc.
Voleatech GmbH
HRB: B 754643
USTID: DE303643180
Grathwohlstr. 5
72762 Reutlingen
Tel: +49 7121539550
Fax: +49 7121539551
E-Mail: sven.auhagen@voleatech.de
www.voleatech.de<https://www.voleatech.de>
Diese Information ist ausschließlich für den Adressaten bestimmt und kann vertraulich oder gesetzlich geschützte Informationen enthalten. Wenn Sie nicht der bestimmungsgemäße Adressat sind, unterrichten Sie bitte den Absender und vernichten Sie diese Mail. Anderen als dem bestimmungsgemäßen Adressaten ist es untersagt, diese E-Mail zu lesen, zu speichern, weiterzuleiten oder ihren Inhalt auf welche Weise auch immer zu verwenden. Für den Adressaten sind die Informationen in dieser Mail nur zum persönlichen Gebrauch. Eine Weiterleitung darf nur nach Rücksprache mit dem Absender erfolgen. Wir verwenden aktuelle Virenschutzprogramme. Für Schäden, die dem Empfänger gleichwohl durch von uns zugesandte mit Viren befallene E-Mails entstehen, schließen wir jede Haftung aus.
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <4EC81A7A-C1D1-4DDD-BD09-88D46BC0D058@voleatech.de>]

end of thread, other threads:[~2019-11-28  7:47 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-24  7:07 CP110 Comphy Issue Sven Auhagen
2019-11-24  7:31 ` Baruch Siach
2019-11-24 14:18   ` Miquel Raynal
2019-11-24 16:21     ` Sven Auhagen
2019-11-25  8:24       ` Sven Auhagen
2019-11-25 15:12         ` Miquel Raynal
     [not found] <4EC81A7A-C1D1-4DDD-BD09-88D46BC0D058@voleatech.de>
2019-11-27 11:06 ` Miquel Raynal
2019-11-27 11:44   ` Sven Auhagen
2019-11-28  7:47   ` Sven Auhagen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.