public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* GPIO registration for external Ethernet PHY oscillator enable/disable
@ 2014-09-23 21:52 Michael Welling
  2014-09-25 19:17 ` Michael Welling
  0 siblings, 1 reply; 11+ messages in thread
From: Michael Welling @ 2014-09-23 21:52 UTC (permalink / raw)
  To: linux-kernel

I have some questions that span multiple subsystems including
gpio/pinctrl, apm, and net subsystems.

On some of our system on module designs, we use a GPIO to toggle the
enable pin on external oscillators. In particular, we are using a 50Mhz
oscillator to drive a clock on a RMII Ethernet PHY.

Though I can configure the pin such that the Ethernet interface works we 
are looking to disable the oscillator during APM sleep but after the PHY is 
put into a low power mode.

How do I register a GPIO for use in the PHY suspend and resume code?
Can it be handled outside of the PHY driver?
If so how do ensure the appropriate suspend and resume sequencing?

For reference, we are using a Micrel KSZ8081 PHY connected to a
AT91SAMA5D35 processor.

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

end of thread, other threads:[~2014-10-07 16:38 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-23 21:52 GPIO registration for external Ethernet PHY oscillator enable/disable Michael Welling
2014-09-25 19:17 ` Michael Welling
2014-09-25 19:56   ` Florian Fainelli
2014-09-26 16:59     ` Michael Welling
2014-09-26 17:16       ` Florian Fainelli
2014-09-26 17:32         ` Michael Welling
2014-09-26 20:04         ` Michael Welling
2014-10-07 14:09           ` Linus Walleij
2014-10-07 16:38             ` Michael Welling
2014-10-07 14:04   ` Linus Walleij
2014-10-07 16:30     ` Michael Welling

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox