Age | Commit message (Collapse) | Author |
|
|
|
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Add kernel header sanitizer check to drop struct epoll_event.
This struct epoll_event is not following the POSIX standard
and defining element in opaque data type.
Change-Id: I1eecef1b64eb1fb8f0dd6999263093a453e7b9fb
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
|
|
|
|
Read VFE resolution limitation from VFE fuse register
and restrict support for dual camera resolution.
Change-Id: I5f1c8878bd1039a40c7c8ecc5934757707e0123e
Signed-off-by: Venu Yeshala <vyeshala@codeaurora.org>
|
|
MHI host is not always the bus master. Add support to
operate on slave mode.
CRs-Fixed: 1095436
Change-Id: I4af92c8171cf9ba38267afa753cec33f291d55eb
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
|
|
Add support for MHI host to directly upload firmware
to compatible devices using MHI protocol.
CRs-Fixed: 1095436
Change-Id: Iff7043f1f9afc4824edeaeccc46ed427ce7ee291
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
|
|
In order to support multiple MHI devices connected
to same host we have, re-organize struct mhi_device_ctxt
such that all information related to device is included inside
struct mhi_device_ctxt. Created an abstract power management
layer to operate MHI in bus master, and slave mode. PCIe bus,
device, slot are extracted from DT to identify physical device.
CRs-Fixed: 1086301
Change-Id: I27a12b7412db75e4843794d80146ca7475b02fdc
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
|
|
|
|
|
|
|
|
|
|
|
|
device"
|
|
On certain PMICs, PMIC peripheral drivers like haptics need to
read MISC peripheral register. Add support for clients to read
it by using qpnp_misc_read_reg().
Change-Id: Id5dfd9e440a8861b56572dab50839d1583535882
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
|
|
|
|
|
|
|
|
Handle LPM when one of the session goes to sleep.
when LPM enable unvote ab/ib of inative session and
vice versa.
Change-Id: I72ab333b24d7ad5ae4deafa758e7e2d92f3cc9d2
Signed-off-by: Ramesh V <ramev@codeaurora.org>
|
|
|
|
Update the interlaced field for the 1920x1080i60
resolution to show that the mode is in fact interlaced.
This will provide external display clients with the
correct information regarding this resolution.
CRs-Fixed: 2006873
Change-Id: I30f5da1e49e35a81f65508f2766118a58d12ceb4
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
|
|
When __qseecom_check_app_exsits() and __qseecom_load_fw() get app_id
from TZ, they save it to function's return value then return back.
But "app_id" is of type uint32, "ret" is int32, this will return
incorrect app_id to the caller if app_id is larger than 0x7FFFFFFF.
Thus make change to return app_id correctly.
Change-Id: I2ef98d64490c480d5416ee24ec6ca9aca9c8ca8a
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
|
|
The ioctl array is sparsely populated but the compiler will make sure
that it is sufficiently sized for all the values that we have so we
can safely use ARRAY_SIZE() instead of having a constantly changing
#define in the uapi header.
Change-Id: Ic0dedbad39f30abb8ce340289089d2f3a5f6fe36
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
|
|
To avoid conflicting with upstream changes when upgrading the kernel
version, move QTI specific ioctls to start at command number 0x40.
This provides plenty of space for the upstream ioctl list to grown
before there are conflicts.
Change-Id: Ic0dedbadad9d3a24467f3d5992104754e31cd769
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
|
|
|
|
|
|
|
|
Separate out the aggre2_noc voters so that individual voters could vote on
these clocks and voter clock would aggregate the clock rates before sending
a request to RPM.
Change-Id: I8ef30af257d2f37ec5af6aa5e3d1b69e5ba8ec8c
Signed-off-by: Taniya Das <tdas@codeaurora.org>
|
|
1. Add support to update backlight when display commit. Backlight
level is sent from userspace. And sync to set PP config, kickoff,
and set backlight in the same vsync period.
2. Add support to get current backlight level through sysfs node.
Change-Id: Icf264299ecf8edd3831938745a471c2655c23542
Signed-off-by: Xu Yang <yangxu@codeaurora.org>
|
|
To indicate, presence of cfg80211_connect_timeout() api to wlan driver
with additional parameter, CFG80211_CONNECT_TIMEOUT_REASON_CODE is
defined and depends on commit eadbd4a4290b ("cfg80211: Specify the
reason for connect timeout") which adds reason while indicating timeout.
When CFG80211_CONNECT_TIMEOUT_REASON_CODE is defined and if wlan
connection attempt failed due to timeout, then wlan driver invokes
cfg80211_connect_timeout() with reason of timeout.
CRs-Fixed: 2004380
Change-Id: I0ba392e05fa9db82de75abd8c29df0b7570066d6
Signed-off-by: Purushottam Kushwaha <pkushwah@codeaurora.org>
|
|
This enhances the connect timeout API to also carry the reason for the
timeout. These reason codes for the connect time out are represented by
enum nl80211_timeout_reason and are passed to user space through a new
attribute NL80211_ATTR_TIMEOUT_REASON (u32).
Signed-off-by: Purushottam Kushwaha <pkushwah@qti.qualcomm.com>
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
[keep gfp_t argument last]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Git-commit: 3093ebbeabcdddc9a982950052f2151df43c7aa2
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git
CRs-Fixed: 2004380
Change-Id: If25dbf99d08d6ee658782fb08bd0ac670e95584a
Signed-off-by: Purushottam Kushwaha <pkushwah@codeaurora.org>
|
|
To indicate, presence of cfg80211_connect_timeout() api to wlan driver,
CFG80211_CONNECT_TIMEOUT is defined and depends on
commit 48f3dee442d9 ("cfg80211: Allow cfg80211_connect_result() errors
to be distinguished") which implements cfg80211_connect_timeout().
When CFG80211_CONNECT_TIMEOUT is defined and if wlan connection attempt
failed due to timeout, then wlan driver invokes
cfg80211_connect_timeout().
CRs-Fixed: 2004380
Change-Id: Ie2c16eb9c1a1330264daf843848c7da43da49b6c
Signed-off-by: Purushottam Kushwaha <pkushwah@codeaurora.org>
|
|
Previously, the status parameter to cfg80211_connect_result() was
documented as using WLAN_STATUS_UNSPECIFIED_FAILURE (1) when the real
status code for the failure is not known. This value can be used by an
AP (and often is) and as such, user space cannot distinguish between
explicitly rejected authentication/association and not being able to
even try to associate or not receiving a response from the AP.
Add a new inline function, cfg80211_connect_timeout(), to be used when
the driver knows that the connection attempt failed due to a reason
where connection could not be attempt or no response was received from
the AP. The internal functions now allow a negative status value (-1) to
be used as an indication of this special case. This results in the
NL80211_ATTR_TIMED_OUT to be added to the NL80211_CMD_CONNECT event to
allow user space to determine this case was hit. For backwards
compatibility, NL80211_STATUS_CODE with the value
WLAN_STATUS_UNSPECIFIED_FAILURE is still indicated in the event in such
a case.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
[johannes: fix cfg80211_connect_bss() prototype to use int for status,
add cfg80211_connect_timeout() to docbook, fix docbook]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Git-commit: bf1ecd210541ef5f3a110e88e8ca5d33b4aa5c23
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git
CRs-Fixed: 2004380
Change-Id: I43e2a7d588ee86a8470cf72ac0a95daaae569fa0
Signed-off-by: Purushottam Kushwaha <pkushwah@codeaurora.org>
|
|
As the best clocksource is not selected till core boot completion,
only periodic tick timer works and it increases jiffies by one at
every tick updates. If interrupt is disabled more than one tick(10ms),
timer interrupts are missed and jiffies can't be updated at every
10ms and it can be behind the real time. So add API to force re-
selection of the best clocksource among registered clocksources so
that the best clocksource can be selected whenever it is available.
Change-Id: I481de3cdf1df8f0e35ed10aee7ab3882bf7a35b3
Signed-off-by: Se Wang (Patrick) Oh <sewango@codeaurora.org>
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
|
|
|
|
This change adds support to allow user space query if low level eMMC
driver has encountered any error or not, this state can be read/cleared
via debugfs.
CRs-Fixed: 1056483
Change-Id: Idc4ea375e9f308446dec04d443d062fe502658bd
Signed-off-by: Liangliang Lu <luliang@codeaurora.org>
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
|
|
|
|
Use mmc_try_claim_host with a timeout instead of mmc_claim_host in
mmc_sd_detect. This is to ensure that mmc rescan work item is doesn't
get blocked on claim_host for longer period.
In the pm_suspend path, we cancel the mmc_rescan work item.
If this work item is already scheduled, suspend would be blocked till
mmc_rescan gets finished. In case, mmc_rescan is blocked on claim_host
lock, pm_suspend could get blocked for longer period. This can result
in momentary UI freeze since pm_suspend is blocked for longer duration.
This change is to prevent this scenario.
Change-Id: Ib93bae6745a153bad3579ae42f46c3c3a7c1b95a
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
|
|
|
|
|
|
With ICE HCI addition in SDHC, couple of errors conditions
got introduced. These errors would be detected by ICE HCI and
triggers interrupt.
The two errors are:
1. Generic Crypto Error (GCE): This error is detected during the
transfer. Need to reset SDHC to recover.
2. Invalid Crypto Configuration Error (ICCE): The HW detects it
before the beginning of the transfer and terminates the transfer
before actual execution started.
Driver has to handle these error for recovering ICE-HCI from
these error conditions. This patch is for handling there errors
in cmdq mode.
Change-Id: Ia10075aca429cbc49ccccdae5c0499c7a176b8a2
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
|
|
Driver is masking QP values for different codecs, as same control
is used for all codecs.This change enables driver to
differentiate QP boundaries based on codec type.
Change-Id: Ibc8a64ab933bac85c72b2dd62f6988bad6d5c5fa
CRs-Fixed: 2011307
Signed-off-by: Deepak Kushwah <dkushwah@codeaurora.org>
|
|
|