Re: [PATCH] NET: dwmac: Make dwmac reset unconditional

2017-07-19 Thread David Miller
From: Eugeniy Paltsev Date: Tue, 18 Jul 2017 17:07:15 +0300 > Unconditional reset dwmac before HW init if reset controller is present. > > In existing implementation we reset dwmac only after second module > probing: > (module load -> unload -> load again [reset happens]) > > Now we reset dwmac

[PATCH v2] ARC: reset: introduce HSDKv1 reset driver

2017-07-19 Thread Eugeniy Paltsev
The HSDK v1 periphery IPs can be reset by accessing some registers from the CGU block. The list of available reset lines is documented in the DT bindings. Signed-off-by: Eugeniy Paltsev --- Changes v1 -> v2: - Remove defines of the unused registers. - Map io memory only for single CGU_SYS_RST_

Re: [PATCH] ARC: reset: introduce HSDKv1 reset driver

2017-07-19 Thread Philipp Zabel
Hi Eugeniy, On Wed, 2017-07-19 at 15:32 +, Eugeniy Paltsev wrote: > Hi Philipp, > > On Wed, 2017-07-19 at 17:07 +0200, Philipp Zabel wrote: > > On Tue, 2017-07-18 at 20:25 +0300, Eugeniy Paltsev wrote: > > > The HSDK v1 periphery IPs can be reset by accessing some registers > > > from the CGU

Re: [PATCH] ARC: reset: introduce HSDKv1 reset driver

2017-07-19 Thread Eugeniy Paltsev
Hi Philipp, On Wed, 2017-07-19 at 17:07 +0200, Philipp Zabel wrote: > On Tue, 2017-07-18 at 20:25 +0300, Eugeniy Paltsev wrote: > > The HSDK v1 periphery IPs can be reset by accessing some registers > > from the CGU block. > > > > The list of available reset lines is documented in the DT bindings

Re: [PATCH] ARC: reset: introduce HSDKv1 reset driver

2017-07-19 Thread Philipp Zabel
On Tue, 2017-07-18 at 20:25 +0300, Eugeniy Paltsev wrote: > The HSDK v1 periphery IPs can be reset by accessing some registers > from the CGU block. > > The list of available reset lines is documented in the DT bindings. > > Signed-off-by: Eugeniy Paltsev > --- > .../bindings/reset/snps,hsdk-v1