Commit Graph

44922 Commits

Author SHA1 Message Date
Manu Gautam
5143b25310 msm: clock: Use device names to distinguish between USB clocks
Drivers should now use their device names to distinguish between
clocks of the same type rather than the clock name. Clock names
are updated to match the new naming convention.

CRs-Fixed: 327559
Change-Id: I78757806589e037a0655a63e7ee20c935214c99d
Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
2012-01-09 22:32:33 -07:00
Linux Build Service Account
f5845c4578 Merge "ASOC: msm: Add the MI2S CPU driver." into msm-3.0 2012-01-09 21:15:31 -08:00
Linux Build Service Account
1bb561013c Merge "msm: vidc: Adds video header files." into msm-3.0 2012-01-09 17:18:37 -08:00
Linux Build Service Account
ec3c193aa6 Merge changes I4973b80b,I3c4fd9d3 into msm-3.0
* changes:
  msm: 8930: Add ADC clients
  mfd: pmic8038-core: Add HK/XOADC device
2012-01-09 17:18:37 -08:00
Vinay Kalia
b559874ae9 msm: vidc: Adds video header files.
Adds video header files in include location
so that they can be included by other kernel
modules, eg: by v4l2 capture driver for
Wifi display.

Change-Id: Ib7621d8f551e0d0e8660b19db25c2ff6a501cd67
Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>
2012-01-09 15:55:45 -07:00
Kuirong Wang
274f21ac19 ASOC: msm: Add the MI2S CPU driver.
Add MI2S CPU driver which configures QDSP6 AFE to start MI2S port.

Change-Id: Idc12325d83607d60e66636c3fba052204905a629
Signed-off-by: Kuirong Wang <kuirongw@codeaurora.org>
2012-01-09 14:47:36 -07:00
Linux Build Service Account
d846875671 Merge "wcnss: Add Riva 'power on lock' APIs" into msm-3.0 2012-01-09 07:08:43 -08:00
Linux Build Service Account
34fbc76b64 Merge changes I53faf607,I9590fff7 into msm-3.0
* changes:
  msm: rotator: Add bus scaling support
  msm: display: Add rotator bus scaling vectors for 8660/8960
2012-01-07 05:17:01 -08:00
Linux Build Service Account
917e39eccf Merge changes I788b28d3,I459a18bb into msm-3.0
* changes:
  video:msm: Adding stub for MSMFB_MDP_PP ioctls
  include:linux: Adding MSMFB_MDP_PP IOCTL
2012-01-07 05:17:01 -08:00
Linux Build Service Account
9fd62602cb Merge changes I31954b3f,I350a14c3,I27759a00 into msm-3.0
* changes:
  power: pm8921-charger: Add pm8921_set_usb_power_supply_type
  power: pm8921-charger: warn if the battery is hot
  power: pm8921-charger: end of charge fixes
2012-01-07 05:17:01 -08:00
Pravin Tamkhane
02a4068e48 include:linux: Adding MSMFB_MDP_PP IOCTL
Add MSMFB_MDP_PP IOCTL and required data structures for new post processing
features

Change-Id: I459a18bbb739f79833901159a19c2c8705147b57
Signed-off-by: Pravin Tamkhane <pravint@codeaurora.org>
2012-01-06 18:29:45 -08:00
Siddartha Mohanadoss
ef10213c2f mfd: pmic8038-core: Add HK/XOADC device
HouseKeeping ADC (HKADC) on the PMIC is used by clients
to measure voltage, current and temperature. Clients
include the Battery, Charger and Thermal clients that
require reading the ADC in real time. This also
supports reading the ADC channels that are mapped through
the PMIC MPP's such as the PA THERM channel.

Change-Id: I3c4fd9d368550c1cca168ea097e0d457d01d695e
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
2012-01-06 18:15:08 -08:00
Nagamalleswararao Ganji
5fabbd6c0e msm: display: Add rotator bus scaling vectors for 8660/8960
Add rotator bus scaling vectors for 8660 & 8960 targets

Change-Id: I9590fff72a57687b110355e3862d5ac5cf61e0cc
Signed-off-by: Nagamalleswararao Ganji <nganji@codeaurora.org>
2012-01-06 18:13:00 -08:00
Linux Build Service Account
d80dd681e2 Merge "usb: gadget: fix crash on USB cable disconnection" into msm-3.0 2012-01-06 17:41:49 -08:00
Nagamalleswararao Ganji
880f847f5d msm-fb: display: ION based allocation for writeback buffers
ION based allocation is added for the writeback support
for content security.

Change-Id: Iaa7ec07a7cbc05c818af6f26a2c42c8c36b9bcb5
Signed-off-by: Nagamalleswararao Ganji <nganji@codeaurora.org>
2012-01-06 14:49:23 -08:00
Olav Haugan
b5be7998c6 gpu: ion: Add heap ids
Add heap ids for ion heaps. Remove unused
system contiguous heap. Fix vmalloc heap name.

Change-Id: I3c3a653a53c8db8b66a7bba2abac0dfe560c407c
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2012-01-06 14:49:08 -08:00
Linux Build Service Account
3d5263d038 Merge "radio-tavarua: Set the lower and upper band limits for all regions" into msm-3.0 2012-01-04 21:44:36 -08:00
David Keitel
6df9cea2c8 power: pm8921-charger: Add pm8921_set_usb_power_supply_type
USB can distinguish between types of USB connections such as a
DC charger or PC connection.

Let the USB drivers set the specifc power_supply_type via this
function.

CRs-Fixed: 326548
Change-Id: I31954b3f8d2b1e5fd72712e1f94f67fdbc2e205d
Signed-off-by: David Keitel <dkeitel@codeaurora.org>
2012-01-04 11:47:00 -08:00
Linux Build Service Account
145ae40f6c Merge changes Idf735f36,I7cb06a48 into msm-3.0
* changes:
  drivers: pm8901: Delete pmic8901 specific subdevice drivers
  drivers: pm8058: Delete pmic8058 specific subdevice drivers
2012-01-04 11:09:34 -08:00
Linux Build Service Account
157723bf2a Merge "Bluetooth: Management API changes in Bluetooth to update remote Class." into msm-3.0 2012-01-03 03:12:09 -08:00
Ofir Cohen
4da266f11a usb: gadget: fix crash on USB cable disconnection
Crash was observed (9x15) when USB cable was
disconnected. Root cause was NULL pointer and
USB BAM reset due to USB PHY reset. On 9x15 no
reset on disconnect will be performed.

CRs-Fixed: 326999
Change-Id: I006afb8dcd225caf9280dd915f8af3edfaebff5a
Signed-off-by: Ofir Cohen <ofirc@codeaurora.org>
2012-01-03 13:04:46 +02:00
Anantha Krishnan
29f1d9352f radio-tavarua: Set the lower and upper band limits for all regions
Configure the lower and upper band limits for all regions.

Change-Id: Ie9ceced02be0d3f5b335fb7eb6594d5783823f91
CRs-Fixed: 326007, 325078
Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>
2012-01-02 20:40:12 +05:30
Jayasena Sangaraboina
0fc197d3da ASoC: qdsp6: Set proper sampling rate for Fluencepro topology
The sampling rate of Fluencepro topology is either 16K or 8K.
Therefore, we need to reduce the ADM sampling rate to 16K during
recording with Fluencepro topology.

Change-Id: I0a558c359dbfd62aa35c05dbadba57b3e3820d21
Signed-off-by: Jayasena Sangaraboina <jsanga@codeaurora.org>
2012-01-02 07:23:30 -07:00
Anirudh Ghayal
4786e9fdba drivers: pm8058: Delete pmic8058 specific subdevice drivers
PM8058 subdevices now use pm8xxx based drivers.
Delete keypad, power-key, vibrator, rtc, mpp, gpio, thermal,
batt-alarm, misc drivers.

Change-Id: I7cb06a48b7d724aa1e1790ba88feeece1701bb35
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2012-01-02 09:57:46 +05:30
Sameer Thalappil
aebc0d8c24 wcnss: Add Riva 'power on lock' APIs
During SSR Riva should not be 'powered on' until all the host
drivers finish their shutdown routines. Add APIs to support
this synchronization mechanism.

Change-Id: Id211cf2deb7accd0e4bdfe8cd328e6807eac875e
Signed-off-by: Sameer Thalappil <sameert@codeaurora.org>
2012-01-01 13:45:23 -08:00
Linux Build Service Account
4e566b30e0 Merge "nl80211: Change the sequence of NL attributes." into msm-3.0 2011-12-30 09:40:51 -08:00
Linux Build Service Account
e09edccb05 Merge changes I25e29ac2,Iad480631 into msm-3.0
* changes:
  mmc: card: Kill block requests if card is removed
  mmc: allow upper layers to know immediately if card has been removed
2011-12-30 09:40:51 -08:00
Adrian Hunter
8b581b08ef mmc: allow upper layers to know immediately if card has been removed
Add a function mmc_detect_card_removed() which upper layers can use to
determine immediately if a card has been removed. This function should
be called after an I/O request fails so that all queued I/O requests
can be errored out immediately instead of waiting for the card device
to be removed.

Change-Id: Iad4806319b6ad67048674adfdd919458186521d6
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Sujit Reddy Thumma <sthumma@codeaurora.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
[sthumma@codeaurora.org: Fixed merge conflicts]
Signed-off-by: Sujit Reddy Thumma <sthumma@codeaurora.org>
2011-12-30 16:03:48 +05:30
David Collins
651394f139 regulator: pm8018-regulator: delete pm8018-regulator driver
Delete the pm8018-regulator driver now that it has been replaced
by the pm8xxx-regulator driver.

Change-Id: I18b4944dcea6ef6900f740b61621548bd1ac9d49
Signed-off-by: David Collins <collinsd@codeaurora.org>
2011-12-29 06:37:34 -08:00
David Collins
7fd42f9cb2 regulator: pm8921-regulator: delete pm8921-regulator driver
Delete the pm8921-regulator driver now that it has been replaced
by the pm8xxx-regulator driver.

Change-Id: I36ab68ae7b37988356397d4ac5039aa78a1a2955
Signed-off-by: David Collins <collinsd@codeaurora.org>
2011-12-29 06:37:34 -08:00
David Collins
8c695c5096 mfd: pm8018-core: use pm8xxx-regulator instead of pm8018-regulator
Change the pm8018-core driver so that it registers devices for
the pm8xxx-regulator driver instead of for the pm8018-regulator
driver.

This necessitates changing board file platform data for existing
PMIC 8018 regulators so that additional pm8xxx-regulator data is
properly specified.

Change-Id: I3f64f756a6c48c0dd1684f8d8e98a6fa8dddd6ca
Signed-off-by: David Collins <collinsd@codeaurora.org>
2011-12-29 06:37:34 -08:00
Srinivas Krovvidi
0916aed523 Bluetooth: Management API changes in Bluetooth to update remote Class.
When connection initiated from the remote device the class of device
information is required to be updated to userspace through this
event.

Change-Id: I97d715a0b80e12d414ecf03d099955c8b12c82b4
Signed-off-by: Srinivas Krovvidi <skrovvid@codeaurora.org>
2011-12-29 18:37:27 +05:30
Deepthi Gowri
ce65e812f2 nl80211: Change the sequence of NL attributes.
change sequence of kernel NL attributes which align hostap NL
attributes sequence so it will copy probe response IE's properly
and pass it to the driver.

Change-Id: I6c3b46b99f2537c4ea0335135f21416c81797af4
Signed-off-by: Deepthi Gowri <deepthi@codeaurora.org>
2011-12-29 11:02:14 +05:30
Linux Build Service Account
ef9ecee3b7 Merge "power: pm8921-charger: Add api to control OVP" into msm-3.0 2011-12-28 15:21:39 -08:00
Linux Build Service Account
63f1bbe525 Merge changes I9c86d387,I05b83bd8,I722c5f7a,Ie94f443a,I70a80b3a,I64774aea into msm-3.0
* changes:
  ARM: gic: use module.h instead of export.h
  ARM: gic: fix irq_alloc_descs handling for sparse irq
  ARM: gic: add OF based initialization
  ARM: gic: add irq_domain support
  module.h: split out the EXPORT_SYMBOL into export.h
  irq: support domains with non-zero hwirq base
2011-12-28 15:21:39 -08:00
Linux Build Service Account
286e9e0b31 Merge changes I8d6e42d2,I0d48f033 into msm-3.0
* changes:
  mfd: pm8038-core: add pm8xxx-regulator device configuration data
  mfd: pm8921-core: use pm8xxx-regulator instead of pm8921-regulator
2011-12-28 08:41:18 -08:00
Linux Build Service Account
25d7bfb117 Merge changes I4d22d3a6,I04f6ba16 into msm-3.0
* changes:
  irq: Fix check for already initialized irq_domain in irq_domain_add
  irq: Add declaration of irq_domain_simple_ops to irqdomain.h
2011-12-28 03:09:00 -08:00
Linux Build Service Account
5e52b25bd7 Merge "msm: rotator: add downscale support in rotator" into msm-3.0 2011-12-27 20:39:14 -08:00
Adrian Salido-Moreno
67273e569f msm: rotator: add downscale support in rotator
Rotator is capable of performing 1/2, 1/4 and 1/8 down scaling. Add
downscale_ratio parameter to provide support for this feature.

CRs-Fixed: 315874
Change-Id: I57dc3456ccc9bec2a125750b3e9909ffcbaf45f6
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
2011-12-27 17:56:49 -08:00
Abhijeet Dharmapurikar
286693063a power: pm8921-charger: Add api to control OVP
Some board configurations have different needs for usb overvoltage
thresholds and debounce time for usb detection.

Provide apis to program threshold voltage, debounce time and
disable/enable overvoltage protection.

CRs-Fixed: 324137
Change-Id: Ie618ca12be819739a623cf41e5e1198305467aa5
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2011-12-27 17:47:08 -08:00
Shalabh Jain
2f4cea6557 diag: Add support for 8930 and other upcoming targets
Change-Id: I73bf347488437955954ebfb81567be30e8da834d
Signed-off-by: Shalabh Jain <shalabhj@codeaurora.org>
2011-12-27 16:10:23 -07:00
David Collins
045a76e605 mfd: pm8038-core: add pm8xxx-regulator device configuration data
Add pm8xxx-regulator configuration data into the pm8038-core
driver.  This adds support for PMIC PM8038 regulators.

Change-Id: I8d6e42d299141a6add3c41ca920d9186ad7fa3ee
Signed-off-by: David Collins <collinsd@codeaurora.org>
2011-12-27 06:29:14 -08:00
David Collins
7501674da4 mfd: pm8921-core: use pm8xxx-regulator instead of pm8921-regulator
Change the pm8921-core driver so that it registers devices for
the pm8xxx-regulator driver instead of for the pm8921-regulator
driver.

This necessitates changing board file platform data for existing
PMIC 8921 regulators so that additional pm8xxx-regulator data is
properly specified.

Change-Id: I0d48f03344265bd1b7c160bceca944f8924c694c
Signed-off-by: David Collins <collinsd@codeaurora.org>
2011-12-27 06:29:14 -08:00
Linux Build Service Account
16a43151a0 Merge "VFS: Fix race between CPU hotplug and lglocks" into msm-3.0 2011-12-27 03:07:01 -08:00
Amy Maloche
08266db27b input: atmel_mxt_ts: add gpio framework to driver
Move irq and reset gpios to driver

Change-Id: I386cfdb142cefe6ad7021a67d7d277dc0447411a
Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
2011-12-27 08:17:15 +05:30
Paul Gortmaker
110bf6b58c module.h: split out the EXPORT_SYMBOL into export.h
A lot of files pull in module.h when all they are really
looking for is the basic EXPORT_SYMBOL functionality. The
recent data from Ingo[1] shows that this is one of several
instances that has a significant impact on compile times,
and it should be targeted for factoring out (as done here).

Note that several commonly used header files in include/*
directly include <linux/module.h> themselves (some 34 of them!)
The most commonly used ones of these will have to be made
independent of module.h before the full benefit of this change
can be realized.

We also transition THIS_MODULE from module.h to export.h,
since there are lots of files with subsystem structs that
in turn will have a struct module *owner and only be doing:

	.owner = THIS_MODULE;

and absolutely nothing else modular. So, we also want to have
the THIS_MODULE definition present in the lightweight header.

[1] https://lkml.org/lkml/2011/5/23/76

Change-Id: I70a80b3ac3638f0eda1ac596ee3fba832880df07
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Trilok Soni <tsoni@codeaurora.org>
2011-12-26 15:48:00 +05:30
Rob Herring
60fe460c07 irq: support domains with non-zero hwirq base
Interrupt controllers can have non-zero starting value for h/w irq numbers.
Adding support in irq_domain allows the domain hwirq numbering to match
the interrupt controllers' numbering.

As this makes looping over irqs for a domain more complicated, add loop
iterators to iterate over all hwirqs and irqs for a domain.

Change-Id: I64774aea2f3efb883fe11e9f6161970f7e7dc0fc
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Reviewed-by: Jamie Iles <jamie@jamieiles.com>
Tested-by: Thomas Abraham <thomas.abraham@linaro.org>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Trilok Soni <tsoni@codeaurora.org>
2011-12-26 15:47:59 +05:30
Rob Herring
19d9d54b6b irq: Add declaration of irq_domain_simple_ops to irqdomain.h
irq_domain_simple_ops is exported, but is not declared in irqdomain.h,
so add it.

Change-Id: I04f6ba1621d349c29becea9c989ec87ef15a64bb
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: marc.zyngier@arm.com
Cc: thomas.abraham@linaro.org
Cc: jamie@jamieiles.com
Cc: b-cousson@ti.com
Cc: shawn.guo@linaro.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: devicetree-discuss@lists.ozlabs.org
Link: http://lkml.kernel.org/r/1316017900-19918-2-git-send-email-robherring2@gmail.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Trilok Soni <tsoni@codeaurora.org>
2011-12-26 15:47:56 +05:30
Linux Build Service Account
1a4cb1008d Merge "nl80211/cfg80211: Add crypto settings into NEW_BEACON" into msm-3.0 2011-12-24 00:31:49 -08:00
Linux Build Service Account
b455a9ddf5 Merge "msm: iommu: Create iommu api to return the page table address" into msm-3.0 2011-12-24 00:31:49 -08:00