Add rpm-smd clocks support for clients be able to request for
rpmcc clks for MONACO.
Change-Id: I04684f6e7c04c7d1f217cbc42ccabd7451a0354b
Signed-off-by: Saurabh Sahu <sausah@codeaurora.org>
Add the CPUSS_GNOC_CLK clk id in rpmcc for MONACO.
Change-Id: Ia69557d3d05e11d7766cb6ebe036aa12b381c171
Signed-off-by: Saurabh Sahu <sausah@codeaurora.org>
In a640 and a680 cx_gdsc will not be disabled from kernel, so use
regulator_is_enabled api to get the logical status of cx_gdsc.
Change-Id: Ied2a54687d9438610116bf4a96a4843fdbc05c56
Signed-off-by: Pankaj Gupta <gpankaj@codeaurora.org>
Signed-off-by: Indira Biruduraju <ibirudur@codeaurora.org>
These virtio clocks are necessary for USB2 pass-through on
sa8195p virtual machine.
Change-Id: Ieef15c9ee8652ff2b182cc08f5d6ac7b3738c1a1
Signed-off-by: Yimin Peng <yiminp@codeaurora.org>
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>
Add packet count stats for rx and tx for each queue in ethtool.
Change-Id: I5f2c2f68fb87c9cb8436f2c589b0884404e47233
Signed-off-by: Suraj Jaiswal <jsuraj@codeaurora.org>
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>
Update the vdd level from RPMH level to RPM_SMD level for
monaco and holi.
Change-Id: I0a6e7996bcc6a6badd85eab0759a83dc28e8e332
Signed-off-by: Saurabh Sahu <sausah@codeaurora.org>
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>
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 <cchiluve@codeaurora.org>
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 <npadhiar@codeaurora.org>
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 <tdas@codeaurora.org>
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 <tdas@codeaurora.org>
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 <nanzhan@codeaurora.org>
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 <jprakash@codeaurora.org>
Enable CONFIG_CAN and CONFIG_QTI_CAN for CAN devices
on autogen3 platform.
Change-Id: Id0602fa32e6f5c2a1c206c8f0252dc36f1204f5a
Signed-off-by: Zou Shunxiang <shunxian@codeaurora.org>
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 <fenglinw@codeaurora.org>
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 <tnimkar@codeaurora.org>
enable & disable rtc alarm wake up capability based on
default parameter passed from device tree.
Change-Id: Iae9fc089206377cdef31dcb75b7a77922af371f1
Signed-off-by: Venkata Rao Kakani <vkakani@codeaurora.org>
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 <jprakash@codeaurora.org>
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 <mmedasan@codeaurora.org>
Initialize ssphy0_sus and ssphy1_sus with false to fix KW
complaint of using uninitialized variables.
Change-Id: Ie7faef2edc88d724fdabc505f5cd66b7886864f9
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>