This patch enables UART clock to run at half the rate and make
sure write to register gets executed with read back of the same
regiter.
Change-Id: Ic4087f6e246b112769335e883a35d8eb00412907
Signed-off-by: Prudhvi Yarlagadda <pyarlaga@codeaurora.org>
This change adds all missing changes on previous snapshot of
the base kernel 4.19.
Change-Id: Iaa5f338b97eb4a6194125a34119f4a089d92baa9
Signed-off-by: Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
Enable the needed IPA modules for compilation.
Drivers will be modules on GKI config and static
on QGKI and debug configs..
Change-Id: Ibe44dc65f0f6751a2af1a4bcc1503d570d949f1b
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
This is a snapshot of driver support for FSA4480 I2C device as of
msm-4.19 commit '6037f6c5818ad4cab978a90ba45bd51aa73da497'(Add
driver for FSA4480 I2C device).
Change-Id: Iac392c82a72fe5de469fda094059ef7691772ca8
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
Signed-off-by: Meng Wang <mengw@codeaurora.org>
This is a snapshot of I3C GENI driver and associated files as of msm-4.19
'commit a61c76b51988 ("i3c: i3c-master-qcom-geni: Support for IBI wakeup
from system suspend")'.
Change-Id: I7f09cafbfc76dfe2c8d24d91b9ee2a5854ccc5ec
Signed-off-by: Subramanian Ananthanarayanan <skananth@codeaurora.org>
Adding traces to find the arguments passed to secure world
and the values returned.
Change-Id: I6a90f968a05873f0ecbd4a0cc8c85d704e1d64cf
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
Remove downstream scm driver as it has been deprecated in favor of
firmware/qcom_scm.c.
Change-Id: Ie056baeca1e5e305c7c77b3cec086292e4bf3caf
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
CVP firmware has not been released to Lahaina. Loading CVP
firmware caused stability problem during kernel boot. Disable
CVP firmware loading till it's ready.
Change-Id: Iefef7a42c2a8f2cc1c20a259491b0d96248f1aa1
Signed-off-by: George Shen <sqiao@codeaurora.org>
In case of iova_alloc bitmap search wrap, we erroneously update the
previous_next_start as 0, this causes stale tlb logic not detect wrap and
stale TLB entry issues. Fix the same.
Change-Id: Ic8c96e98abc91520f222a7dbe5024814dabd5042
Signed-off-by: Prakash Gupta <guptap@codeaurora.org>
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
Use a spinlock to protect runtime resource in substream
against race conditions which may lead to use-after-free.
CRs-fixed: 2112713
Change-Id: I37dee68cad5eae05b21cfade3dabc0c2b79be6b8
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
Signed-off-by: Meng Wang <mengw@codeaurora.org>
snd_compr_tstamp is initialized using aggregate initialization
that does not zero out the padded bytes.
Initialize timestamp structure to zero using memset to avoid this.
CRs-Fixed: 568717
Change-Id: I7a7d188705161f06201f1a1f2945bb6acd633d5d
Signed-off-by: Krishnankutty Kolathappilly <kkolat@codeaurora.org>
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
Signed-off-by: Meng Wang <mwang@codeaurora.org>
Add new config AUDIO_QGKI for audio to enable
ASOC framework enhancement.
Change-Id: I0beccc8f77d047a110001101143244392b57d383
Signed-off-by: Meng Wang <mengw@codeaurora.org>
Add audio backend to hwdep interface. This is to provide
ioctl interface to communicate to routing driver.
Currently codec driver uses request_firmware to get calibration data
but as this firmware file is also written by userspace process after
bootup, it is not recommended to use request_firmware. ALSA core
provides mechanism to get hardware dependent data using hwdep nodes.
Codec will use aforementioned nodes to get calibration data from
userspace.
This commit adds hwdep interface for codec calibration.
Change-Id: I9abeb9cdf3ea58d9fac13eef5d849c8aadf1bfbf
Signed-off-by: Subhash Chandra Bose Naripeddy <snariped@codeaurora.org>
Signed-off-by: Krishnankutty Kolathappilly <kkolat@codeaurora.org>
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Signed-off-by: Meng Wang <mengw@codeaurora.org>
Create a header library which export kernel headers.
These headers are needed by modules and userspace libraries.
Change-Id: I0908e2e02ba1edfb569c5abcd0d5e1df72a40324
Signed-off-by: Rishabh Bhatnagar <rishabhb@codeaurora.org>
The gpiochip_add_data() sets the chained irq handler for the TLMM
summary line. Remove reundant call to set the handler again.
Change-Id: I230f21fdde880407bf84ac73669457aa062a8236
Signed-off-by: Lina Iyer <ilina@codeaurora.org>
There is no need to reset the PPM when the interface is
unregistered. Quietly silencing the notifications and then
unregistering everything is enough. This speeds up
ucsi_unregister() a lot.
Change-Id: Ib309aa79ee12ebd6a0e299b64046073bd7866a24
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Tested-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20191104142435.29960-19-heikki.krogerus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Git-commit: 74ce3e41274805e4a5598f4d98ee4d5160466d07
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git
Signed-off-by: Jack Pham <jackp@codeaurora.org>
That data structure was used for constructing the commands
before executing them, but it was never really useful. Using
the structure just complicated the driver. The commands are
64-bit wide, so it is enough to simply fill a u64 variable.
No data structures needed.
This simplifies the driver considerable and makes it much
easier to for example add support for big endian systems
later on.
Change-Id: I3533a2c24c3a91ea51e2ebdefe6bc2351223ca0b
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Tested-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20191104142435.29960-16-heikki.krogerus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Git-commit: 470ce43a1a810117f09aa4bcad6ca2be6b29c8d1
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git
Signed-off-by: Jack Pham <jackp@codeaurora.org>
The drivers now only use the new API, so removing the old one.
Change-Id: I716f18549d9f3efcbd47ef51ca371d37e4a5f3df
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Tested-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20191104142435.29960-15-heikki.krogerus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Git-commit: 2ede55468ca8cc236da66579359c2c406d4c1cba
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git
Signed-off-by: Jack Pham <jackp@codeaurora.org>