All of lore.kernel.org
 help / color / mirror / Atom feed
* R8A7795 FDP1 clock parentage
@ 2016-05-25  8:41 Kieran Bingham
  2016-05-25  8:49 ` Kuninori Morimoto
  0 siblings, 1 reply; 6+ messages in thread
From: Kieran Bingham @ 2016-05-25  8:41 UTC (permalink / raw)
  To: Kuninori Morimoto; +Cc: linux-renesas-soc

Hi Morimoto-san,

I have added an initial patch to support the FDP1 in the clock
framework, but I have not been able to correctly identify the actual
clock parent.

For now I have assumed that it is R8A7795_CLK_S2D1.

Could you please confirm this selection, or help identify the true
parent please?
--
Regards

Kieran

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: R8A7795 FDP1 clock parentage
  2016-05-25  8:41 R8A7795 FDP1 clock parentage Kieran Bingham
@ 2016-05-25  8:49 ` Kuninori Morimoto
  2016-05-25 17:10   ` Kieran Bingham
  0 siblings, 1 reply; 6+ messages in thread
From: Kuninori Morimoto @ 2016-05-25  8:49 UTC (permalink / raw)
  To: Kieran Bingham; +Cc: linux-renesas-soc


Hi Kieran

> I have added an initial patch to support the FDP1 in the clock
> framework, but I have not been able to correctly identify the actual
> clock parent.
> 
> For now I have assumed that it is R8A7795_CLK_S2D1.
> 
> Could you please confirm this selection, or help identify the true
> parent please?

OK, please wait

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: R8A7795 FDP1 clock parentage
  2016-05-25  8:49 ` Kuninori Morimoto
@ 2016-05-25 17:10   ` Kieran Bingham
  2016-05-26  0:01     ` Kuninori Morimoto
  0 siblings, 1 reply; 6+ messages in thread
From: Kieran Bingham @ 2016-05-25 17:10 UTC (permalink / raw)
  To: Kuninori Morimoto; +Cc: linux-renesas-soc

On 25/05/16 09:49, Kuninori Morimoto wrote:
> 
> Hi Kieran
> 
>> I have added an initial patch to support the FDP1 in the clock
>> framework, but I have not been able to correctly identify the actual
>> clock parent.
>>
>> For now I have assumed that it is R8A7795_CLK_S2D1.
>>
>> Could you please confirm this selection, or help identify the true
>> parent please?
> 
> OK, please wait

Thanks,

Just to add to this request, could you ask the HW engineers to confirm
the clock parents for the FCPF (0,1,2) as well please?

They too are currently listed as R8A7795_CLK_S2D1, however now that I am
trying to enable the FCPF and read registers from it - the VCR is
returning as 0x00 (I expect 0x0101) and then I'm getting
 "Bad mode in Error handler detected, code 0xbf000002 -- SError"

My suspicion is that my clock has not been enabled correctly :)

Thanks again for your help
-- 
Regards

Kieran Bingham

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: R8A7795 FDP1 clock parentage
  2016-05-25 17:10   ` Kieran Bingham
@ 2016-05-26  0:01     ` Kuninori Morimoto
  2016-05-30  6:32       ` Kuninori Morimoto
  0 siblings, 1 reply; 6+ messages in thread
From: Kuninori Morimoto @ 2016-05-26  0:01 UTC (permalink / raw)
  To: Kieran Bingham; +Cc: linux-renesas-soc


Hi Kieran

> Just to add to this request, could you ask the HW engineers to confirm
> the clock parents for the FCPF (0,1,2) as well please?
> 
> They too are currently listed as R8A7795_CLK_S2D1, however now that I am
> trying to enable the FCPF and read registers from it - the VCR is
> returning as 0x00 (I expect 0x0101) and then I'm getting
>  "Bad mode in Error handler detected, code 0xbf000002 -- SError"
> 
> My suspicion is that my clock has not been enabled correctly :)

About FCP, I had same request from Laurent, and its answer was this thread.

http://thread.gmane.org/gmane.linux.kernel.renesas-soc/662/focus=1304

# I think this "parent clock" settings itself is not super critical
# (= it works anyway with wrong settings)
# it seems other issues ?

Best regards
---
Kuninori Morimoto

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: R8A7795 FDP1 clock parentage
  2016-05-26  0:01     ` Kuninori Morimoto
@ 2016-05-30  6:32       ` Kuninori Morimoto
  2016-05-30  9:58         ` Kieran Bingham
  0 siblings, 1 reply; 6+ messages in thread
From: Kuninori Morimoto @ 2016-05-30  6:32 UTC (permalink / raw)
  To: Kieran Bingham; +Cc: linux-renesas-soc


Hi Kieran

> > Just to add to this request, could you ask the HW engineers to confirm
> > the clock parents for the FCPF (0,1,2) as well please?
> > 
> > They too are currently listed as R8A7795_CLK_S2D1, however now that I am
> > trying to enable the FCPF and read registers from it - the VCR is
> > returning as 0x00 (I expect 0x0101) and then I'm getting
> >  "Bad mode in Error handler detected, code 0xbf000002 -- SError"
> > 
> > My suspicion is that my clock has not been enabled correctly :)
> 
> About FCP, I had same request from Laurent, and its answer was this thread.
> 
> http://thread.gmane.org/gmane.linux.kernel.renesas-soc/662/focus=1304
> 
> # I think this "parent clock" settings itself is not super critical
> # (= it works anyway with wrong settings)
> # it seems other issues ?

I got information from HW team.
About H3 ES1 FDP1 parent clock is "S2D1"

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: R8A7795 FDP1 clock parentage
  2016-05-30  6:32       ` Kuninori Morimoto
@ 2016-05-30  9:58         ` Kieran Bingham
  0 siblings, 0 replies; 6+ messages in thread
From: Kieran Bingham @ 2016-05-30  9:58 UTC (permalink / raw)
  To: Kuninori Morimoto; +Cc: linux-renesas-soc

Hi Morimoto-san,

On 30/05/16 07:32, Kuninori Morimoto wrote:
>>> Just to add to this request, could you ask the HW engineers to confirm
>>> the clock parents for the FCPF (0,1,2) as well please?
>>>
>>> They too are currently listed as R8A7795_CLK_S2D1, however now that I am
>>> trying to enable the FCPF and read registers from it - the VCR is
>>> returning as 0x00 (I expect 0x0101) and then I'm getting
>>>  "Bad mode in Error handler detected, code 0xbf000002 -- SError"
>>>
>>> My suspicion is that my clock has not been enabled correctly :)
>>
>> About FCP, I had same request from Laurent, and its answer was this thread.
>>
>> http://thread.gmane.org/gmane.linux.kernel.renesas-soc/662/focus=1304

Thank you for that reference. It was helpful!

>> # I think this "parent clock" settings itself is not super critical
>> # (= it works anyway with wrong settings)
>> # it seems other issues ?

You were right :) - It was the power-domain. It's resolved now and
working. Thank you for your help.

> I got information from HW team.
> About H3 ES1 FDP1 parent clock is "S2D1"

Perfect, thanks for confirming this. Now the patch is unblocked from
submission.

-- 
Regards

Kieran Bingham

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-05-30  9:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-25  8:41 R8A7795 FDP1 clock parentage Kieran Bingham
2016-05-25  8:49 ` Kuninori Morimoto
2016-05-25 17:10   ` Kieran Bingham
2016-05-26  0:01     ` Kuninori Morimoto
2016-05-30  6:32       ` Kuninori Morimoto
2016-05-30  9:58         ` Kieran Bingham

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.