* PFUZE100 regulator not going off when PWRON is 0
@ 2014-09-03 9:44 Jean-Michel Hautbois
2014-09-03 12:52 ` Mark Brown
0 siblings, 1 reply; 4+ messages in thread
From: Jean-Michel Hautbois @ 2014-09-03 9:44 UTC (permalink / raw)
To: linux-kernel; +Cc: lgirdwood, devicetree, robh+dt, grant.likely, broonie
Hi,
I have a custom i.MX6 based board, but PMIC part is exactly the same
as the Freescale SabreSD board.
I have a reset button, which makes the PWRON signal on PFUZE100 go from 1 to 0.
I thought this would reset the chip, and thus all voltages would go to
0, but this is not the case. It seems that SWxOMODE registers are
involved in this process, accorgind to the datasheet, but I don't
think this is implemented right now.
I also removed regulator-always-on for my SW2 pin in order to get it
off, but this has no effect.
Thanks for your advices,
JM
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: PFUZE100 regulator not going off when PWRON is 0
2014-09-03 9:44 PFUZE100 regulator not going off when PWRON is 0 Jean-Michel Hautbois
@ 2014-09-03 12:52 ` Mark Brown
[not found] ` <20140903125248.GK29327-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Mark Brown @ 2014-09-03 12:52 UTC (permalink / raw)
To: Jean-Michel Hautbois
Cc: linux-kernel, lgirdwood, devicetree, robh+dt, grant.likely,
Robin Gong
[-- Attachment #1: Type: text/plain, Size: 910 bytes --]
On Wed, Sep 03, 2014 at 11:44:22AM +0200, Jean-Michel Hautbois wrote:
> I have a custom i.MX6 based board, but PMIC part is exactly the same
> as the Freescale SabreSD board.
> I have a reset button, which makes the PWRON signal on PFUZE100 go from 1 to 0.
> I thought this would reset the chip, and thus all voltages would go to
> 0, but this is not the case. It seems that SWxOMODE registers are
> involved in this process, accorgind to the datasheet, but I don't
> think this is implemented right now.
>
> I also removed regulator-always-on for my SW2 pin in order to get it
> off, but this has no effect.
You should really contact someone who worked on the driver or Freescale
about this - I don't think anyone on the CC list knows anything about
the part. In general if you're asking about a specific driver this is a
good approach. I've CCed Robin Gong who was the original author.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: PFUZE100 regulator not going off when PWRON is 0
[not found] ` <20140903125248.GK29327-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
@ 2014-09-09 2:41 ` Robin Gong
2014-09-09 20:59 ` Jean-Michel Hautbois
0 siblings, 1 reply; 4+ messages in thread
From: Robin Gong @ 2014-09-09 2:41 UTC (permalink / raw)
To: Mark Brown
Cc: Jean-Michel Hautbois, linux-kernel,
lgirdwood-Re5JQEeQqe8AvxtiuMwx3w,
devicetree-u79uwXL29TY76Z2rM5mHXA, robh+dt-DgEjT+Ai2ygdnm+yROfE0A,
grant.likely-QSEj5FYQhm4dnm+yROfE0A
Thanks for Mark's forward.
Hi Jean-Michel,
Yes, SWxOMODE can be set as 1 to active sleep mode if PWRON turn-off event
occurs. And the voltage of sleep mode can be set in other register SWxOFF. But
by default, SWxOMODE is 0 which means all SW will be turned off while PWRON go
form 1 to 0. For your issue, I hope you check the hardware design, and measure
PWRON pin to see whether it has been pulled low once your push reset key.
On Wed, Sep 03, 2014 at 01:52:48PM +0100, Mark Brown wrote:
> On Wed, Sep 03, 2014 at 11:44:22AM +0200, Jean-Michel Hautbois wrote:
>
> > I have a custom i.MX6 based board, but PMIC part is exactly the same
> > as the Freescale SabreSD board.
> > I have a reset button, which makes the PWRON signal on PFUZE100 go from 1 to 0.
> > I thought this would reset the chip, and thus all voltages would go to
> > 0, but this is not the case. It seems that SWxOMODE registers are
> > involved in this process, accorgind to the datasheet, but I don't
> > think this is implemented right now.
> >
> > I also removed regulator-always-on for my SW2 pin in order to get it
> > off, but this has no effect.
>
> You should really contact someone who worked on the driver or Freescale
> about this - I don't think anyone on the CC list knows anything about
> the part. In general if you're asking about a specific driver this is a
> good approach. I've CCed Robin Gong who was the original author.
--
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: PFUZE100 regulator not going off when PWRON is 0
2014-09-09 2:41 ` Robin Gong
@ 2014-09-09 20:59 ` Jean-Michel Hautbois
0 siblings, 0 replies; 4+ messages in thread
From: Jean-Michel Hautbois @ 2014-09-09 20:59 UTC (permalink / raw)
To: Robin Gong
Cc: Mark Brown, linux-kernel, Liam Girdwood,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Rob Herring,
Grant Likely
2014-09-09 4:41 GMT+02:00 Robin Gong <b38343-KZfg59tc24xl57MIdRCFDg@public.gmane.org>:
> Thanks for Mark's forward.
>
> Hi Jean-Michel,
> Yes, SWxOMODE can be set as 1 to active sleep mode if PWRON turn-off event
> occurs. And the voltage of sleep mode can be set in other register SWxOFF. But
> by default, SWxOMODE is 0 which means all SW will be turned off while PWRON go
> form 1 to 0. For your issue, I hope you check the hardware design, and measure
> PWRON pin to see whether it has been pulled low once your push reset key.
Thank you both, we found an electrical issue which made it not going down to 0V.
Regards,
JM
--
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-09-09 20:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-03 9:44 PFUZE100 regulator not going off when PWRON is 0 Jean-Michel Hautbois
2014-09-03 12:52 ` Mark Brown
[not found] ` <20140903125248.GK29327-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2014-09-09 2:41 ` Robin Gong
2014-09-09 20:59 ` Jean-Michel Hautbois
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).