Messages in this thread | | | Date | Tue, 28 Jan 2014 19:43:56 +0530 | From | Pratyush Anand <> | Subject | Query: 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
| |