720436 Commits

Author SHA1 Message Date
Subbaraman Narayanamurthy
18ebfe223e ARM: dts: msm: Fix smb1390 stat interrupt configuration on sm8150 platforms
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>
2018-05-22 14:53:08 -07:00
David Collins
620a1231a1 ARM: dts: msm: rename PMICs pm855* to be pm8150*
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>
2018-05-22 14:28:20 -07:00
qctecmdr Service
390df4f5d5 Merge "soc: qcom: pil: Delay IRQ registration in subsys registration" 2018-05-22 06:36:42 -07:00
qctecmdr Service
72eed1ad35 Merge "soc: qcom: Change compatible name of dcc_v2 to dcc-v2" 2018-05-22 06:36:42 -07:00
qctecmdr Service
823d8afbe9 Merge "configs: qcs405: enable PMIC drivers for QCS405" 2018-05-22 06:36:41 -07:00
qctecmdr Service
2304116b87 Merge "msm: mdss: Add mdss capabilities for qcs405" 2018-05-22 06:36:41 -07:00
qctecmdr Service
dfeeaa9487 Merge "SEEMP: minor fixes" 2018-05-22 06:36:40 -07:00
qctecmdr Service
002261f10f Merge "uapi/media: Change stride alignment value for P010" 2018-05-22 06:36:40 -07:00
qctecmdr Service
563264a01d Merge "regulator: cpr: add snapshot of cpr-regulator driver" 2018-05-22 03:49:31 -07:00
qctecmdr Service
59c51cbca5 Merge "coresight: tmc: Fix mem size can't change issue" 2018-05-22 03:49:30 -07:00
qctecmdr Service
1ff203ad4f Merge "ARM: dts: msm: Add the debug clock node for QCS405" 2018-05-22 03:49:30 -07:00
qctecmdr Service
6ffadf8a40 Merge "diag: Fix issues in STM configuration path" 2018-05-22 03:49:30 -07:00
qctecmdr Service
9e69bf608f Merge "msm_11ad: update affinity to start from the first golden core" 2018-05-22 03:49:29 -07:00
qctecmdr Service
a29405e3c8 Merge "firmware_class: make firmware caching configurable" 2018-05-22 03:49:28 -07:00
Mao Jinlong
a96fa6d6b8 soc: qcom: Change compatible name of dcc_v2 to dcc-v2
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>
2018-05-22 01:56:24 -07:00
qctecmdr Service
8d04ebf467 Merge "thermal: adc-tm: Update copyright year" 2018-05-21 22:52:39 -07:00
qctecmdr Service
4fddc208b5 Merge "clk: qcom: gcc-sm8150: Remove the parent field for gcc_npu_axi_clk" 2018-05-21 22:52:39 -07:00
qctecmdr Service
715e506816 Merge "qseecom: fix dma_free_coherent issue" 2018-05-21 22:52:38 -07:00
qctecmdr Service
e2d34a2851 Merge "msm: kgsl: Rename CX_DBGC_CFG register block" 2018-05-21 22:52:38 -07:00
qctecmdr Service
0f42415935 Merge "ARM: dts: msm: Add device tree files for sm6150 IDP platform" 2018-05-21 22:52:37 -07:00
qctecmdr Service
c4ae7553dd Merge "clk: qcom: gdsc-regulator: Remove polling logic when disabling GDSC HW CTL" 2018-05-21 22:52:37 -07:00
Tirupathi Reddy
e326015441 configs: qcs405: enable PMIC drivers for QCS405
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>
2018-05-22 10:25:45 +05:30
qctecmdr Service
66cb46257a Merge "mm, swap: introduce SWP_SYNCHRONOUS_IO" 2018-05-21 20:02:33 -07:00
qctecmdr Service
c9f0f6a6b5 Merge "usb: gadget: f_gsi: Add MaxPacketSize in fs_descriptor" 2018-05-21 20:02:32 -07:00
qctecmdr Service
3545632558 Merge "msm: ipa4: IPA PM Unit tests init fix" 2018-05-21 20:02:32 -07:00
qctecmdr Service
6f2b9ac532 Merge "iommu : arm-smmu : Fetch right SID in qsmmuv500_iova_to_phys_hard" 2018-05-21 20:02:31 -07:00
qctecmdr Service
eebc79f9ee Merge "ARM: dts: msm: Update SIDs for iommu test devices for sdmshrike" 2018-05-21 20:02:31 -07:00
Siddartha Mohanadoss
2ac05052ca thermal: adc-tm: Update copyright year
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>
2018-05-21 14:53:17 -07:00
qctecmdr Service
01e90b62dc Merge "ARM: dts: msm: Update sm8150 to V6 memory map" 2018-05-21 14:22:31 -07:00
Tim Murray
c36bdd11e0 firmware_class: make firmware caching configurable
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>
2018-05-21 13:14:15 -07:00
Isaac J. Manjarres
074c4896a4 soc: qcom: pil: Delay IRQ registration in subsys registration
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>
2018-05-21 12:33:48 -07:00
Deepak Katragadda
94add4547f clk: qcom: gdsc-regulator: Remove polling logic when disabling GDSC HW CTL
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>
2018-05-21 10:46:53 -07:00
Deepak Katragadda
4561c54ba1 clk: qcom: gcc-sm8150: Remove the parent field for gcc_npu_axi_clk
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>
2018-05-21 10:10:16 -07:00
Chandana Kishori Chiluveru
b0135bb84e usb: gadget: f_gsi: Add MaxPacketSize in fs_descriptor
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>
2018-05-21 10:08:32 -07:00
Jayant Shekhar
4c45117253 msm: mdss: Add mdss capabilities for qcs405
Add MDSS version info along with other capabilities
for qcs405.

Change-Id: I8c9f73df8cddc787f716147356e698a62d1d3aa0
Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
2018-05-21 17:33:00 +05:30
Tirupathi Reddy
c48b297a40 regulator: mem-acc: fix compilation for QCS405
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>
2018-05-21 04:16:07 -07:00
Tirupathi Reddy
8ac80945a8 regulator: cpr: add snapshot of cpr-regulator driver
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>
2018-05-21 04:12:35 -07:00
Preeti Nagar
2e1fdfa565 SEEMP: minor fixes
- Adding appropriate indentation
- Moving declaration to correct scope.

Change-Id: Id7c12edaae00f25195892811ee41ff0171b8cc59
Signed-off-by: Preeti Nagar <pnagar@codeaurora.org>
2018-05-21 15:51:34 +05:30
Mohit Aggarwal
57fa354fb5 diag: Fix issues in STM configuration path
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>
2018-05-21 14:03:12 +05:30
Minchan Kim
ef97cef29a mm, swap: introduce SWP_SYNCHRONOUS_IO
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>
2018-05-20 22:06:29 -07:00
qctecmdr Service
e15f923a7a Merge "dma-buf: Display buffer name in debugfs" 2018-05-20 22:05:06 -07:00
qctecmdr Service
c55761bf4a Merge "msm: pcie: support PCIe loopback for SM8150" 2018-05-20 22:05:06 -07:00
qctecmdr Service
95c288e5c4 Merge "coresight: Fix the mem_type and mem_size of ETR" 2018-05-20 22:05:05 -07:00
qctecmdr Service
25e85d4ad0 Merge "coresight:byte-cntr: fix the byte-counter of ETR" 2018-05-20 22:05:05 -07:00
qctecmdr Service
89c2aecbab Merge "coresight-byte-cntr: Fix the Byte-Counter read operation" 2018-05-20 22:05:04 -07:00
qctecmdr Service
b5f80c8c54 Merge "thermal: tsens: Update order of members in TSENS device structure" 2018-05-19 00:55:45 -07:00
Jishnu Prakash
5724f78c36 thermal: tsens: Update order of members in TSENS device structure
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>
2018-05-18 23:02:25 -07:00
qctecmdr Service
da66836de6 Merge "printk: Make the console flush configurable in hotplug path" 2018-05-18 22:04:04 -07:00
qctecmdr Service
5aaad7694b Merge "ARM: dts: msm: Add RPM stats support for qcs405" 2018-05-18 22:04:04 -07:00
qctecmdr Service
e45c307ba6 Merge "iommu/arm-smmu: msm map/unmap calls for slave side secure targets" 2018-05-18 22:04:04 -07:00