Re: [PATCH v1] gpiolib: add gpio_array_to_id helper to get ID out of GPIO array

2020-07-22 Thread Oleksij Rempel
This version need some fixes, I'll send a new version soon Am 20.07.20 um 08:41 schrieb Oleksij Rempel: > Some boards provide a board version and/or ID coded by pull-up/down > resistors connected to the gpio pins (or pins which can be multiplexed > at some point as gpio). In this case every one im

Re: [PATCH v3 02/14] usb: dwc2: Add host controller driver

2020-07-22 Thread Jules Maselbas
On Wed, Jul 22, 2020 at 11:18:39AM +0200, Ahmad Fatoum wrote: > On 7/22/20 11:12 AM, Jules Maselbas wrote: > > On Wed, Jul 22, 2020 at 08:36:25AM +0200, Ahmad Fatoum wrote: > >> On 7/21/20 2:05 PM, Jules Maselbas wrote: > >>> +static int transfer_chunk(struct dwc2 *dwc2, u8 hc, > >>> +

Re: [PATCH v3 02/14] usb: dwc2: Add host controller driver

2020-07-22 Thread Jules Maselbas
On Wed, Jul 22, 2020 at 08:36:25AM +0200, Ahmad Fatoum wrote: > On 7/21/20 2:05 PM, Jules Maselbas wrote: > > +static int transfer_chunk(struct dwc2 *dwc2, u8 hc, > > + u8 *pid, int in, void *buffer, int num_packets, > > + int xfer_len, int *actual_len, int o

Re: [PATCH v3 02/14] usb: dwc2: Add host controller driver

2020-07-22 Thread Ahmad Fatoum
On 7/22/20 11:12 AM, Jules Maselbas wrote: > On Wed, Jul 22, 2020 at 08:36:25AM +0200, Ahmad Fatoum wrote: >> On 7/21/20 2:05 PM, Jules Maselbas wrote: >>> +static int transfer_chunk(struct dwc2 *dwc2, u8 hc, >>> + u8 *pid, int in, void *buffer, int num_packets, >>> +

[PATCH master] i2c: stm32: support new st,stm32mp15-i2c compatible

2020-07-22 Thread Ahmad Fatoum
Linux v5.8-rc1 has gained support for the FastMode+ registers on the stm32mp15, but those are incompatible between the stm32mp15 and the stm32f7, so a new compatible was introduced. The old compatible was replaced for the MP15 SoC, breaking I2C in barebox. Add the new compatible to fix this. Unlik

[PATCH 1/2] phy: stm32-usphyc: release resources to properly support EPROBE_DEFER

2020-07-22 Thread Ahmad Fatoum
Driver failed to release resources on failed probe so far, leading to deferred probe failing with -EBUSY. Fix this. Signed-off-by: Ahmad Fatoum --- drivers/phy/phy-stm32-usbphyc.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/phy/phy-stm32-usbphyc.c b/drive

[PATCH 2/2] regulator: stm32-pwr: release resources to properly support EPROBE_DEFER

2020-07-22 Thread Ahmad Fatoum
Driver failed to release resources on failed probe so far, leading to deferred probe failing with -EBUSY. Fix this. Signed-off-by: Ahmad Fatoum --- drivers/regulator/stm32-pwr.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/drivers/regulator/stm32-pwr.c b/dri