Commit graph

892,914 commits

Author SHA1 Message Date
qctecmdr
8b8ecf1c69 Merge "input: touchscreen: synaptics_dsx: add new touch driver" 2020-09-13 10:05:31 -07:00
qctecmdr
0cfcff8f38 Merge "dt-bindings: iio: add smb139x IIO channels" 2020-09-13 07:15:09 -07:00
qctecmdr
adece9b4f0 Merge "power: smb1398: Update min-ilim setting to 1A" 2020-09-13 07:15:07 -07:00
qctecmdr
effaca9a39 Merge "scsi: ufs: Add fixup_dev_quirks vops on qcom platform" 2020-09-13 01:13:33 -07:00
qctecmdr
7e0c8f5f14 Merge "soc: qcom: mem-buf: Fix memory leak in mem_buf_alloc()" 2020-09-13 01:13:33 -07:00
qctecmdr
b05a1ae428 Merge "haven: Add support for the MEM_ACCEPTED notification" 2020-09-13 01:13:33 -07:00
qctecmdr
8e7791b3c0 Merge "cnss2: Add cnss_smmu_unmap API" 2020-09-13 01:13:32 -07:00
qctecmdr
4335979f35 Merge "power: supply: qti_battery_charger: Fix FCC configuration" 2020-09-13 01:13:32 -07:00
qctecmdr
77d8e38f16 Merge "soc: qcom: pmic_glink: add an error log when pmic_glink_write fails" 2020-09-13 01:13:31 -07:00
qctecmdr
4ef01dfe34 Merge "hwmon: qti_amoled_ecm: add debug log for nvmem writes" 2020-09-13 01:13:31 -07:00
qctecmdr
815c8456aa Merge "power: smblite: Add snapshot of SMBLITE driver and its dependencies" 2020-09-13 01:13:30 -07:00
qctecmdr
37fbddf552 Merge "irqchip: gicv3: add hardware irq print in gic_show_resume_irq()" 2020-09-13 01:13:30 -07:00
Mohammed Siddiq
0fcc91aebf cnss2: Avoid null pointer dereference of cnss_platform_cap
Add change to avoid null pointer dereference of cnss_platform_cap.

Change-Id: Ib48f192a54c8d48031d5fbc743622af6c2fdb19c
Signed-off-by: Mohammed Siddiq <msiddiq@codeaurora.org>
2020-09-13 12:39:53 +05:30
Raghavendra Rao Ananta
7db9eec14f aarch64: defconfig: Cleanup the lahaina_GKI.config
Cleanup the redundant defconfig fragments from lahaina_GKI.config,
that are already enabled in gki_defconfig.

Change-Id: Iee78de5836407506a910a9d257072ab154dde0e1
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2020-09-12 21:28:11 -07:00
Santosh Mardi
08e48727b4 defconfig: enable memlat hw log driver
Enable memlat hw logging driver, required to collect
the logs from memlat hw, and dump in dedicated buffers
through ipc logging framework.

Change-Id: I391040be6bd110e96e96cdf0a3fbf7f34f0d9111
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
2020-09-12 06:21:11 -07:00
Santosh Mardi
05133b02a8 drivers: soc: qcom: add initial support for rimps logging
Add initial support of rimps logging, this driver introduces
the infrastructure required to collect the logs received from
rimps and dump into ipc logging buffers.

Change-Id: Ic7b86fcf5935ada5fa5008774a9363faa40960ce
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
2020-09-12 06:21:04 -07:00
Santosh Mardi
f22ffb695c defconfig: enable RIMPS memlat drivers
Enable SCMI memlat protocol, SCMI client and RIMPS
memlat interface driver.

Change-Id: Ia16ffedba3a64a47370aaa51755e9580f1c83a5e
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
2020-09-12 18:47:54 +05:30
Santosh Mardi
d4a0405a4a drivers: soc: qcom: add initial support of rimps memlat interface
Add initial support of rimps memlat interface driver, this driver
expose sysfs nodes required to configure memlat governor running
in rimps, it also supports the rimps dump utility required for
debugging.

Change-Id: Ibb691b601cf5c05b50dc31488a1653cc239fb0f1
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
2020-09-12 18:47:46 +05:30
Ashish Bhimanpalliwar
cd4ce06ddf arm64: defconfig: Enable misc config for debugging for Holi
CONFIG_PM_DEBUG=y
CONFIG_DEBUG_RWSEMS=y
CONFIG_WQ_WATCHDOG=y
CONFIG_LOCK_STAT=y
Enable above for debug builds on Holi, to help debugging issues
related to lock(mutex,rwsem), workqueue lockup etc.

Change-Id: Id0a57ba8d9c64d01efa9c7192a2f7a73fdc8659b
Signed-off-by: Ashish Bhimanpalliwar <abhiman@codeaurora.org>
2020-09-12 15:32:29 +05:30
Ashish Bhimanpalliwar
5b006b9c0b arm64: defconfig: Enable configs related to Watchdog in Holi
Enable few watchdog related configs which are missing in Holi.

Change-Id: I9e42cf4996a2958e5503fd70a0b5d8fc2d3d7cdd
Signed-off-by: Ashish Bhimanpalliwar <abhiman@codeaurora.org>
2020-09-12 15:26:27 +05:30
Chris Lew
fed0015fcf soc: qcom: smp2p: Add proper retrigger detection
Currently, smp2p relies on the hwirq resend feature to retrigger irqs
that were missed because the irq was disabled at the time of receiving
it. The hwirq resend feature will retrigger the parent smp2p interrupt.
In order to keep track of what children needed to be retriggered, the
pending bitmap was added.

After calling handle_nested_irq, smp2p checks if the interrupt is
enabled and sets the pending bit if the interrupt is not enabled. There
is a small window where a client can enable the interrupt between
calling handle_nested_irq and checking if the interrupt is enabled.
If this happens, the interrupt is never called when the parent smp2p
interrupt is retriggered.

Add the irq_retrigger callback so smp2p can know which child interrupts
need to be retriggered. Set the pending bits accordingly.

Change-Id: I774b6ef91e22edbd55ddfffbbb3ae6062d48a560
Signed-off-by: Chris Lew <clew@codeaurora.org>
2020-09-11 20:56:08 -07:00
Ashish Chavan
1a3b9a3582 power: step-chg-jeita: Add support to tune hysteresis for jeita-fcc-step
Allow configuring the rising and falling hysteresis to allow better fine
tuning of the charge current across battery temperature thresholds.

Change-Id: I88419d0694f0e70a6f1115e144685381e29cfd96
Signed-off-by: Ashish Chavan <ashichav@codeaurora.org>
2020-09-11 20:13:13 -07:00
Mike Tipton
5004b21405 clk: qcom: lahaina: Add runtime_pm support
Add runtime_pm support for clock providers which have register access
requirements that aren't always satisfied.

Stop registers clocks previously flagged as CLK_IS_CRITICAL, since doing
so means the device is always active and suspend is never called.
Instead, just enable these clocks by default in HW during probe.

Change-Id: I34cf74080745b627b3978fafd9eb8bbde4bb655e
Signed-off-by: Mike Tipton <mdtipton@codeaurora.org>
2020-09-11 19:35:12 -07:00
Mike Tipton
7c2b115d51 clk: qcom: clk-debug: Resume devices before accessing HW
Resume and suspend devices in debugfs handlers around accessing HW
registers to prevent bus errors.

Change-Id: I9db208f0d82a504af60cf252e5d3691b9903f8cd
Signed-off-by: Mike Tipton <mdtipton@codeaurora.org>
2020-09-11 19:35:12 -07:00
Mike Tipton
fdffc47313 clk: qcom: Add functions to suspend or resume a clk_regmap's device
Add helper functions to suspend or resume the device associated with a
clk_regmap.

Change-Id: Ie4e47fce64e2052ffacdc3a8cd56fc69758d70fb
Signed-off-by: Mike Tipton <mdtipton@codeaurora.org>
2020-09-11 19:35:11 -07:00
Mike Tipton
7033592191 clk: qcom: Add common runtime_pm support
Add common runtime_pm initialization and callback functions to allow
clock providers to vote clocks, interconnects, and regulators in
runtime_suspend and runtime_resume.

Change-Id: I97588feae47016b8375849c5926495c1d73f792d
Signed-off-by: Mike Tipton <mdtipton@codeaurora.org>
2020-09-11 19:35:11 -07:00
qctecmdr
e900a3179e Merge "media: v4l2-core: remove the unused code" 2020-09-11 17:31:06 -07:00
qctecmdr
0f41fad1db Merge "dcc_v2: fix 1 write 1 read register configuration fail issue" 2020-09-11 17:31:05 -07:00
qctecmdr
43e5660aef Merge "soc: qcom: Replace SPCOM channel owner pid with tgid" 2020-09-11 17:31:05 -07:00
qctecmdr
dae63ac667 Merge "msm: cvp: update hbb bit based on ddr type for shima and lahaina" 2020-09-11 17:31:04 -07:00
qctecmdr
dd762656ce Merge "mem-offline: add a knob to allow to skip sending RPM/AOP msg" 2020-09-11 17:31:04 -07:00
qctecmdr
a7070a834f Merge "power: supply: qcom: Fix SMB5 and QG IIO device names" 2020-09-11 17:31:04 -07:00
qctecmdr
53cb12a6d2 Merge "memshare: Use carveouts for memory sharing usecases" 2020-09-11 17:31:03 -07:00
qctecmdr
0ddb8e5654 Merge "power: battery: Add support to enable PPS to work in CV mode" 2020-09-11 17:31:03 -07:00
qctecmdr
d480a9b0f9 Merge "msm: kgsl: Show max gpu temperature" 2020-09-11 17:31:02 -07:00
qctecmdr
b8d4dbb8c8 Merge "defconfig: Enable smcinvoke on haven" 2020-09-11 17:31:02 -07:00
qctecmdr
d2418b6330 Merge "usb: dwc3: dwc3-msm: Export msm_data_fifo_config() for QDSS" 2020-09-11 17:31:02 -07:00
Subbaraman Narayanamurthy
db23351bf7 soc: qcom: pmic_glink: add an error log when pmic_glink_write fails
Add an error log in pmic_glink_write when rpmsg_trysend fails to
send the message for a client. It will be useful for debugging.

Change-Id: I4d3e72fdf64f1df6caad10840e21517c393530b7
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2020-09-11 15:39:08 -07:00
Manikandan Mohan
adfd17d907 cnss2: Allow cold boot calibration skip for debug
Add debug support to allow wlan driver insmod operation without
cold boot calibration completion.

Change-Id: Ie8a10074d309250bfd8f50d8a6631ec3c021b63e
Signed-off-by: Manikandan Mohan <manikand@codeaurora.org>
2020-09-11 15:34:42 -07:00
Subbaraman Narayanamurthy
d68f7175d5 dt-bindings: iio: add smb139x IIO channels
Add SMB_TEMP, IIN_SMB and ICHG_SMB channels for both SMB139x
charge pumps that can be paired with PM8350B.

Change-Id: Ie67f308d59439a8cb2bced6e80693b101261f3cc
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2020-09-11 12:45:55 -07:00
Subbaraman Narayanamurthy
f086d6a2ec dt-bindings: iio: update pm8350b ADC channel list
Add PM8350B_ADC7_ICHG_FB channel to read charging current for
PM8350B. Also, update qcom,spmi-vadc.h to add ADC7_ICHG_FB and
other relevant channels that are needed for reading input and
charging current for SMB139x charger pumps along with scale
function indices.

Change-Id: I4a1b53f328e1b394063cbf951f6ff978eb96d21e
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2020-09-11 12:45:19 -07:00
Deepak Kumar
612b69bab2 msm; kgsl: Correct secure pagetable pointer check
Secure pagetable pointer in case of secure pagetable creation
failure is set to ERR_PTR. Correct the secure pagetable pointer
check in kgsl_iommu_map_secure_global to avoid invalid pointer
access when someone tries to map a secure global buffer.

Change-Id: Ic938072e38c410a31158b8ab83f2678b2a64f276
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
2020-09-12 01:03:02 +05:30
Santosh Mardi
448145137c drivers: soc: qcom: add initial support for memlat scmi client driver
Add initial support for memlat scmi client driver which registers
into scmi framework for memlat vendor protocol extension.

Also registers with memlat interface driver.

Change-Id: I123944213014a2f61c8df0b1ad822cfde5ff03c4
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
2020-09-11 12:30:46 -07:00
Santosh Mardi
7737ef9307 Firmware: arm_scmi: add initial support for memlat vendor protocol
The memlat protocol is intended for the management of memlat based
scaling for devices like l3.

The comands in this protocol provide functionality to configure
memlat details, includes the cpugrp, memlat monitors, memlat
tunables, configuring the log levels and debugging support.

Change-Id: I1b45f833eff3aa82c3ec2c0debb703dbf8838c8a
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
2020-09-11 12:30:38 -07:00
Isaac J. Manjarres
2b91868a72 soc: qcom: mem-buf: Fix memory leak in mem_buf_alloc()
When mem_buf_alloc() encounters an error after mapping the memory
in the stage-2 page tables of the VM, the SGL descriptor is not
freed in the error handling path, so free it.

Change-Id: I6e6fa296311575bb55cd0b9da7a138970e8b8e74
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-09-11 12:19:13 -07:00
qctecmdr
d855fd065f Merge "sched/walt: Improve the scheduler" 2020-09-11 11:35:49 -07:00
qctecmdr
f9ce7b0dba Merge "arm64: defconfig: Enable misc config for debugging for Lahaina/Shima" 2020-09-11 11:35:48 -07:00
qctecmdr
66fb6c0716 Merge "msm: cvp: fix for arbitrary command packet sending to CVP FW" 2020-09-11 11:35:48 -07:00
qctecmdr
27bd362ffc Merge "soc: qcom: Enable slabowner support in minidump" 2020-09-11 11:35:47 -07:00
qctecmdr
c15f839170 Merge "defconfig: Enable SMB1398 driver for holi" 2020-09-11 11:35:47 -07:00