Re: [PATCH v2 2/5] reset: socfpga: use the reset-simple driver

2017-08-11 Thread Philipp Zabel
Hi Alexandru, thank you for the comments. On Fri, 2017-08-11 at 09:28 -0700, Alexandru Gagniuc wrote: > Hi Phillip, > > On 08/11/2017 06:06 AM, Philipp Zabel wrote: > [snip] > > > @@ -113,8 +137,33 @@ static int reset_simple_probe(struct platform_device > > *pdev) > > > >   data->rcdev.o

Re: [PATCH v2 2/5] reset: socfpga: use the reset-simple driver

2017-08-11 Thread Alexandru Gagniuc
Hi Phillip, On 08/11/2017 06:06 AM, Philipp Zabel wrote: [snip] @@ -113,8 +137,33 @@ static int reset_simple_probe(struct platform_device *pdev) data->rcdev.ops = &reset_simple_ops; data->rcdev.of_node = dev->of_node; - if (devdata) + if (devdata == &reset_simple_so

[PATCH v2 2/5] reset: socfpga: use the reset-simple driver

2017-08-11 Thread Philipp Zabel
Add reset line status readback, inverted status support, and socfpga device tree quirks to the simple reset driver, and use it to replace the socfpga driver. Signed-off-by: Philipp Zabel fixup! reset: socfpga: use the reset-simple driver --- drivers/reset/Kconfig | 10 +-- drivers/rese