Commit graph

876,525 commits

Author SHA1 Message Date
Jack Pham
b1eebddc21 defconfig: lahaina-gki: enable various USB CONFIGFS functions
Enable various USB ConfigFS driver modules that add additional
functions for NCM, DIAG, CCID, CDEV, and GSI.

Change-Id: I8ac8474a8a0bec3dd8d527fdb6f9896ab50e530c
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2020-01-21 19:39:12 -08:00
Jack Pham
f473938d8f usb: gadget: Make USB_CONFIGFS_NCM buildable as a module
Change the Kconfig definition from bool to tristate to
allow building the NCM function as a loadable module.

Change-Id: Ia7637b7ae2fdd1809d3e3a6b1d4521ce6d136095
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2020-01-21 19:39:12 -08:00
Jack Pham
84caa0c7d3 usb: gadget: f_cdev: Fix func_suspend
The func_is_suspended and func_wakeup_allowed flags are now not
part of the struct usb_function; hence move those fields to the
local struct f_cdev. Guard the get_status() callback within
CONFIG_USB_FUNC_WAKEUP_SUPPORTED as it should return 0 if
function wakeup is not supported. Finally fix up various usage
of the FUNC_SUSPEND flags to use the standard definitions found
in <uapi/linux/usb/ch9.h>.

Change-Id: I5ff3d45a2a7f77d008220a4f287d08b470fa0418
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2020-01-21 19:39:12 -08:00
Jack Pham
7f17e848ec usb: gadget: f_gsi: Fix function suspend
The func_is_suspended and func_wakeup_allowed flags are now not
part of the struct usb_function; hence move those fields to the
local struct f_gsi. Guard the get_status() callback within
CONFIG_USB_FUNC_WAKEUP_SUPPORTED as it should return 0 if
function wakeup is not supported. Finally fix up various usage
of the FUNC_SUSPEND flags to use the standard definitions found
in <uapi/linux/usb/ch9.h>.

Change-Id: If206b8ed82a69041fff70e244a116109ef5e5aaf
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2020-01-21 19:39:12 -08:00
Jack Pham
6c97abe0f0 usb: gadget: Add function wakeup support
USB 3.x allows functions to be independently suspended for better
power management on a per-interface basis. Additionally a function
can also be a remote wake source. Add support for allowing a
function to issue a remote wakeup to the composite driver, which in
turn will issue a device notification packet request to the device
controller driver.

Change-Id: I72b3a25cfffa6060f1e10479e3c0ad9c0409aa45
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2020-01-21 19:39:11 -08:00
qctecmdr
6da1fc6d98 Merge "interconnect: qcom: Change bcm voter initlevel" 2020-01-20 07:23:37 -08:00
qctecmdr
496291b53a Merge "arm64: defconfig: Enable CMA debug configs on Lahaina" 2020-01-20 07:23:37 -08:00
qctecmdr
f22a034b4c Merge "cpufreq: schedutil: fix CPU util when WALT is enabled" 2020-01-19 23:48:12 -08:00
qctecmdr
fa10563f7d Merge "interconnect: qcom: Add sync_state for Lahaina QNOC" 2020-01-19 23:48:12 -08:00
qctecmdr
c0dac684fd Merge "uapi: sound: remove redundant QGKI config checks" 2020-01-19 23:48:12 -08:00
qctecmdr
131058b76a Merge "uapi: sound: remove redundant QGKI config check" 2020-01-19 23:48:11 -08:00
Isaac J. Manjarres
103eb3b3d9 arm64: defconfig: Enable CMA debug configs on Lahaina
Enable CMA_DEBUGFS and CMA_DEBUG on Lahaina debug builds to collect
information about CMA statistics/allocation times through
DEBUGFS.

Change-Id: Iae10513210c85ad32101720b9ee57ac5fe49d6fb
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-01-16 13:16:38 -08:00
Isaac J. Manjarres
8d0b09d4f2 Revert "mm: cma: make writeable CMA debugfs optional"
This reverts commit 099c0c9a64.
CONFIG_CMA_DEBUGFS is only enabled in debug builds on 5.4+
and the purpose of this commit is to disallow CMA allocations
through debugfs on production builds. Since, this is no longer
possible, revert this change.

Change-Id: If1f322533660bfc7609fb09a5b13ff2ecbbe3135
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-01-16 13:16:30 -08:00
qctecmdr
059aa413d9 Merge "soc: pil: Disable error-ready timeout" 2020-01-16 10:53:39 -08:00
qctecmdr
bbf404ed4b Merge "defconfig: Enable DCC driver for GKI" 2020-01-16 10:53:39 -08:00
qctecmdr
3be4bf9d9b Merge "Revert "defconfig: lahaina: Enable QRNG driver"" 2020-01-16 10:53:38 -08:00
qctecmdr
ea08467f55 Merge "msm: cvp: Avoid overflowing the stack frame" 2020-01-16 09:15:14 -08:00
qctecmdr
f26239f965 Merge "msm: IPA: remove unsupport enum for uC debug stats" 2020-01-16 09:15:13 -08:00
qctecmdr
76fbbd8b26 Merge "devfreq: bwmon: Export symbols" 2020-01-16 07:50:02 -08:00
qctecmdr
6fe62bb042 Merge "drivers: lpm-levels: Use cpu_do_idle for shallower LPM entry" 2020-01-16 04:59:06 -08:00
qctecmdr
81738d81be Merge "NFC: Made the QTI NFC drivers GKI compliant" 2020-01-16 02:43:27 -08:00
Raghavendra Kakarla
46a5d61d7c drivers: lpm-levels: Use cpu_do_idle for shallower LPM entry
dsb should be invoked before wfi instruction without which
core can get stuck or do not respond to IPIs. Use cpu_do_idle
that invokes both dsb and wfi instructions for shallower mode
entry.

Change-Id: I2e9d2317048781590a626a0b3d93f23bbf9eb496
Signed-off-by: Raghavendra Kakarla <rkakarla@codeaurora.org>
2020-01-16 02:31:29 -08:00
qctecmdr
4d796e7914 Merge "uapi: sound: remove redundant QGKI config checks" 2020-01-15 23:34:33 -08:00
qctecmdr
0bf9058314 Merge "arm64: defconfig: Enable RTB driver" 2020-01-15 23:34:32 -08:00
qctecmdr
92e197aa3f Merge "uapi: sound: remove redundant QGKI config checks" 2020-01-15 23:34:32 -08:00
qctecmdr
bfb351e26d Merge "defconfig: Lahaina: update external display module config" 2020-01-15 23:34:32 -08:00
Karthik Poosa
5e2a9b4b62 NFC: Made the QTI NFC drivers GKI compliant
Removed circular dependency of nfc_common.c on NFC I2C and I3C drivers,
by setting interface specific API for nfc read,write,enable and disable
interrupts, in the interface drivers.

Change-Id: I66587d39ad92556d6e8fda3281e7bbcf1980683d
Signed-off-by: Karthik Poosa <kpoosa2@codeaurora.org>
2020-01-16 09:22:43 +05:30
qctecmdr
f8eb824d11 Merge "soc: spcom: Add ipc logging engine" 2020-01-15 19:51:21 -08:00
qctecmdr
ef80a603f4 Merge "defconfig: lahaina: enable QTI crypto driver" 2020-01-15 19:51:21 -08:00
qctecmdr
18eb929395 Merge "arm64: defconfig: Enable CONFIG_MODULE_SIG to allow module signing" 2020-01-15 19:51:20 -08:00
qctecmdr
6dc1af0dbe Merge "driver: soc: qcom: Fix function prototype" 2020-01-15 19:51:19 -08:00
Vivekanand Tryambake
9324041614 Revert "defconfig: lahaina: Enable QRNG driver"
This reverts commit 271ad565aa.
Disable QRNG Driver to avoid bootup failure while QRNG generating
0 as handle value.

Change-Id: I1af855670ef56704e67e2948597f474d44b3da48
Signed-off-by: Vivekanand Tryambake <vtryamba@codeaurora.org>
2020-01-15 17:42:41 -08:00
David Dai
0850035d43 interconnect: qcom: Add sync_state for Lahaina QNOC
Add sync_state functionality to remove threshold held during initial
boot up and clean up any linger proxy resources that were voted for
from bootloaders.

Change-Id: Ib2fe3f3e54775b85c3ee8107c9aafdcd32841017
Signed-off-by: David Dai <daidavid1@codeaurora.org>
2020-01-15 16:25:40 -08:00
Tatenda Chipeperekwa
88b8d8a90d defconfig: Lahaina: update external display module config
Enable the external display module for both production and debug
level builds. This module is a utility to manage display interface
and audio codec interactions associated with the cable connect
and disconnect events of the display interfaces.

Change-Id: If4458132955f56aa3809c3fc11d72b3f5fde1a32
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
2020-01-15 16:20:55 -08:00
qctecmdr
09294e8e73 Merge "PM / devfreq: Add MODULE_LICENSE for arm-memlat-mon" 2020-01-15 15:14:11 -08:00
Raghavendra Rao Ananta
4c592715af soc: pil: Disable error-ready timeout
Disable the timeout where PIL waits for an error-ready
interrupt from the subsystems. This is needed for emulation
platform where the time doesn't scale well with the actual
time.

Change-Id: I9d7bb40c6d490a439c76be116d5968ea43723650
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2020-01-15 14:47:51 -08:00
Xiaoyu Ye
0c82845119 uapi: sound: remove redundant QGKI config checks
Userspace does not have access to QGKI configs,
so remove redundant QGKI config checks.

Change-Id: Iedb5c3d37cd5d59cc5bf6177a7e6448628350fbf
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2020-01-15 14:38:28 -08:00
Xiaoyu Ye
0d06400c7b uapi: sound: remove redundant QGKI config checks
Userspace does not have access to QGKI configs,
so remove redundant QGKI config checks.

Change-Id: Ifa4792d581d916b71bb25c9ba5119d1d18a7e4b2
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2020-01-15 14:31:50 -08:00
qctecmdr
028926558f Merge "arm64: defconfig: Enable USB role switch driver on lahaina" 2020-01-15 13:50:29 -08:00
qctecmdr
3db6466154 Merge "msm: cvp: CVP DSP driver restructure for Lahaina" 2020-01-15 13:50:28 -08:00
qctecmdr
ea7552ea1a Merge "clk: qcom: rcg: update the DFS macro for RCG" 2020-01-15 12:26:12 -08:00
qctecmdr
773a2ba763 Merge "msm: cvp: FD support in fence path" 2020-01-15 12:26:11 -08:00
qctecmdr
7adaf062b8 Merge "usb: gadget: Don't perform start xfer with USB BAM endpoint" 2020-01-15 12:26:11 -08:00
Xiaoyu Ye
8d88dd80dc uapi: sound: remove redundant QGKI config checks
Userspace does not have access to QGKI configs,
so remove redundant QGKI config checks.

Change-Id: I0eef5a3f924c673db6c486318b91d3156d139f9c
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2020-01-15 11:57:03 -08:00
Xiaoyu Ye
6abe975234 uapi: sound: remove redundant QGKI config checks
Userspace does not have access to QGKI configs,
so remove redundant QGKI config checks.

Change-Id: Ie07f430fc9a172e4388d0e475a21739671beb17a
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2020-01-15 11:49:09 -08:00
Prakruthi Deepak Heragu
1a448d4f1f arm64: defconfig: Enable CONFIG_MODULE_SIG to allow module signing
Enable the config CONFIG_MODULE_SIG to help generate a key to do
module signing.

Change-Id: I8ffebe2ca15a9ad0b1ad7644cd264149dc2653ee
Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
2020-01-15 10:44:12 -08:00
Zhen Kong
5b67710ac3 defconfig: lahaina: enable QTI crypto driver
enable QTI crypto and QCEDEV drivers on lahaina.

Change-Id: I4d8d3abcd9c7131aee194ccdc61f963384a195a4
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
2020-01-15 10:21:13 -08:00
Jordan Crouse
e9594a695d msm: cvp: Avoid overflowing the stack frame
Building with llvm generates the following warning:

  drivers/media/platform/msm/cvp//msm_cvp_ioctl.c:611:13: warning: stack frame
  size of 2064 bytes in function 'cvp_ioctl' [-Wframe-larger-than=]

struct cvp_kmd_hfi_packet is 1880 bytes and is a member of a union inside
struct cvp_kmd_arg which eventually triggers the warning. Allocate the
struct from the heap instead.

Fixes: ffe925cbca ("msm: cvp: Port CVP driver to 5.x kernel")
Change-Id: Ic0dedbad82d36b7faade85c3428b1013b527b576
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-01-15 11:04:51 -07:00
Elliot Berman
700d4aaf04 arm64: defconfig: Enable RTB driver
Enable the Register Trace Buffer driver for Lahaina platform
to trace the register reads and writes.

Change-Id: I13434a8884bd113aa188799929a36a41c3068173
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2020-01-15 09:44:22 -08:00
qctecmdr
2fdd353efb Merge "msm: cvp: Enable CVP driver on DSP" 2020-01-15 09:19:32 -08:00