Regera PLL print registers are required to get the PLL values
from the debugfs, thus add support for the same.
Change-Id: Ib0064c6764c353987e17c1acdab5bb8afbbad73f
Signed-off-by: Taniya Das <tdas@codeaurora.org>
Regera PLL ops are required to control the PLL from HLOS clock driver,
thus add support for the same.
Change-Id: Ie0f5107de6b016ffe8e24f7be70cf4eee7eba55a
Signed-off-by: Taniya Das <tdas@codeaurora.org>
Trion PLL print registers are required to get the PLL values
from the debugfs, thus add support for the same.
Change-Id: I622d8136b8c57388638409aaf8509fb104723a79
Signed-off-by: Taniya Das <tdas@codeaurora.org>
Support Trion PLL ops which are required to be controlled from the HLOS
clock driver.
Change-Id: Ieb11cf72841c45ead2109b88c1ef0c85bdae2117
Signed-off-by: Taniya Das <tdas@codeaurora.org>
Fabia PLL print registers are required to get the PLL values
from the debugfs, thus add support for the same.
Change-Id: I24587bdba0445639ebee86c7efee543d3c37ba42
Signed-off-by: Taniya Das <tdas@codeaurora.org>
Cleanups for Trion PLL and fixes in the Fabia configuration of PLL.
Change-Id: I18f430ebca651c65f210c2ced741303e8751abad
Signed-off-by: Taniya Das <tdas@codeaurora.org>
Huayra PLL print registers are required to get the PLL values from
the debugfs, thus add support for the same.
Change-Id: I439f64646d5995943cf8d0ef94daf3f85cd0ae45
Signed-off-by: Naveen Yadav <naveenky@codeaurora.org>
Zonda PLL print registers are required to get the PLL values from
the debugfs, thus add support for the same.
Change-Id: Ie8df05a84c972f412ee6d612ef5a6dde2ae98f9b
Signed-off-by: Naveen Yadav <naveenky@codeaurora.org>
Lucid/Lucid5LPE PLL print registers are required to get the PLL values
from the debugfs, thus add support for the same.
Change-Id: I3a9eac33c80a98a0e612d9c7f740067aa54bde44
Signed-off-by: Taniya Das <tdas@codeaurora.org>
Clients store their private data in user within event structure
and not in notify structure. Thus update the callback to point
to the correct user info.
Change-Id: I938b135443d66b9451cead35d508bad9a4f685f8
Signed-off-by: Tony Truong <truong@codeaurora.org>
Retain 2019 as the copyright year of memory_dump.h.
Change-Id: I6c9053e64c8ee7a416a2f9af028b288ef577c5d8
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
Fix other headers to work when KERNEL_HEADER_TEST is enabled by adding
dependencies and advance struct prototypes where appropriate.
Change-Id: Ic0dedbad6804e5dca75b33b3d0ae9e3b89a51669
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Enable the fastrpc QGKI config option that the driver can use to
detect that it is being compiled in a QGKI kernel.
Change-Id: I6bd44bfd61e79ebe70689f326d5616b6d856c146
Acked-by: Thyagarajan Venkatanarayanan <venkatan@qti.qualcomm.com>
Signed-off-by: Himateja Reddy <hmreddy@codeaurora.org>
The logic for calculating the request buffer sizes for the
MEM_SHARE and MEM_LEND resource manager calls is not present,
so add it.
Change-Id: I804ee108565733b0e4b376b5fd31abdb3d359c1f
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
Use the locally calculated value of memory attribute entries when
populating the memory attribute descriptor, instead of always
dereferencing the client provided memory attribute descriptor,
as clients may not always provide one.
Change-Id: Ifbe586336e69e439ed404067616cce7515fd7953
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
Add subsystem restart (SSR) support to altmode glink driver so
that when subsystem goes down and comes up again, it can send
PAN_EN to charger firmware to receive notifications about altmode
interface.
Change-Id: Ie011d5110b6c26790fe1dd6149115019f8bc261c
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Add subsystem restart (SSR) support to battery charger driver so
that it can stop read/write properties when subsystem goes down.
Also, send message to enable notification again once subsystem
comes up.
Change-Id: I64f3abfa1d12c4e6a65fd01d7f66155c8741e68a
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Add subsystem restart (SSR) support to UCSI Glink driver so that
it can unregister from UCSI framework when subsystem goes down
and register with UCSI framework when it comes up again. When
subsystem goes down, it is not possible for UCSI stack to send
or receive data to and from PPM (i.e. remote subsystem) over
PMIC Glink. Hence, return immediately in ucsi_qti_{read,write}()
to avoid error logs and handle cleanup easily.
Change-Id: I711920222bd531af27b87337cad7db8aabbaa466
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Add support for PMIC Glink clients to receive notification when
the subsystem goes down and comes up again. PMIC Glink client
can pass a function pointer state_cb via which they would like
to receive when PMIC Glink state transitions so that they can
unregister from the framework (e.g. UCSI) and clean up their
state as needed.
PMIC Glink device supports SSR for the subsystem specified under
"qcom,subsys-name" property.
Change-Id: I0f32f638d72a13e231e6813fb3d782c8fa7a4af0
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
In preparation for subsystem restart (SSR) and protection domain
restart (PDR) where subsystem state transitions would be sent to
PMIC Glink clients via another callback function, change the client
callback function pointer name to msg_cb. This would convey that
this callback is for delivering the messages to a client upon its
registration.
Change-Id: I584d6c5d3898fe54e6928b25502d6382ce6ccbc4
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
The ION trusted VM flag may map to a VMID that was dynamically
assigned, instead of statically allocated. Thus, use the RM driver
APIs to determine the VMID for the trusted VM.
Change-Id: Ide4dd77a4cedbdf7e32f3c834fef9a0dfc6ba9d5
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>