Add an error log in pmic_glink_write when rpmsg_trysend fails to
send the message for a client. It will be useful for debugging.
Change-Id: I4d3e72fdf64f1df6caad10840e21517c393530b7
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Add SMB_TEMP, IIN_SMB and ICHG_SMB channels for both SMB139x
charge pumps that can be paired with PM8350B.
Change-Id: Ie67f308d59439a8cb2bced6e80693b101261f3cc
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Add PM8350B_ADC7_ICHG_FB channel to read charging current for
PM8350B. Also, update qcom,spmi-vadc.h to add ADC7_ICHG_FB and
other relevant channels that are needed for reading input and
charging current for SMB139x charger pumps along with scale
function indices.
Change-Id: I4a1b53f328e1b394063cbf951f6ff978eb96d21e
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
When mem_buf_alloc() encounters an error after mapping the memory
in the stage-2 page tables of the VM, the SGL descriptor is not
freed in the error handling path, so free it.
Change-Id: I6e6fa296311575bb55cd0b9da7a138970e8b8e74
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
It's useful for other virtual machines (VMs) to know if another
VM has successfully received a resource that was shared with it
(e.g. state tracking can be controlled better with this sort of
information). Add support for the MEM_ACCEPTED notification, which
clients can use to notify the VM that owns the resource that was
shared with it that it has accepted the resource and is using it.
Also, add support in the mem-notifier driver to forward the
MEM_ACCEPTED notification to clients.
Change-Id: I05b9f1d37906d7c2aa729b97df2f8ceb78b560bd
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
At higher SOC Vbatt is close to Vbus which can cause
(Vin/2 - Vout) to cross the 10mV threshold and thus result
in win-uv IRQ to fire. To prevent this CPs should not be
enabled below a certain FCC. Do this by not allowing
"min-ilim" value lower than 1A.
Eg: Master/Slave CP gets disable at following FCC if
main_fcc is 200mA:
slave disables = total_fcc < (3000mA + 200mA)
master disables = total_fcc < (2000mA + 200mA).
Change-Id: Ie67e9ae60b5e3526413a1a4bb256181b0226a1b1
Signed-off-by: Ashish Chavan <ashichav@codeaurora.org>
Remove the unused v4l2-core code and remove the
related unused code in rtc6226 driver.
CRs-Fixed: 2774873
Change-Id: Ib1b7fd89f735ba67ec2a38e236a2cecaf5540a53
Signed-off-by: himta ram <hram@codeaurora.org>
Since f_qdss is compiled as a module, it is dependent on
msm_data_fifo_config() being exported to avoid an undefined reference
compilation error.
Change-Id: I41155fe7af14c8e4003841f54ef878d3535d33d7
Signed-off-by: Wesley Cheng <wcheng@codeaurora.org>
Some symbols utilized by f_qdss are not exported, which leads to symbol
undefined errors when compiling usb_bam as a module. Export the symbols
remaining symbols used by f_qdss.
Change-Id: I3f01cee19bbbc990487df4437e15c3c5aa2a98e5
Signed-off-by: Wesley Cheng <wcheng@codeaurora.org>
The conditional check in qdss_enable_debug_inface_store() ensures that the
user input is either a 1 or 0. However, the comparison check used has
overlapping conditions, leading to a compile warning/error. Change the
operators to check explicitly for 1 or 0 to avoid this.
Change-Id: I582cd0ab56815b434818744f597f867fbf3abce2
Signed-off-by: Wesley Cheng <wcheng@codeaurora.org>
Many a times RPM/AOP dependencies are not available. This limits the abiity
to verify mem-offline features. Allow an module param to dynamically
enable/disable sending rpm/aop messages for mem offline/online requests.
Add mem_offline.bypass_send_msg=1 to kernel bootargs to enable bypass.
Change-Id: I1489bb0454164015e749459866982a608c211f63
Signed-off-by: Prakash Gupta <guptap@codeaurora.org>