fix for lantiq (danube) usb
Luca Olivetti
luca at ventoso.org
Fri Jul 3 15:07:48 EDT 2020
El 3/7/20 a les 20:07, Luca Olivetti ha escrit:
> El 3/7/20 a les 20:06, John Crispin ha escrit:
>>
>> On 03.07.20 19:57, Luca Olivetti wrote:
>>> El 3/7/20 a les 19:49, John Crispin ha escrit:
>>>>
>>>> On 03.07.20 19:47, Luca Olivetti wrote:
>>>>> El 3/7/20 a les 19:37, John Crispin ha escrit:
>>>>>
>>>>>>>>
>>>>>>>> Why not use the gpio regulator ?
>>>>>>>
>>>>>>> Because I don't know how :-(
>>>>>>>
>>>>>> https://www.kernel.org/doc/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml
>>>>>>
>>>>>
>>>>> Oh, I see, but that's the one I had to *remove* because it didn't
>>>>> work.
>>>>>
>>>>> Bye
>>>>
>>>>
>>>> CONFIG_REGULATOR_GPIO is not enabled in the kernel config
>>>>
>>>
>>>
>>> So it's just a matter of adding it to
>>> target/linux/lantiq/xway/config-4.14 after
>>>
>>>
>>> CONFIG_REGULATOR=y
>>> CONFIG_REGULATOR_FIXED_VOLTAGE=y
>>>
>>>
>>> ?
>>>
>>>
>>> (and put back the entry I removed in the dts)
>>>
>>> Bye
>>
>>
>> correct
>>
>
>
> Thank you, I'm building it now (but my system is slow). I'll report back
> if it works.
Nope, it doesn't
# dmesg | grep dwc2
[ 5.751540] dwc2 1e101000.usb: 1e101000.usb supply vusb_d not found,
using dummy regulator
[ 5.758454] dwc2 1e101000.usb: 1e101000.usb supply vusb_a not found,
using dummy regulator
[ 5.766666] dwc2 1e101000.usb: dwc2_core_reset() HANG! Soft Reset
GRSTCTL=80000001
[ 5.912432] dwc2 1e101000.usb: DWC OTG Controller
[ 5.915747] dwc2 1e101000.usb: new USB bus registered, assigned bus
number 1
[ 5.922594] dwc2 1e101000.usb: irq 62, io mem 0x1e101000
[ 5.927811] dwc2 1e101000.usb: startup error -517
[ 5.932278] dwc2 1e101000.usb: USB bus 1 deregistered
[ 5.937340] dwc2 1e101000.usb: dwc2_hcd_init() FAILED, returning -517
[ 50.308465] dwc2 1e101000.usb: 1e101000.usb supply vusb_d not found,
using dummy regulator
[ 50.315362] dwc2 1e101000.usb: 1e101000.usb supply vusb_a not found,
using dummy regulator
[ 50.360539] dwc2 1e101000.usb: DWC OTG Controller
[ 50.363823] dwc2 1e101000.usb: new USB bus registered, assigned bus
number 1
[ 50.370726] dwc2 1e101000.usb: irq 62, io mem 0x1e101000
[ 50.375988] dwc2 1e101000.usb: startup error -517
[ 50.380385] dwc2 1e101000.usb: USB bus 1 deregistered
[ 50.385438] dwc2 1e101000.usb: dwc2_hcd_init() FAILED, returning -517
[ 50.457833] dwc2 1e101000.usb: 1e101000.usb supply vusb_d not found,
using dummy regulator
[ 50.464747] dwc2 1e101000.usb: 1e101000.usb supply vusb_a not found,
using dummy regulator
[ 50.472906] dwc2 1e101000.usb: dwc2_core_reset() HANG! Soft Reset
GRSTCTL=80000001
[ 50.632565] dwc2 1e101000.usb: DWC OTG Controller
[ 50.635942] dwc2 1e101000.usb: new USB bus registered, assigned bus
number 1
[ 50.642733] dwc2 1e101000.usb: irq 62, io mem 0x1e101000
[ 50.647992] dwc2 1e101000.usb: startup error -517
[ 50.652411] dwc2 1e101000.usb: USB bus 1 deregistered
[ 50.657463] dwc2 1e101000.usb: dwc2_hcd_init() FAILED, returning -517
[ 50.767275] dwc2 1e101000.usb: 1e101000.usb supply vusb_d not found,
using dummy regulator
[ 50.774183] dwc2 1e101000.usb: 1e101000.usb supply vusb_a not found,
using dummy regulator
[ 50.782345] dwc2 1e101000.usb: dwc2_core_reset() HANG! Soft Reset
GRSTCTL=80000001
[ 51.098453] dwc2 1e101000.usb: DWC OTG Controller
[ 51.101832] dwc2 1e101000.usb: new USB bus registered, assigned bus
number 1
[ 51.108645] dwc2 1e101000.usb: irq 62, io mem 0x1e101000
[ 51.113845] dwc2 1e101000.usb: startup error -517
[ 51.118306] dwc2 1e101000.usb: USB bus 1 deregistered
[ 51.123355] dwc2 1e101000.usb: dwc2_hcd_init() FAILED, returning -517
[ 86.412437] dwc2 1e101000.usb: 1e101000.usb supply vusb_d not found,
using dummy regulator
[ 86.419349] dwc2 1e101000.usb: 1e101000.usb supply vusb_a not found,
using dummy regulator
[ 86.427592] dwc2 1e101000.usb: dwc2_core_reset() HANG! Soft Reset
GRSTCTL=80000001
[ 86.620575] dwc2 1e101000.usb: DWC OTG Controller
[ 86.623972] dwc2 1e101000.usb: new USB bus registered, assigned bus
number 1
[ 86.630735] dwc2 1e101000.usb: irq 62, io mem 0x1e101000
[ 86.636020] dwc2 1e101000.usb: startup error -517
[ 86.640421] dwc2 1e101000.usb: USB bus 1 deregistered
[ 86.645483] dwc2 1e101000.usb: dwc2_hcd_init() FAILED, returning -517
Bye
--
Luca
More information about the openwrt-devel
mailing list