Commit graph android_kernel_sony_sdm845/include/soc/qcom
Message SHA1
Merge "soc: qcom: socinfo: Add support for SDA439/SDA429 soc-id"
Linux Build Service Account   authored and   Gerrit - the friendly Code Review server   commited 2018-04-14 20:49:16 -07:00
c2d4b82543
soc: qcom: socinfo: Add support for SDA439/SDA429 soc-id
Add socinfo support for SDA439 and SDA429 SoC and update
the bindings for the same.

Change-Id: I03f2ebd1a8b4e745d8dfe62a65320db1500296a6
Signed-off-by: Tingwei Zhang <tingwei@codeaurora.org>

Tingwei Zhang   commited 2018-04-12 13:14:36 +08:00
89b9927cb5
Merge "defconfig: msm: Enable SYSMON on msm8953"
Linux Build Service Account   authored and   Gerrit - the friendly Code Review server   commited 2018-04-11 19:33:03 -07:00
a98239792b
soc: qcom: add support for sysmon drivers
Add support for sysmon drivers on msm-4.9 Kernel.
This driver is needed for msm8953 to communicate
with other subsystem.

Change-Id: I3048b84c28e859369193867fa80dc0159cd7c22c
Signed-off-by: Tingwei Zhang <tingwei@codeaurora.org>

Tingwei Zhang   commited 2018-04-09 09:41:54 +08:00
4fff60ad7d
Merge "soc: qcom: memory_dump: Support ETB/ETR register dump"
Linux Build Service Account   authored and   Gerrit - the friendly Code Review server   commited 2018-03-30 15:09:18 -07:00
27cb80aec0
Merge "soc: qcom: scm: Add a noretry variant for scm_call2"
Linux Build Service Account   authored and   Gerrit - the friendly Code Review server   commited 2018-03-30 15:08:40 -07:00
c395302cd3
soc: qcom: scm: Add a noretry variant for scm_call2
scm_call2 can block scm calls up to 2s due to its
retry mechanism whenever the secure firmware is
busy waiting for certain processing by the client
who in turn is waiting upon its scm call to either
complete or return with failure.

Upon early return, client can process the pending
requests to free up secure firmware and unblock
processing of all pending scm calls. Add a noretry
variant for scm_call2 which can be used by clients
who do not intend to wait for 2s for return status.

Change-Id: I1f0849464a64c32a4de4510fa5787b0ab328725c
Signed-off-by: Kaushal Kumar <kaushalk@codeaurora.org>

Kaushal Kumar   commited 2018-03-28 15:43:59 +05:30
8fca99cfd6
ARM: dts: mdm: Add initial device node support for MDM9607
Add snapshot of initial set of device tree files, pinctrl
driver and config options required to build MDM9607 from
msm-3.18 'commit fc7eae29037d ("Merge soc: qcom:
bgspi: soft reset Blackghost on failure to resume")'.

Change-Id: Icbeb61b062c9b2b2fbbe4c2fb9fd0edad0efcac0
Signed-off-by: Abinaya P <abinayap@codeaurora.org>

Abinaya P   authored and   Gerrit - the friendly Code Review server   commited 2018-03-25 22:28:30 -07:00
a28c903dfa
Merge "ARM: dts: mdm: Add initial device node support for MDM9650"
Linux Build Service Account   authored and   Gerrit - the friendly Code Review server   commited 2018-03-23 05:51:12 -07:00
00644d3ab2
Merge "ion: msm: Add support for VMID_CP_CDSP"
Linux Build Service Account   authored and   Gerrit - the friendly Code Review server   commited 2018-03-23 05:51:10 -07:00
937bf2eb6e
ion: msm: Add support for VMID_CP_CDSP
Add necessary flags for userspace to request this type of memory.

Change-Id: Ic603cb6cf186f3dec483b5a769ed4c405667d9e4
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>

Patrick Daly   commited 2018-03-21 14:30:42 -07:00
f92b061e25
ARM: dts: mdm: Add initial device node support for MDM9650
Add snapshot of initial set of device tree files, pinctrl
driver and config options required to build MDM9650 from
msm-3.18 'commit fc7eae29037d ("Merge soc: qcom:
bgspi: soft reset Blackghost on failure to resume")'.

Change-Id: I58d6e4d345730c6b5b0b5de02b9b1786c5aa2c28
Signed-off-by: Abinaya P <abinayap@codeaurora.org>

Abinaya P   commited 2018-03-21 16:19:44 +05:30
b444e832bc
soc: qcom: socinfo: add support for sdm710
Add support for getting soc-id and dummy handle
on sdm710.

Change-Id: Id77f7db25aac1aaf1cfc0b7a8e826e4dd69cd064
Signed-off-by: Kaushal Kumar <kaushalk@codeaurora.org>

Kaushal Kumar   commited 2018-03-16 15:12:48 +05:30
bf346d5f53
iommu/arm-smmu: msm map/unmap calls for slave side secure targets
On slave side access control based targets, TZ is responsible to
prepare and program page table mapping for secure context banks.
Implement separate map/unmap calls accordingly.

Change-Id: Icb366067b39ce6eaae204c42a067d2a1fc4b8cf0
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>

Charan Teja Reddy   authored and   Gerrit - the friendly Code Review server   commited 2018-03-14 07:02:47 -07:00
313991e71f
soc: qcom: memory_dump: Support ETB/ETR register dump
Add support to dump ETB/ETR register when enabling
ETB/ETR.

Change-Id: Ia4d4d49fe313adb4d1fe15413495909bc5f226fc
Signed-off-by: Tingwei Zhang <tingwei@codeaurora.org>

Tingwei Zhang   commited 2018-03-08 19:17:43 +08:00
525f1035fd
clk: msm: Add support to configure calibration L value
For some PLLs, there could be need to configure the calibration
L value for auto calibration which PLL would use whenever it will
come out of reset. Add support for the same by writing into
USER_CTL_HI register.

Change-Id: I864d5086f4e77b38827c0286caa3f64b9a37a7a7
Signed-off-by: Amit Nischal <anischal@codeaurora.org>

Amit Nischal   commited 2018-02-22 11:30:00 +05:30
05bd8759e3
Merge "drivers: irqchip: qcom: Add MSM8953 pin data for MPM"
Linux Build Service Account   authored and   Gerrit - the friendly Code Review server   commited 2018-02-21 08:23:17 -08:00
8e5ca73ffa
Merge "msm: camera: Port msm-4.4 camera kernel on msm-4.9 kernel"
Linux Build Service Account   authored and   Gerrit - the friendly Code Review server   commited 2018-02-20 14:23:56 -08:00
892b3aa78e
msm: camera: Port msm-4.4 camera kernel on msm-4.9 kernel
This snapshot is taken from msm-4.4 branch as of:

'commit ee294a60356a ("msm: jpegdma: Fix for ASAN issues in jpegdma module")'

Change-Id: I3aba3098a986a5dec84b4bb4144dda19d1db5790
Signed-off-by: Pratap Nirujogi <pratapn@codeaurora.org>
Signed-off-by: Trishansh Bhardwaj <tbhardwa@codeaurora.org>

Pratap Nirujogi   commited 2018-02-20 15:56:39 +05:30
6e759914be
cpuidle: lpm-levels: Add system_pm ops for system level LPMs
Add system_pm ops that are used by LPM driver to configure sleep
and wake votes as well as next wake up time. LPM driver uses them
during system level LPMs.

Change-Id: I72b89aeb3408b89a73d1f0c821649f4f998ab85c
Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>

Raju P.L.S.S.S.N   authored and   Raghavendra Kakarla   commited 2018-02-19 16:29:49 +05:30
99d241ea3d
usb: gadget: Add snapshot of USB BAM DMUX driver
This change adds USB BAM DMUX driver which is required by RmNET
and DPL functions to work in SW mode.

This snapshot is taken as of msm-3.18 'commit 4a06b0168aeb ("ANDROID:
sdcardfs: Make WARN_RATELIMIT to pr_debug")'.

This change also fixes the coding style errors.

Change-Id: Ie565a3354765a1d042182cfcd9f9812225a0d2f7
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>

Ajay Agarwal   commited 2018-02-15 22:59:33 +05:30
ff0b560347
soc: qcom: socinfo: add support for sdm429 and sdm439
Add support for getting soc-id and dummy handle on sdm429
and sdm439.

Change-Id: I93b9578bed5b0d9b18d7496fcda69c1cdc4c949b
Signed-off-by: Jingbiao Lu <jingbiao@codeaurora.org>

Jingbiao Lu   commited 2018-02-09 14:16:59 +08:00
6c7a3bd4ae
soc: qcom: socinfo: Add support for msm8937 soc-id
Add support for getting soc-id and dummy handle on msm8937.

Change-Id: I7a592b4cefbbe6054bd62469bbeb6bf58e59156f
Signed-off-by: Jingbiao Lu <jingbiao@codeaurora.org>

Jingbiao Lu   commited 2018-02-02 10:38:27 +08:00
21074344ca
Merge "icnss: Remove sending uevent after FW ready"
Linux Build Service Account   authored and   Gerrit - the friendly Code Review server   commited 2018-01-26 18:15:19 -08:00
4a6775bbce
iommu/arm-smmu: Do not write to slave side protected context banks
For msm targets that have slave side access control, iommu
driver is not allowed to write to secure context bank
register space. Extend arm_smmu_skip_write logic to
consider such protected context bank address space as well
for skipping.

Change-Id: Ia64ab5a1c7f8b4ced82f25ab0d2988ac8d08aec3
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>

Shiraz Hashim   authored and   Charan Teja Reddy   commited 2018-01-22 11:09:19 +05:30
a28a479125
Merge "ARM: dts: msm: enable apss smmu device node on msm8953"
Linux Build Service Account   authored and   Gerrit - the friendly Code Review server   commited 2018-01-11 07:29:40 -08:00
e2077a5dec
Merge "coresight-tpdm: Add support to dump MCMB MSR"
Linux Build Service Account   authored and   Gerrit - the friendly Code Review server   commited 2018-01-09 16:09:17 -08:00
ab5d4673f7
icnss: Remove sending uevent after FW ready
FW ready indication doesn't mean it is safe to access HW register.
FW ready only means that WLAN FW is initialized. The HW register
is safe to access only after FW ack the wlan enable mode request.
Hence removing uevent in FW ready indication handler. WLAN driver
will responsible for setting FW ready state once wlan enable mode
request is return success.

CRs-Fixed: 2168628
Change-Id: I769d848efb9dd427da0d71494090fcbf9514cfb2
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>

Yuanyuan Liu   commited 2018-01-08 11:45:55 -08:00
8340870c88
Merge "drivers: qcom: system_pm: read CVAL to program PDC wake up"
Linux Build Service Account   authored and   Gerrit - the friendly Code Review server   commited 2018-01-08 10:04:25 -08:00
6481869fe3
Merge "soc: qcom: socinfo: Add support for SDM632 soc-id"
Linux Build Service Account   authored and   Gerrit - the friendly Code Review server   commited 2018-01-08 10:04:15 -08:00
926e92fe8d
iommu/arm-smmu: override writel_relaxed
Skip writes to global space of SMMU on targets with slave
side protection where this space was preprogrammed by TZ
that need to be kept intact.

Change-Id: I03f8ba708144ad9846ec8d6b8a89bd53773bdded
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>

Charan Teja Reddy   commited 2018-01-05 15:01:13 +05:30
6f5cbe7d28
drivers: qcom: system_pm: read CVAL to program PDC wake up
The PDC wakeup value must be equal or earlier than the QTimer value that
is set to wake up the system. This is to ensure that the PDC system is
awake before the timer. Read the CVAL from the timer and program the PDC
wakeup value.

Ensure the PDC value is updated after calling tick_broadcast_enter().

Change-Id: I291fd2dd80bed4de19119c548d985ace2ad0c070
Signed-off-by: Lina Iyer <ilina@codeaurora.org>

Lina Iyer   commited 2018-01-04 23:39:16 +00:00
a22430086b
coresight-tpdm: Add support to dump MCMB MSR
Add support to dump MSR for MCMB TPDM. This is needed
for postprocessing of dump data obtained from MCMB source.

Change-Id: Iddcd6dba98463ddf5e1df66378ba2645ee53c644
Signed-off-by: Satyajit Desai <sadesai@codeaurora.org>
Signed-off-by: Saranya Chidura <schidura@codeaurora.org>

Satyajit Desai   authored and   Saranya Chidura   commited 2018-01-04 16:33:38 +05:30
267d85738a
ion: add support for secure dma allocations
Some targets need slave side secure buffers allocation using ION.
Add the support for the same.

Change-Id: I21489ea71fd7d2844c3bea1f4b701b3eb33cb355
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>

Charan Teja Reddy   authored and   Gerrit - the friendly Code Review server   commited 2017-12-27 21:47:59 -08:00
55c1de1e43
soc: qcom: socinfo: Add support for SDM632 soc-id
Add socinfo support to get soc_id and other details
about sdm632.

Change-Id: I85697d0b17d6aa27392d6f645e8e2e22a25793d0
Signed-off-by: Maria Yu <aiquny@codeaurora.org>

Maria Yu   commited 2017-12-26 13:53:15 +08:00
06dc21e722
iommu/arm-smmu: Add support for slave side protection
For targets where we have no hypervisor, slave side protection mechanism
is used to provide buffer protection. Add functionality to make calls
into TZ for mapping/unmapping of buffers.

Change-Id: I845983a25b56ce1b34c90f91ac4a2cf6c4451813
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>

Charan Teja Reddy   commited 2017-12-26 11:18:34 +05:30
35144b0b8c
icnss: Do not send uevent when driver is unloading
If modem crashed during wlan driver unloading, icnss driver
will call driver uevent callback to send FW down uevent when
it receives BEFORE_SHUTDOWN notification. If wlan driver is
de-initialized just before the callback is called, kernel will
panic as driver's context is freed. This can be avoid by not
sending uevent when wlan host driver is unloading. Instead,
icnss driver will provide an API to host driver to check if
WLAN FW is down or not.

CRs-Fixed: 2161425
Change-Id: I569fd85366522606ececeda74df85c51b9b2fc28
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>

Yuanyuan Liu   commited 2017-12-19 12:27:11 -08:00
5718dfc67c
clk: msm: Add snapshot of clock framework files
This is snapshot of the clock framework files as of msm-3.18
'commit c0b3f609196f ("ARM: dts: msm: Remove GPU mempool
for msm8909")'.

Below is the brief description of the additional changes made:
1. Add COMMON_CLK_MSM config flag for conditional compilation for
   some common files used between COMMON_CLK_MSM and COMMON_CLK_QCOM
   clock framework files.
2. Add reset controller framework files for BCR operation.
3. Add conditional compilation support for FTRACE clock functions
   to maintain compatibility for clock framework based on
   COMMON_CLK_MSM and COMMON_CLK_QCOM.
4. Add files for GDSC operation.

Change-Id: Ia5688600ca8e548beb15745d3ce938fdf41f82de
Signed-off-by: Shefali Jain <shefjain@codeaurora.org>

Shefali Jain   commited 2017-12-16 12:33:02 +05:30
0dc6e78a3f
Merge "drivers: soc: Add static attribute for function in header file"
Linux Build Service Account   authored and   Gerrit - the friendly Code Review server   commited 2017-12-04 17:04:04 -08:00
c1d8b3e6a7
Merge "icnss: Add dev to all export APIs in ICNSS"
Linux Build Service Account   authored and   Gerrit - the friendly Code Review server   commited 2017-11-30 14:10:39 -08:00
e4060dfbe2
icnss: Add dev to all export APIs in ICNSS
Add device pointer in all export symbol to
add support for numerous WLAN module.

CRs-Fixed: 2138446
Change-Id: I981155c165e4e5c2794b778afe647f8a588dd860
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>

Sarada Prasanna Garnayak   authored and   Gerrit - the friendly Code Review server   commited 2017-11-30 02:45:59 -08:00
09e3207b9a
drivers: soc: Add static attribute for function in header file
Add static attribute for function in header file to
avoid compile error.

Change-Id: I784a6339e067bbeb3f8ab5d616ffdd72f7ef685f
Signed-off-by: Maria Yu <aiquny@codeaurora.org>

Maria Yu   commited 2017-11-30 18:05:40 +08:00
4531f203b3
soc: qcom: Add RPM SMD Driver
This is a snapshot of the RPM-SMD driver functionality as of
'commit 9c23726ad4df ("leds: qpnp-flash: Fix 11
Use-after-free(UAF) for debugfs")' on msm-4.4 branch.

Change-Id: I502300cf26b67679a9344a89b2feaa0dbcc5fb59
Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>

Raju P.L.S.S.S.N   authored and   Raghavendra Kakarla   commited 2017-11-30 15:29:02 +05:30
43c1be7e52
soc: qcom: msm_smd: Add snapshot of Shared memory driver
This is a snapshot of the SMD driver as of msm-4.4 commit
<bb3bb010ec74> (Merge "ASoC: wcd9xxx: restrict debugfs permission")

Shared memory data[SMD] drivers provides data communication to
remote peripherals such as Modem and ADSP over shared memory.

CRs-Fixed: 2144497
Change-Id: I50ded677a10dae3910b8369e6c17f175dda3edf5
Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>

Arun Kumar Neelakantam   commited 2017-11-29 10:52:52 +05:30
d680a245f1
Merge "ARM: dts: msm: use short name for memdump nodes on SDM670"
Linux Build Service Account   authored and   Gerrit - the friendly Code Review server   commited 2017-11-28 06:04:05 -08:00
de467c0500
soc: qcom: Use ToC design for Minidump support
The Minidump design is re architected to decentralize,
more secure, and to be more scalable.
New design uses table of content for each subsystem to
decentralize, and encryption status to secure regions.
Each subsystem have fixed index in global toc, and
its regions table can be located in its own memory.

Change-Id: I104596e51cf976000b97b2519ce7dcd43e72abb4
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>

Lingutla Chandrasekhar   commited 2017-11-27 14:22:10 +05:30
5d4442b465
drivers: qcom: cmd-db: Export cmd_db_get_aux related APIs
cmd_db_get_aux_data() and cmd_db_get_aux_data_len()
APIs used by the QCOM_KGSL driver. These APIs needs to
be exported to fix compilation errors seen in QCOM_KGSL
loadable module.

Change-Id: I8a6d7b4ed629f7b536adb92be48a71946daff46b
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>

Hareesh Gundu   commited 2017-11-22 12:33:11 +05:30
7020089e74
Merge "soc: qcom: Add API to obtain pointer to dump addr"
Linux Build Service Account   authored and   Gerrit - the friendly Code Review server   commited 2017-11-16 11:20:30 -08:00
a7fb5a1746
soc: qcom: Add Minidump support
This is snapshot of the Minidump driver as of msm-4.4
'commit 198c5bc3349b ("soc: qcom: minidump: move elf global
variables to structure")'.
This enables minidump feature. It allows various client subsystems to
register respective dump regions. Registered Minidump dump regions
would be collected on system crash.

Change-Id: I14377cfba8703f0acadc29e51e2cf7563616571d
Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>

Lingutla Chandrasekhar   commited 2017-11-15 18:51:53 +05:30
8bbf9a7c99
Merge "ARM: dts: msm: Add dump node for cpuss debug"
Linux Build Service Account   authored and   Gerrit - the friendly Code Review server   commited 2017-11-09 23:40:09 -08:00
b2c52af5b8