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>
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>
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>