Commit graph

857,208 commits

Author SHA1 Message Date
qctecmdr
a8bb6efa2c Merge "driver: pinctrl: Update pinctrl mappings for Lahiana" 2019-09-11 14:13:39 -07:00
qctecmdr
9fa7e18839 Merge "radio: RTC6226: Make the rtc6226 driver compatible with QTI platform" 2019-09-11 14:13:38 -07:00
qctecmdr
c304386343 Merge "ion: Use correct heap when freeing secure system heap buffers" 2019-09-11 13:17:43 -07:00
himta ram
087c5f204e radio: RTC6226: Make the rtc6226 driver compatible with QTI platform
Moved the power on functionality under set control ioctl.
Removed the blocker code for tune, seek operation.
Added code for posting event to user space as part
of interrupt handling.
Add support to power on/off rtc6226 chip and enable.

CRs-Fixed: 2525362
Change-Id: I61cea2d59a57ae7395971c7f8493582abedf5038
Signed-off-by: himta ram <hram@codeaurora.org>
2019-09-11 12:40:37 +05:30
qctecmdr
12db9c0b36 Merge "soc: qcom: secure_buffer: Trace hyp_assign calls" 2019-09-10 16:49:11 -07:00
Elliot Berman
c4ce6d3e5c driver: pinctrl: Update pinctrl mappings for Lahiana
Update Lahaina pinctrl TLMM mappings for Lahaina. Update ordering
of pin groups to be alphabetical.

Change-Id: I6728f55291960c9a316a1a0c4768e784d7f19713
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2019-09-10 14:30:32 -07:00
qctecmdr
0aafee9bd5 Merge "radio: RTC6226: Add support for RTC6226 FM chip" 2019-09-10 12:49:35 -07:00
qctecmdr
53165f0240 Merge "coresight: Add snapshot of Coresight TPDM and TPDA driver" 2019-09-10 10:56:11 -07:00
Sudarshan Rajagopalan
0302b97aac soc: qcom: secure_buffer: Trace hyp_assign calls
Add trace events to log the caller for hyp_assign_table(), as well as
other relevant information, such as source/destination VMIDs, permissions,
and the sizes and physical bases of the regions affected by the call to
hyp_assign().

Change-Id: Iea37d539e2409465889ad244e74ab4a9e3344e35
Signed-off-by: Sudarshan Rajagopalan <sudaraja@codeaurora.org>
Signed-off-by: Chris Goldsworthy <cgoldswo@codeaurora.org>
2019-09-10 10:53:41 -07:00
Isaac J. Manjarres
6dcdadd65d trace: secure_buffer: Introduce trace events for secure buffer
These trace events will show the caller of hyp_assign_table() as well as
information about the region(s) of memory that are affected by the changes
in ownership (e.g.  source/destination VMIDs and permissions). The trace
events also provide information about the time spent in the higher
execution layers when the memory is being assigned.

Also, expose the mem_prot_info and dest_vm_and_perm_info data structures in
the secure_buffer header file, so that they are visible to the trace events
header file.

Change-Id: I19a8561327e953e1bc593217293642f1cbd6ce36
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
Signed-off-by: Chris Goldsworthy <cgoldswo@codeaurora.org>
2019-09-10 10:53:41 -07:00
Mao Jinlong
2bc8103c2b dcc_v2: Don't set the default value to sram when dcc is enabled
If set the default value to sram when dcc is enabled, there will be
stuck issue for dcc dump.

Change-Id: I784993d6db41e1afed92ccc05bec0cf1987a3e04
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
2019-09-10 15:48:43 +08:00
qctecmdr
899c49c736 Merge "msm: CDSP: add CDSP loader driver" 2019-09-09 20:44:17 -07:00
qctecmdr
fa6b68b140 Merge "msm: ipa: Add snapshot of IPA driver" 2019-09-09 18:20:17 -07:00
qctecmdr
75b9ecf33f Merge "irqdomain: add bus token DOMAIN_BUS_WAKEUP" 2019-09-09 18:20:16 -07:00
qctecmdr
855db29c01 Merge "Bluetooth: btpower: Add snapshot of BT power driver" 2019-09-09 17:48:06 -07:00
qctecmdr
dea13806a5 Merge "ion: msm: Only check heap IDs if the heap has been initialized" 2019-09-09 17:48:06 -07:00
qctecmdr
4214124d5f Merge "drivers: of: Add API to find ddr device type" 2019-09-09 14:19:52 -07:00
Tharun Kumar Merugu
87e0e2c875 msm: CDSP: add CDSP loader driver
Add the CDSP loader driver that loads the compute DSP firmware
images and brings the subsystem out of reset during boot-up. Add
compilation rules for the CDSP loader.

Change-Id: I8cf67edd6e7996da7d223c9e69cd6aa39e2af07e
Acked-by: Thyagarajan Venkatanarayanan <venkatan@qti.qualcomm.com>
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
2019-09-10 02:28:19 +05:30
Lina Iyer
47392b129b irqdomain: add bus token DOMAIN_BUS_WAKEUP
Add new bus token to describe domains that are wakeup capable.

Change-Id: Ic1c0f0d2882a20a28aabc100835ac249c7bb4eef
Suggested-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Lina Iyer <ilina@codeaurora.org>
2019-09-09 13:38:28 -06:00
qctecmdr
9542ae8546 Merge "drivers: qcom: rpmh: Add standalone mode support for RPMH" 2019-09-09 10:50:19 -07:00
Isaac J. Manjarres
7672340484 ion: Use correct heap when freeing secure system heap buffers
Switch the heap for buffers from the secure system heap in
the free path, so that they can be properly released into
the secure pools.

Change-Id: I9873d73efa6f56a2c2ceb8d29e4b594ff30b9bca
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2019-09-06 13:01:46 -07:00
Isaac J. Manjarres
2a230de1e9 ion: msm: Remove unnecessary free when destroying an ION buffer
When an ION buffer is destroyed, the dma-buf release path will
try to free the exporter name field in the dma-buf. However,
this is not needed, as the field is not populated with
dynamically allocated memory. Thus, remove it.

Change-Id: Ieda30c2130d80ef3e6016e1c574f0524fce14fcc
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2019-09-06 13:01:46 -07:00
Isaac J. Manjarres
e4dee59fa1 ion: msm: Only check heap IDs if the heap has been initialized
The get_ion_heap() code blindly checks heap IDs in the array
of heap pointers without checking to see if the heap pointer
is valid, which can cause a NULL pointer to be dereferenced.

Add a check before inspecting the heap ID to ensure that the
heap pointer is valid.

Change-Id: I2ecdc652460878446e3f2daa2379e04ac021d75c
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2019-09-06 13:01:45 -07:00
Umesh Vats
8e932359f0 Bluetooth: btpower: Add snapshot of BT power driver
Add BT power driver. Update the BT power driver to reduce code
complexity. Update the BT power driver to support retention mode
for LDOs.

Change-Id: I7565ff4aa0f19ed1b1427719629c0487006524cc
Signed-off-by: Umesh Vats <uvats@codeaurora.org>
2019-09-06 10:00:36 -07:00
Bojun Pan
329744721f msm: ipa: Add snapshot of IPA driver
This is a snapshot of the IPA and GSI drivers
from msm-4.19 to msm-lahaina as of
'commit <2df7c68f038d13a4d278ecd858bc5ccebb3f569b>
(Merge "sched/core: fix possible out-of-bounds
access in updown_migrate_value)'.

Change-Id: Ie654ca46181248854ddc33c3033b5808aa32e628
Signed-off-by: Bojun Pan <bojunp@codeaurora.org>
2019-09-06 01:15:38 -07:00
qctecmdr
3cbfdc6285 Merge "drivers: qcom: rpmh-rsc: write PDC data" 2019-09-05 23:22:16 -07:00
qctecmdr
35894a708b Merge "drivers: qcom: rpmh-rsc: return if the controller is idle" 2019-09-05 22:40:58 -07:00
qctecmdr
bf7822ca66 Merge "synx : Add snapshot for global synx driver support" 2019-09-05 21:28:54 -07:00
qctecmdr
dcd8f2d974 Merge "msm: adsprpc: add fastrpc driver files" 2019-09-05 21:28:54 -07:00
qctecmdr
c2e94ddd89 Merge "ABI: Update ABI snapshot with latest kernel build tools" 2019-09-05 19:51:52 -07:00
qctecmdr
a1f29ec6d7 Merge "clk: qcom: clk-debug: Unflatten mux tree" 2019-09-05 19:19:31 -07:00
qctecmdr
ecc667dddf Merge "clk: qcom: clk-debug: Add support for enable mask for debug clk" 2019-09-05 18:45:26 -07:00
qctecmdr
3e3f026687 Merge "clk: clk-debug: Update file permission for clk_measure debugfs" 2019-09-05 18:13:27 -07:00
qctecmdr
7d612332ab Merge "clk: avoid returning local variable pointers during clock registration" 2019-09-05 17:25:09 -07:00
qctecmdr
1ee5b61154 Merge "clk: qcom: define vdd_levels enum and vdd_corner[] map" 2019-09-05 16:51:13 -07:00
qctecmdr
cb7871deb1 Merge "clk: qcom: common: only register reset controllers which define resets" 2019-09-05 16:17:10 -07:00
qctecmdr
3a8b11f312 Merge "clk: qcom: add clk rpmh support for Kona" 2019-09-05 15:33:56 -07:00
qctecmdr
e3438e35a6 Merge "clk: qcom: clk-spmi-pmic-div: add support for clock-output-names" 2019-09-05 14:57:16 -07:00
qctecmdr
8e92de522d Merge "clk: qcom: clk-aop-qmp: pass mbox pointer by reference in qmp_update_client" 2019-09-05 14:18:49 -07:00
qctecmdr
a892df470a Merge "clk: qcom: clk-aop-qmp: correct mailbox channel request logic" 2019-09-05 13:41:15 -07:00
qctecmdr
baca6b843c Merge "clk: qcom: Add support for AOP clock controller" 2019-09-05 11:55:41 -07:00
Tharun Kumar Merugu
029bfbee50 msm: adsprpc: add fastrpc driver files
Add fastrpc driver files, which provide a communication
mechanism that allows clients to make remote method
invocations across processor boundary to application, compute
and sensors DSP processors.

Change-Id: If08460c5d9875e2cbcaa099d11b2ebe86bc0655f
Acked-by: Thyagarajan Venkatanarayanan <venkatan@qti.qualcomm.com>
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
2019-09-05 23:51:14 +05:30
Murali Nalajala
439ef5709b ABI: Update ABI snapshot with latest kernel build tools
Update the ABI snapshot with new fixes available in the
kernel build tools. Current ABI tools are giving the
false positive results even though there are not ABI
breaks in the respective changes.

Change-Id: I693da65d36a12f216b6220a13a4f51f21e5a782d
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
2019-09-05 23:49:32 +05:30
qctecmdr
4b0b6aabb9 Merge "clk: qcom: gdsc: Remove global mutex lock in enable/disable callbacks" 2019-09-05 10:57:12 -07:00
qctecmdr
0c4596a68b Merge "clk: qcom: gdsc-regulator: Remove polling logic when disabling GDSC HW CTL" 2019-09-05 03:52:41 -07:00
qctecmdr
aab3d3ba66 Merge "clk: qcom: gdsc-regulator: add support for enabling retention registers" 2019-09-05 03:08:16 -07:00
qctecmdr
161cd099fb Merge "clk: qcom: gdsc-regulator: Place a min operational vote on GDSC parent" 2019-09-05 02:25:17 -07:00
qctecmdr
4ba0a09521 Merge "clk: qcom: Add support for hardware control branch clocks" 2019-09-05 01:38:45 -07:00
qctecmdr
6e52450b6a Merge "clk: qcom: rcg2: Add support for hardware control mode" 2019-09-05 00:57:32 -07:00
qctecmdr
447e831a2d Merge "clk: qcom: clk-rcg2: Read RCG source before calculating clk rate" 2019-09-05 00:18:10 -07:00