Commit graph

591142 commits

Author SHA1 Message Date
Linux Build Service Account
3b61e32368 Merge "ARM: dts: msm: Early mount of vendor partition for sdm660/630" 2017-06-19 07:54:16 -07:00
Linux Build Service Account
371e1c1b54 Merge "ARM: dts: msm: Add Maxim regulator node for msm8996" 2017-06-19 07:54:15 -07:00
Linux Build Service Account
608d5ae7bc Merge "ASoC: msm: Add Compressed app type in transcode loopback driver" 2017-06-19 07:54:14 -07:00
Linux Build Service Account
f79c355176 Merge "msm:ipa: Fix to IPA static analysis constant null deferenced" 2017-06-19 07:54:13 -07:00
Linux Build Service Account
d4041b86d5 Merge "defconfig: msm: Enable maxim regulator driver for msm8996-auto" 2017-06-19 00:27:06 -07:00
Linux Build Service Account
edac345d02 Merge "drm: msm: Enable asynchronous driver probing" 2017-06-19 00:27:04 -07:00
Linux Build Service Account
ea8783eb74 Merge "drm/msm : add utility function to dump HDMI registers" 2017-06-19 00:27:04 -07:00
Amit Nischal
1164f8f6ee clk: qcom: Check for errors during RCG read
There could be instances where the RCG configuration update or readback
could fail. Notify the caller of the failure. Add support to change
scope of mux_div_get_src_div() in order to use it globally.

Change-Id: Ica07c28cede695785db81697effcb40ab6b717d4
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
2017-06-19 12:04:55 +05:30
Siddartha Shaik
04b7e499f8 ASoC: msm: Add Compressed app type in transcode loopback driver
Pick proper app type for compressed input data port in
transcode loopback driver to support compressed input in
DSP loopback.

CRs-Fixed: 2061759
Change-Id: Ib2f66b467456787e08265a0da2bd85bb881a5d61
Signed-off-by: Siddartha Shaik <sshaik@codeaurora.org>
2017-06-18 21:55:39 -07:00
Siddartha Shaik
41144e80b6 ASoC: msm: Update mixer control for QUAT MI2S TX Format
DSP loopback uses QUAT MI2S TX as source interface
so mixer control is updated for QUAT MI2S TX Format
to support compressed and pcm input data formats.

CRs-Fixed: 2061759
Change-Id: I8c283de767f938ae8f4e1180a9dffc79a1da7ff0
Signed-off-by: Siddartha Shaik <sshaik@codeaurora.org>
2017-06-18 21:55:25 -07:00
Tirupathi Reddy
d60a836ac0 ARM: dts: msm: Add Maxim regulator node for msm8996
Maxim20010 buck regulator is used to provide the supply for
graphics rail. The programmable output voltage range is from
0.5V to 1.27V in 10mV steps.

CRs-Fixed: 2062515
Change-Id: I50d3fe4c89f412cda2b58b3f1f19086edcf10553
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
2017-06-19 08:52:45 +05:30
Tirupathi Reddy
8312036ea6 defconfig: msm: Enable maxim regulator driver for msm8996-auto
Enable Maxim20010 external buck regulator driver to provide the supply
for graphics rail on msm8996-auto boards.

CRs-Fixed: 2062515
Change-Id: I1e70f16c660de6d3d2a8c138a34157538c19f0f1
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
2017-06-19 08:50:15 +05:30
Linux Build Service Account
bfbbb3e4b2 Merge "fbdev: msm: Reserve mixers with dspp for primary display" 2017-06-18 16:31:15 -07:00
Linux Build Service Account
81f0507367 Merge "ARM: dts: msm: optimize brightness dcs control for msm8998 SKUK HDK panel" 2017-06-18 16:31:14 -07:00
Linux Build Service Account
7fb6b88294 Merge "msm: mdss: Fix number accuracy for backlight to brightness" 2017-06-18 16:31:13 -07:00
Linux Build Service Account
486d85185c Merge "msm: mdss: dp: use fixed NVID for VGA dongles" 2017-06-18 16:31:12 -07:00
Linux Build Service Account
deeef2aac2 Merge "msm: mdss: Add cursor validation for hflip" 2017-06-18 16:31:11 -07:00
Linux Build Service Account
df17a0c312 Merge "fbdev: msm: fix issue preventing cursor_buf address to be stored" 2017-06-18 16:31:10 -07:00
Linux Build Service Account
7b518455cc Merge "fbdev: msm: fix unaligned access problem" 2017-06-18 16:31:09 -07:00
Linux Build Service Account
7527441950 Merge "msm: mdss: validate number of cea blocks before reading from edid_buf" 2017-06-18 16:31:08 -07:00
Linux Build Service Account
cfdc77c29d Merge "msm: mdss: validate the buffer size before allocating memory" 2017-06-18 16:31:08 -07:00
Linux Build Service Account
f8d804ef05 Merge "msm: mdss: validate page id before reading from edid buffer" 2017-06-18 16:31:07 -07:00
Linux Build Service Account
59c83129d1 Merge "msm: mdss: size check before writing to edid buffer" 2017-06-18 16:31:06 -07:00
Linux Build Service Account
dac47a508d Merge "msm: mdss: handle vsync properly during dynamic resolution switch" 2017-06-18 16:31:05 -07:00
Linux Build Service Account
d71fb41d0f Merge "msm: camera: isp: Do not update lpm mode for inactive streams." 2017-06-18 09:47:29 -07:00
Linux Build Service Account
dc90189a9b Merge "msm: wlan: Update regulatory database" 2017-06-18 09:47:29 -07:00
Linux Build Service Account
b4e9dc3b77 Merge "mhi: core: add a timeout when waiting for MHI state BHI event." 2017-06-18 09:47:28 -07:00
Linux Build Service Account
7f2b29411f Merge "phy: qcom-ufs-qmp-v3: use CDR DIV4 in all bands and fastlock" 2017-06-18 09:47:27 -07:00
Linux Build Service Account
59e9bea393 Merge "mmc: host: sdhci-msm: Don't clear IO_PAD_PWR_SWITCH when faking 3V support" 2017-06-18 09:47:27 -07:00
Linux Build Service Account
14e6108d07 Merge "regulator: max20010: Add max20010 regulator driver" 2017-06-18 09:47:26 -07:00
Linux Build Service Account
a94129212a Merge "memshare: Perform Hypervisor mapping for boot-time allotted memory" 2017-06-18 09:47:25 -07:00
Linux Build Service Account
012ea7971e Merge "diag: Proper update of user PD mdlog session variables" 2017-06-18 09:47:24 -07:00
Linux Build Service Account
fd2a5d6bd5 Merge "clk: msm: clock-osm: Do not initialize ACD if the cluster isn't online" 2017-06-18 09:47:24 -07:00
Linux Build Service Account
126a5ffa55 Merge "drivers/misc: move hdcp sysfs nodes to misc hdcp driver" 2017-06-18 09:47:21 -07:00
Linux Build Service Account
03a11129eb Merge "drm/msm: add HDCP 2.2 module for DRM HDMI" 2017-06-18 09:47:20 -07:00
Linux Build Service Account
4af98252af Merge "firmware_class: Avoid memory leak when FW_OPT_NOCACHE is set" 2017-06-18 09:47:19 -07:00
Imran Khan
e3a3f52ee1 ARM: dts: msm: Early mount of vendor partition for sdm660/630
Add support to early mount vendor partition so that vendor modules
can be loaded during early init.

Change-Id: I2233f6c3b8eab180631ca0a0472b586b7ec854f1
Signed-off-by: Imran Khan <kimran@codeaurora.org>
2017-06-18 21:05:44 +05:30
Mohammed Javid
bba2e9f2c4 msm:ipa: Fix to IPA static analysis constant null deferenced
Adding code changes to reslove IPA static analysis
issue Constant NULL dereferenced by passing
to other function.

Change-Id: I07bd7ac42929576429fc4548cfce7d202d77364f
Acked-by: Ashok Vuyyuru <avuyyuru@qti.qualcomm.com>
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
2017-06-18 12:59:36 +05:30
Abhijit Kulkarni
da010dffc2 drm/msm: start secure domain va from non-zero address
Zero address is considered invalid address, hence changing
the secure domain mapping space to start from a
non-zero address

CRs-Fixed: 2053654
Change-Id: I27300845fb3839372bc38be1d322a7ad0cd0472d
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
2017-06-17 07:35:51 -07:00
Abhinav Kumar
75f79d6787 drm/msm : add hdcp debugfs nodes for DRM HDMI driver
Add debugfs nodes to indicate source/sink
HDCP support and authentication state accurately
for DRM HDMI driver.

Change-Id: Ia947c97708c99f23b7b4f23bcad75529b155a42c
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
2017-06-16 20:22:39 -07:00
Abhinav Kumar
76dbbea975 drm/msm : add utility function to dump HDMI registers
Add a utility function to dump HDMI core registers to
command line. This will facilitate debugging issues by
just calling this API wherever necessary.

Change-Id: I4a6727dca34edf4bb1c240adc7b93f50a7530b98
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
2017-06-16 19:03:35 -07:00
Subbaraman Narayanamurthy
d0ce77308f qpnp-fg-gen3: Move getting battery id and profile to profile_load_work
Workaround to re-enable BMD while getting battery id was required
when driver is probing. This was done to mitigate driver probe
failures because of failed SRAM access. Getting battery_id from
RR_ADC driver itself takes ~200ms and re-enabling BMD takes 200ms
which increases driver probe time.

With the recent changes in reading batt_id channel from RR_ADC
driver, re-enabling BMD is not required anymore when the driver
probes. Hence move getting battery_id and battery profile to
profile_load_work. This way, there won't be any delay when the
driver probes.

CRs-Fixed: 2062261
Change-Id: Ifeb361e0f82fca65f9570fd1f425c7360445d01f
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2017-06-16 17:21:21 -07:00
Terence Ho
2bb9125153 msm: camera: fix untrusted pointer for power down setting
When getting power down setting, there is an untrusted pointer
from a user space pointer.Need to copy to the kernel space first.

Change-Id: I0c66e942453581caac5ea00a54a252840a32972f
CRs-Fixed: 2037398 2037403
Signed-off-by: Terence Ho <terenceh@codeaurora.org>
2017-06-16 14:14:33 -07:00
Terence Ho
3642b7a3b6 msm: camera: Use mutex lock to avoid race condition
Use mutex lock before using queuing ioctls like
queuing, dequeing buffers to avoid race condition.

Change-Id: I59c70f2abe3daddf38761a2f17671d3d49f43989
CRs-fixed: 2038086
Signed-off-by: Terence Ho <terenceh@codeaurora.org>
2017-06-16 14:13:28 -07:00
Subhash Jadavani
19a800e88f phy: qcom-ufs-qmp-v3: use CDR DIV4 in all bands and fastlock
UFS PA errors were observed during data read operation hence Hardware
programming guide have recommended setting QSERDES_RX1_UCDR_PI_CONTROLS
register to value 0x81 which will use CDR DIV4 in all bands and fastlock.

Change-Id: I456354b346aca7abfaa4839d538c5054c3e79fbf
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
2017-06-16 11:06:03 -07:00
Amar Singhal
a27a95244d msm: wlan: Update regulatory database
Remove KP and SY countries from regdb.

CRs-Fixed: 2062687
Change-Id: I41575e415844255d48d2f9e6deca20c1dc656d3c
Signed-off-by: Amar Singhal <asinghal@codeaurora.org>
2017-06-16 10:20:11 -07:00
Sujeev Dias
a105b345b1 mhi: core: add a timeout when waiting for MHI state BHI event.
It's possible for POR to fail and endpoint not enter correct reset
state. Add a timeout when waiting for MHI state BHI transition event
during firmware download.

CRs-Fixed: 2062442
Change-Id: I6af16ec1a514d50b9e984e3fb16696d23e605ba0
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
2017-06-16 09:02:33 -07:00
Linux Build Service Account
e3a07a2190 Merge "defconfig: msm: Use RCU_NOCB for RCU subsystem for sdm660" 2017-06-16 06:02:55 -07:00
Linux Build Service Account
86307ac8a9 Merge "msm: camera: Fix Use after free bug in msm_vb2.c." 2017-06-16 06:02:53 -07:00
Linux Build Service Account
1c6a1b0995 Merge "msm: isp: Send BAF time stamp to user space" 2017-06-16 06:02:52 -07:00