Re: [U-Boot] [PATCH v4] gpio: dwapb_gpio: Add reset ctrl to driver

2018-09-03 Thread Marek Vasut
On 09/04/2018 03:34 AM, Ley Foon Tan wrote: > On Thu, Aug 30, 2018 at 8:11 PM Marek Vasut wrote: >> >> On 08/30/2018 02:45 AM, Ley Foon Tan wrote: >>> On Wed, Aug 29, 2018 at 7:57 PM Marek Vasut wrote: On 08/29/2018 10:44 AM, Ley Foon Tan wrote: > Add code to reset all reset signals

Re: [U-Boot] [PATCH v4] gpio: dwapb_gpio: Add reset ctrl to driver

2018-09-03 Thread Ley Foon Tan
On Thu, Aug 30, 2018 at 8:11 PM Marek Vasut wrote: > > On 08/30/2018 02:45 AM, Ley Foon Tan wrote: > > On Wed, Aug 29, 2018 at 7:57 PM Marek Vasut wrote: > >> > >> On 08/29/2018 10:44 AM, Ley Foon Tan wrote: > >>> Add code to reset all reset signals as in gpio DT node. A reset property > >>> is a

Re: [U-Boot] [PATCH v4] gpio: dwapb_gpio: Add reset ctrl to driver

2018-08-30 Thread Marek Vasut
On 08/30/2018 02:45 AM, Ley Foon Tan wrote: > On Wed, Aug 29, 2018 at 7:57 PM Marek Vasut wrote: >> >> On 08/29/2018 10:44 AM, Ley Foon Tan wrote: >>> Add code to reset all reset signals as in gpio DT node. A reset property >>> is an optional feature, so only print out a warning and do not fail if

Re: [U-Boot] [PATCH v4] gpio: dwapb_gpio: Add reset ctrl to driver

2018-08-29 Thread Ley Foon Tan
On Wed, Aug 29, 2018 at 7:57 PM Marek Vasut wrote: > > On 08/29/2018 10:44 AM, Ley Foon Tan wrote: > > Add code to reset all reset signals as in gpio DT node. A reset property > > is an optional feature, so only print out a warning and do not fail if a > > reset property is not present. > > > > If

Re: [U-Boot] [PATCH v4] gpio: dwapb_gpio: Add reset ctrl to driver

2018-08-29 Thread Marek Vasut
On 08/29/2018 10:44 AM, Ley Foon Tan wrote: > Add code to reset all reset signals as in gpio DT node. A reset property > is an optional feature, so only print out a warning and do not fail if a > reset property is not present. > > If a reset property is discovered, then use it to deassert, thus >

[U-Boot] [PATCH v4] gpio: dwapb_gpio: Add reset ctrl to driver

2018-08-29 Thread Ley Foon Tan
Add code to reset all reset signals as in gpio DT node. A reset property is an optional feature, so only print out a warning and do not fail if a reset property is not present. If a reset property is discovered, then use it to deassert, thus bringing the IP out of reset. Signed-off-by: Ley Foon T