Commit graph

893,323 commits

Author SHA1 Message Date
Jishnu Prakash
041c8f64d9 backlight: qcom-spmi-wled: Add support for PM7325B WLED
Add new compatible string for PM7325B WLED. Add support to read
battery resistance, current and OCV from battery charger driver
through glink based interface.

Change-Id: I421c4225862c4f72f00dff14214b1b613c93fa42
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2021-01-11 14:15:23 +05:30
Jishnu Prakash
1cd45f9b6a defconfig: Enable WLED for yupik
Enable WLED device on PM7325B for yupik.

Change-Id: I3bd3dd740eb613b56906b16515b5088b50f9579e
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2021-01-11 00:24:34 -08:00
Jishnu Prakash
b295dc4303 backlight: qcom-spmi-wled: expose WLED selfie flash API with QTI_FLASH
At present, the WLED selfie flash API wled_flash_led_prepare is exposed
only for targets using QPNP_FLASH_V2 and WLED. Expose it for targets using
the combination of QTI_FLASH and WLED too.

Change-Id: I136b95f8219171534bad06109bd08423061a00c6
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2021-01-11 13:52:51 +05:30
Jishnu Prakash
dffc1577de defconfig: Enable PM7325B devices for yupik
Enable VIB_LDO and LCDB devices for yupik.

Change-Id: I6a931b98dc891afcdf7caf658e548d0216bceb0f
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2021-01-10 20:52:59 +05:30
qctecmdr
1a5ca59cc3 Merge "Merge android11-5.4.61+ (662e2b3) into msm-5.4" 2021-01-08 23:43:03 -08:00
qctecmdr
a8f2f04662 Merge "arm64: defconfig: Add support for DISPCC and debugCC for YUPIK" 2021-01-08 23:43:02 -08:00
qctecmdr
18336829bf Merge "usb: gsi: Prevent function remote-wakeup without function suspend" 2021-01-08 23:43:02 -08:00
qctecmdr
33a49c58db Merge "mmc: host: sdhci-msm: Don't return error on missing bus voting paths" 2021-01-08 23:43:01 -08:00
qctecmdr
a1fdfb2d1c Merge "iio: qcom-spmi-adc5: Fix HW settle time table naming for ADC5 lite" 2021-01-08 23:43:01 -08:00
qctecmdr
619b238506 Merge "mem-offline: disallow page migration to isolated page blocks" 2021-01-08 23:43:00 -08:00
qctecmdr
1108203dc2 Merge "clk: qcom: check for change in RCG configuration during set_rate" 2021-01-08 17:26:21 -08:00
qctecmdr
1ed47d9eca Merge "bus: mhi: core: Address pending BW requests for legacy mode" 2021-01-08 17:26:21 -08:00
qctecmdr
914a4a1901 Merge "devfreq: memlat: Fix macros to support 32 bit kernels" 2021-01-08 17:26:20 -08:00
qctecmdr
a67c893c8c Merge "msm: pcie-ep: Update AOSS reset name" 2021-01-08 17:26:20 -08:00
qctecmdr
da53fdd298 Merge "cnss2: Add code to handle idle-restart failure gracefully" 2021-01-08 17:26:20 -08:00
qctecmdr
1a91a6be35 Merge "input: touchscreen: nt36xxx: Expose trusted touch event" 2021-01-08 14:20:45 -08:00
qctecmdr
11c7a21486 Merge "regulator: rpmh-regulator: fix rpmh_regulator_init_vreg_supply memory leak" 2021-01-08 14:20:45 -08:00
qctecmdr
3fa38c8e5b Merge "defconfig: sdxlemur: Enable IPA offload on Realtek R8125 driver" 2021-01-08 05:17:41 -08:00
Mohammed Siddiq
aa3f811392 cnss2: Add code to handle idle-restart failure gracefully
During idle-restart failure the platform driver does not complete
the power_up completion event and it eventually results in the
driver timeout. Add code to handle idle-restart failure and
return the value of the failure to the host driver.

Change-Id: I9d80b844429ecb292a6c7e9d35362fbfd3a24adb
Signed-off-by: Mohammed Siddiq <msiddiq@codeaurora.org>
2021-01-08 11:54:53 +05:30
qctecmdr
530d87338f Merge "driver: pinctrl: Add reserved GPIOs for Yupik" 2021-01-07 19:00:56 -08:00
qctecmdr
6c2032cc4f Merge "defconfig: Remove CONFIG_CNSS_QCA6490" 2021-01-07 19:00:56 -08:00
Naina Mehta
67d881e295 driver: pinctrl: Add reserved GPIOs for Yupik
Certain GPIOs are reserved for secure world and cannot be accessed by HLOS.
Supply "reserved_gpios" to msm_pinctrl to mark these pins as invalid.

Change-Id: I7ff8444af2819a68c60e66bd4e4e9f5ecf4990fa
Signed-off-by: Naina Mehta <nainmeht@codeaurora.org>
2021-01-07 00:05:42 -08:00
Bhaumik Bhatt
85a71cb100 bus: mhi: core: Address pending BW requests for legacy mode
It cannot be guaranteed that certain legacy mode controllers stay
in M0 while a BW request is being processed. Ensure that those
pending BW requests are addressed when M0 entry occurs after a BW
request is processed but not responded to.

Change-Id: I6132116fae76fa10477aa7061c24f3ff5ac60a34
Signed-off-by: Bhaumik Bhatt <bbhatt@codeaurora.org>
2021-01-06 18:05:33 -08:00
Ritesh Kumar
bd5377681e input: touchscreen: nt36xxx: Expose trusted touch event
Expose trusted touch event through sysfs node for TUI
error handling.

Change-Id: Ib303d36e3b807c770f670abc2a2ee3e3fd2e009d
Signed-off-by: Ritesh Kumar <riteshk@codeaurora.org>
2021-01-06 13:17:18 -08:00
Ritesh Kumar
c30aa8dbe9 input: touchscreen: nt36xxx: Block resume work on PVM
While trusted touch is underway, block resume work
to flush touch FIFO since ownership of register space
is with Trusted VM.

Change-Id: Ib87a81aa8f39631ae3f3ea44f4a5dee4563bc514
Signed-off-by: Ritesh Kumar <riteshk@codeaurora.org>
2021-01-07 02:46:49 +05:30
Ritesh Kumar
96ea71a1c2 input: touchscreen: nt36xxx: release i2c session early
Release I2C session lock before releasing IO regions in TVM
during trusted touch scenario.

Change-Id: Ibd3b63e5d084097eb464e3697b8d7d82ea17262e
Signed-off-by: Ritesh Kumar <riteshk@codeaurora.org>
2021-01-06 12:42:26 -08:00
Ritesh Kumar
27da55afee arm64: defconfig: Enable novatek trusted touch for genericarmv8
Enable Trusted touch config in genericarmv8 defconfig for
novatek touch driver.

Change-Id: Ic96ec1971314479ed809c1d3b403237c258a7e5f
Signed-off-by: Ritesh Kumar <riteshk@codeaurora.org>
2021-01-06 12:42:18 -08:00
Ritesh Kumar
cccc78c256 arm64: defconfig: Enable novatek trusted touch on lahaina
Add trusted touch support to Lahaina GKI defconfig for
novatek touch driver.

Change-Id: I7da16992f20fee569f2b8da583543338ad3175d8
Signed-off-by: Ritesh Kumar <riteshk@codeaurora.org>
2021-01-06 12:42:11 -08:00
Ritesh Kumar
36f6aedb51 input: touchscreen: nt36xxx: Add trusted touch support
Add Trusted touch support to nt36xxx Touchscreen driver.
This feature enables driver to operate in trusted touch
mode in trusted virtual machine(TVM). The primary virtual
machine(PVM) lends resources such as IO memory and touch
irq to TVM prior to trusted touch is initiated and
reclaims those resources back after trusted touch usecase
finishes. The resource requirements of TVM such as clock,
regulators etc are taken care by PVM. Introduce state
machine for various checkpoints in trusted touch usecase.
In error scenarios, this state machine helps driver to
rollback to previous state.

Change-Id: I5000ba016cee21c7b6b6beab8a7bb15a8c23f8d5
Signed-off-by: Ritesh Kumar <riteshk@codeaurora.org>
2021-01-06 12:42:01 -08:00
Jagadeesh Kona
920c63faca arm64: defconfig: Add support for DISPCC and debugCC for YUPIK
Enable Display and debug clock controllers for YUPIK.

Change-Id: I1d458d091c57011f6e9780956769051b4760eb18
Signed-off-by: Jagadeesh Kona <jkona@codeaurora.org>
2021-01-07 01:38:45 +05:30
Jagadeesh Kona
f1a099474f clk: qcom: debugcc: Add debug clock controller support for YUPIK
Add debug clock controller to support measure functionality for
all clock controllers.

Change-Id: I45d097d077c50efcde3d4a31b3b601deab9c1059
Signed-off-by: Jagadeesh Kona <jkona@codeaurora.org>
2021-01-07 01:38:35 +05:30
Jagadeesh Kona
8b82fcc32c clk: qcom: dispcc: Add display clock controller for YUPIK
Add the display clock controller to support display port
related branches, PLLs and RCGs.

Change-Id: I3b9c15e1eab364250300d1ff9121285a044ced2e
Signed-off-by: Jagadeesh Kona <jkona@codeaurora.org>
2021-01-07 01:00:45 +05:30
Zhao, Yuan
6f77167907 clk: qcom: check for change in RCG configuration during set_rate
For DSI byte clock RCG, check if there is a change in existing
settings before updating RCG configuration. This is needed to
avoid glitch on the display panel when there is a change in the
DSI byte clock frequency with display enabled.

Change-Id: I8ef0331cbb466b399cd12199b4d335ed44997dbc
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
Signed-off-by: Ritesh Kumar <riteshk@codeaurora.org>
Signed-off-by: Zhao, Yuan <yzhao@codeaurora.org>
2021-01-05 18:50:18 -08:00
David Collins
95d95d5a31 regulator: rpmh-regulator: fix rpmh_regulator_init_vreg_supply memory leak
Commit 29c41d5c47 ("regulator: rpmh-regulator: support parent
supply specification in subnodes") introduced a memory leak in
the function rpmh_regulator_init_vreg_supply() due to 'buf' not
being freed in the new 'else if' statement.  Fix this memory leak
by freeing 'buf' correctly.

Change-Id: If2748b595d8ae3a4564a2956a67aeda476975309
Signed-off-by: David Collins <collinsd@codeaurora.org>
2021-01-05 11:18:13 -08:00
qctecmdr
4afb66961f Merge "spi: spi-msm-geni: Configure DFS index and clk before doing set rate" 2021-01-05 10:50:55 -08:00
qctecmdr
08dc7ff311 Merge "spi: spi-msm-geni: Calculate transfer timeout dynamically" 2021-01-05 10:50:54 -08:00
qctecmdr
14d5ad2a5e Merge "arm: vdso: Fix GENERIC_GETTIMEOFDAY dependencies" 2021-01-05 10:50:54 -08:00
qctecmdr
50694617b0 Merge "scsi: ufs: Increase the PA_HIBERN8TIME on the host" 2021-01-05 10:50:53 -08:00
qctecmdr
77aca605c0 Merge "clk: qcom: gcc: Add support for GCC clock Driver for sdxnightjar" 2021-01-05 10:50:53 -08:00
qctecmdr
a704da9e6e Merge "clk: qcom: cpu: Re-org CPU clock driver for SDXLemur" 2021-01-05 10:50:52 -08:00
qctecmdr
1975f8264d Merge "cnss2: skip pci link recovery for EACCES error" 2021-01-05 06:05:14 -08:00
qctecmdr
901012883c Merge "arm64: defconfig: explicitly SLIMBUS_MSM_NGD as m" 2021-01-05 06:05:13 -08:00
qctecmdr
82ffd15f1b Merge "arm64: Kconfig: Add config option for SA6155" 2021-01-05 06:05:13 -08:00
qctecmdr
5d3347b4b6 Merge "firmware: qcom_scm: Check for NULL before dereferencing __scm" 2021-01-05 00:35:26 -08:00
qctecmdr
b8aa4abaea Merge "mmc: core: Retry claim host in mmc_sd_detect" 2021-01-05 00:35:25 -08:00
qctecmdr
bf525affe2 Merge "input: touchscreen: focaltech: Block resume work on PVM" 2021-01-05 00:35:25 -08:00
qctecmdr
a92909e0b4 Merge "input: touchscreen: st: Block resume work on PVM" 2021-01-05 00:35:25 -08:00
qctecmdr
9c5eac7747 Merge "coresight: Add snapshot of Coresight Dbgui driver" 2021-01-05 00:35:24 -08:00
qctecmdr
d84c33524e Merge "arm64: defconfig: Enable LLCC driver" 2021-01-05 00:35:24 -08:00
qctecmdr
39b1e4e2e5 Merge "asoc: Update supported rate and format for dummy dai" 2021-01-05 00:35:24 -08:00