[PATCH] ARC: HSDK: DTS: Add reset controller node to manage ethernet reset

2017-08-09 Thread Eugeniy Paltsev
DW ethernet controller on HSDK hangs sometimes after SW reset, so add reset node to make possible to reset DW ethernet controller HW. Signed-off-by: Eugeniy Paltsev --- NOTE: this patch is effective only if patches to DW ethernet controller and reset controller are applied (they are already

Re: [PATCH] ARC: clk: introduce HSDKv1 pll driver

2017-08-09 Thread sb...@codeaurora.org
On 08/09, Eugeniy Paltsev wrote: > On Thu, 2017-08-03 at 18:53 -0700, Stephen Boyd wrote: > > On 07/14, Eugeniy Paltsev wrote: > > > + /* input divider = reg.idiv + 1 */ > > > + idiv = 1 + ((val & CGU_PLL_CTRL_IDIV_MASK) >> > > > CGU_PLL_CTRL_IDIV_SHIFT); > > > + /* fb divider = 2*(reg.fbdiv + 1) *

Re: [PATCH] ARC: clk: introduce HSDKv1 pll driver

2017-08-09 Thread Eugeniy Paltsev
Hi Stephen,  thanks for respond, my comments are inlined below. On Thu, 2017-08-03 at 18:53 -0700, Stephen Boyd wrote: > On 07/14, Eugeniy Paltsev wrote: > [...] > > + dev_dbg(clk->dev, "write configurarion: 0x%x", val); >  > Or just use %#x to add the 0x part. Thanks, I don't know about this