RE: Can Only Enable 2 Classes Using Gadget ConfigFS

2018-06-10 Thread Peter Chen
> > The attached script works only when 2 of the 3 given classes are enabled. The > failure is that UDC is not writeable. Is there a limit I am reaching? I did > not think I > would get to 32 endpoints, so is there a limitation due to my device's > construction? > > I can not find any good

[PATCH v3] storage: Widen bcdDevice range for SanDisk SDDR-31 quirk

2018-06-10 Thread Mark Knibbs
When I re-sent the patch with tabs I accidentally left the new maximum bcdDevice at 0x00ff. Sorry! Hopefully this is finally OK. The SanDisk SDDR-31 needs the US_FL_FIX_CAPACITY quirk. Previously that was only applied for bcdDevice 0x0009, but later firmware which reports bcdDevice 0x0022 needs

[PATCH v3 1/3] usb: dwc3: pci: Add GPIO lookup table on platforms without ACPI GPIO resources

2018-06-10 Thread Hans de Goede
Bay Trail / BYT SoCs do not have a builtin device-mode phy, instead they require an external ULPI phy for device-mode. Only some BYT devices have an external phy, but even on those devices device-mode is not working because the dwc3 does not see the phy. The problem is that the ACPI fwnode for

[PATCH v3 3/3] usb: dwc3: pci: Use devm functions to get the phy GPIOs

2018-06-10 Thread Hans de Goede
Even though we only use them once, it is better to not put/release the GPIOs immediately after use, so that others cannot claim them. Use devm functions to get the phy GPIOs, so that they will be automatically released when were unbound from the device and remove the gpio_put calls.

[PATCH v3 2/3] usb: dwc3: pci: Enable ULPI Refclk on platforms where the firmware does not

2018-06-10 Thread Hans de Goede
On some Bay Trail (BYT) systems the firmware does not enable the ULPI Refclk. This commit adds a helper which checks and if necessary enabled the Refclk and calls this helper for BYT machines. Signed-off-by: Hans de Goede --- Changes in v2: -Use pcim_iomap instead of parsing resources ourselves

Re: [PATCH 1/3] usb: dwc3: pci: Add GPIO lookup table on platforms without ACPI GPIO resources

2018-06-10 Thread Hans de Goede
Hi, On 07-06-18 15:35, Hans de Goede wrote: Hi, On 07-06-18 15:28, Andy Shevchenko wrote: On Thu, Jun 7, 2018 at 1:38 PM, Hans de Goede wrote: Bay Trail / BYT SoCs do not have a builtin device-mode phy, instead they require an external ULPI phy for device-mode. Only some BYT devices have

Re: [PATCH 2/2] usb: gadget: uvc: configfs: Add bFrameIndex attributes

2018-06-10 Thread Joel Pepper
@Laurent, I accidentally hit "Reply" instead of "Reply All", please disregard the previous copy of this email Hi Laurent and Paul, On 08.06.2018 21:16, Laurent Pinchart wrote: > Hi Joel and Paul, > > On Friday, 8 June 2018 22:12:56 EEST Laurent Pinchart wrote: >> From: Paul Elder >> >> The

Can Only Enable 2 Classes Using Gadget ConfigFS

2018-06-10 Thread R0b0t1
The attached script works only when 2 of the 3 given classes are enabled. The failure is that UDC is not writeable. Is there a limit I am reaching? I did not think I would get to 32 endpoints, so is there a limitation due to my device's construction? I can not find any good troubleshooting