Commit graph

884,342 commits

Author SHA1 Message Date
qctecmdr
a92f470781 Merge "msm: pcie: fix user info in client's event callback" 2020-04-05 07:27:27 -07:00
qctecmdr
b542592b79 Merge "defconfig: lahaina: enable the fastrpc QGKI config option" 2020-04-05 07:27:26 -07:00
Yogesh Lal
8f834a5b42 arm64: kconfig: Add initial platform for Holi
Adding initial platform config for Holi.

Change-Id: Ic8abc5dcb6bc94dc9ba1d9203dbdd776df0b2c08
Signed-off-by: Yogesh Lal <ylal@codeaurora.org>
2020-04-05 13:56:02 +05:30
qctecmdr
ef9cacf04a Merge "msm: pcie: switch pipe clk mux source to XO before disabling GDSC" 2020-04-04 10:08:53 -07:00
qctecmdr
27986e140b Merge "includes: Fix more headers to work with KERNEL_HEADER_TEST" 2020-04-04 10:08:53 -07:00
qctecmdr
70061f9ecd Merge "icc: dt-bindings: add endpoint IDs for interconnects for HOLI" 2020-04-04 10:08:52 -07:00
qctecmdr
5a86b69868 Merge "icc: dt-bindings: add endpoint IDs for interconnects for SHIMA" 2020-04-04 10:08:52 -07:00
qctecmdr
65ff83b7a3 Merge "memory_dump: Correct the copyright year" 2020-04-04 10:08:52 -07:00
qctecmdr
4de1a8bf97 Merge "msm: kgsl: Setup UCHE_CMDQ_CONFIG register for A660" 2020-04-04 10:08:51 -07:00
qctecmdr
3e348adc8c Merge "msm: pcie: remove aggregation of PCIe rate change clock vote" 2020-04-04 10:08:51 -07:00
Prudhvi Yarlagadda
a04fe2a08f msm_geni_serial_console: Make early console depend on kernel console
Make early console depend on kernel console from the Kconfig
so that early console will be up only when kernel console is
either enabled (y) or a module (m).

Change-Id: Id480e39c55f18eb5d3b3175c9bf76fa0cc05174f
Signed-off-by: Prudhvi Yarlagadda <pyarlaga@codeaurora.org>
2020-04-04 03:35:58 -07:00
Mukesh Kumar Savaliya
59431dbdaa serial: msm_geni_serial: Use IS_ENABLED() instead of ifdef CONFIG
The IS_ENABLED() macro checks if a Kconfig symbol has been enabled either
built-in or as a module, use that macro instead of open coding the same.

Change-Id: I20ba557462b3080483e60ffd68a2e50d79468135
Signed-off-by: Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
2020-04-04 15:57:36 +05:30
qctecmdr
923e557f83 Merge "phy: ufs: Update UFS PHY settings for Lahaina" 2020-04-04 01:02:04 -07:00
qctecmdr
d8b549ff22 Merge "soc: qcom: altmode-glink: add SSR support" 2020-04-04 01:02:03 -07:00
qctecmdr
d83df73768 Merge "haven: Convert the cap entry locks to spinlocks" 2020-04-04 01:02:03 -07:00
qctecmdr
4759146e40 Merge "haven: Fix buffer calculations for MEM_SHARE and MEM_LEND" 2020-04-04 01:02:02 -07:00
Tony Truong
85ea45eedb msm: pcie: fix user info in client's event callback
Clients store their private data in user within event structure
and not in notify structure. Thus update the callback to point
to the correct user info.

Change-Id: I938b135443d66b9451cead35d508bad9a4f685f8
Signed-off-by: Tony Truong <truong@codeaurora.org>
2020-04-03 18:35:48 -07:00
Mayank Rana
e86c77ed32 dwc3: Handle USB spoof disconnect when EUD is enabled
Due to dpdm regulator is not being used on newer platform as
ADSP firmware takes care of charger detection, there is no
way to detect USB cable disconnect vs USB spoof disconnect
when EUD is enabled. This change identifies USB spoof
disconnect and provides spoof disconnect related information
to USB PHY driver to avoid turning off PHY clocks and regulators.

Change-Id: I8f6b953e7196378b9786fe268a08cc1a0e2620d3
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2020-04-03 18:28:03 -07:00
Harshdeep Dhatt
f02489b4c8 msm: kgsl: Restrict gpu governors to gpu devfreq devices
These governors should fail if being set for any device other
than the gpu device. Do this by checking that the devfreq
device for which this governor is being set for has the gpu
device as it's parent device.

Change-Id: I391557c0d52a1f4ffba70e010401a0769587dea0
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2020-04-03 16:58:08 -06:00
George Shen
e948d6199e msm: cvp: Validate buffer config in HFI packet
Validates buffer configuration in HFI packet structure
before kernel driver maps them in IOMMU.

Change-Id: I7075cc2fdead7f46d52b174a3c45cd07a8ac24af
Signed-off-by: George Shen <sqiao@codeaurora.org>
2020-04-03 15:33:54 -07:00
qctecmdr
154c4ef97c Merge "arm: defconfig: Enable Slimbus and QUPv3 drivers as modules on Lahaina" 2020-04-03 15:20:03 -07:00
qctecmdr
9a339311c7 Merge "tty: msm_geni: Do not place msm_geni_console_setup under __init" 2020-04-03 15:20:03 -07:00
qctecmdr
a488cdc0af Merge "serial: msm_geni_serial: Separate earlyconsole functionality" 2020-04-03 15:20:03 -07:00
qctecmdr
f7b228ab40 Merge "Perf: arm64: Add Snapshot of perf tracepoints" 2020-04-03 15:20:02 -07:00
qctecmdr
7c23870475 Merge "soc: qcom: Log the pending interrupts during the device resume" 2020-04-03 15:20:02 -07:00
qctecmdr
40dab97e4f Merge "soc: qcom: eud: Fix the power supply information" 2020-04-03 15:20:02 -07:00
qctecmdr
5ff8a4813a Merge "usb: gadget: Reset string ids upon unbind" 2020-04-03 15:20:01 -07:00
qctecmdr
9908017101 Merge "ion: Add support for dynamically assigned VMIDs" 2020-04-03 15:20:01 -07:00
Ashok Vuyyuru
f269591974 msm: ipa4: flow control changes for rmnet pipe
When the RMNET pipe channel in the started state receiving the
junk packets, it leading IPA HW stall. Add changes to support
the new flow control channel state for rmnet pipe, it avoids
entering the junk packet to IPA HW.

Change-Id: If2b3992e8cdc93343e70f9d2c1783bbbde329bc2
Signed-off-by: Ashok Vuyyuru <avuyyuru@codeaurora.org>
2020-04-03 23:37:51 +05:30
Jordan Crouse
c24c7de570 drivers: soc: qti: Fix data type for uapi header
Data type bool isn't valid for uapi headers. Use the correct _Bool
type instead.

Change-Id: Ic0dedbadc3f104cfa81b9e180ba33fe58be113ca
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-04-03 11:48:14 -06:00
Jordan Crouse
0da17b7033 msm: kgsl: Check the return value of regulator_enable
Fix the following compiler error:

 drivers/gpu/msm/kgsl_iommu.c:845:3: error: ignoring return value of
	‘regulator_enable’, declared with attribute warn_unused_result

Fixes: 1c6fcc54ec ("msm: kgsl: Enable the CX GSDC before accessing IOMMU registers")
Change-Id: Ic0dedbad7d68d3dfb2344525d79d9d563e28d6d6
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-04-03 10:48:54 -06:00
Jordan Crouse
50ae563cd8 msm: kgsl: Set the I/O coherent feature earlier
Some of the KGSL core code needs to make a decision about I/O coherency
so set the MMU property earlier to prevent an unneeded warning.

Change-Id: Ic0dedbadf9e4665b3e20460cb6f2ca81d74847e0
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-04-03 10:48:54 -06:00
qctecmdr
2b00b2adc4 Merge "input: touchscreen: st: enable aoi_set" 2020-04-03 09:15:57 -07:00
qctecmdr
a9e90cb0c8 Merge "i2c: i2c-msm-geni: Return correct error code if registration fail" 2020-04-03 09:15:57 -07:00
qctecmdr
625a868177 Merge "kernel:hdcp_qseecom:Enable hdcp_qseecom on Lahaina" 2020-04-03 09:15:57 -07:00
qctecmdr
635844ffdb Merge "soc: qcom: mem-buf: Do not print errors on probe deferrals" 2020-04-03 09:15:56 -07:00
Lina Iyer
f92e1bb50f drivers: cpuidle: lpm-levels: initialize latency to default
Let's not leave initialization of variable to chance, while determining
the QoS for CPU(s). Initialize to PM QoS default value.

Change-Id: I218599905b8b333c4421ad98fee26c967c5b3aa5
Signed-off-by: Lina Iyer <ilina@codeaurora.org>
2020-04-03 08:26:41 -07:00
Vipin Deep Kaur
b2ba78e1a8 i2c: i2c-msm-geni: Add support in I2C driver for Trusted VM
Add support in I2C driver to operate in Trusted VM.

Change-Id: I5adf149ba2bea494b7bf2521eb2d5422cb8aef97
Signed-off-by: Vipin Deep Kaur <vkaur@codeaurora.org>
2020-04-03 18:25:43 +05:30
Mao Jinlong
7cbd318745 memory_dump: Correct the copyright year
Retain 2019 as the copyright year of memory_dump.h.

Change-Id: I6c9053e64c8ee7a416a2f9af028b288ef577c5d8
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
2020-04-03 18:38:17 +08:00
Kiran Gunda
1c870f8299 leds: qti-flash: Update camera flash client interface options
The value of "QUERY_MAX_AVAIL_CURRENT" option in the "leds-qti-flash"
driver is different from the legacy "leds-qpnp-flash" driver.
As a result, the led flash does not work. To fix this issue update
the option values of "leds-qti-flash" to align with the legacy driver.

Also add logic to handle other options "ENABLE_REGULATOR" and
"DISABLE_REGULATOR" to have backward compatibility.

Change-Id: I8213d53c6b19ccc8da74784e3b428b99fcebcbb7
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
2020-04-03 14:49:31 +05:30
Shyam Kumar Thella
0a1de26d3d regulator: qpnp-amoled: Add set_load() callback for IBB regulator
Add support for set_load() callback for IBB regulator device so that
display driver can call regulator_set_load() to configure dual phase
for selfie flash use case.

For IBB regulator:
 If load current <= 30mA, use single phase
 If load current > 30mA, use dual phase.

Change-Id: I93698a974484f0919893af31f6dfa27ebb30a4e4
Signed-off-by: Shyam Kumar Thella <sthella@codeaurora.org>
2020-04-03 10:09:25 +05:30
Mike Tipton
7ea8a4e37c dt-bindings: clk: Remove unused cpuss clocks for Lahaina
Remove unused GCC CPUSS clock bindings.

Change-Id: I6c68f58bdff365b16a590de0828a92647d53ab91
Signed-off-by: Mike Tipton <mdtipton@codeaurora.org>
2020-04-02 20:46:27 -07:00
Mike Tipton
291bacfb15 clk: qcom: gcc-lahaina: Remove unused cpuss clocks
Remove cpuss clocks that are currently unused and never required to be
controlled on HLOS. Write access to these clocks will likely be removed
in the near future for security reasons, so remove them before that
happens.

Change-Id: Ie749d8bcd5e17f2f8200c3225bdd8b4744a0138f
Signed-off-by: Mike Tipton <mdtipton@codeaurora.org>
2020-04-02 18:33:48 -07:00
Jordan Crouse
a3293f684f uapi: Fix more headers to work with UAPI_HEADER_TEST
Fix headers so that they compile with UAPI_HEADER_TESET

Change-Id: Ic0dedbad70c238d28db5b1f6555cbde2be6ae8c0
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-04-02 17:41:11 -06:00
Jordan Crouse
1155af87e3 includes: Fix more headers to work with KERNEL_HEADER_TEST
Fix other headers to work when KERNEL_HEADER_TEST is enabled by adding
dependencies and advance struct prototypes where appropriate.

Change-Id: Ic0dedbad6804e5dca75b33b3d0ae9e3b89a51669
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-04-02 17:40:57 -06:00
Vignesh Kulothungan
1cdd90cdde Revert "SoC: soc-core: export function to find components"
This reverts commit b3f1c1d899.

Change-Id: I987273692d62416218befd8942d1fdb09e207304
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-04-02 16:31:00 -07:00
George Shen
da53e790e2 msm: cvp: Optimize synX handling in cvp driver
Make synX handling in kernel independent of CVP features. It also
simplified handling logic.

Change-Id: I598d2c78f0fea4463c5801b5db945b74c071ebab
Signed-off-by: George Shen <sqiao@codeaurora.org>
2020-04-02 16:15:39 -07:00
Manikandan Mohan
52aaef0622 cnss2: Ignore ramdump init failure
Ramdump feature is not supported in GKI build. Ignore this feature
init failure.

CRs-fixed: 2648907
Change-Id: I1d2116159700be3ea0cab4290902ce8f3daf6f05
Signed-off-by: Manikandan Mohan <manikand@codeaurora.org>
2020-04-02 15:47:05 -07:00
Hemant Kumar
e52d0ec388 usb: gadget: Add super speed plus desc for midi function
midi device enumeration is failing in super speed plus
mode because function driver does not pass super speed
plus desc.

Change-Id: Iebfab054c3bdb3a326d585de9d106a01a3dd9877
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2020-04-02 15:45:34 -07:00
Himateja Reddy
a8d8a76255 defconfig: lahaina: enable the fastrpc QGKI config option
Enable the fastrpc QGKI config option that the driver can use to
detect that it is being compiled in a QGKI kernel.

Change-Id: I6bd44bfd61e79ebe70689f326d5616b6d856c146
Acked-by: Thyagarajan Venkatanarayanan <venkatan@qti.qualcomm.com>
Signed-off-by: Himateja Reddy <hmreddy@codeaurora.org>
2020-04-02 15:21:26 -07:00