OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
7 years agoMerge "ASoC: wcd934x: Fix mbhc errors upon removing SND_SOC_WCD934X_MBHC"
Linux Build Service Account [Fri, 17 Mar 2017 03:02:58 +0000 (20:02 -0700)]
Merge "ASoC: wcd934x: Fix mbhc errors upon removing SND_SOC_WCD934X_MBHC"

7 years agoMerge "arch: arm64: Fix APPENDED_DTB for arm64"
Linux Build Service Account [Fri, 17 Mar 2017 03:02:57 +0000 (20:02 -0700)]
Merge "arch: arm64: Fix APPENDED_DTB for arm64"

7 years agoMerge "ARM: dts: msm: increase strength for mclk0 on msm8998 HDK"
Linux Build Service Account [Fri, 17 Mar 2017 03:02:57 +0000 (20:02 -0700)]
Merge "ARM: dts: msm: increase strength for mclk0 on msm8998 HDK"

7 years agoMerge "ARM: dts: msm: enable HDMI and DP functionality for HDK835"
Linux Build Service Account [Fri, 17 Mar 2017 03:02:56 +0000 (20:02 -0700)]
Merge "ARM: dts: msm: enable HDMI and DP functionality for HDK835"

7 years agoMerge "mhi: mhi_core: move mhi from module_Init to subsys_init"
Linux Build Service Account [Fri, 17 Mar 2017 03:02:54 +0000 (20:02 -0700)]
Merge "mhi: mhi_core: move mhi from module_Init to subsys_init"

7 years agoMerge "mhi: core: add support for priority based event processing"
Linux Build Service Account [Fri, 17 Mar 2017 03:02:53 +0000 (20:02 -0700)]
Merge "mhi: core: add support for priority based event processing"

7 years agoARM: dts: msm: increase strength for mclk0 on msm8998 HDK
Wei Ding [Wed, 8 Mar 2017 05:30:12 +0000 (13:30 +0800)]
ARM: dts: msm: increase strength for mclk0 on msm8998 HDK

Increase the strength of camera mclk0 on msm8998 HDK.

Change-Id: I9804d26265f074e1696f9b324ac8973100bb0a0e
Signed-off-by: Wei Ding <weiding@codeaurora.org>
7 years agoMerge "USB: f_qc_rndis: Change descriptors to support wireless RNDIS"
Linux Build Service Account [Wed, 15 Mar 2017 17:25:38 +0000 (10:25 -0700)]
Merge "USB: f_qc_rndis: Change descriptors to support wireless RNDIS"

7 years agoMerge "ARM: dts: msm: Move improve touch device node for SDM660 QRD"
Linux Build Service Account [Wed, 15 Mar 2017 17:25:37 +0000 (10:25 -0700)]
Merge "ARM: dts: msm: Move improve touch device node for SDM660 QRD"

7 years agoMerge "msm: mdss: Fix hist sum sanity check issue"
Linux Build Service Account [Wed, 15 Mar 2017 17:25:36 +0000 (10:25 -0700)]
Merge "msm: mdss: Fix hist sum sanity check issue"

7 years agoMerge "msm: mdss: Fix source split validation"
Linux Build Service Account [Wed, 15 Mar 2017 17:25:35 +0000 (10:25 -0700)]
Merge "msm: mdss: Fix source split validation"

7 years agoMerge "msm: mdss: Add check to fix null pointer dereference during pipe reset"
Linux Build Service Account [Wed, 15 Mar 2017 17:25:35 +0000 (10:25 -0700)]
Merge "msm: mdss: Add check to fix null pointer dereference during pipe reset"

7 years agoMerge "ARM: dts: qcom: Update DDIC timing for JDI panel"
Linux Build Service Account [Wed, 15 Mar 2017 17:25:34 +0000 (10:25 -0700)]
Merge "ARM: dts: qcom: Update DDIC timing for JDI panel"

7 years agoMerge "msm: mdss: fix secure buffer ref counting"
Linux Build Service Account [Wed, 15 Mar 2017 17:25:33 +0000 (10:25 -0700)]
Merge "msm: mdss: fix secure buffer ref counting"

7 years agoMerge "icnss: QMI timeout, do not ASSERT when PD down"
Linux Build Service Account [Wed, 15 Mar 2017 17:25:32 +0000 (10:25 -0700)]
Merge "icnss: QMI timeout, do not ASSERT when PD down"

7 years agoMerge "qpnp-fg-gen3: Fix adjusting recharge_soc after charge termination"
Linux Build Service Account [Wed, 15 Mar 2017 17:25:31 +0000 (10:25 -0700)]
Merge "qpnp-fg-gen3: Fix adjusting recharge_soc after charge termination"

7 years agoMerge "mhi: core: add support for MHI to operate on slave mode"
Linux Build Service Account [Wed, 15 Mar 2017 17:25:29 +0000 (10:25 -0700)]
Merge "mhi: core: add support for MHI to operate on slave mode"

7 years agoMerge "mhi: core: add support for MHI host managing firmware upload"
Linux Build Service Account [Wed, 15 Mar 2017 17:25:29 +0000 (10:25 -0700)]
Merge "mhi: core: add support for MHI host managing firmware upload"

7 years agoMerge "mhi: mhi_rmnet: pass maximum payload size to mhi during registration"
Linux Build Service Account [Wed, 15 Mar 2017 17:25:27 +0000 (10:25 -0700)]
Merge "mhi: mhi_rmnet: pass maximum payload size to mhi during registration"

7 years agoARM: dts: msm: Move improve touch device node for SDM660 QRD
zhaoyuan [Fri, 10 Mar 2017 03:03:07 +0000 (11:03 +0800)]
ARM: dts: msm: Move improve touch device node for SDM660 QRD

Improve touch device setting is needed by QTC800H only. So move
the node to qrd dts from common file.

Change-Id: I1c04e2b2540a4db9dff839ebe3dfe45efe552c9a
Signed-off-by: zhaoyuan <yzhao@codeaurora.org>
7 years agoARM: dts: msm: enable HDMI and DP functionality for HDK835
Ray Zhang [Thu, 9 Mar 2017 04:32:27 +0000 (12:32 +0800)]
ARM: dts: msm: enable HDMI and DP functionality for HDK835

HDK835 has HDMI and DP hardware blocks, so enable them in the
device tree.

CRs-Fixed: 2012660
Change-Id: I04a58527875bd6c62d7d31e20bc4ade3824d7e03
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
7 years agoMerge "soc: qcom: qmi: add export symbol qmi_response_type_v01_ei"
Linux Build Service Account [Wed, 15 Mar 2017 06:45:56 +0000 (23:45 -0700)]
Merge "soc: qcom: qmi: add export symbol qmi_response_type_v01_ei"

7 years agoMerge "ARM: dts: msm: Update more thermal-mitigation levels for PM660"
Linux Build Service Account [Wed, 15 Mar 2017 06:45:55 +0000 (23:45 -0700)]
Merge "ARM: dts: msm: Update more thermal-mitigation levels for PM660"

7 years agoMerge "epoll: Drop struct epoll_event definition"
Linux Build Service Account [Wed, 15 Mar 2017 06:45:54 +0000 (23:45 -0700)]
Merge "epoll: Drop struct epoll_event definition"

7 years agoMerge "msm: ipa: Add spinlock to avoid deleting already deleted list"
Linux Build Service Account [Wed, 15 Mar 2017 06:45:53 +0000 (23:45 -0700)]
Merge "msm: ipa: Add spinlock to avoid deleting already deleted list"

7 years agoMerge "msm: ipa: Hold wakelock on Neutrino offload enable"
Linux Build Service Account [Wed, 15 Mar 2017 06:45:52 +0000 (23:45 -0700)]
Merge "msm: ipa: Hold wakelock on Neutrino offload enable"

7 years agoMerge "clk: qcom: Update ops for esc clock source"
Linux Build Service Account [Wed, 15 Mar 2017 06:45:50 +0000 (23:45 -0700)]
Merge "clk: qcom: Update ops for esc clock source"

7 years agoMerge "wil6210: protect against sporadic interrupt during suspend flow"
Linux Build Service Account [Wed, 15 Mar 2017 06:45:50 +0000 (23:45 -0700)]
Merge "wil6210: protect against sporadic interrupt during suspend flow"

7 years agoMerge "ARM: dts: msm: Modify pm660 gpio3 to 10uA pulldown"
Linux Build Service Account [Wed, 15 Mar 2017 06:45:49 +0000 (23:45 -0700)]
Merge "ARM: dts: msm: Modify pm660 gpio3 to 10uA pulldown"

7 years agoMerge "ARM: dts: msm: Add routing controls for sdm660 qrd"
Linux Build Service Account [Wed, 15 Mar 2017 06:45:47 +0000 (23:45 -0700)]
Merge "ARM: dts: msm: Add routing controls for sdm660 qrd"

7 years agoMerge "ASoc: msm: qdsp6v2: Add timestamp support for offload playback"
Linux Build Service Account [Wed, 15 Mar 2017 06:45:47 +0000 (23:45 -0700)]
Merge "ASoc: msm: qdsp6v2: Add timestamp support for offload playback"

7 years agoMerge "soc: qcom: Avoid possible buffer overflow in service-locator"
Linux Build Service Account [Wed, 15 Mar 2017 06:45:46 +0000 (23:45 -0700)]
Merge "soc: qcom: Avoid possible buffer overflow in service-locator"

7 years agoMerge "usb: host: xhci: Move LPM support quirk to xhci_plat_quirks"
Linux Build Service Account [Wed, 15 Mar 2017 06:45:45 +0000 (23:45 -0700)]
Merge "usb: host: xhci: Move LPM support quirk to xhci_plat_quirks"

7 years agoMerge "ARM: dts: msm: enable display for SDM660 PM660A QRD"
Linux Build Service Account [Wed, 15 Mar 2017 06:45:44 +0000 (23:45 -0700)]
Merge "ARM: dts: msm: enable display for SDM660 PM660A QRD"

7 years agoMerge "msm: mdss: set interface stopped flag properly during suspend"
Linux Build Service Account [Wed, 15 Mar 2017 06:45:43 +0000 (23:45 -0700)]
Merge "msm: mdss: set interface stopped flag properly during suspend"

7 years agoMerge "msm: mdss: Avoid unnecessary warnings during pipe unstaging"
Linux Build Service Account [Wed, 15 Mar 2017 06:45:42 +0000 (23:45 -0700)]
Merge "msm: mdss: Avoid unnecessary warnings during pipe unstaging"

7 years agoMerge "firmware: qcom: tz_log: fix reading log issue on secure boot enabled device"
Linux Build Service Account [Wed, 15 Mar 2017 06:45:41 +0000 (23:45 -0700)]
Merge "firmware: qcom: tz_log: fix reading log issue on secure boot enabled device"

7 years agoMerge "msm: isp: Add support for VFE dual camera resolution limit"
Linux Build Service Account [Wed, 15 Mar 2017 06:45:40 +0000 (23:45 -0700)]
Merge "msm: isp: Add support for VFE dual camera  resolution limit"

7 years agoMerge "ARM: dts: msm: update vote on ldo11 for amoled panel on sdm660"
Linux Build Service Account [Wed, 15 Mar 2017 06:45:40 +0000 (23:45 -0700)]
Merge "ARM: dts: msm: update vote on ldo11 for amoled panel on sdm660"

7 years agoMerge "ASoC: codecs: Add PM suspend routines for digital codec"
Linux Build Service Account [Wed, 15 Mar 2017 06:45:38 +0000 (23:45 -0700)]
Merge "ASoC: codecs: Add PM suspend routines for digital codec"

7 years agoMerge "drm/msm: Remove DRM_MSM_NUM_IOCTLS"
Linux Build Service Account [Wed, 15 Mar 2017 06:45:37 +0000 (23:45 -0700)]
Merge "drm/msm: Remove DRM_MSM_NUM_IOCTLS"

7 years agoMerge "drm/msm: Move QTI specific ioctls to avoid conflict"
Linux Build Service Account [Wed, 15 Mar 2017 06:45:37 +0000 (23:45 -0700)]
Merge "drm/msm: Move QTI specific ioctls to avoid conflict"

7 years agoMerge "msm: camera: isp: correct the CX iPeak voting logic"
Linux Build Service Account [Wed, 15 Mar 2017 06:45:36 +0000 (23:45 -0700)]
Merge "msm: camera: isp: correct the CX iPeak voting logic"

7 years agoMerge "msm: camera: cpp: Add support for CX iPeak limits Management"
Linux Build Service Account [Wed, 15 Mar 2017 06:45:35 +0000 (23:45 -0700)]
Merge "msm: camera: cpp: Add support for CX iPeak limits Management"

7 years agoqpnp-fg-gen3: Fix adjusting recharge_soc after charge termination
Subbaraman Narayanamurthy [Mon, 13 Mar 2017 19:50:12 +0000 (12:50 -0700)]
qpnp-fg-gen3: Fix adjusting recharge_soc after charge termination

After charge termination, recharge SOC might get adjusted, which
is fine. However, if the charger is not removed after charge
termination and SOC drops further down because of a system load,
recharge SOC should not get adjusted again. This can cause
recharging not to begin at the intended SOC threshold. Fix this.

CRs-Fixed: 2018737
Change-Id: I3595c313f84b2ea8c0459c30f294deb8ac4d2866
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
7 years agomsm: ipa: Hold wakelock on Neutrino offload enable
Sunil Paidimarri [Tue, 30 Aug 2016 18:30:24 +0000 (11:30 -0700)]
msm: ipa: Hold wakelock on Neutrino offload enable

Hold wakelock on Neturino offload enable and release
it on disable to avoid Apps suspend.

Change-Id: I53e7abf49829159a4b07f9047617268e03162ff9
CRs-Fixed: 1060848
Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
7 years agoicnss: QMI timeout, do not ASSERT when PD down
Prashanth Bhatta [Fri, 10 Mar 2017 01:08:27 +0000 (17:08 -0800)]
icnss: QMI timeout, do not ASSERT when PD down

QMI timeout bound to happen when a request sent over QMI and at
the same time WLAN PD down happens. Add logic to detect PD down
event and do not ASSERT in case WLAN PD down is detected.

Change-Id: I73916ac9040250cdae16fb9c1a2c67df9ef940d3
CRs-fixed: 2017507
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
7 years agoepoll: Drop struct epoll_event definition
Prasad Sodagudi [Sat, 11 Mar 2017 01:45:30 +0000 (17:45 -0800)]
epoll: Drop struct epoll_event definition

Add kernel header sanitizer check to drop struct epoll_event.
This struct epoll_event is not following the POSIX standard
and defining element in opaque data type.

Change-Id: I1eecef1b64eb1fb8f0dd6999263093a453e7b9fb
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
7 years agosoc: qcom: qmi: add export symbol qmi_response_type_v01_ei
Sarada Prasanna Garnayak [Wed, 8 Mar 2017 12:09:25 +0000 (17:39 +0530)]
soc: qcom: qmi: add export symbol qmi_response_type_v01_ei

Fix the symbol linking error for loadable kernel modules
which is using qmi service to communicate with the Q6 processor.

CRs-Fixed: 2017892
Change-Id: Ie5a6bba7387567dbfef0cefdde14b8e0ee6b08e6
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
7 years agoARM: dts: msm: Update more thermal-mitigation levels for PM660
Manaf Meethalavalappu Pallikunhi [Fri, 10 Mar 2017 11:14:16 +0000 (16:44 +0530)]
ARM: dts: msm: Update more thermal-mitigation levels for PM660

Add more granular thermal-mitigation levels for battery charging
limit based on thermal condition. It helps for steady control
of temperature when charging is enabled.

CRs-Fixed: 2017321
Change-Id: I082d478795b066e61970a7543118b55e7108b594
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
7 years agoclk: qcom: Update ops for esc clock source
Amit Nischal [Fri, 10 Mar 2017 11:16:36 +0000 (16:46 +0530)]
clk: qcom: Update ops for esc clock source

Some of the display panels requires various
escape clock frequencies for its operation.
Add support for the same by update esc clock
ops to clk_esc_ops.

Change-Id: I50cb79863cfdf880ba72e73a98905ecd87a08474
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
7 years agoclk: qcom: Add clk_ops to support runtime frequencies for esc clock
Amit Nischal [Thu, 9 Mar 2017 12:06:05 +0000 (17:36 +0530)]
clk: qcom: Add clk_ops to support runtime frequencies for esc clock

Some of the display panels requires multiple clock frequencies
to be derived runtime from the sources for its operation.
Add support for the same by adding esc clk_ops to calculate
the desired frequency at run time.

Change-Id: Ie3ec84bb1927f5313c887344368dceffb06035be
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
7 years agousb: host: xhci: Move LPM support quirk to xhci_plat_quirks
Hemant Kumar [Mon, 13 Mar 2017 18:25:10 +0000 (11:25 -0700)]
usb: host: xhci: Move LPM support quirk to xhci_plat_quirks

xhci quirks is initialized in xhci_gen_setup() which gets called
from usb_add_hcd(). Since LPM support quirk is ORed to xhci quirk
before calling usb_add_hcd(), quirk gets overwritten. Fix this issue
by moving LPM support quirk to xhci_plat_quirks() which gets called
after xhci quirk is initialized.

Change-Id: I8fb4684d434f098408dddb636b5482cb65b6999a
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
7 years agofirmware: qcom: tz_log: fix reading log issue on secure boot enabled device
Zhen Kong [Fri, 10 Mar 2017 23:34:44 +0000 (15:34 -0800)]
firmware: qcom: tz_log: fix reading log issue on secure boot enabled device

Unlike other debug logs, qsee and hyp log buffer are separated from tz
diag region, so it is not necessary to read tz diag region before
reading qsee or hyp logs. Otherwise, when tz diag region is encrypted
and locked on secure boot enabled devices, reading qsee or hyp logs will
cause XPU violation at tz diag region. Also, update the diagnostic table
with some new items.

Change-Id: I2872c4dce876763b5dac5656a982f6ce29cc81f4
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
7 years agoMerge "ARM: dts: msm: Fix RPM_AGGR2_NOC_CLK name change for SDM660/SDM630"
Linux Build Service Account [Mon, 13 Mar 2017 18:50:11 +0000 (11:50 -0700)]
Merge "ARM: dts: msm: Fix RPM_AGGR2_NOC_CLK name change for SDM660/SDM630"

7 years agoMerge "HID: Remove playstation4 as special driver"
Linux Build Service Account [Mon, 13 Mar 2017 18:50:10 +0000 (11:50 -0700)]
Merge "HID: Remove playstation4 as special driver"

7 years agoMerge "regulator: core: Fix voltage change propagations to supply regulators"
Linux Build Service Account [Mon, 13 Mar 2017 18:50:09 +0000 (11:50 -0700)]
Merge "regulator: core: Fix voltage change propagations to supply regulators"

7 years agoMerge "ARM: dts: msm: add rm67195 panel driver for SDM630/SDM660 PM660A QRD"
Linux Build Service Account [Mon, 13 Mar 2017 18:50:08 +0000 (11:50 -0700)]
Merge "ARM: dts: msm: add rm67195 panel driver for SDM630/SDM660 PM660A QRD"

7 years agoMerge "msm: mdss: Add support to update backlight when display commit"
Linux Build Service Account [Mon, 13 Mar 2017 18:50:06 +0000 (11:50 -0700)]
Merge "msm: mdss: Add support to update backlight when display commit"

7 years agoMerge "msm: mdss: Disable secure session after Flush for video mode panels"
Linux Build Service Account [Mon, 13 Mar 2017 18:50:05 +0000 (11:50 -0700)]
Merge "msm: mdss: Disable secure session after Flush for video mode panels"

7 years agoMerge "msm: mdss: fix conditional check for panel LP configuration"
Linux Build Service Account [Mon, 13 Mar 2017 18:50:02 +0000 (11:50 -0700)]
Merge "msm: mdss: fix conditional check for panel LP configuration"

7 years agoMerge "msm: mdss: Validate cursor image size"
Linux Build Service Account [Mon, 13 Mar 2017 18:50:01 +0000 (11:50 -0700)]
Merge "msm: mdss: Validate cursor image size"

7 years agoMerge "ARM: dts: msm: add voter clock to anoc2_smmu on sdm660/630"
Linux Build Service Account [Mon, 13 Mar 2017 18:50:01 +0000 (11:50 -0700)]
Merge "ARM: dts: msm: add voter clock to anoc2_smmu on sdm660/630"

7 years agoMerge "ath10k: Fix TCP TX throttling issue"
Linux Build Service Account [Mon, 13 Mar 2017 18:50:00 +0000 (11:50 -0700)]
Merge "ath10k: Fix TCP TX throttling issue"

7 years agoMerge "ath10k: Increase the ring size of the CE4 ring"
Linux Build Service Account [Mon, 13 Mar 2017 18:49:59 +0000 (11:49 -0700)]
Merge "ath10k: Increase the ring size of the CE4 ring"

7 years agoMerge "msm: camera: Remove exit on error conditions for smmu apis"
Linux Build Service Account [Mon, 13 Mar 2017 18:49:58 +0000 (11:49 -0700)]
Merge "msm: camera: Remove exit on error conditions for smmu apis"

7 years agoMerge "input: touchscreen: remove gt9xx goodix touch driver"
Linux Build Service Account [Mon, 13 Mar 2017 18:49:58 +0000 (11:49 -0700)]
Merge "input: touchscreen: remove gt9xx goodix touch driver"

7 years agoMerge "ARM: dts: msm: removed gpu_dl and wcss tpdm, tpda and funnels for sdm660"
Linux Build Service Account [Mon, 13 Mar 2017 18:49:56 +0000 (11:49 -0700)]
Merge "ARM: dts: msm: removed gpu_dl and wcss tpdm, tpda and funnels for sdm660"

7 years agoMerge "mmc: card: block: check the user controlled parameters to avoid overflow"
Linux Build Service Account [Mon, 13 Mar 2017 18:49:55 +0000 (11:49 -0700)]
Merge "mmc: card: block: check the user controlled parameters to avoid overflow"

7 years agomsm: isp: Add support for VFE dual camera resolution limit
Venu Yeshala [Thu, 9 Mar 2017 11:02:07 +0000 (16:32 +0530)]
msm: isp: Add support for VFE dual camera  resolution limit

Read VFE resolution limitation from VFE fuse register
and restrict support for dual camera resolution.

Change-Id: I5f1c8878bd1039a40c7c8ecc5934757707e0123e
Signed-off-by: Venu Yeshala <vyeshala@codeaurora.org>
7 years agomsm: mdss: Fix hist sum sanity check issue
Rajesh Yadav [Fri, 3 Mar 2017 09:39:47 +0000 (15:09 +0530)]
msm: mdss: Fix hist sum sanity check issue

When dynamic resolution switch is enabled,
it may happen that mixer w/h get updated
for new resolution before hist for last frame
with different resolution is read. This can
lead to sanity check failure for hist sum.
Fix the issue by clearing the current expected
sum and caching sum for next frame.

Change-Id: I93734900770a6c97eac66a412710cae217835693
Signed-off-by: Rajesh Yadav <ryadav@codeaurora.org>
7 years agomsm: ipa: Add spinlock to avoid deleting already deleted list
Utkarsh Saxena [Mon, 13 Mar 2017 09:28:40 +0000 (14:58 +0530)]
msm: ipa: Add spinlock to avoid deleting already deleted list

There is a chance of deleting, already deleted list
in ipa_cleanup_wlan_rx_common_cache API.

Protect the wlan_comm_desc_list,
with the spinlock to avoid this deletion.

Change-Id: Ia05d47d7b54540eff6ef20f86dee410152457caa
Acked-by: Mohammed Javid <mjavid@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
7 years agoHID: Remove playstation4 as special driver
Hemant Gupta [Fri, 3 Mar 2017 14:31:00 +0000 (20:01 +0530)]
HID: Remove playstation4 as special driver

Playstation4 needs to be removed as having special hid driver
and needs to be used as generic hid driver because special
hid driver support is not working well.

CRs-Fixed: 2014640
Change-Id: Ibf053717adf043274ad3c4f889e5a88abf17e387
Signed-off-by: Hemant Gupta <hemantg@codeaurora.org>
7 years agoARM: dts: msm: Fix RPM_AGGR2_NOC_CLK name change for SDM660/SDM630
Utkarsh Saxena [Tue, 7 Mar 2017 10:26:24 +0000 (15:56 +0530)]
ARM: dts: msm: Fix RPM_AGGR2_NOC_CLK name change for SDM660/SDM630

RPM_AGGR2_NOC_CLK is separated out to allow individual voters
could vote on these clocks and voter clock would aggregate the
clock rates.

Change-Id: Ib15499a0025c422786b432a1e98380ce86692e7b
Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
7 years agoARM: dts: msm: add voter clock to anoc2_smmu on sdm660/630
Charan Teja Reddy [Tue, 7 Mar 2017 06:25:57 +0000 (11:55 +0530)]
ARM: dts: msm: add voter clock to anoc2_smmu on sdm660/630

Add the proper aggr2_noc voter clock, AGGR2_NOC_SMMU_CLK, for correct
operation of anoc2 SMMU.

Change-Id: I8e9a5a455626f73ea15fbe16dd63b8fc8b26c4f0
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
7 years agoregulator: core: Fix voltage change propagations to supply regulators
Tirupathi Reddy [Fri, 10 Mar 2017 10:25:59 +0000 (15:55 +0530)]
regulator: core: Fix voltage change propagations to supply regulators

Some regulators support get_voltage and some support get_voltage_sel
operations. Do voltage change propagation only when the current
regulator has a minimum dropout voltage specified or if the current
regulator lacks both get_voltage and get_voltage_sel operations.

CRs-Fixed: 2018399
Change-Id: I24cc880d6a61c2cb489897d39a1b63199749c98d
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
7 years agoASoC: codecs: Add PM suspend routines for digital codec
Divya Ojha [Tue, 7 Mar 2017 05:46:45 +0000 (11:16 +0530)]
ASoC: codecs: Add PM suspend routines for digital codec

Digital codec soc suspend enables mclk, preventing XO shutdown.
So implement digital codec pm suspend to disable mclk. Add ignore
suspend property to new widgets to resolve powering up and down
during suspend.

Change-Id: I2a773cdfe25d408d95f1c07be71fd4be740e8bf0
Signed-off-by: Divya Ojha <dojha@codeaurora.org>
7 years agomsm: camera: Remove exit on error conditions for smmu apis
Dany Rybnikov [Sun, 26 Feb 2017 15:52:06 +0000 (17:52 +0200)]
msm: camera: Remove exit on error conditions for smmu apis

The msm_camera_tz_set_mode is called for TA notification
and if the notification fails the flow should still proceed
without return.
This change prevents a fault caused by vfe remaining in
secure mode as the detach was not called in case of
notification failure.

CRs-Fixed: 2011627
Change-Id: Iefcfd72c8e2d96aba2daf2bed8d271edee0cc8c1
Signed-off-by: Dany Rybnikov <danyr@codeaurora.org>
7 years agomhi: mhi_rmnet: pass maximum payload size to mhi during registration
Sujeev Dias [Wed, 11 Jan 2017 20:46:23 +0000 (12:46 -0800)]
mhi: mhi_rmnet: pass maximum payload size to mhi during registration

MHI host require clients to provide maximum payload size
during active transfer so MHI host can pre-allocate bounce
buffers.

CRs-Fixed: 1110280
Change-Id: I9a8fcb8dbb711cdd35dfc12b47b4381bf0985134
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
7 years agomsm: mhi_rmnet: remove headroom reservation
Sujeev Dias [Thu, 27 Oct 2016 22:23:37 +0000 (15:23 -0700)]
msm: mhi_rmnet: remove headroom reservation

MHI_RMNET layer not required to reserve for IP headroom
data since rmnet_data layer will create a new skb if
headroom reservation is needed.

CRs-Fixed: 1085031
Change-Id: Ic04e73510140e6c00ee18107a8edc9ead0b53863
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
7 years agomhi: mhi_uci: pass max payload size to mhi during mhi registration
Sujeev Dias [Thu, 19 Jan 2017 22:21:09 +0000 (14:21 -0800)]
mhi: mhi_uci: pass max payload size to mhi during mhi registration

MHI host requires clients to provide maximum payload size
during active transfer so MHI host can pre-allocate bounce
buffers.

CRs-Fixed: 1110280
Change-Id: I5dd38fc49a98629f77cdb7879942b7b1993e43b8
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
7 years agomhi: mhi_core: move mhi from module_Init to subsys_init
Sujeev Dias [Wed, 1 Feb 2017 19:24:04 +0000 (11:24 -0800)]
mhi: mhi_core: move mhi from module_Init to subsys_init

MHI clients expects MHI to finish initializing before clients
probe. Move MHI to subsys init to guarantee MHI will finish
executing before device drivers with module_init starts.

CRs-Fixed: 2006891
Change-Id: I44e3612721fdc247c8c083f74736a1b1bcfc962e
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
7 years agomhi: core: add support for priority based event processing
Sujeev Dias [Thu, 12 Jan 2017 03:46:17 +0000 (19:46 -0800)]
mhi: core: add support for priority based event processing

Not all events require same priority to process. Process
high priority events using a tasklet while processing low
priority events using a kworker. Priority for events can be
configured by device tree.

CRs-Fixed: 2004759
Change-Id: I6bf04624c2fd92afd7c698d6a57f66619ea13b5b
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
7 years agomhi: core: confirm MHI offset is valid before using it
Sujeev Dias [Mon, 6 Feb 2017 20:07:12 +0000 (12:07 -0800)]
mhi: core: confirm MHI offset is valid before using it

PCIe link can go down anytime asynchronously without host
knowing. In event of a link-down, MMIO reads will always
return 0xffffffff.  Confirm the read value is valid prior
to executing further.

CRs-Fixed: 1030692
Change-Id: If052a1a31c62a81f380cec3f523b605b38a33847
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
7 years agomhi: core: fix memory alignment calculation
Sujeev Dias [Wed, 18 Jan 2017 07:39:20 +0000 (23:39 -0800)]
mhi: core: fix memory alignment calculation

Fix issue of incorrectly truncating 64bit address
as a 32bit address during memory allocation for
MHI.

CRs-Fixed: 1113884
Change-Id: Iba5123b3710c805cabf63bb6a2958d8218d642e8
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
7 years agomhi: core: add support for bounce buffer transfer
Sujeev Dias [Thu, 19 Jan 2017 20:19:55 +0000 (12:19 -0800)]
mhi: core: add support for bounce buffer transfer

Not all MHI capable devices can access entire host
DDR. If an MHI client provide a transfer packet that’s
outside of supported address range, copy the packet to
a local bounce buffer prior to transfer.

CRs-Fixed 1110280
Change-Id: Ie7292a2c89cc6608d5360f8a330d78635d913c29
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
7 years agomhi: core: add support for MHI to operate on slave mode
Sujeev Dias [Wed, 30 Nov 2016 02:02:23 +0000 (18:02 -0800)]
mhi: core: add support for MHI to operate on slave mode

MHI host is not always the bus master. Add support to
operate on slave mode.

CRs-Fixed: 1095436
Change-Id: I4af92c8171cf9ba38267afa753cec33f291d55eb
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
7 years agomhi: core: add support for MHI host managing firmware upload
Sujeev Dias [Mon, 21 Nov 2016 22:25:42 +0000 (14:25 -0800)]
mhi: core: add support for MHI host managing firmware upload

Add support for MHI host to directly upload firmware
to compatible devices using MHI protocol.

CRs-Fixed: 1095436
Change-Id: Iff7043f1f9afc4824edeaeccc46ed427ce7ee291
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
7 years agomhi: core: Add support for multiple MHI devices
Sujeev Dias [Tue, 22 Nov 2016 20:56:27 +0000 (12:56 -0800)]
mhi: core: Add support for multiple MHI devices

In order to support multiple MHI devices connected
to same host we have, re-organize struct mhi_device_ctxt
such that all information related to device is included inside
struct mhi_device_ctxt. Created an abstract power management
layer to operate MHI in bus master, and slave mode. PCIe bus,
device, slot are extracted from DT to identify physical device.

CRs-Fixed: 1086301
Change-Id: I27a12b7412db75e4843794d80146ca7475b02fdc
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
7 years agoARM: dts: msm: mhi: document mhi-chan-cfg settings
Sujeev Dias [Wed, 1 Jun 2016 01:11:44 +0000 (18:11 -0700)]
ARM: dts: msm: mhi: document mhi-chan-cfg settings

Add a detail explanation for mhi-chan-cfg
configuration settings.

CRs-Fixed: 1022868
Change-Id: I89a1ea3e8ac6b1b210df245e8bd199206cdbb649
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
7 years agoMerge "msm: camera: isp: support LPM on dualcamera"
Linux Build Service Account [Sat, 11 Mar 2017 18:08:13 +0000 (10:08 -0800)]
Merge "msm: camera: isp: support LPM on dualcamera"

7 years agoMerge "defconfig: msm: Enable camera for SDM660 32bit variant"
Linux Build Service Account [Sat, 11 Mar 2017 18:08:12 +0000 (10:08 -0800)]
Merge "defconfig: msm: Enable camera for SDM660 32bit variant"

7 years agoMerge "msm: camera: Bound check for num_of_stream."
Linux Build Service Account [Sat, 11 Mar 2017 18:08:11 +0000 (10:08 -0800)]
Merge "msm: camera: Bound check for num_of_stream."

7 years agoMerge "msm: camera: Prevent info leak in kernel driver."
Linux Build Service Account [Sat, 11 Mar 2017 18:08:10 +0000 (10:08 -0800)]
Merge "msm: camera: Prevent info leak in kernel driver."

7 years agoMerge "msm: camera: isp: fix for enqueue buffer failure"
Linux Build Service Account [Sat, 11 Mar 2017 18:08:09 +0000 (10:08 -0800)]
Merge "msm: camera: isp: fix for enqueue buffer failure"

7 years agoMerge "qcom: smb138x: Reduce die temperature samples for initial readings"
Linux Build Service Account [Sat, 11 Mar 2017 04:14:37 +0000 (20:14 -0800)]
Merge "qcom: smb138x: Reduce die temperature samples for initial readings"

7 years agoMerge "qcom: qpnp-smb2: update POWER_SUPPLY_PROP_CHARGER_TEMP read logic"
Linux Build Service Account [Sat, 11 Mar 2017 04:14:36 +0000 (20:14 -0800)]
Merge "qcom: qpnp-smb2: update POWER_SUPPLY_PROP_CHARGER_TEMP read logic"

7 years agoMerge "defconfig: msm: Enable RCU_STALL_WATCHDOG_BITE flag"
Linux Build Service Account [Sat, 11 Mar 2017 04:14:36 +0000 (20:14 -0800)]
Merge "defconfig: msm: Enable RCU_STALL_WATCHDOG_BITE flag"

7 years agoMerge "ARM: dts: msm: Enable continuous splash on sdm630"
Linux Build Service Account [Sat, 11 Mar 2017 04:14:35 +0000 (20:14 -0800)]
Merge "ARM: dts: msm: Enable continuous splash on sdm630"

7 years agoMerge "ARM: dts: msm: Allow modem MBA to be loaded in carveout for MSM8998"
Linux Build Service Account [Sat, 11 Mar 2017 04:14:34 +0000 (20:14 -0800)]
Merge "ARM: dts: msm: Allow modem MBA to be loaded in carveout for MSM8998"