On 12.09.16 03:48, Andreas Färber wrote:
> Am 05.09.2016 um 03:10 schrieb Andreas Färber:
>> Am 05.09.2016 um 02:00 schrieb Andreas Färber:
>>> === Raspberry Pi ===
>>> * 4.8.0-rc4-2.gb12c2a7-default oopses in arm_pmu_device_probe!
>> Looks like this one: https://patchwork.kernel.org/patch/9302465/
> Confirmed fixed in 4.8.0-rc5-2.gd38eb05-default. USB still works.
> On the RPi3 4.8.0-rc5-2.gd38eb05-default also works, but still no USB.

[2:20pm] anholt: looking for advice: I'm trying to update arm64
defconfig for pi3, and usb isn't coming up.  dwc2 driver is probing
(printk in drivers/base/driver.c), and the platform device is being
created (printk in of_platform_bus_create's for_each_child_of_node()),
but a printk at the top of dwc2_driver_probe() is never hit.
[2:22pm] agraf: anholt: that sounds familiar
[2:23pm] agraf: anholt:
[2:23pm] anholt: oh.  power driver not being built
[2:23pm] agraf: anholt: ah, you found it?
[2:24pm] anholt: I was going to pastebin the dt, and in another look at
it I was reminded of debugging silent failures in module probes before.
[2:24pm] agraf: which driver is the power driver?
[2:25pm] anholt: drivers/soc/bcm/raspberrypi-power.c
[2:26pm] agraf: ok, awesome, so without CONFIG_RASPBERRYPI_POWER usb fails?
[2:26pm] anholt: yeah.  it will never get probed because the
power-domain can't be found.
[2:26pm] agraf: makes sense




        bool "Raspberry Pi power domain driver"
        depends on ARCH_BCM2835 || (COMPILE_TEST && OF)
        depends on RASPBERRYPI_FIRMWARE=y
        select PM_GENERIC_DOMAINS if PM
          This enables support for the RPi power domains which can be
          or disabled via the RPi firmware.


So I think all we need to get USB working is to set

To unsubscribe, e-mail: opensuse-arm+unsubscr...@opensuse.org
To contact the owner, e-mail: opensuse-arm+ow...@opensuse.org

Reply via email to