lkml.org 
[lkml]   [2014]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectQuery: Phy: How to find consumer device on dt platform
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


\
 
 \ /
  Last update: 2014-01-28 15:41    [W:0.072 / U:0.564 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site