[linux-sunxi] Re: [PATCH 05/10] arm64: dts: allwinner: a64: Olinuxino: enable USB
From: Martin Lucina <hidden>
Date: 2018-07-09 14:49:46
Hi, On Monday, 09.07.2018 at?14:43, Andre Przywara wrote:
quoted
quoted
Can you please try using the .dts I attached?The .dts you attached does not compile, you've added a "&simplefb_hdmi" node, did you mean something else?Ah, right, sorry about that. That was against sunxi/dt64-for-4.19 (as the whole series was). So the base .dtsi is different. Attaching the .dtb this time ...
Ah, where exactly is that tree? I'm still testing with Linus' v4.18-rc2, which is probably wrong. Booting with that dtb gives me the same result re USB.
Do you have fixed regulator support in your kernel? CONFIG_REGULATOR_FIXED_VOLTAGE=y or fixed.ko as a module.
Yes.
quoted
...if I remove that node, then I get: [ 0.289065] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO ... [ 1.554921] sun4i-usb-phy 1c19400.phy: Couldn't get regulator usb0_vbus... Deferring probe ... [ 1.659943] sun4i-usb-phy 1c19400.phy: Couldn't get regulator usb0_vbus... Deferring probe and no USB. (guessing) Did you mean to add a &usb1_vbus?Well, this regulator name should indeed read usb1_vbus now. But this is mostly about the name. Changed this anyway in the attached .dtb. But this failure in getting the GPIO looks suspicious. Do you have uart1 enabled, by any chance? As its CTS pin is on PG9.
Not that I know of, and looking at the schematic there's no way I can get at that pin to test? Martin