android_kernel_google_msm/drivers
Michael Bohan bb75acd691 of: Add Device Tree support for SPMI
This change adds SPMI Device Tree parsing. The
of_spmi_register_devices() API should be called from the probe()
routine of each SPMI controller to parse the subtree and add the
respective SPMI devices.

The SPMI subtree is nested up to two levels deep. The first level
is the most basic and treats the address as the SPMI slave ID.
This should be used for simple devices that has no notion of
segmented SPMI address spaces.

An optional second level specifies the address as an offset
within the outer layer's slave ID. This is used to specify
multiple devices on the same slave ID that have different address
ranges. In fact, it's reasonable to specify any number of address
ranges at this level.

Devices can also specify any number of interrupts that's decoding
is done by an external interrupt device.

Sections of this code were taken from drivers/of/platform.c.

Change-Id: Ib9f06764a9bd85e3b2aab43b72aa7132885aa044
Signed-off-by: Michael Bohan <mbohan@codeaurora.org>
Signed-off-by: David Brown <davidb@codeaurora.org>
2013-02-25 11:32:57 -08:00
..
accessibility
acpi ACPI / PCI / PM: Fix device PM regression related to D3hot/D3cold 2012-05-17 16:16:16 -07:00
amba
ata Change summary: 2012-05-03 17:16:52 -07:00
atm
auxdisplay
base drivers: Resurrect sysdev 2013-02-25 11:29:18 -08:00
bcma
block Merge branch 'for-linus' of git://git.kernel.dk/linux-block 2012-05-19 10:12:17 -07:00
bluetooth Merge branch 'for-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth 2012-04-27 15:16:43 -04:00
cdrom
char char: Remove smd_pkt driver 2013-02-25 11:29:26 -08:00
clk clk: Add devm_clk_get() 2013-02-25 11:29:27 -08:00
clocksource
connector
cpufreq cpufreq: make the "scaling_cur_freq" sysfs entry pollable 2013-02-25 11:29:32 -08:00
cpuidle cpuidle: menu: Remove the unused get_loadavg function 2013-01-17 00:00:18 -08:00
crypto crypto: Add MSM crypto drivers 2013-02-25 11:29:28 -08:00
dca
devfreq
dio
dma Merge branch 'fixes' of git://git.infradead.org/users/vkoul/slave-dma 2012-05-17 09:57:13 -07:00
edac
eisa
firewire
firmware efivars: Improve variable validation 2012-05-03 17:19:19 -07:00
gpio msm: qpnp: Add gpiolib support for PMIC GPIOs 2013-02-25 11:32:09 -08:00
gpu board-8064 msm: Overlap secure and non secure video firmware heaps. 2013-02-07 17:44:17 -08:00
gud mobicore: rename variable to lower case. 2013-02-25 11:29:41 -08:00
hid Merge commit 'v3.4-rc4' into android-3.4 2012-04-27 14:03:45 -07:00
hsi HSI: hsi_char: Remove max_data_size from sysfs 2012-04-23 14:23:32 +03:00
hv
hwmon hwmon: Add MSM's epm ADC driver 2013-02-25 11:29:52 -08:00
hwspinlock
i2c i2c-ssbi: Add SSBI driver for 7x30 2013-02-25 11:29:55 -08:00
ide
idle
ieee802154
infiniband A few fixes for regressions introduced in 3.4-rc1: 2012-04-26 15:35:35 -07:00
input input: touchscreen: Add MSM legacy touchscreen driver 2013-02-25 11:30:54 -08:00
iommu
isdn
leds leds: led-class: Remove deprecated functions 2013-02-25 11:31:10 -08:00
lguest
macintosh
mca
md dm-crypt: remove per-cpu structure 2013-02-25 11:32:11 -08:00
media media: rc: Add wakeup functionality from GPIO IR event 2013-02-25 11:31:01 -08:00
memstick
message
mfd mfd: pm8921-core: Sync up to our copy 2013-02-25 11:31:47 -08:00
misc msm: Driver to get status of Page Migration. 2013-02-25 11:31:57 -08:00
mmc mmc: block: Remove forward declaration for non-existent function 2013-02-20 00:44:50 -08:00
mtd mtd: Collect bad block count for ecc stats lazily. 2013-02-25 11:32:01 -08:00
net net: wireless: wcnss: Initial version of the WCNSS WLAN Driver 2013-02-25 11:32:15 -08:00
nfc
nubus
of of: Add Device Tree support for SPMI 2013-02-25 11:32:57 -08:00
oprofile
parisc parisc: move definition of PAGE0 to asm/page.h 2012-05-10 15:12:08 -07:00
parport
pci ACPI / PCI / PM: Fix device PM regression related to D3hot/D3cold 2012-05-17 16:16:16 -07:00
pcmcia
pinctrl
platform usb: gadget: SPS BAM-to-BAM - USB BAM driver 2013-02-25 11:32:19 -08:00
pnp
power power: Add pm8921 battery monitoring driver 2013-02-25 11:32:32 -08:00
pps
ps3
ptp ptp_pch: Add missing #include <linux/slab.h> 2012-05-16 14:44:44 -04:00
rapidio
regulator regulator: Actually free the regulator in devm_regulator_put() 2012-05-07 13:14:44 +01:00
remoteproc remoteproc: fix off-by-one bug in __rproc_free_vrings 2012-05-13 23:15:42 +03:00
rpmsg
rtc [ARM] msm: RTC driver for Qualcomm MSM7K chipsets 2013-02-25 11:32:34 -08:00
s390 qeth: Use blkt defaults for OSA Express 4 2012-04-24 00:33:17 -04:00
sbus
scsi [SCSI] virtio_scsi: fix TMF use-after-free 2012-05-10 08:27:06 +01:00
sfi
sh
slimbus slimbus: Add Qualcomm Slimbus driver 2013-02-25 11:32:56 -08:00
sn
spi spidev: Unregister SPI device on spidev exit 2013-02-25 11:32:55 -08:00
ssb
staging ashmem: Add routines to get in kernel reference to ashmem file 2013-01-20 21:20:49 -08:00
switch
target target: Fix bug in handling of FILEIO + block_device resize ops 2012-05-17 12:02:43 -07:00
tc
thermal
tty tty: hvc_dcc: Remove redundant license clause 2013-02-25 11:32:51 -08:00
uio
usb Revert "usb: gadget: rndis: Fix re-binding f_rndis" 2013-01-10 11:12:11 -08:00
uwb
vhost vhost-net: fix handle_rx buffer size 2012-05-11 18:16:57 -04:00
video msm_fb: display: Add delay kickoff to MDDI 2013-02-25 11:29:06 -08:00
virt
virtio virtio: balloon: let host know of updated balloon size before module removal 2012-05-17 12:14:34 +03:00
vlynq
w1
watchdog hpwdt: Only BYTE reads/writes to WD Timer port 0x72 2012-04-26 14:38:07 +02:00
xen xen/Kconfig: fix Kconfig layout 2012-05-07 12:26:28 -04:00
zorro
Kconfig slimbus: Add Qualcomm Slimbus driver 2013-02-25 11:32:56 -08:00
Makefile slimbus: Add Qualcomm Slimbus driver 2013-02-25 11:32:56 -08:00