Add usb_otg and android platform device nodes for USB
functionality to work.
Change-Id: I2e49107d5aa153bf68c9b175595d189c64245412
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
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>
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>
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>
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>
Add device tree file for ili9806e, which is a FWVGA
display driver IC.
Change-Id: Ie167b406b1caa2097ef9d2f10c4b547be6660e75
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
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>
Enable reversing to stop the motor efficiently.
Change-Id: I02a5df758dcc02b7bf762c9704bbff1a1e4efe8e
CRs-fixed: 753763
Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>
Hardware enables auto braking. Add an interface to
disable the braking.
Change-Id: I1b52593bc208d7347b8c6c4ac69d6430730c1cdb
Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>
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>
Add cpufreq device to enable cpu frequency scaling.
Change-Id: Ifcd8fed660a9dc50a87ae762ae01540021548e78
Signed-off-by: Pushkar Joshi <pushkarj@codeaurora.org>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>