On MSMCOBALT, the ahb_clk_src needs its sources to be enabled for
it to configure to a new frequency. Hence, force enable the PLL
and XO sources everytime it is scaled.
CRs-Fixed: 1060894
Change-Id: Ib2f5277f14b1484838439a9bb756358421737bd4
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
Add support for the global clock controller found on MSMFalcon
based devices. This should allow most clocks for peripherals other than
multimedia clocks.
Change-Id: I1ec6309f32c658177580cc0601083d32bcdfad20
Signed-off-by: Taniya Das <tdas@codeaurora.org>
Add pinctrl configuration for GPIO40 used for FLASH2_EN on MSMFALCON.
CRs-Fixed: 1070059
Change-Id: Ib24ca5ff149e368298d3303c38677c3012709b97
Signed-off-by: ansharma <ansharma@codeaurora.org>
Add the SPMI node for MSMFALCON with required configuration and
keep it disabled.
CRs-Fixed: 1070059
Change-Id: I06ff3f095344a240c3597c8a98bd8028ca491f03
Signed-off-by: ansharma <ansharma@codeaurora.org>
Update the video core clock frequency tables on MSMCOBALT v2.
CRs-Fixed: 1071940
Change-Id: I2858da0e32dfa4ea5bc14395e884aabf832fa8f6
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
Update the rpm-smd communication API to send across votes for clock
enable/disable to RPM. Use the clk_hw list for the RPM clocks and also
update the clock ids and clock names for RPM clocks.
Change-Id: I37ae97f22b1b39d040bb78c90b1ff231bc348fe6
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
Some RCGs would be expected to be enabled/disabled using
the root enable bit of the RCGR. These RCGs would have to
indicate the force enable using the FORCE_ENABLE_RCGR flag.
Change-Id: Ia1eaba2728d06066612739ff48f7e5e44322e96b
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
Add Bluetooth bus type for product id = 0x05ac and vendor
id = 0x0220, so that it can be handled by specific vendor
driver to parse specific key events which cannot be handled
by generic USB HID driver of kernel.
CRs-Fixed: 1072093
Change-Id: I68b585db1b350c7ffd8ea662cab550aaa7a0727d
Signed-off-by: Hemant Gupta <hemantg@codeaurora.org>
The load balancer restrictions are in place to control the tasks
migration from the lower capacity cluster to higher capacity
cluster to save power. The assumption here is that higher capacity
cluster will have higher power cost which may not be necessarily
true for all platforms. Use power cost based checks instead of
capacity based checks while applying the inter cluster migration
restrictions.
Change-Id: Id9519eb8f7b183a2e9fca87a23cf95e951aa4005
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Add additional verbiage to the info logs to help
determine the type of source cable connected: default,
medium or high current. Similarly, if a sink is attached,
indicate whether it is with a powered cable or not.
Change-Id: I0687365827cdbb8a1b7168a2b676b1afd2f576f6
Signed-off-by: Jack Pham <jackp@codeaurora.org>
Enable recycle wan buffer support in IPA driver
to support napi in rmnet ipa0 net device.
Change-Id: I54efe72b5cf4ecdf50c7c642a8b453c46d057e57
CRs-Fixed: 1072443
Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
When attempting to restore multiple endpoint's configuration
space over a switch or bridge, only restore for the ones
that are accessible and powered on.
Change-Id: Ie6234ae30ad47a063982e5cc50f4ecedf1f61de2
Signed-off-by: Tony Truong <truong@codeaurora.org>
Fix the bug introduced by commit 82d4ec9778
("usb: Add support for reset controller framework") which
overrides the core clock rate from device tree.
Change-Id: Ic3ef2229fa8552301e09dfb912e79e044a81324f
Signed-off-by: Vamsi Krishna Samavedam <vskrishn@codeaurora.org>
Optimize the initial rotator session opening time by moving the clock
and BW voting to the start of rotator. Also adjusting the clock
calcuation to include overhead and fudge factor. Create debugfs entry
for supporting override the clock and BW calculation
CRs-Fixed: 1071288
Change-Id: Ia6a84f160d0288ced98bf9f1818d9eabfc2e3963
Signed-off-by: Benjamin Chan <bkchan@codeaurora.org>
WLAN firmware can reject QMI message, improve the logs to
indicate the same.
CRs-Fixed: 1071938
Change-Id: I7ab180e06ececf8136903ee04565b8b4a2bf3524
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
Convert the driver to dev_pm_ops from SIMPLE_DEV_PM_OPS
in Goodix TS driver to reduce suspend/resume latency.
Change-Id: I45690b239c73f636538b864f0c4a7e539a02eedb
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
The PBL spare status registers provide more info
about the reason for PBL failure.
Change-Id: I1dddc7df26caa1556e57128603afd32b2613ebde
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
When no audio use-cases are active, codec digital core
can be put into power collapse to reduce the power consumption
during codec stand-by. Add support to put core into power
collapse and remove out of the collapse when audio use-cases
are triggered.
CRs-Fixed: 1063742
Change-Id: I0314b7319f2ef02d6125b77e68bf47d065521f6a
Signed-off-by: Meng Wang <mwang@codeaurora.org>
HFP client call is not working on external codec over I2S
as backend entry is missing for multimedia6. Add entry for
multimedia6 in routing map to fix the issue.
CRs-Fixed: 1069401
Change-Id: I98b8dcc26ec776777b835e8438983c79aeb25a42
Signed-off-by: Dhanalakshmi Siddani <dsiddani@codeaurora.org>
Interrupts are useful for testing and debugging. Enable all fuel gauge
interrupts.
Change-Id: Ic6dd2d1e7f829630dc6eae5ff74fae04f7fc7f9b
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
Some SRAM registers are encoded using a floating point representation.
Add a function to decode these registers into signed micro-unit
integers.
The exponent and mantissa are signed integers represented by two's
complement, and the exponent value is offset by -9. This is a half
float representation stored as:
EEEEE MMMMMMMMMMM
Where E are the exponent bits, and M are the mantissa bits.
To decode this representation the following formula is applied:
2^(exponent - 9) * mantissa
Change-Id: Id9f28a0eeb2a904aca41eb46d0215d80287e0b88
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
Rate converter clock needs to enable for adaptive ANC
(Active Noise Cancellation)to work otherwise noise mic
data will not go to Rx path. Add change to enable rate
converter clock.
Change-Id: I8c83f6305dbc0a40b67bf2ffd53d37a0abdcf953
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
Allow scaling the performance cluster clock to 2.3 GHz using
single core frequency boost on MSMCOBALT v2 speed bin 1 parts.
CRs-Fixed: 1070684
Change-Id: I473a1965989ac652c630b69c6086b74d0bdabfa3
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
The current OSM framework does not support mapping multiple OSM
clock frequencies to the same CPR virtual corner. Enable this
support and update the current clock DT entries accordingly.
CRs-Fixed: 1070684
Change-Id: I3422848cabf221f497eb91f9aae5905e34ebdc84
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
Change FnR rule creation prints to low in order to avoid IPC
logging flood.
Change-Id: Ie1f0f48ffc1fd67fc8a2074d3d334fb8cd29c99f
CRs-Fixed: 1064336
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
Regulator enable and disable of CSIPHY depends on the CSID module.
Make the enable and disable of clk regulator independent of CSIPHY.
CRs-Fixed: 1050172
Change-Id: Iefd57ae1c3fb5774b8043ef2e824acbacc8d16d2
Signed-off-by: Viswanadha Raju Thotakura <viswanad@codeaurora.org>
Add top-level wcd934x codec registers as volatile because
those registers get updated even before register map cache
initialization.
Change-Id: Ibdf5f695e5464b9597d153f725ff461f89b62ae4
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>