Commit graph

895,190 commits

Author SHA1 Message Date
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
2021-04-07 10:27:04 +05:30
Saurabh Sahu
d45fe7fc86 clk: qcom: vdd-level: Update the vdd level
Update the vdd level from RPMH level to RPM_SMD level for
monaco and holi.

Change-Id: I0a6e7996bcc6a6badd85eab0759a83dc28e8e332
Signed-off-by: Saurabh Sahu <[email protected]>
2021-04-07 10:21:20 +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 <[email protected]>
Signed-off-by: Suraj Jaiswal <[email protected]>
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 <[email protected]>
Signed-off-by: Suraj Jaiswal <[email protected]>
2021-04-06 19:17:39 +05:30
Chandana Kishori Chiluveru
aac28acd98 serial: msm_geni_serial: Reduce wait for transfer delay
This is to reduce wait for transfer delay which is introducing
total 20msec delay during port_close()/BT off usecase.

Also added other debug logs required in this change.

Change-Id: Ia1135b097e6b9137ee3fb9504b2d8c29c05dbab3
Signed-off-by: Chandana Kishori Chiluveru <[email protected]>
2021-04-06 18:11:49 +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
Naman Padhiar
05a4d86580 icnss2: Setup DMS QMI client for WLAN MAC address
WLAN MAC address can be provisioned using NV memory based setup.
DMS QMI server connection is required to retrieve this MAC address.
Thus setup DMS QMI client in icnss platform driver and send this
MAC address for WLAN FW before mission mode enable.
1. Move DMS QMI files to cnss_util from cnss2.
2. Read "use-nv-mac" property from DT node to decide whether
   reding MAC address from NV memory is mandatory or not.
   If mandatory wait for DMS QMI server to read MAC address.
   If not mandatory read MAC address if DMS server is available
   otherwise continue.

Change-Id: Iddc5a7180c9eea2a8a9507f08b1b383bc095f2bc
Signed-off-by: Naman Padhiar <[email protected]>
2021-04-06 03:19:03 -07:00
Taniya Das
20ef202af0 clk: qcom: Add sync state for GCC clocks on SDXNIGHTJAR
The vdd mappings do not seem to be correct as per sdxnightjar, thus
update the vdd file and also remove the vdd proxy voting by adding the
sync state call back.

Change-Id: Iac53f0762d1e3ed62774e3e3305a45bdfc83df24
Signed-off-by: Taniya Das <[email protected]>
2021-04-06 15:35:43 +05:30
Taniya Das
94fa48cfd1 clk: qcom: define vdd_levels enum and vdd_corner[] map
Define a vdd_levels enum and vdd_corner[] mapping table which
can be used by clock controller drivers to configure the
vdd_class associated with their clocks.

Change-Id: Ic32aa8ed63bc756cdc10e8d5a5591011a84c4ede
Signed-off-by: Taniya Das <[email protected]>
2021-04-06 15:34:53 +05:30
Nan Zhang
add8e4d313 defconfig: gen3auto: Enable dm-init module
From the kernel 5.1, added a "dm-mod.create" kernle cmdline parameter,
which allows device-mapper targets to be configured at boot time.
This enables early use of DM targets in the boot process (as the root
device or otherwise) without the need of an initramfs. So enabled the
dm-init module for dm-verity.

Change-Id: Ice0c62d00f49f8c038fd315c8baf076fa83c5daf
Signed-off-by: Nan Zhang <[email protected]>
2021-04-06 02:23:06 -07:00
Jishnu Prakash
0bb91667f1 regulator: qpnp-lcdb: Add support for some LCDB DT properties
Add support for the following LCDB devicee tree properties:
"qcom,high-p2-blank-time-ns" to control the higher clamp threshold for
p2 minimum on time.
"qcom,low-p2-blank-time-ns" to control the lower clamp threshold for
p2 minimum on time.
"qcom,mpc-current-thr-ma" to control the mpc threshold for inductor
current after start up is done.

Change-Id: Iabe2cc2c9913f433dd55d952a267f94ce0682f0e
Signed-off-by: Jishnu Prakash <[email protected]>
2021-04-06 10:42:17 +05:30
Zou Shunxiang
4769251fee arm64: defconfig: Enable CAN configs for autogen3
Enable CONFIG_CAN and CONFIG_QTI_CAN for CAN devices
on autogen3 platform.

Change-Id: Id0602fa32e6f5c2a1c206c8f0252dc36f1204f5a
Signed-off-by: Zou Shunxiang <[email protected]>
2021-04-05 22:02:27 -07:00
Zou Shunxiang
d3bcd9dbf3 driver: net: can: add qti-can driver
Add qti-can driver for CAN device.

Change-Id: Ia22e642f78d3b8f99c1468f42918e0c8ccc67b06
Signed-off-by: Zou Shunxiang <[email protected]>
2021-04-05 22:02:06 -07:00
qctecmdr
14bc214f53 Merge "soc: qcom: rpmh_master_stat: skip apss stats if rpmh_unit_base available" 2021-04-05 16:59:22 -07:00
qctecmdr
c2e88f8534 Merge "msm: ipa3: add ipa sw-flt support" 2021-04-05 16:59:21 -07:00
qctecmdr
d54a62b657 Merge "msm: mhi-dev: Add dev nodes for DIAG support on sdxlemur" 2021-04-05 16:59:21 -07:00
Fenglin Wu
fbe34611ee input: qcom-hv-haptics: reset haptics module if it's stuck in SWR mode
The haptics module would get stuck in SWR mode if SWR port is
disconnected during SWR play, and this can happen if ADSP SSR
(subsystem reset) is triggered when playing in SWR mode. This
stuck condition can be detected by checking if haptics module
has already been in SWR mode when swr-haptics driver requests
to enable SWR haptics. When it's detected, ignore SWR mode
temporarily and toggle HAPTICS_EN for a HW reset. When SWR play
is attempted again i.e. when swr_haptics driver request to turn
on SWR slave device, SWR mode would get re-enabled.

Change-Id: Ie55d331e3c689972b42dd9688f0d2b182b3fd282
Signed-off-by: Fenglin Wu <[email protected]>
2021-04-06 07:32:03 +08:00
Tushar Nimkar
9e3208b935 soc: qcom: rpmh_master_stat: skip apss stats if rpmh_unit_base available
APSS master stats can be read in two ways with APSS SMEM ID and rpmh
unit_base.

This change adds support to skip reading apss master stats from SMEM
when rpmh_unit_base present.

Change-Id: I13ba0474dac8c8d0f506ffab1008e696b583fc20
Signed-off-by: Tushar Nimkar <[email protected]>
2021-04-05 21:06:53 +05:30
Venkata Rao Kakani
268f4b8f3f rtc: control default alarm wake up capability
enable & disable rtc alarm wake up capability based on
default parameter passed from device tree.

Change-Id: Iae9fc089206377cdef31dcb75b7a77922af371f1
Signed-off-by: Venkata Rao Kakani <[email protected]>
2021-04-05 19:50:36 +05:30
qctecmdr
bbb2705d46 Merge "driver: soc: adsp vote: Fix to avoid panic on absence of debugfs" 2021-04-05 05:37:31 -07:00
qctecmdr
1476d39e6f Merge "msm: ep-pcie: Update load factor for 1.2V rail on sdxlemur" 2021-04-05 05:37:31 -07:00
qctecmdr
8fe48de8ca Merge "arm64: defconfig: Enable shared memory driver" 2021-04-05 05:37:31 -07:00
Jishnu Prakash
f1e72c4946 regulator: rpm-smd: correct logic for min dropout voltage
Correct existing logic to ensure that minimum dropout voltage
does not get read in place of active/sleep set property.

Change-Id: I37239e99de849a0f756eb12d0614d297cfdeacd4
Signed-off-by: Jishnu Prakash <[email protected]>
2021-04-05 16:58:23 +05:30
Madhuri Medasani
e6d5664050 arm64: defconfig: Add support for Global clock controller for BLAIR
Enable Global clock controller for BLAIR.

Change-Id: Id80bc00eef1b2d93a043568f7124df3c23cc96ed
Signed-off-by: Madhuri Medasani <[email protected]>
2021-04-05 02:36:59 -07:00
Madhuri Medasani
635ac2b8d3 clk: qcom: gcc-blair: Add GCC support for BLAIR
Add support for Global Clock Controller for peripheral clock
clients to be able to request for the clocks for BLAIR.

Change-Id: Id7e84b67f78c0062ed6d00bcf67e67a4916ccb12
Signed-off-by: Madhuri Medasani <[email protected]>
2021-04-05 15:00:21 +05:30
Ajay Agarwal
803754cfbb usb: dwc3-msm: Initialize ssphy0_sus and ssphy1_sus with false
Initialize ssphy0_sus and ssphy1_sus with false to fix KW
complaint of using uninitialized variables.

Change-Id: Ie7faef2edc88d724fdabc505f5cd66b7886864f9
Signed-off-by: Ajay Agarwal <[email protected]>
2021-04-04 23:27:22 -07:00
Jilai Wang
47926628c2 defconfig: autogvm: Enable CONFIG_VIRTIO_NPU
Enable NPU frontend driver for autogvm target.

Change-Id: I5c31642e344782f93af4483e2f97933c25f6f25e
Signed-off-by: Jilai Wang <[email protected]>
2021-04-04 21:19:03 -04:00
qctecmdr
28f1b2a9ba Merge "clk: qcom: clk-alpha-pll: Update support for FSM legacy mode" 2021-04-03 00:05:58 -07:00
qctecmdr
822343bed7 Merge "interconnect: qcom: Add sync_state for sdxnightjar" 2021-04-03 00:05:58 -07:00
qctecmdr
f655e02a47 Merge "dt-bindings: clock: Add support for BLAIR clock ids" 2021-04-03 00:05:57 -07:00
qctecmdr
32148359d8 Merge "usb: f_qdss: Do not perform connect_work if qdss is closed" 2021-04-03 00:05:57 -07:00
qctecmdr
fb04cf5983 Merge "defconfig: Enable ethernet adaptor class drivers on sdxlemur" 2021-04-03 00:05:56 -07:00
qctecmdr
863af6eed9 Merge "defconfig: gen3auto: Enable IPC logging driver" 2021-04-03 00:05:56 -07:00
qctecmdr
60cc9e8151 Merge "defconfig: add config for slatecom drivers" 2021-04-03 00:05:56 -07:00
qctecmdr
b3981928e9 Merge "arm: traps: emulate a MRC instruction reading CNTFRQ register" 2021-04-03 00:05:55 -07:00
qctecmdr
ab316ae6b7 Merge "STMMAC: msm: Add io macro setting for SA6155" 2021-04-02 23:20:43 -07:00
qctecmdr
bfb176a762 Merge "defconfig: autogvm: Enable Secure PIL driver" 2021-04-02 23:20:43 -07:00
qctecmdr
b727116f96 Merge "arm64: defconfig: Enable GPUCC/CPUFREQ_HW/CPUFREQ_HW_DEBUG for monaco" 2021-04-02 23:20:43 -07:00