Model and configure MDSS Display Port PLL for SDM660 target.
Add changes to define and register DP VCO, divider and mux clocks
as per common clock infrastructure.
Change-Id: Ice83e21323087e81e2f30998260be85120e41fa8
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
Added basic support for CPU boost: when driver calls ops_bus_request
with a high bandwidth requirement, enable the big CPU cluster
and adjust the affinity of the wil6210 interrupt to run on
the first big core. The first big core is selected because
WLAN driver uses the other cores.
Change-Id: Ia752b9a8ca343b56e2839a30a4fdb59231f9a634
CRs-Fixed: 1114406
Signed-off-by: Lior David <liord@codeaurora.org>
GPIO11 is used for home key on QRD sdm660 device.
Configure it to input/pull-up mode and add it to gpio-keys
device for key detection.
CRs-Fixed: 1115040
Change-Id: I7144a784c8cae4fbb026c4822b757ea76502bf7d
Signed-off-by: cyizhao <cyizhao@codeaurora.org>
PM660A supports LAB-IBB and OLEDB regulator while they are not
existing in PM660L. Add device nodes and enable them for PM660A.
Change-Id: I0210accea5e3a358830acf2235f72bad003d8144
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
Correct the conditional check in the oledb_hw_init to avoid programming the
configuration registers if module is already enabled. Also correct the
conditional check in the oledb_regulator_disable.
CRs-Fixed: 1114628
Change-Id: I1af6c5ba6427050832ae04e693f161c517ef03a2
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
Programming the default (1.5x) LAB_CURRENT_SENSE configuration is not
required for PM660A. Configure it only if explicitly specified in the
DT config.
CRs-Fixed: 1114628
Change-Id: Ib09e6430e99a7f39a9d2f837494a977daff354ba
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
Currently usb function instance driver depends on diag char driver to
create the channel (using usb_diag_open api). Failing to create channel
can result in enumeration failure. Avoid this dependency by creating
diag channel from function instance if not available. Same channel
will be reused when diag char driver creates/opens the channel.
Change-Id: I11debd0189d81542762af22b3d203728d2266a42
Signed-off-by: Liangliang Lu <luliang@codeaurora.org>
Currently, the code reports whatever is in the BATTERY_CHARGING_STATUS_1
register for the battery status.
We have seen that the register continues to report FAST charging
even when the chg_ok pin could be low or dc path is in collapsed
state (collapsed state is treated as dc not online). This unexpected
report of charging while it is not really charging breaks certain
features.
Fix it by checking for usb_online and dc_online. But make sure that
if the battery is full it continues to report so.
Change-Id: I732c916b4f63f9ff0fd8d9c77ce5253c309698a4
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Drain WLAN_PROD pipe by sending a QMI to modem only in case
that the pipe is not empty. Also for SSR case, set a timeout
for QMI message response.
Change-Id: Iecd63a929b622d80ad4d4ebf15e8de9251f7d9d3
CRs-Fixed: 1113156
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
Fix the HBR2 pattern generation by ensuring that the pattern
selection bit is not overwritten by a subsequent register write
that updates the scrambler reset count.
CRs-Fixed: 1108048
Change-Id: I2d2dcc79de82756eab015a343c24411a735947c9
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
Add a device tree node for CDSP loader, that is used for loading
CDSP image during boot.
Change-Id: I955ca3b89d36426a46554a62c11efb5fafb0e2c7
Acked-by: Himateja Reddy <hmreddy@qti.qualcomm.com>
Signed-off-by: Sathish Ambley <sathishambley@codeaurora.org>
This config is already enabled in perf defconfig but missed
in the debug defconfig.
Change-Id: I85ba0624318a0141fb8b6418e8e923201a108c55
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>