Re: [U-Boot] [PATCHv2 1/6] reset: socfpga: add reset driver for SoCFPGA platform

2018-04-05 Thread Dinh Nguyen
On Thu, Apr 5, 2018 at 11:28 AM, Marek Vasut wrote: > On 04/05/2018 04:46 PM, Dinh Nguyen wrote: >> >> >> On 04/05/2018 09:12 AM, Dinh Nguyen wrote: >>> v >>> >>> On 04/04/2018 05:56 PM, Marek Vasut wrote: On 04/05/2018 12:18 AM, Dinh Nguyen wrote: > Add a DM compatible

Re: [U-Boot] [PATCHv2 1/6] reset: socfpga: add reset driver for SoCFPGA platform

2018-04-05 Thread Marek Vasut
On 04/05/2018 04:46 PM, Dinh Nguyen wrote: > > > On 04/05/2018 09:12 AM, Dinh Nguyen wrote: >> v >> >> On 04/04/2018 05:56 PM, Marek Vasut wrote: >>> On 04/05/2018 12:18 AM, Dinh Nguyen wrote: Add a DM compatible reset driver for the SoCFPGA platform. Signed-off-by: Dinh Nguyen

Re: [U-Boot] [PATCHv2 1/6] reset: socfpga: add reset driver for SoCFPGA platform

2018-04-05 Thread Dinh Nguyen
On 04/05/2018 09:12 AM, Dinh Nguyen wrote: > v > > On 04/04/2018 05:56 PM, Marek Vasut wrote: >> On 04/05/2018 12:18 AM, Dinh Nguyen wrote: >>> Add a DM compatible reset driver for the SoCFPGA platform. >>> >>> Signed-off-by: Dinh Nguyen >> >> [...] >> >>> +static int

Re: [U-Boot] [PATCHv2 1/6] reset: socfpga: add reset driver for SoCFPGA platform

2018-04-05 Thread Dinh Nguyen
v On 04/04/2018 05:56 PM, Marek Vasut wrote: > On 04/05/2018 12:18 AM, Dinh Nguyen wrote: >> Add a DM compatible reset driver for the SoCFPGA platform. >> >> Signed-off-by: Dinh Nguyen > > [...] > >> +static int socfpga_reset_request(struct reset_ctl *reset_ctl) >> +{ >> +

Re: [U-Boot] [PATCHv2 1/6] reset: socfpga: add reset driver for SoCFPGA platform

2018-04-04 Thread Marek Vasut
On 04/05/2018 12:18 AM, Dinh Nguyen wrote: > Add a DM compatible reset driver for the SoCFPGA platform. > > Signed-off-by: Dinh Nguyen [...] > +static int socfpga_reset_request(struct reset_ctl *reset_ctl) > +{ > + debug("%s(reset_ctl=%p) (dev=%p, id=%lu)\n", __func__,

[U-Boot] [PATCHv2 1/6] reset: socfpga: add reset driver for SoCFPGA platform

2018-04-04 Thread Dinh Nguyen
Add a DM compatible reset driver for the SoCFPGA platform. Signed-off-by: Dinh Nguyen --- v2: use setbits_le32 and clrbits_le32 --- drivers/reset/Kconfig | 7 +++ drivers/reset/Makefile| 1 + drivers/reset/reset-socfpga.c | 105