From: Girish K S <girish.shivananjappa@linaro.org>
To: linux-scsi@vger.kernel.org
Cc: james.bottomley@hansenpartnership.com, vinholikatti@gmail.com,
santoshsy@gmail.com, patches@linaro.org,
Girish K S <girish.shivananjappa@linaro.org>
Subject: [RFC V1 4/4] SCSI: UFS: Added support of PCI/PLTFM for UFS
Date: Tue, 15 May 2012 17:33:56 +0530 [thread overview]
Message-ID: <1337083436-4204-5-git-send-email-girish.shivananjappa@linaro.org> (raw)
In-Reply-To: <1337083436-4204-1-git-send-email-girish.shivananjappa@linaro.org>
This patch modifies the Kconfig and the Makefile to
add support for PCI and Platform config options to the
UFS core driver. If the device is attached to the core
throught pci,then PCI option has to be selected in the
menuconfig. For more information read the help section
of Kconfig file.
Signed-off-by: Girish K S <girish.shivananjappa@linaro.org>
---
drivers/scsi/ufs/Kconfig | 32 +++++++++++++++++++++++++++++---
drivers/scsi/ufs/Makefile | 2 ++
2 files changed, 31 insertions(+), 3 deletions(-)
diff --git a/drivers/scsi/ufs/Kconfig b/drivers/scsi/ufs/Kconfig
index 8f27f9d..70f3a71 100644
--- a/drivers/scsi/ufs/Kconfig
+++ b/drivers/scsi/ufs/Kconfig
@@ -44,6 +44,32 @@
config SCSI_UFSHCD
tristate "Universal Flash Storage host controller driver"
- depends on PCI && SCSI
- ---help---
- This is a generic driver which supports PCIe UFS Host controllers.
+ depends on SCSI
+ help
+ This is a generic driver which supports UFS Host controllers.
+ This option is selected automatically if the SCSI option is
+ selected. This is a core ufs driver.
+
+config SCSI_UFSHCD_PCI
+ tristate "Universal Flash Storage host support on PCI bus"
+ depends on SCSI_UFSHCD && PCI
+ help
+ This selects the PCI bus for the Universal Flash Storage IP.
+ Select this option if the IP is present on PCI platform.
+
+ If you have a controller with this interface, say Y or M here.
+
+ If unsure, say N.
+
+config SCSI_UFSHCD_PLTFM
+ tristate "Universal Flash Storage host support as platform device"
+ depends on SCSI_UFSHCD
+ help
+ This selects the common helper functions support for Host Controller
+ Interface based platform driver. Please select this option if the IP
+ is present as a platform device. This is the common interface for the
+ UFS Host Controller IP.
+
+ If you have a controller with this interface, say Y or M here.
+
+ If unsure, say N.
diff --git a/drivers/scsi/ufs/Makefile b/drivers/scsi/ufs/Makefile
index adf7895..fc56471 100644
--- a/drivers/scsi/ufs/Makefile
+++ b/drivers/scsi/ufs/Makefile
@@ -1,2 +1,4 @@
# UFSHCD makefile
obj-$(CONFIG_SCSI_UFSHCD) += ufshcd.o
+obj-$(CONFIG_SCSI_UFSHCD_PCI) += ufshcd-pci.o
+obj-$(CONFIG_SCSI_UFSHCD_PLTFM) += ufshcd-pltfm.o
--
1.7.4.1
next prev parent reply other threads:[~2012-05-15 12:06 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-15 12:03 [RFC V1 0/4] Add support for pci/non-pci probing for UFS Girish K S
2012-05-15 12:03 ` [RFC V1 1/4] SCSI: UFS: remove all pci code from core driver Girish K S
2012-05-15 12:03 ` [RFC V1 2/4] SCSI: UFS: Add support for pci probe Girish K S
2012-05-15 12:03 ` [RFC V1 3/4] SCSI: UFS: Add platform support for ufs host controller Girish K S
2012-05-15 12:03 ` Girish K S [this message]
2012-05-16 1:48 ` [RFC V1 0/4] Add support for pci/non-pci probing for UFS Namjae Jeon
2012-05-16 4:36 ` Girish K S
2012-05-16 6:10 ` Girish K S
2012-05-16 7:44 ` James Bottomley
2012-05-16 12:16 ` Christoph Hellwig
2012-05-16 13:59 ` Girish K S
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=1337083436-4204-5-git-send-email-girish.shivananjappa@linaro.org \
--to=girish.shivananjappa@linaro.org \
--cc=james.bottomley@hansenpartnership.com \
--cc=linux-scsi@vger.kernel.org \
--cc=patches@linaro.org \
--cc=santoshsy@gmail.com \
--cc=vinholikatti@gmail.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;
as well as URLs for NNTP newsgroup(s).