Commit graph

895,119 commits

Author SHA1 Message Date
Ram Chandrasekar
743b6cc02e defconfig: sdxlemur: Enable thermal drivers
Enable thermal framework features and other thermal drivers like QMI
sensor and mitigation driver for sdxlemur.

Change-Id: I1e4a45ada65b3bff83cfc902cc059547787fbce2
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2021-04-29 08:48:59 -07:00
Ram Chandrasekar
7cece1c6dc drivers: thermal: qmi_sensor: Add support for new sensors
Add support for new QMI sensors. Here is the list of sensors that are
newly added,
qtm_therm
modem_bcl_warn
sdr0_pa0
sdr0_pa1
sdr0_pa2
sdr0_pa3
sdr0_pa4
sdr0_pa5
sdr0
sdr1_pa0
sdr1_pa1
sdr1_pa2
sdr1_pa3
sdr1_pa4
sdr1_pa5
sdr1
mmw0
mmw1
mmw2
mmw3
mmw_ific0

This will enable these sensors to be registered with thermal framework.

Change-Id: I5ea49478afee82f7058247ee7e0e505955423e72
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2021-04-29 08:48:54 -07:00
Ram Chandrasekar
0960fd0572 drivers: thermal: qmi_cooling: Add new cooling device support
Add support for new qmi mitigation devices. The list of new qmi
mitigation devices are,
modem_lte_dsc
modem_nr_dsc
modem_nr_scg_dsc
sdr0_lte_dsc
sdr1_lte_dsc
sdr0_nr_dsc
sdr1_nr_dsc
pa_sdr0_dsc
pa_sdr1_dsc
pa_fr1_sdr0_dsc
pa_fr1_sdr1_dsc
pa_fr1_sdr0_scg_dsc
pa_fr1_sdr1_scg_dsc
mmw0_dsc
mmw1_dsc
mmw2_dsc
mmw3_dsc
mmw_ul_throttling_dsc
mmw_ific_dsc

This will enable these mitigation devices to be registered as cooling
devices.

Change-Id: I56baf9437c975e81d2c9b5e7014a63bc0ea09c4b
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2021-04-23 15:53:32 -07:00
Ram Chandrasekar
95f59ade93 dt-bindings: thermal: Add new sensors support for QMI sensors
Add support for the below list of QMI sensor macros,
QMI_QTM_THERM
QMI_BCL_WARN
QMI_SDR0_PA0
QMI_SDR0_PA1
QMI_SDR0_PA2
QMI_SDR0_PA3
QMI_SDR0_PA4
QMI_SDR0_PA5
QMI_SDR0
QMI_SDR1_PA0
QMI_SDR1_PA1
QMI_SDR1_PA2
QMI_SDR1_PA3
QMI_SDR1_PA4
QMI_SDR1_PA5
QMI_SDR1
QMI_MMW0
QMI_MMW1
QMI_MMW2
QMI_MMW3
QMI_MMW_IFIC0

This will enable devicetree configuration to select these
sensor channels.

Change-Id: I843790438e5a31fd9dc737f6a84cf847b1619e4d
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2021-04-23 15:49:31 -07:00
qctecmdr
4a1f712628 Merge "net: stmmac: Fixing KW errors" 2021-04-12 10:06:13 -07:00
qctecmdr
3aaec0904c Merge "msm_rtb: Redefine readX_no_log based on architecture" 2021-04-12 10:06:12 -07:00
qctecmdr
3890e7c19d Merge "icnss2: Setup DMS QMI client for WLAN MAC address" 2021-04-12 10:06:12 -07:00
qctecmdr
9aace5e349 Merge "interconnect: qcom: yupik: Enable the QoS for GIC port" 2021-04-12 10:06:11 -07:00
qctecmdr
c458c46182 Merge "Revert "msm: pci: Update VREG info fron DT"" 2021-04-12 10:06:10 -07:00
qctecmdr
eaffffbb7b Merge "cnss2: Skip the dump segment if memory allocation fails" 2021-04-12 10:06:09 -07:00
qctecmdr
9a7b6fe9af Merge "cnss2: Do not wait in loop if MAC is not provisioned" 2021-04-12 10:06:09 -07:00
qctecmdr
fef2d7f67d Merge "clk: qcom: Add USB2 virtio clocks for sa8195p" 2021-04-12 10:06:08 -07:00
qctecmdr
e2e067d6a4 Merge "msm: adsprpc: Check for valid error returned from mini dump" 2021-04-12 10:06:08 -07:00
qctecmdr
dd1bed2eff Merge "msm: veth: Increase outstanding packet thresholds" 2021-04-12 10:06:06 -07:00
vgattupa
f6803cc3d2 msm: adsprpc: Check for valid error returned from mini dump
Add check to verify if valid error code is returned from mini
dump add region.

Change-Id: I02e2cfef22ce5f812104d7dc05dbb623c5c1670f
Signed-off-by: vgattupa <vgattupa@codeaurora.org>
2021-04-12 21:12:21 +05:30
qctecmdr
0a6012abb0 Merge "Use environment variable to find unifdef tool for auto target" 2021-04-12 01:02:01 -07:00
qctecmdr
ce16a622ad Merge "Use environment variable to find unifdef tool" 2021-04-12 01:02:00 -07:00
Odelu Kukatla
10df136829 interconnect: qcom: yupik: Enable the QoS for GIC port
Enable QoS configuration for GIC master port to set the default
priority to P2.

Change-Id: I16fca1e47be19bfe395ec71fc32ac66a664f9b4e
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
2021-04-08 14:23:03 +05:30
Suraj Jaiswal
3ed3433704 net: stmmac: Fixing KW errors
- Fixing various types of kw errors.
List of KW
1. Suspicious dereference of pointer
before NULL check at dwmac-qcom-ethqos.c: 1396

2.Suspicious dereference of pointer
before NULL check at dwmac-qcom-ethqos.c: 1354

3.Suspicious dereference of pointer
before NULL check at dwmac-qcom-ethqos.c: 423

4.Suspicious dereference of pointer
before NULL check at dwmac-qcom-ethqos.c: 443

5.Suspicious dereference of pointer
before NULL check at dwmac-qcom-ethqos.c: 1683

6.Uninitialized variable is used at
dwmac-qcom-pps.c: 46.

Change-Id: I3c98c804c0fee2ecc291852e38a104ca12c42dcc
Acked-by: Nagarjuna Chaganti <nchagant@qti.qualcomm.com>
Signed-off-by: Suraj Jaiswal <jsuraj@codeaurora.org>
2021-04-08 14:21:23 +05:30
Odelu Kukatla
955838aadb icc: dt-bindings: add endpoint IDs for interconnects for YUPIK
Add endpoint ID for GIC master which consumers can use to set bandwidth
constraints and find paths in the NoC (Network-On-Chip) topology.

Change-Id: I673888840c4dc2770ccb6d5dab76bab72c3af3cf
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
2021-04-08 14:18:18 +05:30
Akshay Pandit
7975380de6 msm: veth: Increase outstanding packet thresholds
Increase outstanding packet threshold to allow netdev to recover.

Change-Id: Ia987dc330faeb9e4114e6303877758fbaba9b2b3
Signed-off-by: Akshay Pandit <pandit@codeaurora.org>
2021-04-07 23:23:21 -07:00
Suraj Jaiswal
dff51d939b net: stmmac: boot KPI optimization
Avoid PHY reset when early Ethernet is enabled to save
atleast 90ms . Also, move Early Eth IP address assignment to
workqueue to save time taken in IP assignment.

Change-Id: Ifd04579894e93761eef2896596101dd17540e6a6
Signed-off-by: Suraj Jaiswal <jsuraj@codeaurora.org>
2021-04-08 11:17:24 +05:30
Suraj Jaiswal
11a75d9e26 net: stmmac: marker for suspend/resume
Enable support for Ethernet Link UP KPI marker for
as part of system resume.
Currenlty Ethernet Link up KPI marker is printed
once once & print flag is set to true to avoid further
Link UP KPI print. This flag need to reset as part of
suspend to print the Ethernet Link UP KPI marker at resume.

Change-Id: I849a76520c4c619255ba650fff546a32a05adc2e
Signed-off-by: Suraj Jaiswal <jsuraj@codeaurora.org>
2021-04-08 10:52:18 +05:30
Suraj Jaiswal
63c2f5b3fa STMMAC: msm: Ethernet Marker
Add STMMAC Ethernet end probe marker.

Change-Id: I5360ec9b3a64cc1c63d33a74f0ba31de8f0bd898
Signed-off-by: Suraj Jaiswal <jsuraj@codeaurora.org>
2021-04-08 10:48:25 +05:30
Melody Olvera
a5e0cfbec6 msm_rtb: Redefine readX_no_log based on architecture
The readX_no_log macros use __iormb(), which has a different
function prototype based off of whether or not the architecture
is 32-bit or 64-bit, so define these macros accordingly.

Change-Id: Id52fd0217822371e4db9efd49c8ea35af434d71f
Signed-off-by: Melody Olvera <molvera@codeaurora.org>
2021-04-07 16:39:07 -07:00
qctecmdr
629f831242 Merge "clk: qcom: Add sync state for GCC clocks on SDXNIGHTJAR" 2021-04-07 06:59:12 -07:00
qctecmdr
57be007809 Merge "devfreq: Support opp table for devfreq_simple_dev" 2021-04-07 06:59:12 -07:00
qctecmdr
b78437cae2 Merge "net: stmmac: Add per queue ethtool stats" 2021-04-07 06:59:12 -07:00
qctecmdr
5d43825257 Merge "Defconfig: Remove QCOM_WATCHDOG_WAKEUP_ENABLE for sdxnightjar" 2021-04-07 06:59:11 -07:00
qctecmdr
1d68356218 Merge "clk: qcom: gcc: Add support for camera and video clks for MONACO" 2021-04-07 06:59:11 -07:00
Yimin Peng
3e06d3c4f2 clk: qcom: Add USB2 virtio clocks for sa8195p
These virtio clocks are necessary for USB2 pass-through on
sa8195p virtual machine.

Change-Id: Ieef15c9ee8652ff2b182cc08f5d6ac7b3738c1a1
Signed-off-by: Yimin Peng <yiminp@codeaurora.org>
2021-04-07 02:33:36 -07:00
Biao Long
813eec7587 devfreq: Support opp table for devfreq_simple_dev
Support read opp value for dev_target.
Use previous_freq instead of get_cur_freq when opp
table parsed success.

Change-Id: I37bb74ef18a822b05ed3be411bc59ae4dadb7a0d
Signed-off-by: Biao Long <blong@codeaurora.org>
2021-04-07 14:26:49 +08:00
qctecmdr
2aacece9d2 Merge "input: qcom-hv-haptics: reset haptics module if it's stuck in SWR mode" 2021-04-06 23:25:24 -07:00
qctecmdr
0cc6c2f018 Merge "regulator: qpnp-lcdb: Add support for some LCDB DT properties" 2021-04-06 23:25:24 -07:00
qctecmdr
a90b193cff Merge "driver: net: can: add qti-can driver" 2021-04-06 23:25:23 -07:00
qctecmdr
e30025500e Merge "arm64: defconfig: Enable CAN configs for autogen3" 2021-04-06 23:25:23 -07:00
qctecmdr
9d5184d672 Merge "msm: kgsl: Fix invalid pointer reference at a few places" 2021-04-06 23:25:22 -07:00
qctecmdr
42dceca283 Merge "msm: sps: Assign proper BAM destination values" 2021-04-06 23:25:22 -07:00
Suraj Jaiswal
3eee6b90d9 net: stmmac: Add per queue ethtool stats
Add packet count stats for rx and tx for each queue in ethtool.

Change-Id: I5f2c2f68fb87c9cb8436f2c589b0884404e47233
Signed-off-by: Suraj Jaiswal <jsuraj@codeaurora.org>
2021-04-06 22:34:48 -07:00
Suraj Jaiswal
ef3a98b157 net: stmmac: Add debugfs entries
Add RGMII dump and phy register dump in debugfs.

Change-Id: Ib6e2f015d4fe682d25f1f61c3d2d40a69d64e794
Signed-off-by: Suraj Jaiswal <jsuraj@codeaurora.org>
2021-04-07 10:54:15 +05:30
Saurabh Sahu
f32452b8db clk: qcom: gcc: Add support for camera and video clks for MONACO
Add support for camera and video clks for clock clients to be able
to request for the clocks in MONACO. Also update the gpucc_pll0_out_odd
source to gpucc_pll0_out_even src for gfx clk src for MONACO.

Change-Id: I3b4efffb828e38f684051b7265e5481b0bce14e5
Signed-off-by: Saurabh Sahu <sausah@codeaurora.org>
2021-04-07 10:27:04 +05:30
qctecmdr
f4a83a443c Merge "msm: adsprpc: Verify mini-dump region is added and removed" 2021-04-06 17:21:29 -07:00
Suraj Jaiswal
9e3455ea5e net: stmmac: Fixed ethool speed issue
Don't modify emac supported capabilities during
early ethernet boot up. Only update advertise values
otherwise speed can't be changed using ethtool.

Change-Id: Id25ddd17a81fefd4d17116f0ff7237272f2607c0
Acked-by: Nagarjuna Chaganti <nchagant@qti.qualcomm.com>
Signed-off-by: Suraj Jaiswal <jsuraj@codeaurora.org>
2021-04-06 19:23:26 +05:30
Suraj Jaiswal
36d251b783 net: stmmac: boot up KPI changes
Read early ethernet dtsi flag to enable this feature.
Disable autoneg and configure MAC and PHY with 100 Mbps
link speed.
Read MAC addr, IPv4 and IPv6 addresses from kernel cmd
line parameters in order to assign these to ethernet
interface.

Change-Id: Ibeeebb73b4cbbd0950a1bff065297c4e58be671d
Acked-by: Nagarjuna Chaganti <nchagant@qti.qualcomm.com>
Signed-off-by: Suraj Jaiswal <jsuraj@codeaurora.org>
2021-04-06 19:17:39 +05:30
qctecmdr
7d6f957e7b Merge "arm64: defconfig: Add support for Global clock controller for BLAIR" 2021-04-06 04:54:36 -07:00
qctecmdr
f50cb5eb1c Merge "rtc: control default alarm wake up capability" 2021-04-06 04:54:36 -07:00
qctecmdr
c2dc7c0e6f Merge "regulator: rpm-smd: correct logic for min dropout voltage" 2021-04-06 04:54:36 -07:00
qctecmdr
cc2acee2dc Merge "defconfig: autogvm: Enable CONFIG_VIRTIO_NPU" 2021-04-06 04:54:35 -07:00
qctecmdr
bde734741b Merge "usb: dwc3-msm: Initialize ssphy0_sus and ssphy1_sus with false" 2021-04-06 04:54:35 -07:00
qctecmdr
5213e799ec Merge "drivers: qcom: pil: Change log level for minidump warning" 2021-04-06 04:54:35 -07:00