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

2017-08-21 Thread Philipp Zabel
On Wed, 2017-08-16 at 13:46 -0700, Alexandru Gagniuc wrote: > Hi Phillip, > > On 08/16/2017 02:46 AM, Philipp Zabel wrote: > [snip] > > @@ -118,8 +151,23 @@ static int reset_simple_probe(struct > > platform_device *pdev) > >   data->rcdev.ops = &reset_simple_ops; > >   data->rcdev.of_node = de

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

2017-08-16 Thread Alexandru Gagniuc
Hi Phillip, On 08/16/2017 02:46 AM, Philipp Zabel wrote: [snip] @@ -118,8 +151,23 @@ 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) { + u

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

2017-08-16 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 --- - Rename "status_inverted" properties to "status_active_low". - Add reg_offset and nr_reset override to