[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140128141356.GC3519@pratyush-vbox>
Date: Tue, 28 Jan 2014 19:43:56 +0530
From: Pratyush Anand <pratyush.anand@...com>
To: Kishon Vijay Abraham I <kishon@...com>
Cc: Arnd Bergmann <arnd@...db.de>, Mohit Kumar <mohit.kumar@...com>,
<linux-kernel@...r.kernel.org>
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists