Commit graph

425234 commits

Author SHA1 Message Date
Vijayavardhan Vennapusa ba8c3698aa ARM: dts: msm: Add usb device nodes for msmtellurium
Add usb_otg and android platform device nodes for USB
functionality to work.

Change-Id: I2e49107d5aa153bf68c9b175595d189c64245412
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
2014-11-27 10:07:00 +05:30
Taniya Das bf92a32c98 ARM: msm: dts: Add support for 1.1GHz
Modify the efuse register offset and add new cpu frequency and DDR
bandwidth for the frequency.

Change-Id: I8cd137d1b2923a17721c4d649187781d3129e5a8
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2014-11-27 09:22:18 +05:30
Linux Build Service Account 9071c08e71 Merge "mmu: arm64: fix ability to write to protected memory" 2014-11-26 18:52:30 -08:00
Linux Build Service Account 45e93297fa Merge "arm64: __clear_user: handle exceptions on strb" 2014-11-26 18:52:29 -08:00
Linux Build Service Account aa5c585c25 Merge "ASoC: qdsp6v2: fallback to system heap only if smmu enabled" 2014-11-26 18:52:26 -08:00
Patrick Daly 25c2576744 ARM: dts: msm8994: Update cache dump buffer size
Add space for 0x40 bytes of metadata to the cache dump buffer size.
Correct size for A57 L2 cache.

Change-Id: I383331937a5867e93d8bddc41195f6e2e5cc45b2
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
2014-11-26 18:32:43 -08:00
Pradnya Chaphekar 8e0d54cc95 ASoC: msm: qdsp6v2: Fix incorrect topology being used for adm close
Fix incorrect topology being used when closing adm. The util
function currently being used refers to the cal block to find
topology id, which may have incorrect topology id when
concurrencies are enabled. This results in undefined behavior
from dsp. Update the util function to fetch topology based on
port id and copp index instead.

CRs-Fixed: 744121
Change-Id: I1737bfc63f7fe23d9cdfee7e98ae78381cc941a7
Signed-off-by: Pradnya Chaphekar <pradnyac@codeaurora.org>
2014-11-26 18:26:58 -08:00
Ashish Jain 9dfd8ae8f0 ASoC: msm: qdsp6v2: Update support for dolby license validation
Add support for dolby license validation for DS2 using ioctl approach.
Also enable new DS2 driver for MSM8916 platform.

CRs-Fixed: 761339
Change-Id: I0bdf50de59690433a0b14641762000bd91614e2d
Signed-off-by: Ashish Jain <ashishj@codeaurora.org>
2014-11-26 18:26:54 -08:00
Ray Zhang f08a025987 ARM: dts: msm: Add ili9806e fwvga panel support
Add device tree file for ili9806e, which is a FWVGA
display driver IC.

Change-Id: Ie167b406b1caa2097ef9d2f10c4b547be6660e75
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
2014-11-27 10:21:05 +08:00
Prashanth Bhatta cb06b32def ARM: dts: mdm9640: Enable antenna sharing
QCA6174 board on msmzirc platform uses antenna sharing. Enable it
by enabling the required LDOs without which 2.4G band TX power
are lower than expected.

CRs-fixed: 754944
Change-Id: Ic2c60099ac6dd30b9da56a1c432dd3233a9c7876
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
2014-11-26 17:12:07 -08:00
Mohan Pallaka 43b327540a ARM: dts: msm: enable haptic brake for PMi8994
Enable reversing to stop the motor efficiently.

Change-Id: I02a5df758dcc02b7bf762c9704bbff1a1e4efe8e
CRs-fixed: 753763
Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>
2014-11-26 17:01:28 -08:00
Mohan Pallaka f1a2576c29 platform: msm: support haptic brake disable
Hardware enables auto braking. Add an interface to
disable the braking.

Change-Id: I1b52593bc208d7347b8c6c4ac69d6430730c1cdb
Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>
2014-11-26 17:01:20 -08:00
Mohan Pallaka 5921180c8c msm: qpnp-haptic: wait for 5 cycles before BUSY check
After the haptics is stopped it might take few cycles to
activate braking. Update the wait time to 5 cycles of
play rate to optimize the wait time.

Change-Id: I1a29cebcd41f541493e79224bf71f4546a9e2541
CRs-fixed: 760524
Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>
2014-11-26 17:01:14 -08:00
Pushkar Joshi 459c70f118 ARM: dts: msm: Add the cpufreq device for MSM8992
Add cpufreq device to enable cpu frequency scaling.

Change-Id: Ifcd8fed660a9dc50a87ae762ae01540021548e78
Signed-off-by: Pushkar Joshi <pushkarj@codeaurora.org>
2014-11-26 16:53:00 -08:00
Dhananjay Kumar c4917c8db6 ASoC: msm: qdsp6v2: update q6core to use new acdb APIs
Update q6core to use new acdb APIs for setting
license data.

CRs-Fixed: 761339
Change-Id: If9dfd2e322022a370c12f7324c51a052b067a7fb
Signed-off-by: Dhananjay Kumar <dhakumar@codeaurora.org>
2014-11-26 16:37:27 -08:00
Subbaraman Narayanamurthy 3362af5247 ARM: dts: msm: Configure OTG_VBUS_EN GPIO for msm8992 MTP and CDP
PMI8994 GPIO 5 controls the USB3OTG_VBUS_EN, which is needed for
the OVP circuitry. Configure it as output gpio for the required
operation.

Change-Id: Ibbda84a082ab364951f5a7c56b3f911703121483
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2014-11-26 15:59:38 -08:00
Linux Build Service Account b06d837b8a Merge "msm: mdss: prevent deadlock during thread shutdown" 2014-11-26 15:24:37 -08:00
Linux Build Service Account 85f9df3283 Merge "ASoC: msm: qdsp6v2: update routing path for MultiMedia5" 2014-11-26 15:24:35 -08:00
Linux Build Service Account 418e1dca1a Merge "ASoC: wcd: fix removal detection of headphone" 2014-11-26 15:24:33 -08:00
Linux Build Service Account 4e40177530 Merge "ASoC: wcd: fix issues in extension cable" 2014-11-26 15:24:32 -08:00
Linux Build Service Account 7024742448 Merge "ASoC: msm8994: Add external devices jack support for DB8094" 2014-11-26 15:24:30 -08:00
Linux Build Service Account ee9b67936a Merge "power: qpnp-fg: reduce the latency in suspend/resume" 2014-11-26 15:24:29 -08:00
Linux Build Service Account 2ea4a79264 Merge "cpufreq: interactive: Record hispeed_validated_time in timer function" 2014-11-26 15:24:27 -08:00
Linux Build Service Account 5e373389c8 Merge "msm: board-8916: Add a dedicated DT_MACHINE for terbium" 2014-11-26 15:24:24 -08:00
Linux Build Service Account 31d4b08623 Merge "msm: socinfo: Add socinfo for msmterbium" 2014-11-26 15:24:24 -08:00
Linux Build Service Account d636d02a91 Merge "msm: kgsl: Add kernel API support for limits mitigation" 2014-11-26 15:24:22 -08:00
Linux Build Service Account 12c3dc018d Merge "input: ft5x06_ts: add proximity feature support" 2014-11-26 15:24:20 -08:00
Linux Build Service Account 9bbb6d817f Merge "usb: gadget: set appropriate max_ratio while entering and exiting UMS" 2014-11-26 15:24:16 -08:00
Linux Build Service Account e7727e9c00 Merge "USB: storage: set BDI_CAP_STRICLIMIT and max_ratio for USB UICC devices" 2014-11-26 15:24:16 -08:00
Linux Build Service Account a786c4204f Merge "mm/page-writeback.c: fix divide by zero in bdi_dirty_limits()" 2014-11-26 15:24:15 -08:00
Linux Build Service Account c50db42825 Merge "mm/page-writeback.c: add strictlimit feature" 2014-11-26 15:24:14 -08:00
Linux Build Service Account 0a3c7b3527 Merge "mtd: ubi: prevent unauthorized users to access scan_peb sysfs entry" 2014-11-26 15:24:12 -08:00
Linux Build Service Account 1b431a64ac Merge "msm ipa: fix the APPS QMI SSR reset sequence" 2014-11-26 15:23:48 -08:00
Linux Build Service Account bdfa6d08f4 Merge "msm: face detect: fill correct pose in face detection result" 2014-11-26 15:23:46 -08:00
Subhash Jadavani 06bd4ad371 drivers: phy: qcom-ufs: add delay around device ref_clk control
To ensure stability of UFS link hibern8 enter/exit operations, we need to
meet following hardware requirements and this change will satisfy them.

1. If we are disabling device ref_clk immediately after putting the link in
hibern8, we need to make sure that device ref_clk is active atleast 1us
after entering into hibern8.

2. If we are going to call the hibern8 exit immediately after enabling
device ref_clk, we should make sure that device ref_clk is stable for
at least 1us before issuing hibern8 exit command.

Change-Id: Iaa2aefd8c6752b0912cf3c5ae57ee8233638fbf0
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
2014-11-26 14:47:57 -08:00
Veera Sundaram Sankaran 0f6d7ddfa7 msm: mdss: fix crash in mdp probe with continuous splash disabled
Reading the default panic LUTs after disabling the splash clks in mdp
probe when continuous splash is disabled in lk causes the crash. This
change disables the splash clks after reading the panic LUTs.

Change-Id: I8fc4ed0f515a3b657a40cd430150353ffb90db35
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
2014-11-26 14:14:24 -08:00
Girish Mahadevan 1d3231e7e0 ARM: dts: msm: Remove static limiting of CPU for msm8994
Static limiting of the CPU master port bus traffic was introduced to
workaround some concurrency issues, remove this change as the concurrency
issues have been addressed and there isn't a need to throttle CPU IO
traffic.

Change-Id: I9cecda7d98c16fa48c9cdae0dd1badb811c4b8d5
Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
2014-11-26 14:04:26 -08:00
Ram Chandrasekar 94c6e23581 thermal_core: Add sysfs notification support for userspace
Add support to notify the userspace through sysfs
notification when a userspace threshold is crossed.

Change-Id: Ifdea7f15f288d1dca5365aedad16d1bdbc80be6c
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2014-11-26 14:01:59 -08:00
Ram Chandrasekar 27bcfc79c4 thermal: tsens: Remove sysfs notification
Remove sysfs notification from tsens driver. Thermal core
framework will be the right place to determine the
userspace threshold trip and do a sysfs notify.

Change-Id: I14be7a01074ce4e9f6d309424115cbebd2e2b6cf
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2014-11-26 13:52:13 -08:00
Gustavo Solaira 546cba089f ARM: dts: msm: Enable isl29044a ALPS sensor for MSM8916 SKUT1
Add the isl29044a ambient light and proximity sensor to the
MSM8916 SKUT1 board device tree.

Change-Id: I7e557d71ac1493300997ac05a30cd742a1d665ed
Signed-off-by: Gustavo Solaira <gustavos@codeaurora.org>
2014-11-26 18:04:17 -03:00
Gustavo Solaira 1633556f16 defconfig: 8916: Enable isl29044a driver
Enable Intersil isl29044a light and proximity sensor
combo driver used for SKUT1 device.

Change-Id: Ia85b65c06544052763a72c03d973ec69cc5d0846
Signed-off-by: Gustavo Solaira <gustavos@codeaurora.org>
2014-11-26 18:04:15 -03:00
Gustavo Solaira a1b10addf4 input: sensors: Clean up Intersil isl29044a ALPS driver
Do cleanup to fix all checkpatch errors, fix obvious problems
and add device tree documentation.

Change-Id: Ia3ef0a711b2cccc9058d5ebd307ec0ca1318fe73
Signed-off-by: Gustavo Solaira <gustavos@codeaurora.org>
2014-11-26 18:04:13 -03:00
Liam Mark 57f848a9a9 mm: vmscan: support setting of kswapd cpu affinity
Allow the kswapd cpu affinity to be configured.
There can be power benefits on certain targets when limiting kswapd
to run only on certain cores.

CRs-fixed: 752344
Change-Id: I8a83337ff313a7e0324361140398226a09f8be0f
Signed-off-by: Liam Mark <lmark@codeaurora.org>
2014-11-26 13:04:02 -08:00
Danier Chen 67e8cc1b3e input: misc: Add isl29044a driver
Add Intersil ISL29044A ALPS sensor driver.

Change-Id: Ia55f760a15bddf84e4a90458222603dd9b17c406
Git-commit: b533b38c7a1a77720a448ea1d24245fc5d8ba7e4
Git-repo: https://github.com/Foxda-Tech/argo8-kernel.git
[gustavos@codeaurora.org: Add config and makefile changes
 from upstream change 265f06cf655084ae9bd7e4ae37cf84a41747d2c9]
Signed-off-by: Gustavo Solaira <gustavos@codeaurora.org>
2014-11-26 18:02:52 -03:00
Gustavo Solaira 5f199e5ee1 input: sensor: Add mpu6880 support for mpu6050 driver
MPU6880 chip is compatible with mpu6050 driver,
add the compatible string for correct matching.

Change-Id: I9fef5df6769bf426a45246a97d2ba2fedd9e5909
Signed-off-by: Gustavo Solaira <gustavos@codeaurora.org>
2014-11-26 17:37:15 -03:00
Laura Abbott 4fad4d37bd mmu: arm64: fix ability to write to protected memory
Use the mem_text_address_writeable function if
CONFIG_KERNEL_TEXT_RDONLY is specified. Modify the
page table entry rather than the pmd, depending
on pmd type.

Change-Id: I04390a9b7376b299161842e87150802da2d4d728
Signed-off-by: Neil Leeder <nleeder@codeaurora.org>
2014-11-26 15:33:32 -05:00
Adrian Salido-Moreno 1f968069a6 msm: mdss: free ion memory after panel is blanked
Frame buffer memory could still be fetched until panel is completely
blanked, in order to avoid potential page faults by unmapping early,
move unmapping of this memory until after panel is blanked.

CRs-Fixed: 763046
Change-Id: Ib7eea73a7549b453cf2fc31a31f5cc3e9e1cce39
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
2014-11-26 11:20:39 -08:00
Laxminath Kasam a81ff5e78c ASoC: qdsp6v2: fallback to system heap only if smmu enabled
When ion alloc fails for audio heap, currently driver falls back
to use system heap. But if SMMU is not enabled, system heap is
not supposed to be used. Add check to avoid fallback to system
heap if SMMU is not enabled.

Change-Id: Iafc34b7dd13edc5272225b36ba97a80842a753cc
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2014-11-26 22:33:18 +05:30
Linux Build Service Account ba6ee8cfbe Merge "ARM64: smp: Fix cpu_up() racing with sys_reboot" 2014-11-26 03:22:11 -08:00
Linux Build Service Account be3afe6f0d Merge "dwc3-msm: Replace suspend abort warning to dev_dbg" 2014-11-26 03:22:05 -08:00