Commit graph

898,930 commits

Author SHA1 Message Date
Jordan Crouse
6eb3621bef msm: kgsl: Add tracepoints for the pools
Add trace points to track credit and debits to the KGSL memory pools.

Change-Id: Ic0dedbade3ecac12e625a08a9be372bd857f68d2
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Neeraja P <neerp@codeaurora.org>
2021-05-21 19:55:57 +05:30
qctecmdr
e853601f2f Merge "dt-bindings: clock: Add bindings for cmn blk pll" 2021-05-21 03:40:07 -07:00
qctecmdr
d657e94c38 Merge "arm: defconfig: Add support for CCs and CPUFREQ driver in MONACO" 2021-05-21 03:40:06 -07:00
qctecmdr
6e2a655ba3 Merge "arm64: defconfig: enable Novatek nt36xxx touch module for Holi" 2021-05-21 00:57:39 -07:00
qctecmdr
ed743e6d6d Merge "clk: qcom: gcc-monaco: Update the freq tbl for gcc clks for MONACO" 2021-05-21 00:57:39 -07:00
qctecmdr
5e66460353 Merge "cnss2: Clear link down ind flag at the end of shutdown process" 2021-05-20 16:55:10 -07:00
qctecmdr
7e25518a70 Merge "power: supply: qbg: Fix compilation issues" 2021-05-20 16:55:09 -07:00
qctecmdr
e6e00e4670 Merge "defconfig: monaco: Enable ADC5 Gen3 for monaco" 2021-05-20 16:55:08 -07:00
qctecmdr
259533356a Merge "ion: msm: Add support for the audio carveout heap" 2021-05-20 08:54:15 -07:00
Veera Vegivada
acd4676fc2 dt-bindings: clock: Add bindings for cmn blk pll
Add bindings for cmn blk pll which will be used by
clients for controlling the cmn blk.

Change-Id: I2f2c20e1438b51d33300c5d567e7e1f3f23e1f72
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
2021-05-20 19:45:04 +05:30
Veera Vegivada
674820ec74 clk: qcom: clk-pll: Round off req_rate in determine rate
The current PLL set rate does not support determining
the L val at runtime. This updates the determine rate
by doing round off for this requirement. Add support
for the list_register to clk_pll_ops.

Change-Id: Ica85e1408fd7d1b2154b01150728419dbb81de90
Signed-off-by: Chetan C R <cchinnad@codeaurora.org>
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
2021-05-20 19:45:03 +05:30
Saurabh Sahu
bf1c8454f2 clk: qcom: gcc-monaco: Update the freq tbl for gcc clks for MONACO
Update the pre div for ope_clk_src and add the 19.2Mhz support for
sdcc1_apps_clk_src for MONACO.

Change-Id: I7b12b03c6462c2a28ca626d93c06f3bf073c09a0
Signed-off-by: Saurabh Sahu <sausah@codeaurora.org>
2021-05-20 17:13:01 +05:30
Rajeev Nandan
0b1fcfeb6e arm64: defconfig: enable Novatek nt36xxx touch module for Holi
Enable Novatek nt36xxx touch driver as a module for Holi GKI.

Change-Id: I03fa37272dcfdd0a5cd845543ef05c768b69587d
Signed-off-by: Rajeev Nandan <rajeevny@codeaurora.org>
2021-05-20 04:14:25 -07:00
qctecmdr
c5cf46ecac Merge "Add support for new HSP version" 2021-05-20 02:55:36 -07:00
qctecmdr
291abc66f4 Merge "cnss2: Support rising edge trigger for WLAN_EN" 2021-05-20 02:55:36 -07:00
qctecmdr
f38f2ccb6b Merge "spi: spi-msm-geni: Protect from register access in suspend state" 2021-05-20 02:55:36 -07:00
qctecmdr
6b5ddba4b3 Merge "pci: msm: Enable support for PCI Express ASPM control driver" 2021-05-20 02:55:35 -07:00
qctecmdr
835896cd96 Merge "scsi: ufs: Increase fDeviceInit flag poll time to 5sec" 2021-05-20 02:55:35 -07:00
qctecmdr
86e12d12ca Merge "msm: adsprpc: Fix build issue due to casting from large to small type" 2021-05-20 02:55:35 -07:00
qctecmdr
8cb09644db Merge "arm64: defconfig: Add mproc related defconfig for direwolf" 2021-05-20 02:55:35 -07:00
Saurabh Sahu
ce9bfcad96 arm: defconfig: Add support for CCs and CPUFREQ driver in MONACO
Enable GCC/DISPCC/GPUCC/DEBUGCC and CPUFREQ_HW/CPUFREQ_HW_DEBUG
for Monaco.

Change-Id: Ia8d51458a95eaeabf2a5a26606877959a50a8f96
Signed-off-by: Saurabh Sahu <sausah@codeaurora.org>
2021-05-20 15:24:16 +05:30
Jishnu Prakash
bd39223bd4 defconfig: monaco: Enable ADC5 Gen3 for monaco
Enable ADC5 Gen3 driver for Monaco to use ADC on PMIC PM5100.

Change-Id: Iee302236d149941caeee73a0e8d899f692a4a096
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2021-05-20 13:53:13 +05:30
Jishnu Prakash
cf255e420e iio: qcom-spmi-adc5: Update ADC5 Gen3 support for PM5100
Add scaling functions for batt_therm, batt_id and usb_in_i ADC channels
for PM5100. Also add usb_sns_v_div_16 and vin_div_16 channels to list of
supported channels and correct default prescaling value for vbat_sns
channel and full scale ADC current.

Change-Id: I86b86c319bff6df583efab8cc4c877218a79fe56
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2021-05-20 11:27:03 +05:30
Jishnu Prakash
91e72ee64e dt-bindings: iio: Update support for PM5100 ADC channels
Add scaling function for batt_therm, batt_id and usb_in_i
and update channel macros for PM5100.

Change-Id: I45d6e8b5788276dd939b60034ae7804ca8d1b73a
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2021-05-20 11:26:59 +05:30
Shyam Kumar Thella
6fc6a0f0dc power: supply: qbg: Fix compilation issues
Fix different compilation issues found in QBG driver.

Change-Id: I8ac84e8bffb0c875dac34ea5aa82988b3a05e24f
Signed-off-by: Shyam Kumar Thella <sthella@codeaurora.org>
2021-05-20 11:22:34 +05:30
Yue Ma
26fef1e17a cnss2: Correct print level in cnss_pci_enumerate()
Use debug level instead of error level for certain print in
cnss_pci_enumerate().

Change-Id: I7453c7834ae34aebb902c5050e3c7c5515500d67
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2021-05-19 11:29:49 -07:00
Arun Prakash
f44063eb3f arm64: defconfig: Add mproc related defconfig for direwolf
Add mproc related defconfig for direwolf which inlcudes qrtr,
hwspinlock,glink,smem,smp2p,ipc irq bridge and ipc logging
related configurations.

Change-Id: I56287609ca361f363d5dd9a1d2fc16b03d606c3c
Signed-off-by: Arun Prakash <app@codeaurora.org>
2021-05-19 22:56:46 +05:30
qctecmdr
bef508ec5b Merge "Add support for new comanche 1.3 soc ID" 2021-05-19 08:30:31 -07:00
qctecmdr
49b0939731 Merge "msm: adsprpc: Handle out-of-bounds read in debugfs" 2021-05-19 08:30:31 -07:00
qctecmdr
cbff0e0fad Merge "mmc: core: add wakeup functionality to sdio cards" 2021-05-19 08:30:31 -07:00
qctecmdr
99044e5bb1 Merge "mmc: sdhci-msm: Add wakeup functionality support for sdio cards" 2021-05-19 08:30:30 -07:00
qctecmdr
d396a32962 Merge "serial: msm_geni_serial: Add ioctl for sending uart error codes to BT host" 2021-05-19 08:30:30 -07:00
qctecmdr
e713294215 Merge "msm: ipa3: Add new ep to measure Modem Throughput" 2021-05-19 08:30:30 -07:00
qctecmdr
9ec15246a7 Merge "ais: Change camera headers in makefile" 2021-05-19 08:30:29 -07:00
Vinay Sudra
67d4189449 msm: adsprpc: Fix build issue due to casting from large to small type
Fix compilation issue while Casting a large number type to a smaller type
which may lead to data lost.

Replace ‘null’ with ‘0’ as null is 64bit wide.

Change-Id: Ic77dfac7c920cf3dbdfe459ec435680cb69be2f5
Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>
2021-05-19 19:40:49 +05:30
qctecmdr
8694656946 Merge "arm64: defconfig: Enable PCI Express ASPM control driver" 2021-05-19 05:45:20 -07:00
Hiren Gohel
0d01ecb3d7 scsi: ufs: Increase fDeviceInit flag poll time to 5sec
Few UFS devices are taking a long time to finish its internal
initialization. UFS driver polls fDeviceInit flag which indicates
device initialization completion.

Increase this flag poll time to 5sec to cover support for those UFS
devices as well.

Change-Id: I99e1ed54d57c9fd75bbe1b22ea30553b1ce0fb83
Signed-off-by: Hiren Gohel <vhiren@codeaurora.org>
2021-05-19 17:45:53 +05:30
Mukesh Kumar Savaliya
156907d38f spi: spi-msm-geni: Protect from register access in suspend state
This change protects from unclocked access if framework calls the
prepare_message() from any condition. Though driver expects to return
from transfer_hardware() if PM is not enabled, this will double sure
to ensure clocks are enabled before further transfer.

Do not serve system suspend if driver is runtime active, let runtime
suspend happen first and then serve system suspend.

Change-Id: I78613a6aefa9a28f2793277152494f36b8c933e8
Signed-off-by: Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
2021-05-19 03:03:44 -07:00
qctecmdr
752419943a Merge "backlight: qcom-spmi-wled: Update CABC disable sequence for PM7325B WLED" 2021-05-19 02:15:48 -07:00
Prateek Raj Singh
1619805395 Add support for new HSP version
This patch contains changes for adding support for new HSP SoC versions.

CRs-Fixed: 2941918
Change-Id: I170bf26458dbeb84182ead97594c3dc605b1a64f
Signed-off-by: Prateek Raj Singh <pratsing@codeaurora.org>
2021-05-19 13:44:00 +05:30
Prasad Mullamuri
d9ed4002e2 ais: Change camera headers in makefile
Excluding the camera headers which includes videodev2.h
to avoid compilation error on some platforms.

Change-Id: I9fe2c6b75914bd77ceff39f7714f542f711b4af6
Signed-off-by: Prasad Mullamuri <prasadmu@codeaurora.org>
2021-05-19 11:59:02 +05:30
Prateek Raj Singh
c7228b4215 Add support for new comanche 1.3 soc ID
Added support for new comanche 1.3 soc ID

CRs-Fixed: 2942015
Change-Id: I2f1be9127db74614b9d5c2f797468da85559c60e
Signed-off-by: Prateek Raj Singh <pratsing@codeaurora.org>
2021-05-19 11:10:30 +05:30
qctecmdr
b17dd44e37 Merge "power: qcom: qbg: update OCV boost compensation into SDAM" 2021-05-18 22:25:16 -07:00
qctecmdr
0ce3b9e86d Merge "net: stmmac: fix compilation warnings for module" 2021-05-18 22:25:16 -07:00
qctecmdr
8b7ed81c1e Merge "msm: mhi-dev: Block the adb read when mhi is in suspend" 2021-05-18 22:25:15 -07:00
qctecmdr
51bff2743f Merge "usb: dwc3-msm: Add support for aggre_noc and sys_noc clocks" 2021-05-18 22:25:15 -07:00
qctecmdr
87f7569694 Merge "msm: kgsl: Enable CONFIG_QCOM_KGSL_CONTEXT_DEBUG for context debugging" 2021-05-18 22:25:15 -07:00
qctecmdr
75e814e03b Merge "msm: kgsl: Abort poll for HFI response if GMU fails any assertion" 2021-05-18 22:25:14 -07:00
Chaoli Zhou
1b32683705 cnss2: Support rising edge trigger for WLAN_EN
According to datasheet, it needs to set WLAN_EN pin
to low first and then trigger high before do pcie
enumeration, as for the current code logical it
always assumes the default state of the WLAN_EN is
low, which seems not be appropriate. In particular,
one of our customer has it's own module to set
the default state of the WLAN_EN pin, so it's
hard to guarantee the default state is right.
So in order to make sure it has correct power
sequence with WLAN chipset, adding such fix.

Change-Id: I14030ade506cf0625839b4d7e6ca6b090faa1014
Signed-off-by: Chaoli Zhou <zchaoli@codeaurora.org>
2021-05-19 12:11:45 +08:00
Hemant Kumar
9f31a0b286 pci: msm: Enable support for PCI Express ASPM control driver
Driver is currently using internal APIs to support L0s, ASPM L1
and ASPM L1ss. PCIE ASPM control driver is compliant to PCIE
specification. Hence use this driver in powersupersave mode.
Driver reads the capability of link partner to enable/disable
L0s, ASPM L1 and ASPM L1ss. In order to enable/disable link
power states link, capability register of root complex is modified
based on device tree property. Also add t_power_on value and scale
from device tree which is used by ASPM control driver to calculate
the L1.2 threshold value.

Change-Id: Ibb69c68659cd6b03011d507fab4eeed6ee88ddc4
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2021-05-18 18:35:59 -07:00