Use the correct LED_OPTIONS mask to enable all the supported
flash prepare APIs.
CRs-Fixed: 1090029
Change-Id: I66f6de42b106fa2027285e7393b6f9fc143d00d8
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
Enable haptics for QRD SKUK and VR1 to make vibrator working
CRs-Fixed: 1089954
Change-Id: I0718cd7d76669fb8743a59a322ac2a5eaa7c45f6
Signed-off-by: cyizhao <cyizhao@codeaurora.org>
Split functions into groups corresponding to mirrorA and
mirrorB. This will help identify which function is selected.
Change-Id: Iefcb4a4b595ef0778e983a1902a5897cf292705f
Signed-off-by: Venkatesh Yadav Abbarapu <vabbar@codeaurora.org>
Currently, dev_*() variants are used in the flashv2 LED driver
for logging. However, it spews the kernel log because of the
device name being longer. Logging with device name is also not
really needed. Move to using pr_*() variants. Add a pr_fmt() to
help that by adding a function name which will be more useful.
Change-Id: I42503ccd2b2dcc62c5c868132d202b9698c9d216
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Add support for configuring the three thermal mitigation
thresholds from device tree.
CRs-Fixed: 1060212
Change-Id: Iafb7915e196a18b5f8076dda8fb06a4bd71a8e6e
Signed-off-by: Devesh Jhunjhunwala <deveshj@codeaurora.org>
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
There are some features which needs to be enabled based on the
PMIC. PMIC information such as subtype, revision can be obtained
from revid peripheral. Hence add support to read pmic revid.
Change-Id: Ie7a94f59e58b8f1b0816afda2496449694629205
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Add battery profile for these two devices to make sure FG could load it
and work as expected.
CRs-Fixed: 1086571
Change-Id: Id89f54f58bb2d5f7294c0244ab0ba39e90b5ecac
Signed-off-by: cyizhao <cyizhao@codeaurora.org>
FG profile data is updated for cobalt battery according to the new
battery characterization process.
CRs-Fixed: 1086571
Change-Id: Id0a74bc74e5ef1fc08af63ace50ab4774820597c
Signed-off-by: cyizhao <cyizhao@codeaurora.org>
Since not all frequencies line up between speed bins,
the common cpufreq table sometimes has frequencies
that round up the same actual frequency.
Fix this by skipping those frequencies.
Change-Id: I0516cc67a1343150f3d1f838b9d9b329e8e1e498
Signed-off-by: Rohit Gupta <rohgup@codeaurora.org>
Signed-off-by: David Keitel <dkeitel@codeaurora.org>