Public bug reported:

[Impact]

The 5.19 kernel contains support for the PolarFire Icicle board but the
USB driver is missing.

The following patches are available in Linux v6.0-rc1 and are sufficient
to make USB usable on the PolarFire Icicle board. Please, apply them to
the 5.19 kernel and set CONFIG_USB_MUSB_POLARFIRE_SOC=m.

7a96b6ea90a4 ("usb: musb: Add support for PolarFire SoC's musb controller")
https://lore.kernel.org/r/20220613114642.1615292-2-conor.doo...@microchip.com

21cdd6a0e844 ("usb: musb: mpfs: Fix error codes in probe()")
https://lore.kernel.org/r/YrVmLEc/FOEzNdzj@kili

98ceba755928 ("usb: musb: mpfs: add missing clk_disable_unprepare() in 
mpfs_remove()"
https://lore.kernel.org/all/YrVmLEc%2FFOEzNdzj@kili/

With this change internal USB devices are fully usable. External devices
are supported with the following Jumper settings:

* J17 closed
* J15 open

[Test Plan]

Ensure the correct jumper settings:

* J17 closed
* J15 open

Use the SiFive Unmatched preinstalled image and install the 5.19 kernel.
Try to boot on the Polarfire Icicle board.

* Run lsusb.
* Attach a USB device to J16 (USB port beside SD-card slot)
* Run lsusb again. The new device appears.

[Where problems could occur]

The fix only concerns a board which has been unsupported by Ubuntu yet.

In case of an incorrect fix the board might not boot or otherwise
malfunction.

Best regards

Heinrich

** Affects: linux-riscv (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  [Impact]
  
  The 5.19 kernel contains support for the PolarFire Icicle board but the
  USB driver is missing.
  
  The following patches are available in Linux v6.0-rc1 and are sufficient
  to make USB usable on the PolarFire Icicle board. Please, apply them to
- the 5.19 kernel set CONFIG_USB_MUSB_POLARFIRE_SOC=m.
+ the 5.19 kernel and set CONFIG_USB_MUSB_POLARFIRE_SOC=m.
  
  7a96b6ea90a4 ("usb: musb: Add support for PolarFire SoC's musb controller")
  https://lore.kernel.org/r/20220613114642.1615292-2-conor.doo...@microchip.com
  
  21cdd6a0e844 ("usb: musb: mpfs: Fix error codes in probe()")
  https://lore.kernel.org/r/YrVmLEc/FOEzNdzj@kili
  
  98ceba755928 ("usb: musb: mpfs: add missing clk_disable_unprepare() in 
mpfs_remove()"
  https://lore.kernel.org/all/YrVmLEc%2FFOEzNdzj@kili/
  
  With this change internal USB devices are fully usable. External devices
  are supported with the following Jumper settings:
  
  * J17 closed
  * J15 open
  
  [Test Plan]
  
  Ensure the correct jumper settings:
  
  * J17 closed
  * J15 open
  
  Use the SiFive Unmatched preinstalled image and install the 5.19 kernel.
  Try to boot on the Polarfire Icicle board.
  
  * Run lsusb.
  * Attach a USB device to J16 (USB port beside SD-card slot)
  * Run lsusb again. The new device appears.
  
  [Where problems could occur]
  
  The fix only concerns a board which has been unsupported by Ubuntu yet.
  
  In case of an incorrect fix the board might not boot or otherwise
  malfunction.
  
  Best regards
  
  Heinrich

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-riscv in Ubuntu.
https://bugs.launchpad.net/bugs/1986970

Title:
  PolarFire Icicle Kit: missing USB support

Status in linux-riscv package in Ubuntu:
  New

Bug description:
  [Impact]

  The 5.19 kernel contains support for the PolarFire Icicle board but
  the USB driver is missing.

  The following patches are available in Linux v6.0-rc1 and are
  sufficient to make USB usable on the PolarFire Icicle board. Please,
  apply them to the 5.19 kernel and set CONFIG_USB_MUSB_POLARFIRE_SOC=m.

  7a96b6ea90a4 ("usb: musb: Add support for PolarFire SoC's musb controller")
  https://lore.kernel.org/r/20220613114642.1615292-2-conor.doo...@microchip.com

  21cdd6a0e844 ("usb: musb: mpfs: Fix error codes in probe()")
  https://lore.kernel.org/r/YrVmLEc/FOEzNdzj@kili

  98ceba755928 ("usb: musb: mpfs: add missing clk_disable_unprepare() in 
mpfs_remove()"
  https://lore.kernel.org/all/YrVmLEc%2FFOEzNdzj@kili/

  With this change internal USB devices are fully usable. External
  devices are supported with the following Jumper settings:

  * J17 closed
  * J15 open

  [Test Plan]

  Ensure the correct jumper settings:

  * J17 closed
  * J15 open

  Use the SiFive Unmatched preinstalled image and install the 5.19
  kernel. Try to boot on the Polarfire Icicle board.

  * Run lsusb.
  * Attach a USB device to J16 (USB port beside SD-card slot)
  * Run lsusb again. The new device appears.

  [Where problems could occur]

  The fix only concerns a board which has been unsupported by Ubuntu
  yet.

  In case of an incorrect fix the board might not boot or otherwise
  malfunction.

  Best regards

  Heinrich

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-riscv/+bug/1986970/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to