SMB1390 stat interrupt needs to be configured properly so that
the active low interrupt can happen only when the device pulls it
low. Fix it.
While at it, keep the parent device (smb1390) of smb1390_charger
disabled in smb1390.dtsi so that it can be enabled only where the
smb1390_charger device is enabled.
Change-Id: I5d0c60ca7843d6f6f6328f4fd036d07ab5df6093
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Update file names and file contents to match the new official
PMIC names for the following PMICs:
- PM855 -> PM8150
- PM855B -> PM8150B
- PM855L -> PM8150L
- PM855P -> PM8150C
Change-Id: I167d8b20d40b1dce20c42dbe350c5e74b3ebce16
Signed-off-by: David Collins <collinsd@codeaurora.org>
In device tree, names should use '-' instead of '_' to separate words.
So change compatible name of dcc_v2 driver to dcc-v2.
CRs-Fixed: 2215749
Change-Id: I73a7a27da5ed582e710432f404843870961ef568
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
Enable all device drivers that are required for
configuring PMIC peripherals for QCS405.
Also enable device drivers required for VDD_APC
voltage scaling on QCS405.
Change-Id: Iec0ca233796d029e8396d37602ef4d1b99fae049
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
The driver is derived from prior ADC_TM version. Therefore
carry over the copyright years.
Change-Id: I4b9ddebe0d5ca4b4718e741cd5140fc36f08b07b
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
Because firmware caching generates uevent messages that are sent over a
netlink socket, it can prevent suspend on many platforms. It's also not
always useful, so make it a configurable option.
bug 32180327
Change-Id: I1250512b27edb56caa78d536e5ccf1fb669476ad
Signed-off-by: Tim Murray <timmurray@google.com>
Git-repo: https://source.codeaurora.org/quic/la/kernel/msm-4.4
Git-commit: e3198d51be98ec5606e2a2c5112a8a974d354fbc
Signed-off-by: Chintan Pandya <cpandya@codeaurora.org>
[isaacm@codeaurora.org: Resolved trivial merge conflicts]
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
When the request_irq functions and any of its variants
are invoked, it is possible to receive an IRQ from the
moment the IRQ line becomes active. This should only be
done when all other initialization routines have been
performed, to ensure proper behavior. Make IRQ registration
the last step in the subsystem registration process,
and initialize completion variables used in PIL IRQ handlers
to ensure that the completion variables used in these IRQ
handlers are not used prior to initialization.
Change-Id: I45286284d3c6d88c6b58dd4e2c2092f373b49fa1
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
There is no mandate in hardware that the SW_COLLAPSE bit of the
GDSC be cleared while disabling its hardware control. Remove the
polling logic to check whether the GDSC is enabled via the SW
vote on clearing the HW_CONTROL bit.
Change-Id: Ib08b627a3502d1096ae7d05ef077a50b95fc80d2
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
The gcc_npu_axi_clk_src RCG is under RPMh control and HLOS has
no way to vote on it. Hence remove it as the listed parent for
the gcc_npu_axi_clk clock.
Change-Id: Idd3b430375916cad9d0e474322b3ebf183ebfc1d
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
Currently "wMaxPacketSize" is not set in full speed descriptor
for MBIM and ECM functions. This results in chapter 9 test failures
on MBIM and ECM compositions. Hence updated Maxpacketsize in full speed
descriptor.
Change-Id: I0e73720919fdfa785c0bd456531a0d68516af36d
Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
Add MDSS version info along with other capabilities
for qcs405.
Change-Id: I8c9f73df8cddc787f716147356e698a62d1d3aa0
Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
The is_scm_armv8() API is deprecated in msm-4.14.
Do not invoke is_scm_armv8() from mem-acc-regulator
driver.
Change-Id: I4b7912708332586f399cccfa1decf26ae39c5b14
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
This is snapshot of the cpr-regulator driver as of msm-4.9
'commit 5724f78c3633f ("thermal: tsens: Update order of members
in TSENS device structure")'
Fix compilation error on msm-4.14 by removing deprecated
is_scm_armv8() calls.
Also remove per-cpu adjustments as they are not being
used.
Change-Id: I41a5b4c2ea60faa0f84dc8e1ba30e6ccbb9c12c2
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
Currently, STM related control packet will not be
sent to any peripheral if mask for sensors/wdsp/cdsp
will be enabled along with other peripherals mask.
Also currently not forwarding control packet to
cdsp. The patch takes care to forward the control
packet to desired peripherals and removes diag over
stm support for wdsp since support on peripheral
is absent.
Change-Id: I4e85fd0a21a43a5a3c5089d3c8bad7c23fe1229b
Signed-off-by: Sreelakshmi Gownipalli <sgownipa@codeaurora.org>
Signed-off-by: Mohit Aggarwal <maggarwa@codeaurora.org>
If rw-page based fast storage is used for swap devices, we need to
detect it to enhance swap IO operations. This patch is preparation for
optimizing of swap-in operation with next patch.
Change-Id: I25b0b93441fc602b9a697e5ee231eb7b5dd3dbfe
Link: http://lkml.kernel.org/r/1505886205-9671-4-git-send-email-minchan@kernel.org
Signed-off-by: Minchan Kim <minchan@kernel.org>
Cc: Hugh Dickins <hughd@google.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Ilya Dryomov <idryomov@gmail.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Cc: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: Huang Ying <ying.huang@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Git-commit: 539a6fea7fdcade532bd3e77be2862a683f8f0c9
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
Last member of TSENS device structure should be pointer to
sensor array of variable size. Move the mtcsys member
above to avoid corrupting the array of sensor structs.
Change-Id: I41b814af4a28e9de2c09b92623b010b835e56c1d
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>