Commit Graph
52458 Commits
Author SHA1 Message Date
Anirudh Ghayal 80c729b513 power: pm8921-charger: Make charger removal detection workaround optional
On some platforms such as MPQ8064 the charger removal detection
workarounds - reverse boost fix and OVP FET stuck do not work
as expected as the SMBC module is disconnected from USBout. On
these targets the USB interface is not used for charging but merely
to indicate the USB driver of the insertion/removal.

Add a platform data variable to make this optional and enable
the same for MPQ8064

Change-Id: I3fca1b357f8fc280483302f72ffbc61fb50109a7
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2013-03-05 19:49:32 -08:00
Linux Build Service Account ca403ce99c Merge "msm: krait-regulator: use phase management for v2" 2013-03-05 17:50:48 -08:00
Linux Build Service Account ea270cfca9 Merge "bif: Add BIF core framework driver" 2013-03-05 17:50:32 -08:00
Abhijeet Dharmapurikar 46a7ad3f1c msm: krait-regulator: use phase management for v2
The PMIC 8841 v2 that comes with msm8974 v2 is capable of doing
phase switching on ganged regulators. Enable this feature for
v2.

Change-Id: I21826f4cf7be332f5ab7621325fa6cbe6aa2ea95
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2013-03-05 12:53:52 -08:00
David Collins ed93049884 bif: Add BIF core framework driver
Add a BIF framework which implements core features of the MIPI
(Mobile Industry Processor Interace) BIF (Battery Interface)
specification.  MIPI-BIF defines an interface which can be used
to communicate with smart battery packs.

BIF controller drivers register with the BIF framework and
implement hardware specific features.  BIF consumers can make use
of an extensive API to communicate with BIF slaves present on a
BIF bus.

Change-Id: Id640344aadf878a49e93b12b16a5ecb181dd5aeb
Signed-off-by: David Collins <collinsd@codeaurora.org>
2013-03-05 09:43:40 -08:00
Linux Build Service Account 65051c1939 Merge "hwmon: vadc: fix compilation errors" 2013-03-05 00:59:44 -08:00
David Keitel c96dc8532d hwmon: vadc: fix compilation errors
Fix some typos which cause compilation errors when
VADC is not selected in defconfig.

Change-Id: Idb4b532bfa3ef9e33866c9e196b9f78489c462a9
Signed-off-by: David Keitel <dkeitel@codeaurora.org>
2013-03-04 15:17:22 -08:00
Linux Build Service Account afaa5db607 Merge "cpuidle: coupled: add parallel barrier function" 2013-03-04 14:59:08 -08:00
Linux Build Service Account 88e9bb9c18 Merge "cpuidle: add support for states that affect multiple cpus" 2013-03-04 14:59:07 -08:00
Linux Build Service Account f7240aa3d4 Merge "USB: msm_otg: Migrate to clock apis for XO voting" 2013-03-02 21:26:16 -08:00
Linux Build Service Account 3a242cc7d6 Merge "input: synaptics_i2c_rmi4: Add regulator support" 2013-03-02 11:55:31 -08:00
Linux Build Service Account ffc257b32f Merge "input: atmel_mxt_ts: Allow bootloader address to be set" 2013-03-02 10:05:48 -08:00
Linux Build Service Account 9f82dc4b7f Merge "mmc: sdhci: pull in missing changes during msm3.4 kernel upgrade" 2013-03-02 10:05:39 -08:00
Linux Build Service Account bde8801fcc Merge "drivers: dma-contiguous: clean source code and prepare for device tree" 2013-03-02 00:09:10 -08:00
Linux Build Service Account b34b1d06ac Merge "msm: camera2: Fix ION memory release in cpp driver" 2013-03-02 00:09:00 -08:00
Rajakumar Govindaram 0b6b245a06 msm: camera2: Fix ION memory release in cpp driver
The ION handles were not properly released. This change releases
the ION handle after hardware acknowledgement.

Change-Id: Ie3a86e23837a94a1b15d6e2cf2029da3e1c4e1ec
Signed-off-by: Rajakumar Govindaram <rajakuma@codeaurora.org>
2013-03-01 15:00:00 -08:00
Linux Build Service Account b99a8804a8 Merge "leds: leds-pm8xxx: enable setting of max current for individual string" 2013-03-01 14:16:53 -08:00
Linux Build Service Account 08fd0b1af6 Merge "leds: leds-pm8xxx: Add individual WLED string control" 2013-03-01 14:16:52 -08:00
Marek Szyprowski db7909cbb8 drivers: dma-contiguous: clean source code and prepare for device tree
This patch cleans the initialization of dma contiguous framework. The
all-in-one dma_declare_contiguous() function is now separated into
dma_contiguous_reserve_area() which only steals the the memory from
memblock allocator and dma_contiguous_add_device() function, which
assigns given device to the specified reserved memory area. This improves
the flexibility in defining contiguous memory areas and assigning device
to them, because now it is possible to assign more than one device to
the given contiguous memory area. This split in initialization is also
required for upcoming device tree support.

Change-Id: Ibddd1c9abc6550ee62b09645e7a3355256838bfe
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
2013-03-01 09:43:32 -08:00
Amy Maloche 1a53b61e73 input: synaptics_i2c_rmi4: Add regulator support
Add support for regulators to be controlled from driver
side.  This includes configuration and enablement.

Change-Id: I899dec377c4b766749d3f70b80a51f3c21757911
Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
2013-03-01 09:36:35 -08:00
Linux Build Service Account 9040431a51 Merge "coresight: add coresight cti driver" 2013-03-01 03:12:01 -08:00
Vijayavardhan Vennapusa 0cab6170b3 USB: msm_otg: Migrate to clock apis for XO voting
Use the clock APIs instead of the msm_xo APIs to vote on CXO.
This removes one more msm specific api from this driver and will
allow us to move XO control into the rpm clock driver. If clock
APIs fail, fallback on msm specific apis to vote for CXO.

Change-Id: I6520948b9fa0ed233b235d0fd9f828ad02bc2ae2
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
2013-03-01 13:11:58 +05:30
Sahitya Tummala ca4221121e mmc: sdhci: pull in missing changes during msm3.4 kernel upgrade
During MSM 3.4 kernel upgrade the changes to already existing
files sdhci.c and sdhci.h were missed out. As a result of which,
these files are still pointing to 3.0 changes. This commit adds
those missing changes back.

Change-Id: Ibfabd11948dcf90db5b79688b694ff889bd55a60
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
2013-03-01 11:13:55 +05:30
Linux Build Service Account 12a89de40a Merge "mm: cma: fix condition check when setting global cma area" into msm-3.4 2013-02-28 20:55:36 -08:00
Linux Build Service Account 9755627d8c Merge "drivers: cma: represent physical addresses as phys_addr_t" into msm-3.4 2013-02-28 20:55:31 -08:00
Pratik Patel d944cc718d coresight: add coresight cti driver
Add support for CoreSight Cross Trigger Interface driver which
can be used to setup various cross-triggers available between
hardware blocks. This driver provides both an in kernel api as
well as a sysfs based user interface.

Change-Id: Idf445e6d1a3b082e0101b9b38926584527f1630f
Signed-off-by: Pratik Patel <pratikp@codeaurora.org>
2013-02-28 16:04:36 -08:00
Ashay Jaiswal 5dad2524ea ssm: Add Secure Service Module driver
Module provides an interface for OEM driver to communicate with Modem
and trustzone

This module provides following features:
- Key-Exchange between Modem and trustzone for encryption/decryption
 of modes information.
- Interface to third party driver to send mode updates to modem.
- Interface for loading the trustzone application.

Change-Id: I5f9cb222378448c61f39b1b437cd4bda7c4f606d
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
2013-02-28 13:59:56 +05:30
Marek Szyprowski c5d97ec269 mm: cma: fix condition check when setting global cma area
dev_set_cma_area incorrectly assigned cma to global area on first call
due to incorrect check. This patch fixes this issue.

Change-Id: I24f410bb08c1419e1f8408f30536d82886e104e0
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
2013-02-27 17:24:23 -08:00
Vitaly Andrianov 2ee0174247 drivers: cma: represent physical addresses as phys_addr_t
This commit changes the CMA early initialization code to use phys_addr_t
for representing physical addresses instead of unsigned long.

Without this change, among other things, dma_declare_contiguous() simply
discards any memory regions whose address is not representable as unsigned
long.

This is a problem on 32-bit PAE machines where unsigned long is 32-bit
but physical address space is larger.

Change-Id: I0651ae4bfdbd86139398433f4a3f632efd482b8a
Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Acked-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
2013-02-27 17:24:23 -08:00
Amy Maloche 59cf818e9d leds: leds-pm8xxx: enable setting of max current for individual string
Max current for all wleds will still be used to set
general properties, such as max brightness, but for
each string an individual max can be set.

CRs-Fixed: 377988
Change-Id: I73284176b04e016e315d36d680cef02119dec370
Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
2013-02-27 16:32:24 -08:00
Amy Maloche e7d7ef3134 leds: leds-pm8xxx: Add individual WLED string control
Add ability to choose which WLEDs to turn on, instead of
only 1, 2 or 3 starting from the left side.

Change-Id: I1c2ae88e9150801d98f9f85bbc4d2edf693de658
Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
2013-02-27 16:32:20 -08:00
Amy Maloche 265fc3c675 input: atmel_mxt_ts: Allow bootloader address to be set
The driver maintains a default mapping between appmode address
and bootloader address. Some appmode addresses may have
different corresponding bootloader addresses than what is
currently mapped. When this is the case, looking through an
array will not work and bootloader address must be passed in
through device tree or pdata. Appmode address is already
present in i2c client structure.

With this support, firmware upgrade for mxt336s and mxt1664s
touch controllers is now present.

Change-Id: I722f1351e133d37e656f26b4a4628313ba67d7e2
Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
2013-02-27 12:06:13 -08:00
Linux Build Service Account f0f6d6f5da Merge "msm: audio: qdsp6v2: Add support to configure ISO and ARIB coefficients" 2013-02-27 06:17:58 -08:00
Linux Build Service Account 7464171b82 Merge "ASoC: msm: qdsp6: Add support to configure ISO and ARIB coefficients" 2013-02-27 06:17:56 -08:00
Linux Build Service Account 54487c636a Merge "gpu: ion: Remove get_flags ioctl" 2013-02-27 06:17:25 -08:00
Linux Build Service Account a8c1398584 Merge "msm: mdss: enable secure wfd support" 2013-02-27 06:16:56 -08:00
Linux Build Service Account 2142585f93 Merge "gpu: ion: check for leaks in ion_client_destroy" 2013-02-27 06:16:49 -08:00
Linux Build Service Account 3160f00379 Merge "wcnss: Prevent NV download by WCNSS driver during SSR" 2013-02-27 00:53:42 -08:00
Linux Build Service Account 0247a281b9 Merge "SoC: msm: Set soft step values to 0 to avoid noise" 2013-02-27 00:51:56 -08:00
Amal Paul 6253698708 msm: audio: qdsp6v2: Add support to configure ISO and ARIB coefficients
Add support for configuring ISO or ARIB stereo mixing coefficients.
This change introduces an IOCTL through which the user space can
configure ISO or ARIB coefficients.

Change-Id: I55ffa339ac8daa2b58212774277f895a22ea048c
Signed-off-by: Amal Paul <amal@codeaurora.org>
2013-02-26 19:28:53 -08:00
Amal Paul 2ca061bff0 ASoC: msm: qdsp6: Add support to configure ISO and ARIB coefficients
Add support for configuring ISO or ARIB stereo mixing
coefficients. This change introduces a function with which,
AAC multi-channel driver can configure ISO or ARIB coefficients
according to configuration done by the client.

Change-Id: I33e07042a051fefbf1d1c1d5e94c6ff938c49311
Signed-off-by: Amal Paul <amal@codeaurora.org>
2013-02-26 19:26:49 -08:00
Laura Abbott d0fa5fd3e3 gpu: ion: Remove get_flags ioctl
There are no callers of the get flags ioctl. Remove it
before anyone tries to use it again.

Change-Id: I857ef705fc864cce49f671124b96bd9f47b66ab2
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
2013-02-26 17:47:40 -08:00
Sameer Thalappil cf566bbe35 wcnss: Prevent NV download by WCNSS driver during SSR
NV download is not done by WCNSS platform driver during SSR. After
SSR WCNSS depends on WLAN driver to load NV image.

Change-Id: I2c3f64aa94634b89b1f191d56748e8cf7b71cdc5
CRs-fixed: 457015
Signed-off-by: Sameer Thalappil <sameert@codeaurora.org>
2013-02-26 17:39:05 -08:00
Adrian Salido-Moreno 96d88d4015 msm: mdss: enable secure wfd support
Provide APIs to enable secure content display through wifi display.
Implement workaround to allocate a secure source pipe so that MDP is
allowed to write back to secure buffer.

Change-Id: I1c329fec726bec1ae721bc5f2ec39d3b21259e8d
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
2013-02-26 16:58:02 -08:00
Linux Build Service Account 6dbe71552e Merge "gpu: ion: Add some missing stubs" 2013-02-26 13:40:16 -08:00
Mitchel Humpherys 782653ed3b gpu: ion: Add some missing stubs
Stubs for msm_ion_secure_buffer and msm_ion_unsecure_buffer were
missing for when CONFIG_ION is not defined. Add them.

Change-Id: I90aabd2692c391e8004930881cef6cc3134769a8
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
2013-02-26 09:08:10 -08:00
Linux Build Service Account a0b7a571e0 Merge "msm: mhl: hdmi: MHL-HDMI handshake implementation" 2013-02-25 17:18:34 -08:00
Mitchel Humpherys a75e4eb075 gpu: ion: check for leaks in ion_client_destroy
If an ion client is destroyed without destroying all handles created
by that client, there will be leaked buffers. Print a message if this
happens.

Change-Id: Id674f508666d506b3a9ee848adbc29435c5fe8c2
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
2013-02-25 11:53:59 -08:00
Linux Build Service Account b2e55ea7ec Merge "android/lowmemorykiller: Ignore tasks with freed mm" 2013-02-25 02:07:35 -08:00
Linux Build Service Account 3d96f4fefe Merge "platform: msm: Add QPNP PMIC vibrator driver" 2013-02-25 00:17:30 -08:00