Update scaling ratios for SMB_ICHG and SMB_IIN ADC channels, following
HW recommendation. Update default prescaling values used for SMB_IIN
and ICHG_FB channels to match changes made in the prescaling array.
Change-Id: I2b016e021d3c9e8b76cd5400c6790030da088093
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
Add flags for clock, suspend state and logging of
interrupts debug.
Change-Id: Ifffdd44014e3b3c4826a310e1c4149f692a3696b
Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>
* refs/heads/tmp-1d9c43f:
ANDROID: ABI: Update allowed list for QCOM
ANDROID: build_config: drop CONFIG_KASAN_PANIC_ON_WARN
BACKPORT: bpf: add bpf_ktime_get_boot_ns()
ANDROID: ABI: update allowed list for QCOM
BACKPORT: clk: composite: Export clk_hw_register_composite()
ANDROID: PCI: dwc: Export symbols for ep driver
UPSTREAM: futex: Handle faults correctly for PI futexes
UPSTREAM: futex: Simplify fixup_pi_state_owner()
UPSTREAM: futex: Use pi_state_update_owner() in put_pi_state()
UPSTREAM: rtmutex: Remove unused argument from rt_mutex_proxy_unlock()
UPSTREAM: futex: Provide and use pi_state_update_owner()
UPSTREAM: futex: Replace pointless printk in fixup_owner()
UPSTREAM: futex: Ensure the correct return value from futex_lock_pi()
UPSTREAM: Revert "mm/slub: fix a memory leak in sysfs_slab_add()"
Change-Id: I87be53a117320a1855f7671ca07ed7602bef806b
Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
When USB is disconnected we dont reset the num_trbs field of a
request before giving it back to the respective function. When
this request is re-used it will have an incorrect num_trb value.
For f_qdss HW path we use 1 endless request and allocate 1 TRB to
accommodate this request. This request is freed only during an USB
composition switch. Doing an USB plug-out/plug-in during an active
bam2bam session would result in erroneously incrementing the num_trbs
value when the transfer is resumed. When this request is dequeued
during a qdss_close we would increment dequeue pointer in accordance
with this incorrect num_trbs value. This leads to dequeue pointer
going beyond enqueue pointer and thus the subsequent ep_queue fails
due to this mismatch. Fix this by always setting the num_trb field
to 1 for requests going through qdss HW path.
Change-Id: Ibddad6c8fdd67b42d12752ae3ead73d20110c290
Signed-off-by: Elson Roy Serrao <eserrao@codeaurora.org>
Disable WIN_OV deglitch for SMB1394 to avoid device damage from high
in-rush current in dead short case.
Change-Id: I6f057cf965b489ec000ded57698cd5ef7972cfec
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
Enable config for kernel to panic on soft lockups.
Change-Id: Ibea3093f1c6284f3c99e95ded0fa269dab4d8f0d
Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>
Enable config for kernel to panic on soft lockups.
Change-Id: If48d8244238b56e5cab91dbf25b7c9c775ade1fd
Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>
Add SOC ID to support socinfo for YUPIK LTE platform.
Change-Id: Ib00fcfeb58465c35e3b036cf49112abfe62478b1
Signed-off-by: Naina Mehta <nainmeht@codeaurora.org>
Set CONFIG_BLK_DEV_LOOP_MIN_COUNT=16 that pre-create loop block
devices at init time for vts_kernel_loopconfig_test.
Change-Id: Iad7b8f09c36bc8478dfb1a1f5e9b248e5aca91f2
Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>
set bootloader_memory_limit to end of dram, if the memory limit set
in kernel parameters is more than ram size.
Change-Id: I7d23ca84f08dfb4bf7660253db722a1f6456bf85
Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
This enables subsystem sleep stats driver. This driver provides
a way to read statistical information of different subsystem
from SMEM.
Change-Id: I4effedf3112d8fdb01a67e7d42f9729ebab3513e
Signed-off-by: Tushar Nimkar <tnimkar@codeaurora.org>
Free DMA handle fd maps in case of error while creating
map for other handles.
Change-Id: Iae062bc958a58f38e4424fab88b451813478ae97
Acked-by: Deepika Singh <dsi@qti.qualcomm.com>
Signed-off-by: Vamsi krishna Gattupalli <vgattupa@codeaurora.org>
Adding debug logs to print return type on RPMSG failure and also
print PCIE LTSSM states at DRV suspend and resume.
Change-Id: Id7d4b7ac5dc84646e074acb7d3b313347dc01d7a
Signed-off-by: Vivek Pernamitta <vpernami@codeaurora.org>
Add fence support to user gsl, hsync is for DoorBell commands and
isync is for syncing between processes.
Change-Id: I3093bfe6d49d0b64f2d20a8208a3b2934c9c7b3a
Signed-off-by: Kasin Li <donglil@codeaurora.org>
Apply existing workaround of forcing HFRC clocks off before WLED module
disable for PM8150L alone, as the issue is fixed in HW from PM7325B.
Change-Id: I8a7bc231f1711ce964c96ec28088546981e81fae
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
Remove regulator_lock() and regulator_is_enabled() calls in GDSC driver
as they are resulting in deadlock cases when lockdep is enabled. But it
is critical to check if parent is enabled or not before performing any
GDSC operation, as GDSC register access requires parent to be enabled.
Use the parent's use_count to check if parent is enabled or not. For
gdsc_disable(), in most cases, parent's mutex is locked by regulator
framework before calling the gdsc_disable() callback, hence it is safe
to read use_count. But in code paths where parent lock is not acquired
by regulator framework, acquire parent's mutex before reading use_count
to avoid parent getting disabled while in the middle of GDSC operations.
For gdsc_set_mode(), parent locking is needed to avoid parent getting
disabled in the middle of set mode operation. But it does not need the
per-process reentrancy provided by regulator_lock() and regulator_unlock().
Therefore replace the calls with ww_mutex_lock() and ww_mutex_unlock().
Change-Id: Ic20f9a7478b47c9fde2e686b68d636342a4b1d48
Signed-off-by: Jagadeesh Kona <jkona@codeaurora.org>
Remove unwanted configs related to host mode and also configs that
are not applicable for MONACO.
Add required configs related to accessory and audiosource drivers to
be enabled for MONACO.
Change-Id: Icec46ae3ed80dc2d6842b308d0be38c5a8c14abd
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
This snapshot is taken as of msm-4.14
commit b9f2c2a80f8b
("spmi: pmic_arb: add interrupt support to virtio spmi").
Change-Id: I79eaa03591dbd3c32db2175045f6033b38a9c8ea
Signed-off-by: Ping Jiang <scottjiang@codeaurora.org>