Modify BT node for QRD interposer msm8998. Update voltage
regulators and clocks to sync with msm8998 interposer mtp.
CRs-Fixed: 1088153
Change-Id: I3499b2ee5bb1ddb74fc94fa55d3f5a8170d72b98
Signed-off-by: zhenchao <zhenchao@codeaurora.org>
Update documentation for ssc based sensors device tree to make
firmware name optional. Firmware is optional if sensors driver is
sharing processor.
Change-Id: Ia417f6fa47d7570a6560b1409fe61c0d22ad6aac
Signed-off-by: Ananda Kishore <kananda@codeaurora.org>
Add necessary configuration to enable compilation of MDSS
PLL driver which is now based on common clock framework for
msmfalcon platform.
Change-Id: Iba01736475b852d8d64f944c371e585c94b85114
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
Fix round off error in calculation of wake up time programmed.
Current implementation adds extra delay in wake up time due to
round off error in conversion of usec to SCLK. Use nsec instead.
CRs-fixed: 1081884
Change-Id: Iecb3b06cde79c59c24a0e56ef05c41a5f9b6204e
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
Add support to mask watchdog bark interrupt and controller cycle
completion as part of critical interrupt. Add support to mask the
corresponding properties if available in the controller.
Change-Id: I9445db12044071f92715a60cb76c38d061748cfa
Signed-off-by: Rama Krishna Phani A <rphani@codeaurora.org>
Specify the number of strings in WLED properly to support
brightness for mdss on msmfalcon interposer.
CRs-Fixed: 1090076
Change-Id: If5dbc043f4708ffe6c474ce688ea86572c1b9ffd
Signed-off-by: ansharma <ansharma@codeaurora.org>
Delete RGB led trigger properties to remove the led control in kernel
space.
CRs-Fixed: 1094158
Change-Id: I8b28ece4bbfe76e3d9b003e14c6600b856c30043
Signed-off-by: cyizhao <cyizhao@codeaurora.org>
GPIO7 is used for volume up key on 8998 QRD interposer device,
configure it to input and pull-up and add gpio-keys device to
enable the key detection.
CRs-Fixed: 1098142
Change-Id: I45ec6a02fc6f74ee871455c5662f62f1cfa7bc74
Signed-off-by: cyizhao <cyizhao@codeaurora.org>
Add dual camera related modifications for qrd8998 skuk board.
The modifications includes rear/aux camera device node and
corresponding eeprom/actuator/ois device node.
Change-Id: I21110b930cf5a74a656e40f2f3210cc57ae91b95
Signed-off-by: Pengfei Liu <pengfeiliu@codeaurora.org>
The ability to write to the card is used for debug purposes.
The ability is disabled by default to prevent misuse of
this functionality.
CRs-Fixed: 1096945
Change-Id: I8fc3f646a0127ec705239be6a7de858a4f805acc
Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
lpass_pmu_tmr_timeout_irq_cx 519 is enabled if ADSP is unable to
wakeup from island retention due to power management failure.
Add this to MPM wakeup list to handle such scenario.
Change-Id: I71bd87330f64322f54693a4c412f0af69cd3c704
Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
The grouping of tasks based on oom_score_adj values change from
one framework to another. This requires corresponding changes in
the threshold values set for almk and per process reclaim.
Introduce sysfs nodes to set threshold adj for process reclaim
and adaptive LMK dynamically.
Change-Id: Ib7565bfd5d2e93aa4ff8fdd20414cac0a0f38bf7
Signed-off-by: Suyog Sarda <ssarda@codeaurora.org>
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
Add device tree nodes for audio digital, analog, soundwire codecs.
Also add internal codec sound node for msmfalcon. Add LPI pinctrl instance
to support audio related LPI GPIOs. Update clock-ids and controllers
for PMI, AP and LNBB audio related clocks.
Change-Id: Idf6f56a365fdd57f4b0b191ee7bfb5e831abf443
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
For audio pinctrl settings in internal codec,
use cdc pinctrl functions to activate and
suspend gpios.
Change-Id: Ib0de01379a02636d35b49770aa82ea53de7c2768
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
Internal codec variant has digital codec in
MSM and analog codec in PMIC, add respective
split codecs support to register two separate codecs.
Add digital codec as a child to analog codec and
handle inter-dependencies like sequences, SSR,
version info.
Change-Id: I6ead859ed0ad5c926d439a3985a5c4904ff757b5
Signed-off-by: Divya Ojha <dojha@codeaurora.org>
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
These are the branches which have hardware control bit to be able to
enable/disable the branch. They also need to support set rate on them and
before setting any rate, we have to make sure the current parent and the
next parent is prepared & enabled before the RCG is updated. To support
both parents to be prepared/enabled use the flag FORCE_ENABLE_RCGR.
Change-Id: I14abed3827de8cefc31f3deb3c1e589136c32b8d
Signed-off-by: Taniya Das <tdas@codeaurora.org>
In MSM based integrated codec, soundwire codec
is added at HW level which supports wsa speaker
using soundwire bus interface. Add respective driver
support for MSM based soundwire codec.
Change-Id: Ibe4abdbe15a6246b9abcf45402c22764b82699c2
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
This change adds functionality to switch back to non-secure
state at the close of the secure rotator session. Without this
change the transition is delayed until a non-secure transition is
started.
CRs-Fixed: 1102597
Change-Id: I7f9fab066b8212808273474576884990ac8d8fef
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
According to USB 2.0 ECN Errata for Link Power
Management (USB2-LPM-Errata-final.pdf), BESL
must be enabled if LPM is enabled.
This helps with USB30CV TD 9.21 LPM L1
Suspend Resume Test.
Change-Id: I3412d36959d0b6b49d369cb1695836af82d7b5b4
Signed-off-by: Felipe Balbi <balbi@ti.com>
Git-commit: a6615937bc
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Headset TX can be operated in 3 modes, low-power, high-perf
and default. Currently in driver mode is always being set to
default even though mixer controls are set for low-power and
high-perf. Fix the mode setting by correctly parsing the mixer
control value and set it during TX path enable.
CRs-Fixed: 1102584
Change-Id: Idd40a0b471293048833b34dda3ac5044a87fc3c9
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
There is a rare but possible chance that just after registering
the psy_changed notifier callback with the power_supply
framework that it could be called immediately, schedule the
usbpd_sm, and execute the worker on another thread, all before
usbpd_create() has completed. Since some structures, notably
pd->rx_lock, haven't been fully initialized yet, this leads
to spin_lock() call accessing uninitialized data. Fix this by
moving the power_supply_reg_notifier() call to the very end
of usbpd_create() after everything has been initialized.
Change-Id: I7d2bc9eca8e7e30dbc656be620a0f4fd8eea2239
Signed-off-by: Jack Pham <jackp@codeaurora.org>
Add suspend/resume callback support to serial msm driver.
Change-Id: I661fca45d2d762a08e331f53d8b3cb7b99117448
Signed-off-by: Pramod Gurav <gpramod@codeaurora.org>
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
This reverts commit 14f40931b3 ("tty: serial: msm: Add
runtime PM and system sleep support").
Change-Id: Iac58fe50bd0296cd50b383bdf891e4f0af6e9cf9
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
There is a need for RRADC driver to return fresh results
of the BATT_ID channel which could take upto 1.5 seconds
in round robin mode. Switch the RRADC driver to continuous
mode when client requests the BATT_ID channel to obtain
the results faster. In addition explicity force the batt_id
to ensure it forces a conversion on the new read. The
existing USBIN_V channel also requires having the RRADC in
continuous mode therefore have a common support for clients
that uses continuous mode.
Change-Id: I5b89ed9f0015bc6db3adce22e3ac6d0d0283e2bf
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>