OSDN Git Service
Linux Build Service Account [Tue, 21 Mar 2017 12:00:51 +0000 (05:00 -0700)]
Merge "ASoC: sdm660_cdc: Add 192k support for HPH Rx on internal codec"
Linux Build Service Account [Tue, 21 Mar 2017 12:00:50 +0000 (05:00 -0700)]
Merge "msm: ipa: send filter notify req when client disconnects"
Linux Build Service Account [Tue, 21 Mar 2017 12:00:49 +0000 (05:00 -0700)]
Merge "msm: ADSPRPC: Null check for file session context"
Linux Build Service Account [Tue, 21 Mar 2017 12:00:48 +0000 (05:00 -0700)]
Merge "ARM: dts: msm: enable ESD feature for command mode on sdm630"
Linux Build Service Account [Tue, 21 Mar 2017 12:00:47 +0000 (05:00 -0700)]
Merge "drivercore: Avoid adding devices without pm_ops to dpm list"
Linux Build Service Account [Tue, 21 Mar 2017 12:00:46 +0000 (05:00 -0700)]
Merge "soc: qcom: glink_smem_native_xprt: Wakeup tx thread in deferred function"
Linux Build Service Account [Tue, 21 Mar 2017 12:00:37 +0000 (05:00 -0700)]
Merge "btfm: Close 3990 FM tx ports first and keep overflow bit always set"
Linux Build Service Account [Tue, 21 Mar 2017 12:00:37 +0000 (05:00 -0700)]
Merge "ARM: dts: msm: Increase memory for diag client on sdm660"
Linux Build Service Account [Tue, 21 Mar 2017 12:00:35 +0000 (05:00 -0700)]
Merge "drivers: msm_lmh_dcvs: Fix unsigned integer overflow error"
Linux Build Service Account [Tue, 21 Mar 2017 12:00:34 +0000 (05:00 -0700)]
Merge "ath10k: Get WCN3990 mem base from dt node"
Linux Build Service Account [Tue, 21 Mar 2017 12:00:31 +0000 (05:00 -0700)]
Merge "core_ctl: remove "cpus" sysfs file that prints CPU online status"
Linux Build Service Account [Tue, 21 Mar 2017 12:00:31 +0000 (05:00 -0700)]
Merge "ion: blacklist %p kptr_restrict"
Linux Build Service Account [Tue, 21 Mar 2017 12:00:30 +0000 (05:00 -0700)]
Merge "icnss: Map memory regions passed by firmware"
Linux Build Service Account [Tue, 21 Mar 2017 12:00:29 +0000 (05:00 -0700)]
Merge "android: fiq_debugger: restrict access to critical commands."
Linux Build Service Account [Tue, 21 Mar 2017 12:00:28 +0000 (05:00 -0700)]
Merge "msm vidc: Initialise array elements"
Linux Build Service Account [Tue, 21 Mar 2017 12:00:27 +0000 (05:00 -0700)]
Merge "msm vidc: Update flags for secure scaling control"
Linux Build Service Account [Tue, 21 Mar 2017 12:00:26 +0000 (05:00 -0700)]
Merge "ARM: dts: msm: Update JPEG bandwidth voting for sdm630 and sdm660"
Linux Build Service Account [Tue, 21 Mar 2017 12:00:25 +0000 (05:00 -0700)]
Merge "usb: dwc3: Increase polling interval for set transfer resource ep cmd"
Linux Build Service Account [Tue, 21 Mar 2017 12:00:25 +0000 (05:00 -0700)]
Merge "msm: camera: isp: use NOMINAL clock for CX iPeak"
Linux Build Service Account [Tue, 21 Mar 2017 12:00:24 +0000 (05:00 -0700)]
Merge "diag: Update msg, log and event information"
Linux Build Service Account [Tue, 21 Mar 2017 12:00:22 +0000 (05:00 -0700)]
Merge "iommu/io-pgtable-arm: fix multibit shareability comparison"
Linux Build Service Account [Tue, 21 Mar 2017 12:00:20 +0000 (05:00 -0700)]
Merge "soc: qcom: secure_buffer: add export symbol hyp_assign_phys"
Linux Build Service Account [Tue, 21 Mar 2017 12:00:19 +0000 (05:00 -0700)]
Merge "ath10k: remove the unused code from ath10k snoc driver"
Linux Build Service Account [Tue, 21 Mar 2017 12:00:18 +0000 (05:00 -0700)]
Merge "msm: gsi: Remove duplicate registers defines"
Linux Build Service Account [Tue, 21 Mar 2017 12:00:17 +0000 (05:00 -0700)]
Merge "ARM: dts: msm: increase the common cma region on sdm660"
Linux Build Service Account [Tue, 21 Mar 2017 12:00:15 +0000 (05:00 -0700)]
Merge "msm: camera: Rate limit debug logs"
Tharun Kumar Merugu [Wed, 15 Mar 2017 08:34:50 +0000 (14:04 +0530)]
msm: ADSPRPC: Null check for file session context
When any system call is made, before servicing it make sure that the
session context is not null and channel info is valid.
Change-Id: Ieba53b123d6553c5381db9f0b6d57b8f343e6155
Acked-by: Vishnu Karthik D <vikarthi@qti.qualcomm.com>
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
Utkarsh Saxena [Mon, 13 Mar 2017 15:41:36 +0000 (21:11 +0530)]
msm: ipa: send filter notify req when client disconnects
IPA Q6 needs to know when the client pipe disconnects
to clean up call related settings. Make a change to
send filter notify req with filter index len as 0.
Change-Id: I989eed2e04156b4f6e193dce0e8e71d1f588e749
Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
Nick Desaulniers [Fri, 7 Oct 2016 18:51:15 +0000 (11:51 -0700)]
ion: blacklist %p kptr_restrict
Bug:
31494725
Change-Id: I10a0c2aae883dfaa6c235c38689a704064557008
Git-repo: https://android.googlesource.com/kernel/msm.git
Git-commit:
b57e736e9991b3d0f85c0870b1eff6310a4baa64
[d-cagle@codeaurora.org: Automatic resolve of merge conflicts]
Signed-off-by: Dennis Cagle <d-cagle@codeaurora.org>
Sravan Kumar Ambapuram [Tue, 25 Mar 2014 09:30:54 +0000 (15:00 +0530)]
drivercore: Avoid adding devices without pm_ops to dpm list
Devices without pm_ops are not required to be added in dpm list.
It also helps in improving suspend/resume latencies.
Change-Id: I19a85742fdb6f4d01363b69662ea6d7721a08b3a
Signed-off-by: Sravan Kumar Ambapuram <asravan@codeaurora.org>
Dhoat Harpal [Fri, 10 Mar 2017 15:53:03 +0000 (21:23 +0530)]
soc: qcom: glink_smem_native_xprt: Wakeup tx thread in deferred function
Wakeup of tx thread is done in rx_worker non atomic context. Additionally,
rx_worker also process commands in non atomic context which require tx in
same context. This leads to deadlock situation, if the tx issued from
rx_worker non atomic context result in fifo full and go to sleep.
To avoid this deadlock situation now wakeup is called from a deferred
function.
CRs-Fixed:
2018003
Change-Id: Ibfd12f65340c7ac9a00956a014bc013401223c98
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
Mark Salyzyn [Tue, 20 Dec 2016 23:59:19 +0000 (15:59 -0800)]
android: fiq_debugger: restrict access to critical commands.
Sysrq must be enabled via /proc/sys/kernel/sysrq as a security
measure to enable various critical fiq debugger commands that
either leak information or can be used as a system attack.
Default disabled, this will leave the reboot, reset, irqs, sleep,
nosleep, console and ps commands. Reboot and reset commands
will be restricted from taking any parameters. We will also
switch to showing the limited command set in this mode.
Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Bug:
32402555
Change-Id: I3f74b1ff5e4971d619bcb37a911fed68fbb538d5
[d-cagle@codeaurora.org: Resolve merge conflict]
Git-repo: https://android.googlesource.com/kernel/msm
Git-commit:
1031836c0895f1f5a05c25efec83bfa11aa08ca9
Signed-off-by: Dennis Cagle <d-cagle@codeaurora.org>
Sandeep Panda [Mon, 20 Mar 2017 06:44:05 +0000 (12:14 +0530)]
ARM: dts: msm: enable ESD feature for command mode on sdm630
Enable ESD feature for default truly command mode panel on sdm630.
Also increase the escape clock of both command and video mode panel
to avoid DSI PHY related errors seen during ESD enable use case.
Change-Id: Icc6064a9ad2b7aac2699f3161a3f7711933e55f8
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
Rupesh Tatiya [Thu, 2 Mar 2017 10:03:47 +0000 (15:33 +0530)]
btfm: Close 3990 FM tx ports first and keep overflow bit always set
Close data source ports i.e. wcn3990 tx ports before data sink ports i.e.
AFE for FM tx case. Also, do not set wcn3990 overflow/underflow registers
to 0 during channel disable path. This causes audio loss if audio focus
is lost during FM playback.
Change-Id: Id6c8ee145bf7feb8681851499ba36b708667b4ef
Signed-off-by: Rupesh Tatiya <rtatiya@codeaurora.org>
Mohit Aggarwal [Fri, 17 Mar 2017 15:07:40 +0000 (20:37 +0530)]
ARM: dts: msm: Increase memory for diag client on sdm660
Currently, memshare allocates 5MB memory to diag client.
This patch increases the memory to 15MB. Also now diag
client will be considered guaranteed to avoid memory
allocation failure on modem SSRs.
Change-Id: I2ac822ef95ab7fbf054fdc80052b8406732f383e
Signed-off-by: Mohit Aggarwal <maggarwa@codeaurora.org>
Deepak Kushwah [Tue, 7 Mar 2017 05:18:45 +0000 (10:48 +0530)]
msm vidc: Initialise array elements
Array elements needs to be initialised as the
elements are not initialised by default and may
contain junk data which will lead to unexpected
behaviour.
Change-Id: Ifecb8065b09afcbf11a9dcfbf230403afcdb225d
CRs-Fixed:
2015789
Signed-off-by: Deepak Kushwah <dkushwah@codeaurora.org>
Deepak Kushwah [Fri, 3 Mar 2017 12:55:41 +0000 (18:25 +0530)]
msm vidc: Update flags for secure scaling control
Secure scaling control is flagged as volatile which
should not be beacause as per the documentation a volatile
control changes continuously but this control value
is updated from capabilities we got from the firmware
which is not going to change later. Also as this control
is volatile, when we try to get control on this, driver
will try to get control for all the controls which are
flagged as volatile. This might lead to generate session
error as there are some controls which are specific to
codec type but as they are flagged volatile driver will
try to get control for them too and this will trigger
session error from firmware.
Change-Id: I42602eb8e20a6ae5ce90f9dbe938b0503c6a731e
CRs-Fixed:
2015147
Signed-off-by: Deepak Kushwah <dkushwah@codeaurora.org>
Govind Singh [Wed, 22 Feb 2017 09:01:48 +0000 (14:31 +0530)]
ath10k: Get WCN3990 mem base from dt node
Add support to get WCN3990 mem base from
device tree node.
Change-Id: I1561dc18577a075bda123429b3e9b89e92a9bfb5
Signed-off-by: Govind Singh <govinds@codeaurora.org>
Govind Singh [Wed, 15 Mar 2017 14:06:38 +0000 (19:36 +0530)]
ARM: dts: msm: update wcn3990 wlan device node for APQ8998
Add memory regions defined as starting address and size in
wlan module device node for APQ8998.
Change-Id: I76b790f2186d133984997acff5b3faed621f2116
Signed-off-by: Govind Singh <govinds@codeaurora.org>
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
Linux Build Service Account [Mon, 20 Mar 2017 03:46:21 +0000 (20:46 -0700)]
Merge "ASoC: sdm660_cdc: Add null check in msm_dig_suspend"
Linux Build Service Account [Mon, 20 Mar 2017 03:46:20 +0000 (20:46 -0700)]
Merge "msm: camera: isp: Initialize or validate variables before use"
Linux Build Service Account [Mon, 20 Mar 2017 03:46:19 +0000 (20:46 -0700)]
Merge "clk: qcom: Register gcc debug mux with clock_debug functionality"
Linux Build Service Account [Mon, 20 Mar 2017 03:46:19 +0000 (20:46 -0700)]
Merge "clk: Move the measure functionality from common clock framework"
Linux Build Service Account [Mon, 20 Mar 2017 03:46:17 +0000 (20:46 -0700)]
Merge "clk: qcom: Move clock debug measure support from common code"
Linux Build Service Account [Mon, 20 Mar 2017 03:46:16 +0000 (20:46 -0700)]
Merge "deconfig: arm64: enable the laser sensor on msm8998"
Linux Build Service Account [Mon, 20 Mar 2017 03:46:16 +0000 (20:46 -0700)]
Merge "input: vl53l0: Enable laser sensor Kconfig and Makefile entries"
Linux Build Service Account [Mon, 20 Mar 2017 03:46:15 +0000 (20:46 -0700)]
Merge "ARM: dts: msm: Add support TOF sensor on msm8998"
Linux Build Service Account [Sun, 19 Mar 2017 19:40:31 +0000 (12:40 -0700)]
Merge "ARM: dts: msm: enable ESD for command mode panel on sdm660"
Linux Build Service Account [Sun, 19 Mar 2017 19:40:30 +0000 (12:40 -0700)]
Merge "mhi: core: process incoming data based on event ring type"
Linux Build Service Account [Sun, 19 Mar 2017 19:40:29 +0000 (12:40 -0700)]
Merge "msm: mdss: dp: Fix DP display issue during device boot time"
Linux Build Service Account [Sun, 19 Mar 2017 19:40:28 +0000 (12:40 -0700)]
Merge "msm: mdss: disable programmable fetch when not in use"
Linux Build Service Account [Sun, 19 Mar 2017 19:40:27 +0000 (12:40 -0700)]
Merge "firmware: tz_log: Enable asynchronous driver probing"
Krupal Divvela [Fri, 10 Mar 2017 13:23:00 +0000 (18:53 +0530)]
ARM: dts: msm: Update JPEG bandwidth voting for sdm630 and sdm660
Update correct bandwidth voting for JPEG and JPEGDMA modules,
based on JPEG clock(JPEG clock * 2.5).
CRs-Fixed:
2017755
Change-Id: Iae98f74fa885dc15f4d41c3e69639dd9cad99563
Signed-off-by: Krupal Divvela <kdivvela@codeaurora.org>
Laxminath Kasam [Fri, 17 Mar 2017 09:24:24 +0000 (14:54 +0530)]
ASoC: sdm660_cdc: Add 192k support for HPH Rx on internal codec
Add support for 192k/96k sampling rates for HPH RX
on SDM660 internal codec.
Change-Id: I364cdfc1b3e086158b6d115b7e4c4ddaf5c132b1
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
Srikanth Uyyala [Mon, 13 Mar 2017 06:47:39 +0000 (12:17 +0530)]
msm: camera: isp: use NOMINAL clock for CX iPeak
Recommendation is to use NOMINAL in stead of TURBO
clock as threshold for voting with CX iPeak.
Change-Id: Idcdc9ee86118a34a031b80dc86f7cc6dad71a05f
Signed-off-by: Srikanth Uyyala <suyyala@codeaurora.org>
Prashanth Bhatta [Wed, 15 Mar 2017 22:57:30 +0000 (15:57 -0700)]
icnss: Map memory regions passed by firmware
WLAN firmware responds with number of memory regions and starting
address of each as part of MSA info response. These memory
regions needs to be assigned with different hypervisor permission
based on secure_flag. Current code assumes that there will always
be 2 regions passed by WLAN FW but WLAN FW may pass only one
region to be mapped. Map the memory region based on number of
memory region passed by WLAN FW.
Change-Id: Ib62570a0851adb858b0f11959265ea9c0b42429e
CRs-fixed:
2021566
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
Hemant Kumar [Fri, 17 Mar 2017 00:38:49 +0000 (17:38 -0700)]
usb: dwc3: Increase polling interval for set transfer resource ep cmd
Endpoint command to request resources on ep0 is take upto ~800us and
this delay is observed for every new/re enumeration. As the api polls
(reads the register and it happens over cnoc) for every 1us to check
for completion it could result in congestion on cnoc. Hence increase
polling interval from 1us to 20us for this endpoint command.
Change-Id: I6d738b46a47b00105289e8f07b8fe0883a3fda44
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Sujeev Dias [Tue, 28 Feb 2017 22:03:04 +0000 (14:03 -0800)]
mhi: core: process incoming data based on event ring type
mhi clients can manage both hardware and software event rings.
Process incoming data based on event ring type instead of
channel type.
CRs-Fixed:
2018326
Change-Id: Ifa2de76034224c19a846f7be153400888f8c66de
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
Sujeev Dias [Sun, 12 Mar 2017 01:53:03 +0000 (17:53 -0800)]
mhi: core: only accumulate transfer complete events as processed events
When a client ask MHI host to processed X number of events, only count
transfer events as part of processed events. All other events are internal
events.
CRs-Fixed:
2018324
Change-Id: I4cfcae0ba187348442c3fc45b76d7c4b01f687bd
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
Liam Mark [Fri, 17 Mar 2017 17:26:49 +0000 (10:26 -0700)]
iommu/io-pgtable-arm: fix multibit shareability comparison
Since the PTE shareability values can be multibit fix so that they
are properly checked.
Change-Id: I36791921b0189b50cbbcb79efdb2f1a36ad9d726
Signed-off-by: Liam Mark <lmark@codeaurora.org>
Sarada Prasanna Garnayak [Tue, 14 Mar 2017 13:44:05 +0000 (19:14 +0530)]
soc: qcom: secure_buffer: add export symbol hyp_assign_phys
Fix the symbol linking error for loadable kernel modules
which is using secure buffer hypervisor api for smmu configuration.
CRs-Fixed:
2019262
Change-Id: I3d83fd4b1854298c1283e03f220de8c673195492
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
Sarada Prasanna Garnayak [Tue, 14 Mar 2017 15:17:38 +0000 (20:47 +0530)]
ath10k: remove the unused code from ath10k snoc driver
Remove the unused copy engine temp variable from the wlan
enable method.
Change-Id: I8572464705298eeb32f7752a4803094a72344a36
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
Ghanim Fodi [Mon, 13 Mar 2017 18:26:50 +0000 (20:26 +0200)]
msm: gsi: Remove duplicate registers defines
gsi_reg.h file includes the definitions of GSI registers.
The GSI Instruction RAM registers are defined twice.
This change removes the duplication.
Change-Id: Iccd256711c28a5f4698555079a7f73ce0357a92d
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
Charan Teja Reddy [Fri, 17 Mar 2017 12:01:13 +0000 (17:31 +0530)]
ARM: dts: msm: increase the common cma region on sdm660
Increase the common CMA region size to 44MB to accommodate modem diag
buffer region.
Change-Id: Iad83f749d8ca5635ead9c637dbc2f927191414fe
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
Pavankumar Kondeti [Fri, 17 Mar 2017 10:22:30 +0000 (15:52 +0530)]
core_ctl: remove "cpus" sysfs file that prints CPU online status
core_ctl module no longer hotplug the CPUs. Hence remove the
/sys/devices/system/cpu/cpuX/core_ctl/cpus file interface which
pints the online/offline state of all CPUs in the cluster.
The global_state file interface can still be used to know all
the state information about all CPUs. Replace "Active" with
"Isolated" string in this file output. Otherwise we see that
an offline CPU as active.
Change-Id: Id6ffb1c3ddfe85cf34ab670ceea8b53e5b2f60e2
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Pavankumar Kondeti [Fri, 17 Mar 2017 09:36:47 +0000 (15:06 +0530)]
core_ctl: use pr_fmt
We use pr_* to print info/warn/error messages. Use pr_fmt so
that the messages are prefixed by "core_ctl:" string.
Change-Id: Icc84db30ebf0855599431366d090a2b1c94da6d0
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Pavankumar Kondeti [Fri, 17 Mar 2017 09:59:13 +0000 (15:29 +0530)]
core_ctl: kill maintenance of online state
The online state is cached in CPU hotplug callbacks. This is
used in determining the potential candidates for isolation or
unisolation. The current code has checks in hotplug notifier
callback to correct the online state if it is out of sync
with the actualy CPU state. All this maintenance can be
avoided by directly using cpu_online().
This patch fixes an incorrect warning message emitted from
CPU_UP_CANCELED event callback.
Change-Id: I9681ce6c5bc701507427d60db397ca4966fbdb58
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Venu Yeshala [Fri, 10 Mar 2017 09:45:10 +0000 (15:15 +0530)]
msm: camera: isp: Initialize or validate variables before use
Check the validity of pointer before dereference and initialize
uninitialized variables.
Change-Id: Ifad4dd9668db91a18b493e0c7276bf6c193fb680
Signed-off-by: Venu Yeshala <vyeshala@codeaurora.org>
Taniya Das [Tue, 28 Feb 2017 05:21:28 +0000 (10:51 +0530)]
clk: qcom: Register gcc debug mux with clock_debug functionality
clock_debug_mux is required for the 'measure' functionality of the clock,
register using the clk_register_debug for the same.
Change-Id: I95b64ddd3ef3d869cf3b8ad2b4210ea78ba8f5fa
Signed-off-by: Taniya Das <tdas@codeaurora.org>
Taniya Das [Tue, 28 Feb 2017 05:18:38 +0000 (10:48 +0530)]
clk: Move the measure functionality from common clock framework
Common Clock Framework(CCF) already has a clock ops hook `debug_init` which
could be used for the debugfs clock measure functionality. Remove the APIs
from the CCF and update the 'debug_init' clock ops to the clock types which
require the measure functionality.
Change-Id: I0c01f72a9d1d1caa1b1ab73a800401c2cbc3216c
Signed-off-by: Taniya Das <tdas@codeaurora.org>
Taniya Das [Tue, 28 Feb 2017 04:57:57 +0000 (10:27 +0530)]
clk: qcom: Move clock debug measure support from common code
The 'measure' functionality is a debug feature which allows the user of
clocks to allow measuring the frequency of a given clock using the ring
oscillator.
Move 'measure' code to a new clk-debug file to support the functionality.
Change-Id: I229721f17d232a4ff69b5cf416b43d22fee5b72e
Signed-off-by: Taniya Das <tdas@codeaurora.org>
Linux Build Service Account [Fri, 17 Mar 2017 03:03:04 +0000 (20:03 -0700)]
Merge "misc: qpnp-misc: change the initcall level for qpnp-misc driver"
Linux Build Service Account [Fri, 17 Mar 2017 03:03:01 +0000 (20:03 -0700)]
Merge "power: smb-lib: always assume legacy cable and limit ICL"
Linux Build Service Account [Fri, 17 Mar 2017 03:03:00 +0000 (20:03 -0700)]
Merge "power: smb-lib: always assume legacy cable to prevent CC OV"
Linux Build Service Account [Fri, 17 Mar 2017 03:02:58 +0000 (20:02 -0700)]
Merge "ASoC: wcd934x: Fix mbhc errors upon removing SND_SOC_WCD934X_MBHC"
Linux Build Service Account [Fri, 17 Mar 2017 03:02:57 +0000 (20:02 -0700)]
Merge "arch: arm64: Fix APPENDED_DTB for arm64"
Linux Build Service Account [Fri, 17 Mar 2017 03:02:57 +0000 (20:02 -0700)]
Merge "ARM: dts: msm: increase strength for mclk0 on msm8998 HDK"
Linux Build Service Account [Fri, 17 Mar 2017 03:02:56 +0000 (20:02 -0700)]
Merge "ARM: dts: msm: enable HDMI and DP functionality for HDK835"
Linux Build Service Account [Fri, 17 Mar 2017 03:02:54 +0000 (20:02 -0700)]
Merge "mhi: mhi_core: move mhi from module_Init to subsys_init"
Linux Build Service Account [Fri, 17 Mar 2017 03:02:53 +0000 (20:02 -0700)]
Merge "mhi: core: add support for priority based event processing"
Chris Lew [Fri, 17 Mar 2017 00:20:45 +0000 (17:20 -0700)]
diag: Update msg, log and event information
Update the diag header with latest log, message
and event information to match the list maintained
by the peripherals.
CRs-Fixed:
2020864
Change-Id: Icbed01bb4f90fb7d72fe7517ee6964d799f1d48e
Signed-off-by: Chris Lew <clew@codeaurora.org>
Subbaraman Narayanamurthy [Wed, 15 Mar 2017 01:18:38 +0000 (18:18 -0700)]
misc: qpnp-misc: change the initcall level for qpnp-misc driver
Change the initcall level of qpnp-misc driver from module_init()
to subsys_initcall() so that the misc devices can be available
earlier. This helps the clients to access the registers under
misc peripheral sooner without a probe deferral.
Change-Id: Ie5df2cb9cf6842c59ec6f00ac9123994111f207b
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Nicholas Troast [Tue, 14 Mar 2017 16:06:56 +0000 (09:06 -0700)]
power: smb-lib: always assume legacy cable and limit ICL
While in DRP the legacy cable detection may fail. When a legacy cable is
detected the legacy input current limits are enforced by hardware.
Always assume a legacy cable since the legacy cable detection will
fail in some cases. Manually enforce the legacy input current limits to
ensure USB stability and compliance. As a side effect, non-legacy 22k
ohm and 10k ohm Rp adapters will be current limited to legacy standards.
To realize this:
- Set a limit of 100mA as soon as type-c is connected and remove that
limit once PD is confirmed.
- If PD is not confirmed:
- SDP: Use 100mA vote until USB PHY updates it to 500/900mA
- CDP: Use 1.5A vote
- DCP: Use 1.5A vote
- HVDCP: Use 3A vote
Change-Id: I049a7ee2099acd9e58df1b9417847daec4854af5
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
Nicholas Troast [Tue, 14 Mar 2017 15:20:31 +0000 (08:20 -0700)]
power: smb-lib: always assume legacy cable to prevent CC OV
While in DRP the legacy cable detection may fail. Legacy cable
detection is essential to preventing CC OV damage.
Always assume a legacy cable since the legacy cable detection will fail
in some cases. As a side effect, non-legacy HVDCP adapters will stay at
5V if they have a 10k ohm Rp.
To realize this:
- Remove disallowing PD based on the legacy bit being set. That bit set
or unset is not reliable and it is safe to try PD.
- Remove the workaround which tries to fix legacy cable being set
incorrectly at boot. That bit set or unset is not reliable.
Change-Id: I37879866592f63906a7c688f51c309b4e2fee48d
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
Nicholas Troast [Wed, 15 Mar 2017 17:45:28 +0000 (10:45 -0700)]
power: smb-lib: use updated ICL override bit
Currently to override the ICL the self-clearing ICL override bit is
used. The problem with this bit is that it is self-clearing and a
separate register needs to be read to get the override status.
Furthermore, the hardware will automatically clear this bit on USB
removal.
A new ICL override bit was added in PMI hardware revision 2.0. This bit
is not self-clearing, and can be set prior to USB insertion. Use this
new bit.
Change-Id: I30a601b6aacba3c404ebdfb82e529504a694a048
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
Nicholas Troast [Tue, 14 Mar 2017 16:50:28 +0000 (09:50 -0700)]
power: smb-lib: let userspace rerun AICL for PD and PPS
Currently AICL will be rerun whenever PD requests a voltage increase.
While this works in most cases it can become problematic if PD requests
the same voltage twice, and the ICL may fall to ICL_MIN.
Since the voltage requests originate in the userspace it would be less
error prone to allow the userspace to rerun AICL instead. Do it.
Change-Id: Id190564e28bcffd72a1de70fa1327fce3e40299e
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
Nicholas Troast [Tue, 14 Mar 2017 16:20:55 +0000 (09:20 -0700)]
power: smb-lib: prevent unnecessary APSD re-runs
When APSD_START_ON_CC_BIT is set both VBUS and CC must be attached
before APSD runs. This eliminates all issues related to slow plugin.
Unfortunately this means that if CC is re-asserted anytime after APSD
finishes, then it will rerun again.
Fix this by disabling APSD_START_ON_CC_BIT right after CC is asserted,
and enable it after USB removal.
Change-Id: I27d3727647635b78392b925f0881dc3a4ef41623
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
Nicholas Troast [Wed, 15 Mar 2017 17:05:51 +0000 (10:05 -0700)]
power: pmic-voter: add is_client_vote_enabled API
A client vote can be enabled or disabled. Add an API which allows
consumers to check the enable/disable status of a client vote.
Change-Id: Ic4e9224c19e63fb88216da0cb775994e3e87c1f7
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
Wei Ding [Wed, 15 Mar 2017 07:34:07 +0000 (15:34 +0800)]
deconfig: arm64: enable the laser sensor on msm8998
Enable the laser sensor on the msm8998.
CRs-fixed:
1051771
Change-Id: Ie929092504ceb40bff283817e98b6cb0c4c05714
Signed-off-by: Wei Ding <weiding@codeaurora.org>
Bikas Gurung [Wed, 15 Feb 2017 06:20:38 +0000 (22:20 -0800)]
input: vl53l0: Enable laser sensor Kconfig and Makefile entries
Laser sensor is connected using CCI interface.
Add support to configure and enable laser
sensor driver.
CRs-fixed:
1051771
Change-Id: Ia9eab96862b1c2a657d40272867f015a0a91e0ed
Signed-off-by: Bikas Gurung <bgurung@codeaurora.org>
Ashish Garg [Wed, 15 Mar 2017 09:40:19 +0000 (15:10 +0530)]
ARM: dts: msm: enable ESD for command mode panel on sdm660
ESD feature is enabled on the nt35597 truly panel on sdm660 to
check the panel status periodically.
Change-Id: Id354c900a784b1bf239595fd31a244c064066987
Signed-off-by: Ashish Garg <ashigarg@codeaurora.org>
Ashish Garg [Wed, 15 Mar 2017 09:12:55 +0000 (14:42 +0530)]
ARM: dts: msm: update the panel escape clock for truly panel
For some panels, escape clock needs to be updated for checking
the panel status periodically. Update the panel init sequence
to increase the escape clock.
Change-Id: I4a154d30e829c80587b3207ddc754aace927ab1c
Signed-off-by: Ashish Garg <ashigarg@codeaurora.org>
Wei Ding [Wed, 8 Mar 2017 05:30:12 +0000 (13:30 +0800)]
ARM: dts: msm: increase strength for mclk0 on msm8998 HDK
Increase the strength of camera mclk0 on msm8998 HDK.
Change-Id: I9804d26265f074e1696f9b324ac8973100bb0a0e
Signed-off-by: Wei Ding <weiding@codeaurora.org>
Zhen Kong [Fri, 24 Feb 2017 10:02:29 +0000 (15:32 +0530)]
firmware: tz_log: Enable asynchronous driver probing
Do asynchronous driver probing of TZ log driver to improve
the device boot-up time.
Change-Id: Ic972be12f820787db1a5bc957b109461354875fb
Signed-off-by: AnilKumar Chimata <anilc@codeaurora.org>
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
Ram Chandrasekar [Wed, 15 Mar 2017 22:28:38 +0000 (16:28 -0600)]
drivers: msm_lmh_dcvs: Fix unsigned integer overflow error
The frequency value that is calculated in Hz can be of a large value to
cause unsigned integer overflow. DCVSh though fetches the final
frequency value in HZ in a unsigned long variable, the intermediate
variable used in the estimation is unsigned integer. This will result in
a wrong frequency value being reported to userspace and clients.
Fix the overflow by using a unsigned long datatype for the frequency
computation.
Change-Id: I4bba53b9f5bd243c4aaaf67a831ce77ef231b38f
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
Linux Build Service Account [Wed, 15 Mar 2017 17:25:38 +0000 (10:25 -0700)]
Merge "USB: f_qc_rndis: Change descriptors to support wireless RNDIS"
Linux Build Service Account [Wed, 15 Mar 2017 17:25:37 +0000 (10:25 -0700)]
Merge "ARM: dts: msm: Move improve touch device node for SDM660 QRD"
Linux Build Service Account [Wed, 15 Mar 2017 17:25:36 +0000 (10:25 -0700)]
Merge "msm: mdss: Fix hist sum sanity check issue"
Linux Build Service Account [Wed, 15 Mar 2017 17:25:35 +0000 (10:25 -0700)]
Merge "msm: mdss: Fix source split validation"
Linux Build Service Account [Wed, 15 Mar 2017 17:25:35 +0000 (10:25 -0700)]
Merge "msm: mdss: Add check to fix null pointer dereference during pipe reset"