* Re: [PATCH v1 2/2] DT: eFuse: Add binding document for IMG Pistachio eFuse Controller
[not found] ` <1416237576-21542-3-git-send-email-arul.ramasamy-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org>
@ 2014-11-17 19:13 ` Andrew Bresticker
[not found] ` <CAL1qeaF47Xwq5eS17D_rS4QBP12eJ3F0N-RNx+_o0kr-H1ropw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Andrew Bresticker @ 2014-11-17 19:13 UTC (permalink / raw)
To: Arul Ramasamy
Cc: Arnd Bergmann, Olof Johansson, Thierry Reding, Stephen Warren,
Greg Kroah-Hartman, James Hartley, James Hogan, Ezequiel Garcia,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Naidu Tellapati, Jude Abraham
On Mon, Nov 17, 2014 at 7:19 AM, <arul.ramasamy-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org> wrote:
> From: Arul Ramasamy <Arul.Ramasamy-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org>
>
> Add binding document for IMG eFuse Controller present on Pistachio SOC.
>
> Signed-off-by: Arul Ramasamy <Arul.Ramasamy-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org>
> Signed-off-by: Jude Abraham <Jude.Abraham-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org>
> Signed-off-by: Naidu Tellapati <Naidu.Tellapati-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org>
> ---
> .../devicetree/bindings/soc/pistachio/img-efuse.txt | 18 ++++++++++++++++++
> 1 file changed, 18 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/soc/pistachio/img-efuse.txt
>
> diff --git a/Documentation/devicetree/bindings/soc/pistachio/img-efuse.txt b/Documentation/devicetree/bindings/soc/pistachio/img-efuse.txt
> new file mode 100644
> index 0000000..8643a21
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/soc/pistachio/img-efuse.txt
> @@ -0,0 +1,18 @@
> +* IMG Pistachio eFuse controller
> +
> +Required properties:
> +- compatible: Must be "img,pistachio-efuse".
> +- reg: Must contain the base address and length of the eFuse registers.
> +- clocks: Must contain an entry for each entry in clock-names.
> + See ../clock/clock-bindings.txt for details.
> +- clock-names: Must include the following entries:
> + - efuse: External oscillator clock
How is the external oscillator related to efuse? Also, perhaps it
should be called "osc" since it's not an efuse-specific clock.
> + - sys: eFuse system interface clock
I don't see a system interface gate clock for efuse in the TRM...
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [PATCH v1 2/2] DT: eFuse: Add binding document for IMG Pistachio eFuse Controller
[not found] ` <CAL1qeaF47Xwq5eS17D_rS4QBP12eJ3F0N-RNx+_o0kr-H1ropw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2014-11-17 23:34 ` Naidu Tellapati
[not found] ` <27E62D98F903554192E3C13AFCC91C3C2F506F94-C8yLA94LPOy3snIXRfWIHVBRoQTxkR7k@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Naidu Tellapati @ 2014-11-17 23:34 UTC (permalink / raw)
To: Andrew Bresticker, Arul Ramasamy
Cc: Arnd Bergmann, Olof Johansson, Thierry Reding, Stephen Warren,
Greg Kroah-Hartman, James Hartley, James Hogan, Ezequiel Garcia,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Jude Abraham
Hi Andrew,
Many thanks for the review.
>> +++ b/Documentation/devicetree/bindings/soc/pistachio/img-efuse.txt
>> @@ -0,0 +1,18 @@
>> +* IMG Pistachio eFuse controller
>> +
>> +Required properties:
>> +- compatible: Must be "img,pistachio-efuse".
>> +- reg: Must contain the base address and length of the eFuse registers.
>> +- clocks: Must contain an entry for each entry in clock-names.
>> + See ../clock/clock-bindings.txt for details.
>> +- clock-names: Must include the following entries:
>> + - efuse: External oscillator clock
> How is the external oscillator related to efuse? Also, perhaps it
> should be called "osc" since it's not an efuse-specific clock.
This is what I read from the eFuse Controller TRM
(Generic eFuse Controller.Technical Reference Manual.pdf) with respect to this clock.
"Free-running oscillator clock – used to clock the fuse-unload state machine. < 50Mhz"
Please comment.
>> + - sys: eFuse system interface clock
> I don't see a system interface gate clock for efuse in the TRM ...
This is what I read from the above document about the sys_clk.
"System bus clock, synchronous to the IMGBus1 input. < 400 MHz."
I think this clock enables access to shadow RAM where the eFuses status is stored.
Please comment.
regards,
Naidu.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v1 2/2] DT: eFuse: Add binding document for IMG Pistachio eFuse Controller
[not found] ` <27E62D98F903554192E3C13AFCC91C3C2F506F94-C8yLA94LPOy3snIXRfWIHVBRoQTxkR7k@public.gmane.org>
@ 2014-11-17 23:57 ` Andrew Bresticker
0 siblings, 0 replies; 4+ messages in thread
From: Andrew Bresticker @ 2014-11-17 23:57 UTC (permalink / raw)
To: Naidu Tellapati
Cc: Arul Ramasamy, Arnd Bergmann, Olof Johansson, Thierry Reding,
Stephen Warren, Greg Kroah-Hartman, James Hartley, James Hogan,
Ezequiel Garcia,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Jude Abraham
Hi Naidu,
On Mon, Nov 17, 2014 at 3:34 PM, Naidu Tellapati
<Naidu.Tellapati-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org> wrote:
> Hi Andrew,
>
> Many thanks for the review.
>
>>> +++ b/Documentation/devicetree/bindings/soc/pistachio/img-efuse.txt
>>> @@ -0,0 +1,18 @@
>>> +* IMG Pistachio eFuse controller
>>> +
>>> +Required properties:
>>> +- compatible: Must be "img,pistachio-efuse".
>>> +- reg: Must contain the base address and length of the eFuse registers.
>>> +- clocks: Must contain an entry for each entry in clock-names.
>>> + See ../clock/clock-bindings.txt for details.
>>> +- clock-names: Must include the following entries:
>>> + - efuse: External oscillator clock
>
>> How is the external oscillator related to efuse? Also, perhaps it
>> should be called "osc" since it's not an efuse-specific clock.
>
> This is what I read from the eFuse Controller TRM
> (Generic eFuse Controller.Technical Reference Manual.pdf) with respect to this clock.
>
> "Free-running oscillator clock – used to clock the fuse-unload state machine. < 50Mhz"
>
> Please comment.
Hmm.. is this the 52Mhz external oscillator on Pistachio? Or something else?
>>> + - sys: eFuse system interface clock
>
>> I don't see a system interface gate clock for efuse in the TRM ...
>
> This is what I read from the above document about the sys_clk.
>
> "System bus clock, synchronous to the IMGBus1 input. < 400 MHz."
>
> I think this clock enables access to shadow RAM where the eFuses status is stored.
I don't see a bit in CR_PERIP_CLKEN that corresponds to this... Is
this clock derived directly from SYSCLKOUT or PERIPHSYSCLKOUT (i.e. no
gate specifically for efuse)?
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v1 2/2] DT: eFuse: Add binding document for IMG Pistachio eFuse Controller
[not found] ` <75722FEA1977E24EA43DD41D9BEA70D53E8AA546-C8yLA94LPOy3snIXRfWIHVBRoQTxkR7k@public.gmane.org>
@ 2014-11-18 13:10 ` James Hartley
0 siblings, 0 replies; 4+ messages in thread
From: James Hartley @ 2014-11-18 13:10 UTC (permalink / raw)
To: Arul Ramasamy
Cc: Ezequiel Garcia, Andrew Bresticker, Naidu Tellapati,
Arnd Bergmann, Olof Johansson, Thierry Reding, Stephen Warren,
Greg Kroah-Hartman, James Hogan,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Jude Abraham
Hi Arul,
On 11/18/14 12:37, Arul Ramasamy wrote:
>
> Hi James Hartley and Ezequiel,
>
> > On Mon, Nov 17, 2014 at 3:34 PM, Naidu Tellapati
> <Naidu.Tellapati-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org <mailto:Naidu.Tellapati-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org>> wrote:
>
> >> Hi Andrew,
>
> >>
>
> >> Many thanks for the review.
>
> >>
>
> >>> +++ b/Documentation/devicetree/bindings/soc/pistachio/img-efuse.txt
>
> >>> @@ -0,0 +1,18 @@
>
> >>> +* IMG Pistachio eFuse controller
>
> >>> +
>
> >>> +Required properties:
>
> >>> +- compatible: Must be "img,pistachio-efuse".
>
> >>> +- reg: Must contain the base address and length of the eFuse
> registers.
>
> >>> +- clocks: Must contain an entry for each entry in clock-names.
>
> >>> + See ../clock/clock-bindings.txt for details.
>
> >>> +- clock-names: Must include the following entries:
>
> >>> + - efuse: External oscillator clock
>
> >>
>
> >> How is the external oscillator related to efuse? Also, perhaps it
>
> >> should be called "osc" since it's not an efuse-specific clock.
>
> >>
>
> > This is what I read from the eFuse Controller TRM (Generic eFuse
>
> > Controller.Technical Reference Manual.pdf) with respect to this clock.
>
> >>
>
> > > "Free-running oscillator clock – used to clock the fuse-unload
> state machine. < 50Mhz"
>
> >>
>
> >> Please comment.
>
> > Hmm.. is this the 52Mhz external oscillator on Pistachio? Or something else?
>
> Could you please help us might be with a help of our Hardware team.
>
The state machine is clocked at XTAL freq (which is 52MHz normally). The
register interface is driven by the sys_clk (typically 400MHz)
> >>> + - sys: eFuse system interface clock
>
> >>
>
> >> I don't see a system interface gate clock for efuse in the TRM ...
>
> >
>
> >> This is what I read from the above document about the sys_clk.
>
> >
>
> >> "System bus clock, synchronous to the IMGBus1 input. < 400 MHz."
>
> >>
>
> >> I think this clock enables access to shadow RAM where the eFuses
> status is stored.
>
> > I don't see a bit in CR_PERIP_CLKEN that corresponds to this... Is this clock
> derived directly from SYSCLKOUT or PERIPHSYSCLKOUT (i.e. no gate
> specifically for efuse)?
>
> Could you please help us might be with a help of our Hardware team.
>
It is not clock gated, it's fed directly from the PERIPH_SYS_CLK_OUT.
> Thanks and Regards,
>
> R.Arul Raj
>
Thanks,
James
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-11-18 13:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <75722FEA1977E24EA43DD41D9BEA70D53E8AA546@hbmail01.hb.imgtec.org>
[not found] ` <75722FEA1977E24EA43DD41D9BEA70D53E8AA546-C8yLA94LPOy3snIXRfWIHVBRoQTxkR7k@public.gmane.org>
2014-11-18 13:10 ` [PATCH v1 2/2] DT: eFuse: Add binding document for IMG Pistachio eFuse Controller James Hartley
[not found] <1416237576-21542-1-git-send-email-arul.ramasamy@imgtec.com>
[not found] ` <1416237576-21542-3-git-send-email-arul.ramasamy@imgtec.com>
[not found] ` <1416237576-21542-3-git-send-email-arul.ramasamy-1AXoQHu6uovQT0dZR+AlfA@public.gmane.org>
2014-11-17 19:13 ` Andrew Bresticker
[not found] ` <CAL1qeaF47Xwq5eS17D_rS4QBP12eJ3F0N-RNx+_o0kr-H1ropw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-11-17 23:34 ` Naidu Tellapati
[not found] ` <27E62D98F903554192E3C13AFCC91C3C2F506F94-C8yLA94LPOy3snIXRfWIHVBRoQTxkR7k@public.gmane.org>
2014-11-17 23:57 ` Andrew Bresticker
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.