From: Pratyush Anand <pratyush.anand@st.com>
To: Kishon Vijay Abraham I <kishon@ti.com>
Cc: Arnd Bergmann <arnd@arndb.de>, Mohit Kumar <mohit.kumar@st.com>,
<linux-kernel@vger.kernel.org>
Subject: Query: Phy: How to find consumer device on dt platform
Date: Tue, 28 Jan 2014 19:43:56 +0530 [thread overview]
Message-ID: <20140128141356.GC3519@pratyush-vbox> (raw)
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
next reply other threads:[~2014-01-28 14:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-28 14:13 Pratyush Anand [this message]
2014-01-28 14:28 ` Query: Phy: How to find consumer device on dt platform 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140128141356.GC3519@pratyush-vbox \
--to=pratyush.anand@st.com \
--cc=arnd@arndb.de \
--cc=kishon@ti.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mohit.kumar@st.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox