Commit graph

876,494 commits

Author SHA1 Message Date
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
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
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
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
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
qctecmdr
1612400ef8 Merge "arm64: defconfig: Enable debug cc clock driver for Lahaina" 2020-01-15 09:19:32 -08:00
qctecmdr
60cf653523 Merge "drivers: thermal: Add support to change thermal zone configuration" 2020-01-15 09:19:32 -08:00
qctecmdr
bbdf78dca9 Merge "dma-mapping-fast: Remap contiguous pages only when needed" 2020-01-15 09:19:31 -08:00
Jordan Crouse
ea2e374e45 driver: soc: qcom: Fix function prototype
Replace a #ifdef with a IS_ENABLED() to allow rpmh master stat to be built
as a module.

Fixes: 6d5e000 ("drivers: soc: qcom: snapshot of sleep drivers for Lahaina")
Change-Id: Ic0dedbad11812a0bd932a9c0099dfb4632842177
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-01-15 09:01:16 -07:00
Jordan Crouse
646129c1f1 drivers: qcom: Fix a parameter for sysfs_attr_init()
Add back a missing pointer reference.

Fixes: 89f1fad ("drivers: qcom: Add SoC sleep stats driver")
Change-Id: Ic0dedbad6eb8554f34ee366c68092b623f776714
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-01-15 09:01:15 -07:00
Jordan Crouse
2e840e1daf PM / devfreq: Fix CONFIG check for cache HW monitor prototype
Commit 2094bed752 ("PM / devfreq: Add cache HW monitor governor") brought
in the cache HW monitor with an incorrect check for
CONFIG_DEVFREQ_GOV_QCOM_CACHE_HWMON that fails when the governor is
built as a module.

Change-Id: Ic0dedbadefc4885486660d32226e6dd89e006a11
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-01-15 09:01:15 -07:00
Jordan Crouse
d54e1fcbed clocks: Add a missing header to clk/qcom/common.h
Add <linux/clk-provider.h> to resolve a dependency for struct clk_hw.

Change-Id: Ic0dedbadbece86ff0a5349edec356f9b211c7989
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-01-15 09:01:14 -07:00
Jordan Crouse
38a628d44f PM /devfreq: Fix function prototype
Replace #ifdef with IS_ENABLED to make sure that the memlat prototypes
are available for a module build.

Fixes: a4e0d26 ("PM / devfreq: Introduce a memory-latency governor")
Change-Id: Ic0dedbade40e23bb148bbb9117c4a9b63e419111
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-01-15 09:01:14 -07:00
Jordan Crouse
655e48c303 PM / devfreq: memlat: Use the cpumask_pr_args macros
When using the %*pbl printk format a special macro is needed to decode
the cpu mask and format it correctly.

Fixes: 74b58a6 ("PM / devfreq: memlat: Aggregate memlat mons under a controller")
Change-Id: Ic0dedbada86cf9cec02b1a5292aaf05f50c0c42f
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-01-15 09:01:13 -07:00
Jordan Crouse
9b5fe09496 msm: kgsl: Remove unused header from gpu_bwmon
Remove a unused header from gpu_bwmon to avoid a compile error.

Change-Id: Ic0dedbad123f5b847e97660159c982c59f42a899
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-01-15 09:01:13 -07:00
Jordan Crouse
c226b6e617 thermal: Fix trace_thermal_zone_trip
Commit 50dc9bdad7 ("drivers: thermal: Add a snapshot of thermal
framework") changed the API for trace_thermal_zone_trip but didn't
update all the callers.

Change-Id: Ic0dedbade25d8c1250d389daa3d035dd3522028d
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-01-15 09:01:12 -07:00
Jordan Crouse
fd7a8f7648 dma-buf: Export missing dma_buf_ref_mod symbol
Export dma_buf_ref_mod to avoid the following errors:

  ERROR: "dma_buf_ref_mod" [drivers/gpu/drm/drm.ko] undefined!
  ERROR: "dma_buf_ref_mod" [drivers/gpu/drm/udl/udl.ko] undefined!
  ERROR: "dma_buf_ref_mod" [drivers/gpu/drm/tegra/tegra-drm.ko] undefined!
  ERROR: "dma_buf_ref_mod" [drivers/media/platform/msm/cvp/msm-cvp.ko] undefined!

Change-Id: Ic0dedbadd41dbd537198ec22326494d0a3906f52
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-01-15 09:01:12 -07:00
Jordan Crouse
4a8505270f iommu: dma-mapping-fast: Export symbols
Export symbols to avoid the following errors:

  ERROR: "fast_smmu_init_mapping" [drivers/iommu/arm-smmu-mod.ko] undefined!
  ERROR: "fast_smmu_put_dma_cookie" [drivers/iommu/arm-smmu-mod.ko] undefined!

Change-Id: Ic0dedbad2b4f1179ea35d87e8189b316a176d3f2
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-01-15 09:01:11 -07:00
Jordan Crouse
aa46100ccb drivers: pinctrl: Export msm_qup_write
Commit 9c0e5c7054 ("drivers: pinctrl: Add support for read/write of QUP
registers") added msm_qup_write but didn't export it resulting in the
following error:

  ERROR: "msm_qup_write" [drivers/i3c/master/i3c-master-msm-geni.ko] undefined!

Change-Id: Ic0dedbadc6822cc2a8afe69ff71a9cd95e7c8665
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-01-15 09:01:11 -07:00
Jordan Crouse
5d54b04f0c PM / devfreq: Add MODULE_LICENSE for arm-memlat-mon
Fix the following warning from modpost:

   WARNING: modpost: missing MODULE_LICENSE() in drivers/devfreq/arm-memlat-mon.o

Fixes: a4e0d26 ("PM / devfreq: Introduce a memory-latency governor")
Change-Id: Ic0dedbad2d3462ee407e5f2d5bcb9ded6e6ac83f
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-01-15 09:01:10 -07:00
Jordan Crouse
1ce2b0454d PM / devfreq: Export tracepoint symbols
The following tracepoints were added to include/trace/events/power.h
but not exported:

  ERROR: "__tracepoint_memlat_dev_update" [drivers/devfreq/governor_memlat.ko]
  ERROR: "__tracepoint_memlat_dev_meas" [drivers/devfreq/governor_memlat.ko]
  ERROR: "__tracepoint_cache_hwmon_update" [drivers/devfreq/governor_cache_hwmon.ko]
  ERROR: "__tracepoint_cache_hwmon_meas" [drivers/devfreq/governor_cache_hwmon.ko]
  ERROR: "__tracepoint_bw_hwmon_update" [drivers/devfreq/governor_bw_hwmon.ko]
  ERROR: "__tracepoint_bw_hwmon_meas" [drivers/devfreq/governor_bw_hwmon.ko]

Change-Id: Ic0dedbadbee6533cba9ae312ab764873ab72a342
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-01-15 09:01:10 -07:00
Jordan Crouse
dc88f358c8 firmware: qcom-scm: Force built in drivers to depend on QCOM SCM
Some always built-in drivers have a dependency on QCOM SCM so don't enable
them if QCOM SCM is built as a module.

Change-Id: Ic0dedbad472d2a36220126db86d3fcbf817ce53d
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-01-15 09:01:09 -07:00
Jordan Crouse
137084f0c5 coresight: Remove duplicate Kconfig entries
Commit c69961762f ("coresight: Add snapshot of Coresight cti driver")
accidently added some duplicate Kconfig entries that had been previously
added by commit a47c331396 ("coresight: Add snapshot of Coresight TPDM
and TPDA driver").

Change-Id: Ic0dedbadef390fea5302a46bd64b94f2e1b185f3
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-01-15 09:01:09 -07:00
Jordan Crouse
c7f16608d4 include: Fixup headers to pass KERNEL_HEADER_TEST
Fix up a bunch of headers so that they pass KERNEL_HEADER_TEST to ensure
that they are self-contained.

Change-Id: Ic0dedbad91f70263452c9a809333fe93c8ee2266
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-01-15 09:01:08 -07:00
Konstantin Dorfman
5de6d9d39c soc: spcom: Add ipc logging engine
This change adds ipc logging ability to spcom driver.

Change-Id: I431a88719c95da1f4ceaf2b655ffc905de1be267
Signed-off-by: Konstantin Dorfman <kdorfman@codeaurora.org>
2020-01-15 16:01:03 +02:00
qctecmdr
9195ca3327 Merge "drivers: thermal: Add config sysfs entry support for thermal zones" 2020-01-14 22:59:14 -08:00
qctecmdr
32b02a7652 Merge "hwrng: update qrng driver copyright and license marking" 2020-01-14 21:27:12 -08:00
qctecmdr
7b4f8e2518 Merge "arm64: defconfig: Enable CONFIG_BALANCE_ANON_FILE_RECLAIM on Lahaina" 2020-01-14 17:07:21 -08:00
Ruofei Ma
ae7f592cfc msm: cvp: CVP DSP driver restructure for Lahaina
Restructure CVP DSP driver to enhance error handling path
and accommodate features for future needs.

Change-Id: Icae8110241fa9598a8d570cc1148a00834cda779
Signed-off-by: Ruofei Ma <ruofeim@codeaurora.org>
Signed-off-by: George Shen <sqiao@codeaurora.org>
2020-01-14 17:03:11 -08:00