In the cases that have FPC cable between main board and sub-board, USB
connector located on sub-board, add re-drive chipset on sub-board to
make sure the signal of rx/tx for super-speed is good enough.
Change-Id: Id19525d04600d7e6796dd906bccf373622354b6a
Signed-off-by: Liangliang Lu <luliang@codeaurora.org>
The CPU that is disabling the alternate PLL may also need to
handle CPR interrupts. Allow the CPU to handle interrupts
during the set_rate operation.
CRs-Fixed: 960701
Change-Id: I63d7ce3e3dd2b559c4db383b64faa9335c404576
Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
Some PLL implementations depend on the CPU being able to handle
certain interrupts in order for the set_rate operation to
complete. Allow interrupts to be handled in the set_rate op.
CRs-Fixed: 960701
Change-Id: I6fda5ed9eb7d6f2e2cd91c58ebabfd7bc1c8a2fc
Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
There is no need to call core_ctl_check() from scheduler tick path
on all CPUs. This results in core_ctl's state_lock spin lock
contention. Assign this job to the CPU which is responsible
for updating the ticks.
Change-Id: I9664037cc25c204d532bdd0f006c7e27ef143497
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Remove DSC parameters from MDP Caps for targets
where DSC is not supported.
Change-Id: Ib26dba1390b4f5112dea422c692f46b11593240e
Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
Add a new driver to Provide a communication interface between userspace and
tz services using Secure Channel Manager (SCM) interface. It exposes APIs
for userspace to get system profiling information.
This will allow the sdp profiler to get cpu/gpu and total bandwidth info.
Change-Id: Ia1f5dbdda44b9e25a0a705ffe827f0c3741c8ef8
Signed-off-by: Jaiju Yesudasan <cjaijuy@codeaurora.org>
In the cases that have FPC cable between main board and sub-board, USB
connector located on sub-board, add re-drive chipset on sub-board to
make sure the signal of rx/tx for super-speed is good enough.
Change-Id: If21b1c188bd5b82387e818f7430181fe33b2a313
Signed-off-by: Liangliang Lu <luliang@codeaurora.org>
This change enables midframe sampling timer which samples
the GPU power stats if the command batch expiry takes longer
than the threshold set by KGSL_GOVERNOR_CALL_INTERVAL. This
will help the use cases where long running command batches
were delaying GPU DCVS decision for increasing the frequency.
Change-Id: I41b1dadda348f69d32dd6012a882dbaee20dc691
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
This interface can be used to enable or disable sifs burst
from debugfs.
CRs-Fixed: 2017024
Change-Id: If1ce889c4a829c20e0570a6cf35711f988859b89
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
SDCC is running at NOM during 4K video playback test
case which is causing power regression.
Fix this by adding DDR52 lower bus speed mode in
clock scaling. With this change sdcc is able to run
in low power mode(SVS) and hence improving power savings.
Change-Id: I99e03bea142e5377ee7c12c29a31631c1b4dabed
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
SDM660 target has a dual DDR channel of width 16 bits.
Update DDR bus bandwidth voting considering per channel
voting and update CNOC bus voting to support LOW_SVS
(i.e freq 33.33 MHz) considering bus width of 4 bytes.
Change-Id: Iff0a40016f58c82d0823fd0c1968f1af6978f68c
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
'ret' might be used uninitialized in this function.
Change-Id: I21814a0ac3e40b30fa0894b5607f5701cec88a1f
Signed-off-by: Liangliang Lu <luliang@codeaurora.org>
mhi_rmnet support both hardware accelerated path,
and software path for IP traffic. Add support to
configure interface name through device tree.
CRs-Fixed: 2022229
Change-Id: I8356c599ce22ae45e0f3c03272ebf50251a73a59
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
Allowing 'data_role' and 'power_role' sysfs attributes to
be writeable implies that they can be changed independently.
This is only true if there is a PD-capable device attached,
otherwise the write permission should not be set.
Also make sure to call dual_role_instance_changed() at the
conclusion of initiating a DR swap in order to trigger the
is_writeable() callback to update the permissions. Note that
the PR swap case is already handled during the call to
usbpd_set_state(PE_{SRC,SNK}_READY).
Change-Id: I3f4bcaa8ae32af9a124e6f0967509c784e776f7d
Signed-off-by: Jack Pham <jackp@codeaurora.org>
Remove use_play_irq and use_sc_irq flags as they are not really
needed. Interrupts can be obtained and registered always. Keep
the play interrupt enabled only for buffer mode.
Change-Id: Ie530819ed18b048d43d59dd7a0dc5f73cc3a9b70
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Currently, the driver does read-modify-write to registers in so
many places. It would be better to have a masked_write API to do
this. This also needs a change in the mask definitions used in
all places where these writes are made. Also, create separate
functions that deals with a particular configuration so that they
can be reused later.
Change-Id: Ice07297b1542640e82c7adc12d323258440edb77
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
pmic-voter.h needs to be used in the qcom-tadc driver which resides
outside of the power/supply/qcom location. Move it to include/linux.
Change-Id: I5079a8504573da2a800fd458ef9aa5931056d8c2
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
There are errors in ADC current, voltage offsets and gain mega, due
to data conversion without taking care of sign bit extension. Fix
them.
Change-Id: I8cd51bff27704601fcaae8a198b06a53309d5035
Signed-off-by: Harry Yang <harryy@codeaurora.org>
Expose CHARGE_QNOVO_ENABLE property required to enable
qnovo charging algorithm.
Change-Id: I84ef8620de6a10698f98705dfb5941e71c012e79
Signed-off-by: Harry Yang <harryy@codeaurora.org>
Add the property to enable qnovo algorithm for charging.
Change-Id: I110f386d5cf86a4718e7d55af3068fd357dca8e9
Signed-off-by: Harry Yang <harryy@codeaurora.org>
Expose two existing properies to userspace:
VOLTAGE_QNOVO - qnovo's force-value vote for float voltage
CURRENT_QNOVO - qnovo's force-value vote for fcc
Change-Id: Ibd10a394b648d4638769cbf59b6508a41de2b0b6
Signed-off-by: Harry Yang <harryy@codeaurora.org>
UFS PHY power management is managed by its parent (UFS host controller)
hence set the no runtime PM callbacks flag on UFS PHY device to
avoid any accidental attempt to call the PM callbacks for PHY device.
Change-Id: I06e6b140a98233e30d406754f0cdcdd27c834357
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
During continuous splash handoff on video mode panels, the
cleanup is currently performed only on the master control. This
causes occasional memory fault in dual control configurations.
This change calls cleanup on both master and slave controls
if applicable.
Change-Id: If0bcad0686efd5f2aba0efa6992e1d348aca213f
Signed-off-by: Rajkumar Subbiah <rsubbia@codeaurora.org>