MHI host is not always the bus master. Add support to
operate on slave mode.
CRs-Fixed: 1095436
Change-Id: I4af92c8171cf9ba38267afa753cec33f291d55eb
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
Add support for MHI host to directly upload firmware
to compatible devices using MHI protocol.
CRs-Fixed: 1095436
Change-Id: Iff7043f1f9afc4824edeaeccc46ed427ce7ee291
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
In order to support multiple MHI devices connected
to same host we have, re-organize struct mhi_device_ctxt
such that all information related to device is included inside
struct mhi_device_ctxt. Created an abstract power management
layer to operate MHI in bus master, and slave mode. PCIe bus,
device, slot are extracted from DT to identify physical device.
CRs-Fixed: 1086301
Change-Id: I27a12b7412db75e4843794d80146ca7475b02fdc
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
Add efuse register to be read for VFE dual camera limitation.
Change-Id: I1562b4555aadd0fde8f644cc3aa61e9d45f98ef0
Signed-off-by: Venu Yeshala <vyeshala@codeaurora.org>
The charger therm on RRADC only reads valid values if a charger is
present. Add a check accordingly.
Change-Id: I74c6c15e1e72d4d2ef3ffd698f130b7d0fce6df4
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
Add the proper clock handle to USB dt node for noc_aggr_clk for
SDM660.
Change-Id: Id9ec52123ce2e45b466cc6cd74696f52154efdae
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
On certain PMICs, PMIC peripheral drivers like haptics need to
read MISC peripheral register. Add support for clients to read
it by using qpnp_misc_read_reg().
Change-Id: Id5dfd9e440a8861b56572dab50839d1583535882
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Update the config option to "CONFIG_QCOM_TLB_HANDLER" so el1_sync
will call into EL2 TLB fault handler. Default TLB handler in EL1
is changed into a dummy handler.
Change-Id: Id4008d03002928bd24affeba0ef4250664ea3a48
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
Die temperature samples 10 times to take average to reduce error,
which extends time in reading and causes delay during boot up, where
the data is not really insterested.
To improve it, only take one sample for the first few user temp
readings.
Change-Id: Ifc10de8a624f1d50d303673ff553d4801337481b
Signed-off-by: Harry Yang <harryy@codeaurora.org>
Enable RCU_STALL_WATCHDOG_BITE flag to induce the
watchdog bite for every rcu stall instead of just
printing warning message. This option helps for
postmortem analysis on rcu stalls by collecting
complete ram dumps and cpu context.
Change-Id: I6badcd034bf75a10f211eb506701a68efccb43c3
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>