[PATCH] DA9052 Linux device drivers [9/9]

From: David Dajun Chen
Date: Wed May 19 2010 - 08:46:11 EST


Dear sir/madam,

The attached is the feature CONFIG part of the device drivers newly developed for DA9052 Power Management IC from Dialog Semiconductor.

Should you have any queries or comments please feel free to contact me.

Regards


Dr. David Dajun Chen
Dialog Semiconductor Ltd.
Delta 200, Welton Road
Delta Business Park
Swindon
Wiltshire SN5 7XB
UK
Telephone: (+44) 01793-757714
Mobile:         (+44) 07917015477
Fax:               (+44) 01793-758000
===========================================================================


diff -Naur linux-2.6.33.2/drivers/Makefile linux-2.6.33.2_patch/drivers/Makefile
--- linux-2.6.33.2/drivers/Makefile 2010-04-02 04:02:33.000000000 +0500
+++ linux-2.6.33.2_patch/drivers/Makefile 2010-05-12 09:44:14.000000000 +0500
@@ -5,13 +5,15 @@
# Rewritten to use lists instead of if-statements.
#

+ifneq ($(CONFIG_MFD_DA9052),y)
obj-y += gpio/
+endif
+
obj-$(CONFIG_PCI) += pci/
obj-$(CONFIG_PARISC) += parisc/
obj-$(CONFIG_RAPIDIO) += rapidio/
obj-y += video/
obj-$(CONFIG_ACPI) += acpi/
-obj-$(CONFIG_SFI) += sfi/
# PnP must come after ACPI since it will eventually need to check if acpi
# was used and do nothing if so
obj-$(CONFIG_PNP) += pnp/
@@ -19,9 +21,6 @@

obj-$(CONFIG_XEN) += xen/

-# regulators early, since some subsystems rely on them to initialize
-obj-$(CONFIG_REGULATOR) += regulator/
-
# char/ comes before serial/ etc so that the VT console is the boot-time
# default.
obj-y += char/
@@ -37,22 +36,27 @@

obj-y += serial/
obj-$(CONFIG_PARPORT) += parport/
-obj-y += base/ block/ misc/ mfd/
+
+ifneq ($(CONFIG_MFD_DA9052),y)
+obj-y += base/ block/ misc/ mfd/ net/ media/
+else
+obj-y += base/ block/ misc/ net/ media/
+endif
+
obj-$(CONFIG_NUBUS) += nubus/
+obj-$(CONFIG_ATM) += atm/
obj-y += macintosh/
obj-$(CONFIG_IDE) += ide/
obj-$(CONFIG_SCSI) += scsi/
obj-$(CONFIG_ATA) += ata/
-obj-$(CONFIG_MTD) += mtd/
-obj-$(CONFIG_SPI) += spi/
-obj-y += net/
-obj-$(CONFIG_ATM) += atm/
obj-$(CONFIG_FUSION) += message/
obj-$(CONFIG_FIREWIRE) += firewire/
obj-y += ieee1394/
obj-$(CONFIG_UIO) += uio/
obj-y += cdrom/
obj-y += auxdisplay/
+obj-$(CONFIG_MTD) += mtd/
+obj-$(CONFIG_SPI) += spi/
obj-$(CONFIG_PCCARD) += pcmcia/
obj-$(CONFIG_DIO) += dio/
obj-$(CONFIG_SBUS) += sbus/
@@ -62,23 +66,37 @@
obj-$(CONFIG_PARIDE) += block/paride/
obj-$(CONFIG_TC) += tc/
obj-$(CONFIG_UWB) += uwb/
-obj-$(CONFIG_USB_OTG_UTILS) += usb/otg/
obj-$(CONFIG_USB) += usb/
obj-$(CONFIG_USB_MUSB_HDRC) += usb/musb/
obj-$(CONFIG_PCI) += usb/
obj-$(CONFIG_USB_GADGET) += usb/gadget/
obj-$(CONFIG_SERIO) += input/serio/
obj-$(CONFIG_GAMEPORT) += input/gameport/
+
+ifneq ($(CONFIG_MFD_DA9052),y)
obj-$(CONFIG_INPUT) += input/
+endif
+
obj-$(CONFIG_I2O) += message/
+
+ifneq ($(CONFIG_MFD_DA9052),y)
obj-$(CONFIG_RTC_LIB) += rtc/
-obj-y += i2c/ media/
-obj-$(CONFIG_PPS) += pps/
+endif
+
+obj-y += i2c/
obj-$(CONFIG_W1) += w1/
+
+ifneq ($(CONFIG_MFD_DA9052),y)
obj-$(CONFIG_POWER_SUPPLY) += power/
+endif
+
obj-$(CONFIG_HWMON) += hwmon/
obj-$(CONFIG_THERMAL) += thermal/
+
+ifeq ($(CONFIG_MFD_DA9052),n)
obj-$(CONFIG_WATCHDOG) += watchdog/
+endif
+
obj-$(CONFIG_PHONE) += telephony/
obj-$(CONFIG_MD) += md/
obj-$(CONFIG_BT) += bluetooth/
@@ -93,7 +111,11 @@
obj-y += idle/
obj-$(CONFIG_MMC) += mmc/
obj-$(CONFIG_MEMSTICK) += memstick/
+
+ifneq ($(CONFIG_MFD_DA9052),y)
obj-$(CONFIG_NEW_LEDS) += leds/
+endif
+
obj-$(CONFIG_INFINIBAND) += infiniband/
obj-$(CONFIG_SGI_SN) += sn/
obj-y += firmware/
@@ -107,7 +129,20 @@
obj-$(CONFIG_OF) += of/
obj-$(CONFIG_SSB) += ssb/
obj-$(CONFIG_VIRTIO) += virtio/
-obj-$(CONFIG_VLYNQ) += vlynq/
+
+ifneq ($(CONFIG_MFD_DA9052),y)
+obj-$(CONFIG_REGULATOR) += regulator/
+endif
+
obj-$(CONFIG_STAGING) += staging/
-obj-y += platform/
-obj-y += ieee802154/
+
+ifeq ($(CONFIG_MFD_DA9052),y)
+obj-y += mfd/
+obj-y += gpio/
+obj-$(CONFIG_INPUT) += input/
+obj-$(CONFIG_RTC_LIB) += rtc/
+obj-$(CONFIG_POWER_SUPPLY) += power/
+obj-$(CONFIG_WATCHDOG) += watchdog/
+obj-$(CONFIG_NEW_LEDS) += leds/
+obj-$(CONFIG_REGULATOR) += regulator/
+endif
Legal Disclaimer: This e-mail communication (and any attachment/s) is confidential and contains proprietary information,
some or all of which may be legally privileged. It is intended solely for the use of the individual or entity to which it
is addressed. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/