Commit Graph

19 Commits

Author SHA1 Message Date
Sagar Dharia
a316a964d6 msm: copper: Add support for SLIMBUS controller
SLIMBUS controller is used by audio. SLIMBUS controller device is
added to Device Tree for copper.

Change-Id: I03f133b1e219896cb4135d1a770938e416d8e511
Signed-off-by: Sagar Dharia <sdharia@codeaurora.org>
2012-03-31 23:19:40 -06:00
Sathish Ambley
2f27a173d0 msm: board-dt: ARM generic timer DT support
The ARM generic timer now supports DT routines to parse the
device tree and populate its members, so remove this from
the board file and invoke the DT routine exposed from the
ARM generic timer.

Change-Id: Id383aff8f5f2c8fdb541f1df72242f8938229784
Signed-off-by: Sathish Ambley <sambley@codeaurora.org>
2012-03-25 20:52:14 -07:00
Sagar Dharia
218edb9265 msm: copper: i2c: Add i2c adapter for BLSP-QUP core 9 (I2C10)
BLSP-QUP core 9 (also referred as I2C10) is added to Device-Tree
for copper. This core is used by I2C EEPROM.

Change-Id: Ib3af7ae305ef11ac415462504b736d7a9bc87092
Signed-off-by: Sagar Dharia <sdharia@codeaurora.org>
2012-03-23 00:19:45 -06:00
Subhash Jadavani
56e0eaaf20 mmc: msm_sdcc: add support for eMMC 4.5 HS200 mode
The following changes are required in host driver to
enable/configure the controller in HS200 mode -

1. Define new eMMC host capabilities as supported by the
host. These capabilities allows the MMC core driver to
enable HS200 timing in device.

2. After the device is set to HS200 mode, the host driver
must send tuning command CMD21 to find the optimal sampling
point for data lines.

3. Depending on the voltage range and HS200 modes supported
by the host and device, host driver must change the voltage
range of VccQ whenever the MMC core driver requests it.

4. Change the controller timing mode and MCLK frequency to
maximum frequency supported by host.

Change-Id: Iaa30778a509eb800b0193f32f85ce494610e94c3
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
2012-03-16 09:44:51 +05:30
Michael Bohan
857c8ac7ed msm: msmcopper: Fix wrong int format for spi device
As recent change to convert the GIC interrupt format missed this
spi interrupt for conversion due to an oversight when rebasing.
Update it to the correct tuple of <int_type int_num flags>.

Change-Id: I5cf50bbde627def788c615a0e3e062dd4ccf4876
Signed-off-by: Michael Bohan <mbohan@codeaurora.org>
2012-03-09 12:40:20 -08:00
Gilad Avidov
a11c0b5fbe SPMI: new format for device tree data
reduce memory by compressing two values into one 32 bit integer.

Change-Id: I7c0bf7007df082fac53c1138ba45f1ecf77b2f83
Signed-off-by: Gilad Avidov <gavidov@codeaurora.org>
2012-02-21 14:51:38 -07:00
Kenneth Heitke
f3c829c695 copper: Add board and device tree support for the SPMI driver
Add the basic attributes in the device tree for the SPMI PMIC
Arbiter.

Change-Id: I73bb32d06de94219e9c3a930939ee69302686356
Signed-off-by: Kenneth Heitke <kheitke@codeaurora.org>
2012-02-16 06:22:55 -07:00
David Brown
225abeefd4 msm: copper: Fix casing of dts names
The hex offsets that are part of node names in the DTS are required to
use lowercase hex characters.  By convention, the constants used
within the code are also in lower case.  Fix inconsistent casing, and
always use lower case.

Change-Id: I86e096c5aebb9011a5c12a4a2d558dedee5eb09a
Signed-off-by: David Brown <davidb@codeaurora.org>
2012-02-13 15:32:44 -08:00
Michael Bohan
0425f6fe26 msm: copper: Add msm-gpio as an int-ctrl in Device Tree
All irq chip drivers must register with Device Tree. This allows
for translation of included interrupts, and irq_domain allocation
of the msm-gpio range on the system.

Change-Id: Ic587a810e28eac4b1216e885a22139681fe1c158
Signed-off-by: Michael Bohan <mbohan@codeaurora.org>
2012-01-27 10:14:22 -08:00
Michael Bohan
c722453d58 msm: board-copper: Convert gic to use of_irq_init API
The GIC driver has been recently changed to support Device Tree.
Make changes to use the Device Tree interrupt framework intialize
the GIC instead of invoking it manually.

Change-Id: I611bce3e8662583ba66553fd7ec37eac83b60388
Signed-off-by: Michael Bohan <mbohan@codeaurora.org>
2012-01-19 12:14:35 -08:00
Harini Jayaraman
5f98dbbdc2 msm: Copper: Add board and device tree support for SPI driver
This patch describes the basic attributes in the device tree
for the MSM SPI driver. Support for specifying the GPIO pins
associated with SPI is not yet present.

Change-Id: Idcb5cc28d84a2fa59463e698628da48cb058c652
Signed-off-by: Harini Jayaraman <harinij@codeaurora.org>
2012-01-17 15:16:10 -07:00
Sathish Ambley
098f9bd169 msm: timer: Add ARM generic timer support
Add new timer node in the device tree that the timer initialization
routine uses to register the timer.

Update makefile to use ARM generic timer if CONFIG_ARM_ARCH_TIMER
is turned on.

Change-Id: I422a02b47e42902e26d8ee31da857138235780c4
Signed-off-by: Sathish Ambley <sambley@codeaurora.org>
2011-12-07 11:47:40 -08:00
Yan He
1466daa90c platform-drivers: msm: sps: Add SPS support for msm copper
Change-Id: If5b686e17fe8691024ef7475d5a89f2670390b8e
Signed-off-by: Yan He <yanhe@codeaurora.org>
2011-12-05 12:49:11 -08:00
Sathish Ambley
ab783ab6d0 msm: iomap: Update base address mapping for Copper devices
Update the base address for the devices to match the new
values.

Change-Id: I80b8dfddb52a103aea9f414cbcef9e456e88c4e9
Signed-off-by: Sathish Ambley <sambley@codeaurora.org>
2011-12-02 21:37:43 -08:00
Sujit Reddy Thumma
7285c2e6b0 msm: msm_sdcc: Add device tree support for SDCC controllers
Change-Id: Ic0d784eef2439ff9e10baf64499bb1be71bfb57d
Signed-off-by: Sujit Reddy Thumma <sthumma@codeaurora.org>
2011-11-17 14:35:13 -07:00
Pavankumar Kondeti
eaea7fe54a msm: Add device tree support for HSUSB
Add device tree support for MSM HSUSB.  The OTG driver registers
gadget and host platform devices based on the operational mode.
This patch also updates the copper device tree source file with
HSUSB device specifics.

Change-Id: I0a50b0500d15f32ff65468cdb411398a80a20329
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2011-11-16 08:37:59 +05:30
Sathish Ambley
3d50c76eb2 msm_serial_hs_lite: Add devicetree support
Support to retrieve iomem resources by name does not currently
exist in device tree, access these by index until support for
this comes in.

Clocks are still queried by direct name from the driver until
device tree clock support is implemented.

Change-Id: I6e4e7d7968573959f652abb950729b851fe491b8
Signed-off-by: Sathish Ambley <sambley@codeaurora.org>
2011-11-02 11:31:10 -07:00
Sathish Ambley
4df614ccd1 arm/dt: msm-copper: Device tree source file for MSM Copper
Initial device tree source file with interrupt controller

Change-Id: I22b42795925f4bd57d94b6bb3a7595dbd06108ba
Signed-off-by: Sathish Ambley <sambley@codeaurora.org>
2011-10-24 10:42:45 -07:00
Grant Likely
c46436272f arm/dt: Add skeleton dtsi file
Contains the bare minimum template required to boot with the device tree.

Change-Id: Icd15ac50dc44a214de32626193ad8da8b98c68eb
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Sathish Ambley <sambley@codeaurora.org>
2011-10-21 16:24:46 -07:00