public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Query: Phy: How to find consumer device on dt platform
@ 2014-01-28 14:13 Pratyush Anand
  2014-01-28 14:28 ` Kishon Vijay Abraham I
  0 siblings, 1 reply; 8+ messages in thread
From: Pratyush Anand @ 2014-01-28 14:13 UTC (permalink / raw)
  To: Kishon Vijay Abraham I; +Cc: Arnd Bergmann, Mohit Kumar, linux-kernel

Hi Kishon,

I have a phy driver which has to be used by two different consumer
driver, say pcie and sata.

I have a common set of registers, which need to be programmed
differently for PCIe and SATA during phy init/exit.

Therefore, in the init/exit routine of phy_ops, I need some way of
identifying that phy_init/exit has been called from PCIe driver or
SATA driver.

Please let me know, if a way already exist.

Regards
Pratyush

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

end of thread, other threads:[~2014-01-29 14:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-28 14:13 Query: Phy: How to find consumer device on dt platform Pratyush Anand
2014-01-28 14:28 ` Kishon Vijay Abraham I
2014-01-28 21:26   ` Arnd Bergmann
2014-01-29  5:41     ` Kishon Vijay Abraham I
2014-01-29  9:50       ` Pratyush Anand
2014-01-29 14:24         ` Arnd Bergmann
2014-01-29 14:17           ` Pratyush Anand
2014-01-29 13:39       ` Arnd Bergmann

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