Commit graph

603928 commits

Author SHA1 Message Date
Cong Tang
84b3d9aa80 ASoC: msm: Group mi2s driver support for msm8996
Support group mi2s driver for sec/tert/quat mi2s interface in
msm8996.

Change-Id: I656612ca104c80770e316bc4d541d2ae56164e61
Signed-off-by: Cong Tang <congt@codeaurora.org>
2018-12-18 23:08:40 -08:00
Linux Build Service Account
897db080e2 Merge "ARM: dts: msm: Update mi2s group port id for msm8996" 2018-12-18 09:07:03 -08:00
Linux Build Service Account
da5817740b Merge "ARM: dts: msm: Add dt node for earlydomain" 2018-12-18 09:07:02 -08:00
Linux Build Service Account
a9881a148a Merge "drm: msm: sde: reorder call sequence in splash release thread" 2018-12-18 02:51:50 -08:00
Linux Build Service Account
9c95fa9215 Merge "Revert "ARM: dts: msm: Disable runtime PM in host mode for automotive"" 2018-12-18 02:51:48 -08:00
Linux Build Service Account
06345e29b3 Merge "drm: msm: sde: Update splash handoff with new APIs" 2018-12-18 02:51:46 -08:00
Vivek Kumar
dd35c8ee45 ARM: dts: msm: Add dt node for earlydomain
Add DT node for early domain driver for msm8996 cdp
boards and remove reserved memory node for lk_pool
as it will be populated by bootloader if early domain
is enabled.

Change-Id: Iedcb4b47544a2355e98429a786d246351fdca75e
Signed-off-by: Vivek Kumar <vivekuma@codeaurora.org>
2018-12-17 21:27:03 -08:00
Ajay Agarwal
c027a46841 Revert "ARM: dts: msm: Disable runtime PM in host mode for automotive"
'Commit f09d23c34f2f ("ARM: dts: msm: Disable runtime PM in host
mode for automotive")' was disabling runtime PM in host mode for
automotive targets. This lead to leakage being observed on 1.8V
regulator for the USB2 PHY in target RBSC state. Revert this to
avoid the leakage.

Change-Id: Ia5da723764c289612d74287af8cf87f22e852abb
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
2018-12-17 20:13:30 +05:30
Cong Tang
24c58ec4d0 ARM: dts: msm: Update mi2s group port id for msm8996
Revise group afe port id for secondary and tertiary due to adsp
firmware definition change.

Change-Id: I829437bc7ac7ff5159a86f667b7a5b58f36e0c66
Signed-off-by: Cong Tang <congt@codeaurora.org>
2018-12-16 22:25:53 -08:00
Linux Build Service Account
082fa7fad6 Merge "ASoC: sdm660: Update VI sense sample rate to 8k" into msm-4.4 2018-12-15 00:20:34 -08:00
Linux Build Service Account
45e2d4d907 Merge "ASoC: msm_sdw: Update VI sense sample rate to 8k" 2018-12-14 17:35:58 -08:00
Soumya Managoli
961c3d603c ASoC: sdm660: Update VI sense sample rate to 8k
SR was changed from 8kHz to 48kHz due to capturing
of garbled VI sense data as per HW team suggestion.
With new speaker protection algo in dsp, 8kHz is
expected and earlier issue with 8kHz is not seen.
Reverting the SR change back to 8kHz.

CRs-Fixed: 2364486
Change-Id: I379a080eb17e7a82fe87608f89dcbfa5444e8916
Signed-off-by: Soumya Managoli <smanag@codeaurora.org>
2018-12-14 13:59:23 +05:30
Laxminath Kasam
1733b78352 ASoC: msm_sdw: Update VI sense sample rate to 8k
SR was changed from 8kHz to 48kHz due to capturing
of garbled VI sense data as per HW team suggestion.
With new speaker protection algo in dsp, 8kHz is
expected and earlier issue with 8kHz is not seen.
Reverting the SR change back to 8kHz.

CRs-Fixed: 2364486
Change-Id: I29947f87f182fc1de7a7002fcee0899b0f622103
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-12-14 13:51:11 +05:30
Linux Build Service Account
0fb3a0e5fc Merge "msm: adsprpc: allocate all remote memory in kernel" 2018-12-13 19:17:33 -08:00
Linux Build Service Account
28dece523a Merge "memshare: Conditional free the clients allotted memory" 2018-12-13 13:03:59 -08:00
Linux Build Service Account
ba56c449a2 Merge "msm: ais: Update early camera with new apis" 2018-12-13 13:03:59 -08:00
Linux Build Service Account
46ad355961 Merge "ARM: dts: msm: Add Tert Mi2s Group node for msm8996" 2018-12-13 13:03:58 -08:00
Linux Build Service Account
9ce8e741c7 Merge "msm: ASoC: enable aptX HD decoder" 2018-12-13 13:03:56 -08:00
Linux Build Service Account
27320b9e83 Merge "drm: msm: sde: update blob property after splash is done" 2018-12-13 05:14:14 -08:00
Linux Build Service Account
2052860ae5 Merge "drm/msm/sde: Reserve one more layer for early DRM" 2018-12-13 05:14:12 -08:00
Manoj Prabhu B
094a2b6e3d memshare: Conditional free the clients allotted memory
The patch adds an additional check to not free the clients memory
if the client has a designated property of allocate-on-request.

Change-Id: Iecf5886034ccd052ab82fff18cc66f1868604284
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
2018-12-13 02:56:44 -08:00
Cong Tang
fcc10f60f0 ARM: dts: msm: Add Tert Mi2s Group node for msm8996
Support tertiary mi2s group device feature for msm8996.

Change-Id: Ifb0cf8fae13961bef6938cc6f99ecbd5740b2985
Signed-off-by: Cong Tang <congt@codeaurora.org>
2018-12-12 23:58:50 -08:00
Vivek Kumar
4b5e419ad4 drm: msm: sde: Update splash handoff with new APIs
Early domain core driver provides apis to communicate
with LK. Deprecate the use of scratch registers, instead
use the new apis. Early domain core driver now hot adds
the cpu and frees lk text section by taking vote from
all early serivces, So remove hot-adding cpu and freeing
lk text section from display.

Change-Id: Id083850872bca0803e029a85f946c70b2ec5298e
Signed-off-by: Vivek Kumar <vivekuma@codeaurora.org>
2018-12-12 22:41:19 -08:00
E V Ravi
16b4f6747c msm: ais: Update early camera with new apis
Early domain core driver provides apis to communicate
with LK instead of using scratch registers

Change-Id: If312307d0b2eec7a40faf8575a7ad12451408c7c
Signed-off-by: E V Ravi <evenka@codeaurora.org>
2018-12-12 20:52:54 -08:00
Han Lu
fe22467084 msm: ASoC: enable aptX HD decoder
Enable decoder for media format aptX HD

Change-Id: I5892dcdcf233f2c8c79b4f2c08d2d9014e05ed26
Signed-off-by: Han Lu <hanlu@codeaurora.org>
2018-12-12 18:13:42 -08:00
Linux Build Service Account
e46bc1b058 Merge "ARM: dts: msm: Add initial dts support for SDM455 RCM devices" 2018-12-12 07:08:37 -08:00
Tharun Kumar Merugu
4aef69f481 msm: adsprpc: allocate all remote memory in kernel
Allocate all memory given to remote subsystem in the kernel
instead of mapping memory allocated in userspace.

Change-Id: I79c1f40d426e271403afa67514714fe6af26cf4e
Acked-by: Thyagarajan Venkatanarayanan <venkatan@qti.qualcomm.com>
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
2018-12-12 17:40:11 +05:30
Guchun Chen
d40b2726e8 drm: msm: sde: reorder call sequence in splash release thread
When splash releases resource, kernel blob property should
be updated at first, and then uevent sending follows.
This sequence can ensure user can always get the correct
information after kernel blob property is updated in
splash handoff thread.

Change-Id: I7b6493943c6eb1624da75dff5252dd3a71dea657
Signed-off-by: Guchun Chen <guchunc@codeaurora.org>
2018-12-12 09:43:48 +08:00
Linux Build Service Account
7682f0a507 Merge "usb: misc: ks_bridge: Add support for 901F PID" 2018-12-11 07:42:33 -08:00
Linux Build Service Account
1a66c59786 Merge "Merge android-4.4.166 (4c4bedf) into msm-4.4" 2018-12-10 16:45:52 -08:00
Linux Build Service Account
57746efb25 Merge "pinctrl: qcom: spmi-gpio: Fix the GPIO strength mapping" 2018-12-10 16:45:51 -08:00
Linux Build Service Account
f33b549360 Merge "msm: camera: Fix invalid type conversion" 2018-12-10 16:45:49 -08:00
Anirudh Ghayal
aed1318689 pinctrl: qcom: spmi-gpio: Fix the GPIO strength mapping
The SPMI based PMICs have the HIGH and LOW GPIO output
strength mappings interchanged, fix them.

Keep the mapping same for older SSBI based PMICs.

CRs-Fixed: 2246473
Change-Id: I4ec78469c436b54642ee67108943c82fba46e1c4
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2018-12-09 22:08:51 +05:30
Gustavo Solaira
f5421490e0 usb: misc: ks_bridge: Add support for 901F PID
Add support for creation of misc device in case
the connected device has 0x05C6 VID and 0x901F PID.

Change-Id: I594b579affe9382138def16e6d82ddc55ae93ec7
Signed-off-by: Gustavo Solaira <gustavos@codeaurora.org>
2018-12-07 13:28:53 -08:00
Gustavo Solaira
3e54eb059a usb: misc: diag_ipc_bridge: Add support for 0x901F PID
Add support for creation of diag traffic channel in case
the connected device has 0x05C6 VID and 0x901F PID.

Change-Id: I460c0b1e54e88e336081b0ea87cc6342628ec516
Signed-off-by: Gustavo Solaira <gustavos@codeaurora.org>
2018-12-07 13:15:10 -08:00
Linux Build Service Account
982f5648ef Merge "msm: wlan: Update regulatory database to sheet ver.27" 2018-12-07 01:44:02 -08:00
Linux Build Service Account
6c2461eeff Merge "defconfig: msm: Enable earlydomain handoff support" 2018-12-06 18:46:14 -08:00
Linux Build Service Account
eb7b9e2ad0 Merge "drm/msm/sde: sanitize debugfs inputs when reading mdp memory" 2018-12-06 06:33:27 -08:00
Linux Build Service Account
e603b95224 Merge "diag: Mark Buffer as NULL after freeing" 2018-12-06 06:33:27 -08:00
Linux Build Service Account
47619e14cb Merge "defconfig: msm: arm64: remove USELIB configuration" 2018-12-06 06:33:25 -08:00
Vivek Kumar
c4799c908d defconfig: msm: Enable earlydomain handoff support
Enable earlydomain handoff support for msm8996
auto.

Change-Id: If18f1152cd8f008cc5ef68c89680dbd37674a2d1
Signed-off-by: Vivek Kumar <vivekuma@codeaurora.org>
2018-12-06 03:51:24 -08:00
Vivek Kumar
0e2d41ea25 ARM: dts: msm: Add dt node for earlydomain
Add DT node for early domain driver for
msm8996 and remove reserved memory node
for lk_pool as it will be populated by
bootloader if early domain is enabled.

Change-Id: Idd364e2bfab97af78292b1e6a6e172a7b7c4c3a0
Signed-off-by: Vivek Kumar <vivekuma@codeaurora.org>
2018-12-06 03:51:17 -08:00
Abhishek Abbanaveni
ab6810fe8b msm: camera: Fix invalid type conversion
Invalid type conversion with x64 bit command VIDIOC_MSM_LASER_LED_CFG
passed in,for which the type should be "msm_laser_led_cfg_data_t"

Change-Id: I43e112224c612fb5390fa5fc23e8ae9c0e553288
CRs-Fixed: 2299699
Signed-off-by: Abhishek Abbanaveni <aabban@codeaurora.org>
Signed-off-by: E V Ravi <evenka@codeaurora.org>
2018-12-06 02:47:36 -08:00
Hardik Arya
3000c8ab59 diag: Mark Buffer as NULL after freeing
There is a possibility of use-after-free and
double free because of not marking buffer as
NULL after freeing. The patch marks buffer
as NULL after freeing in error case.

Change-Id: Iacf8f8a4a4e644f48c87d5445ccd594766f2e156
Signed-off-by: Hardik Arya <harya@codeaurora.org>
2018-12-06 12:08:28 +05:30
Linux Build Service Account
d3909cc0cd Merge "soc: swr-wcd: Apply div2 setting on slave side before bank switch" 2018-12-05 21:34:56 -08:00
Venkata Rao Kakani
9d10cfb60b defconfig: msm: arm64: remove USELIB configuration
Remove CONFIG_USELIB configuration to make kernel compliance
with android Vendor test suite.

Change-Id: I7ca9bbff514f318e595d44e56611b4f1fe6e8c65
Signed-off-by: Venkata Rao Kakani <vkakani@codeaurora.org>
2018-12-05 21:14:18 -08:00
Linux Build Service Account
1446ca0585 Merge "cfg80211: NL80211_ATTR_SOCKET_OWNER support for CMD_CONNECT" 2018-12-05 13:57:33 -08:00
Linux Build Service Account
a26a21e685 Merge "scm_qcpe: validate hab_recv() return value for retry" 2018-12-05 06:01:23 -08:00
Linux Build Service Account
22b90bcbe5 Merge "soc: qcom: glink: Add support to set affinities" 2018-12-05 06:01:22 -08:00
Linux Build Service Account
a3eba1613d Merge "Bluetooth: Added spinlocks for serial_clock_vote" 2018-12-05 06:01:21 -08:00