This change declares set of APIs to fix linking errors seen with client
driver compilation when CONFIG_QCOM_LLCC is not enabled.
llcc manager's client driver doesn't use core llcc driver APIs. Hence
it doesn't need to include llcc-qcom.h. This results into below warning
while compiling client driver.
warning: declaration of 'struct llcc_slice_config' will not be
visible outside of this function [-Wvisibility]
Hence include llcc-qcom.h within llcc-slice.h file. So llcc manager's
client driver doesn't need to directly include llcc-qcom.h file as it
doesn't use any of core driver APIs.
Change-Id: If7232818856876be170af9d2fa7633ff3791d3f2
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
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>
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>
- 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>
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>
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>
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>
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>
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>
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>
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>