Commit graph

580359 commits

Author SHA1 Message Date
Odelu Kukatla
de9aa2c4aa ARM: dts: msm: Introduce bus topology for sdm630
Bus topology is the representation of bus connections in SOC
and is required for the bus driver to serve the bandwidth
requests from clients.

Change-Id: I474f390e86f291e78d6126ed769837b123e2a409
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
2017-01-04 13:15:55 +05:30
Linux Build Service Account
580c141355 Merge "ARM: dts: msm: Add sdhc1 for sdm660 QRD" 2017-01-03 08:43:40 -08:00
Linux Build Service Account
31e7f8393a Merge "msm: rndis_ipa: Remove rndis_ipa loopback functionality" 2017-01-03 08:43:39 -08:00
Linux Build Service Account
236b45193e Merge "ARM: dts: msm: Enable wil6210 device for 8998 qrd-skuk" 2017-01-03 08:43:39 -08:00
Linux Build Service Account
de42cace6c Merge "msm: ipa3: send QMI to Q6 to disable flow control" 2017-01-03 08:43:38 -08:00
Linux Build Service Account
7269596081 Merge "icnss: Provide API to check the firmware ready status" 2017-01-03 08:43:37 -08:00
Linux Build Service Account
f30bbe04d2 Merge "clk: qcom: Add handoff support for smd-rpm and voter rpm clocks" 2017-01-03 08:43:37 -08:00
Linux Build Service Account
c27d8f3edb Merge "ARM: dts: msm: Camera clock changes for sdm660" 2017-01-03 08:43:36 -08:00
Linux Build Service Account
bbfa187279 Merge "ASoC: msm: Register common sound controls" 2017-01-03 08:43:35 -08:00
Linux Build Service Account
8d0f36c59c Merge "ASoC: msm: Changes in machine driver to enable mclk" 2017-01-03 08:43:34 -08:00
Linux Build Service Account
5901096e46 Merge "ASoC: msm: Fix audio SSR on SDM660 external codec" 2017-01-03 08:43:34 -08:00
xiaonian
941d27d81f ARM: dts: msm: Add sdhc1 for sdm660 QRD
Add sdhc1 to support eMMC for sdm660 QRD.

CRs-Fixed: 1103296
Change-Id: I764845530559ef8a7fc81ae3307f599e07d342dd
Signed-off-by: xiaonian <xiaonian@codeaurora.org>
2017-01-03 18:25:19 +08:00
Ghanim Fodi
fbb765a3f8 msm: rndis_ipa: Remove rndis_ipa loopback functionality
Rndis_ipa loopback functionality at rndis_ipa driver
is a debug functionality that is not used.

Change-Id: Ibbcb26d3871cffeb46b028efcf4d428e88eb9e10
CRs-fixed: 1104431
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
2017-01-03 11:37:02 +02:00
Skylar Chang
98ef55d52e msm: ipa3: send QMI to Q6 to disable flow control
On WDI-disable, Apps-IPA needs send QMI to inform
Q6-IPA to lift the delay and drain the pending UL
data in IPA to prevent IPA-UC crash.

Change-Id: Idb4d525b46d29b6ae283987c7b8707852ac810d4
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2017-01-03 00:59:08 -08:00
Hamad Kadmany
3c31fdfb03 ARM: dts: msm: Enable wil6210 device for 8998 qrd-skuk
wil6210 is required for 11ad card that is present
in qrd-skuk. Hence update the device node status
to reflect this.

Change-Id: I9f2461551a67b757064ee88f609fc8e2c9d75211
Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
2017-01-03 10:26:55 +02:00
Laxminath Kasam
ba9ce1c9fb ASoC: msm: Register common sound controls
Add logic to register common sound controls
to ALSA SoC in both internal and external codec
machine drivers.

CRs-Fixed: 1106498
Change-Id: If5e210fb1f4a5684da4dab7ef567a588e0166d83
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-01-03 11:45:58 +05:30
Tanya Dixit
bc6d0c8cdd ASoC: msm: Changes in machine driver to enable mclk
Provide the support to enable MCLK output to external
audio connections. Also, update configuration to set
bit clock as EBIT in slave mode.

CRs-Fixed: 1094763
Change-Id: If07f31a6c37c7b8b23eb74b25a1e15990043cb92
Signed-off-by: Tanya Dixit <tdixit@codeaurora.org>
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-01-03 11:40:26 +05:30
Laxminath Kasam
03e601544b ASoC: msm: Fix audio SSR on SDM660 external codec
Update notifier function to use platform device correctly
in order to fix Audio SSR on external codec.

CRs-Fixed: 1094763
Change-Id: I67fc099c30ad097d0be3a2c9fc92a31ce61368f7
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2017-01-03 11:40:05 +05:30
Amit Nischal
5d81681e1e clk: qcom: Add handoff support for smd-rpm and voter rpm clocks
Some smd-rpm and voter rpm clocks are critical for system booting
and should not be gated until a unused clock tree late_init level.
So add support for handoff functionality for system critical rpm
clocks by using CLK_ENABLE_HAND_OFF flag.

Change-Id: I9f9674a25fc5f7a2bc9b5672b00716b82223b06b
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
2017-01-03 10:01:29 +05:30
Linux Build Service Account
2f817b68f0 Merge "mmc: core: Remove flag MMC_PM_WAKE_SDIO_IRQ in mmc_resume_host" 2017-01-02 14:25:03 -08:00
Linux Build Service Account
d14f6599ce Merge "mmc: core: add deferred resume support" 2017-01-02 14:25:02 -08:00
Linux Build Service Account
b6579def54 Merge "ARM: dts: msm: add support of PM660a based SDM630 platform" 2017-01-02 14:25:01 -08:00
Linux Build Service Account
eb0ef42d3a Merge "mmc: sdhci: Ignore data end bit error interrupts." 2017-01-02 14:25:00 -08:00
Linux Build Service Account
4509e16fc9 Merge "mmc: core: Avoid frequent enable/disable of Auto BKOPS" 2017-01-02 14:25:00 -08:00
Linux Build Service Account
39d46f4b21 Merge "rmnet_data: queue QMAP control packets if start_xmit fails" 2017-01-02 14:24:59 -08:00
Linux Build Service Account
83dbf65a2d Merge "defconfig: msm: Enable CONFIG_MMC_CQ_HCI for sdm660" 2017-01-02 04:48:52 -08:00
Linux Build Service Account
1537b3e7ea Merge "msm: vidc: Cache invalidate performance fix" 2017-01-02 04:48:51 -08:00
Linux Build Service Account
d6dc904e21 Merge "clk: qcom: smd-rpm: Update the number of rpm clocks for sdm660" 2017-01-02 04:48:50 -08:00
Linux Build Service Account
048afaa352 Merge "regulator: qpnp-labibb: Add support for PM660A" 2017-01-02 04:48:50 -08:00
Linux Build Service Account
fff9b2fc21 Merge "scripts: build_all: build sdm defconfigs" 2017-01-02 04:48:49 -08:00
Shankar Ravi
aaa8d813c2 ARM: dts: msm: Camera clock changes for sdm660
1. Add CSIPHY_AHB2CRIF clock to csiphy node.
2. Correct the  JPEG clocks to vote clock.
3. Correct the cpp clock rates.
4. remove fd mapping from smmu.
5. Correct the Vfe clock rates.

Change-Id: I9925c29df77ab8d4cf5f3cc67613f4682d2ffe3e
Signed-off-by: Shankar Ravi <rshankar@codeaurora.org>
2017-01-02 18:12:17 +05:30
Ritesh Harjani
10803b9f2e mmc: core: Remove flag MMC_PM_WAKE_SDIO_IRQ in mmc_resume_host
MMC_PM_WAKE_SDIO_IRQ flag is used by platform driver(sdhci-msm
here) to determine if SDIO wakeup IRQ needs to be enabled
or not. If this flag is not removed in every mmc_resume_host,
then while suspend, platform driver will configure the sdio
wakeup IRQ even though wlan is disabled from UI.
This flag can be enabled by wlan driver before entring into suspend.
In this case since Wlan is not enable and thus not entering WoW mode,
pull up present on this SDIO GPIO line will pull the line high (which
otherwise is pulled low by wlan firmware in WoW mode and triggers
interrupt by pulling it high in WoW mode) which eventually will
trigger a false SDIO wakeup interrupt thus breaking the suspend
everytime.
Hence disable the flag everytime in mmc_sdio_resume and let
wlan driver enables it (-by sdio_set_host_pm_flags)
before entering into suspend if needed
for sdio wakeup part.

Change-Id: Iecf9eef4d91a741116bc8b8bb59c49ae7f2891fd
Signed-off-by: Ritesh Harjani <riteshh@codeaurora.org>
2017-01-02 01:44:13 -08:00
Asutosh Das
3059e03a6b mmc: core: add deferred resume support
This patch enables the deferred resume support which would
prevent initialization of the card each time the system resumes.
With this change, the resume process would only be initiated if
a request is received.

Following scenario can occur:
1. device runtime suspended, system suspend is triggered
   When resumed, the device would not be resumed until a
   request is received.
2. device is runtime active, system suspend is triggered
   When resumed, the device would be marked as BUS_NEEDS_RESUME
   and actual resume would happen, when a request is received.
   At this point, the device may also enter runtime-suspend or
   system suspend may also occur. In both the cases, since the
   device has not been resumed, it won't be suspended again.
   However, the platform device would be runtime suspended
   and resumed as before.
   It can so happen that the card is removed even before a
   request is received. In this case the device would be
   resumed and card would be removed from core layer and
   upper layers would be notified.
In case of SDIO cards, this change would not have any effect
since manual resume would be enabled for devices supporting
a block read/write commands.

CRs-Fixed: 561382
Change-Id: Id39befea109ee24864dfde0898395b972d0a1b3a
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
Signed-off-by: Ritesh Harjani <riteshh@codeaurora.org>
2017-01-02 01:31:34 -08:00
Pavan Anamula
fa5e1372df mmc: sdhci: Ignore data end bit error interrupts.
Avoid printing of the error messages and register dumps,
incase of data endbit errors like other data errors.

Change-Id: If8ed082cc97a895cfbf959201c579914d5768b23
Signed-off-by: Pavan Anamula <pavana@codeaurora.org>
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
2017-01-01 23:46:13 -08:00
Sarada Prasanna Garnayak
72f739bbe7 icnss: Provide API to check the firmware ready status
API check the wlan firmware ready status in icnss platform
data and return the status(true/false) to caller.

CRs-Fixed: 1106520
Change-Id: I1246e6c213011d73ade5078c07bb2190135e54ec
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
2017-01-01 23:07:41 -08:00
Vijay Viswanath
f649debf15 mmc: core: Avoid frequent enable/disable of Auto BKOPS
During suspend/resume, the driver writes to AUTOBKOPS_EN bit in
EXT_CSD register of eMMC which is R/W/E. Even after power off
R/W/E bit will retain it's value, as it will be stored in NAND
flash. Multiple writes can wear out the specific NAND block which
store the system data(AUTO BKOPS bit in this case). So to avoid
this, enabling/disabling of autobkops has been removed from
suspend and resume. The background operations, if any, will stop
when sleep command is sent during suspend process.

Change-Id: I8aa7eda86beafacb3337be81c5a7f1f1e86f4998
Signed-off-by: Vijay Viswanath <vviswana@codeaurora.org>
2017-01-01 22:58:15 -08:00
Ashay Jaiswal
0efed03409 ARM: dts: msm: add support of PM660a based SDM630 platform
SDM630 platform can support either PM660l or PM660a PMICs,
add support for the same.

CRs-Fixed: 1106556
Change-Id: I82e35ef278ea5900c4023ab714cbf31f8c01151f
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
2017-01-02 09:52:33 +05:30
Linux Build Service Account
c88fe01f9a Merge "clk: Fix handoff counts for parent of handoff enabled clocks" 2017-01-01 20:19:53 -08:00
Taniya Das
e88c34c32c clk: qcom: smd-rpm: Update the number of rpm clocks for sdm660
The total number of rpm clocks are required to be updated to the correct
index else it would not send RPM the first vote. Also update the bimc mux
sel value. Add an extra mmssnoc_axi active vote of 19.2MHz.

Change-Id: I502c72a18a3e3493f44cdf72f48efcbae41efb7b
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2017-01-02 09:01:06 +05:30
Neeraj Upadhyay
24d5515b41 scripts: build_all: build sdm defconfigs
Add support for building new sdm defconfigs.

Change-Id: I7d1ae9fb0a3888a92ee4df850061afe3d2e378c6
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
2017-01-01 21:01:10 +05:30
Linux Build Service Account
6137652043 Merge "defconfig: arm64: Add OLEDB regulator support" 2017-01-01 00:29:58 -08:00
Linux Build Service Account
046e487756 Merge "staging: android: ion: fix up file mode" 2016-12-31 02:17:47 -08:00
Linux Build Service Account
89c77097ad Merge "ARM: dts: msm: Add GFX CPR device configuration for sdm660" 2016-12-31 02:17:46 -08:00
Linux Build Service Account
0d0e807793 Merge "msm-camera: Addressing possible overflow conditions" 2016-12-31 02:17:46 -08:00
Kiran Gunda
0921bd891f defconfig: arm64: Add OLEDB regulator support
The OLEDB driver provides the regulator interface to control the AVDD
bias voltage for AMOLED display.

Change-Id: I0b2a363f26f5ca3949892b2bbba3ff4d80184de4
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
2016-12-30 20:16:10 +05:30
ansharma
959aeb8c1f regulator: oledb-regulator: Add OLEDB regulator device driver
The OLEDB module provides the AVDD bias supply for the AMOLED display.
The supported voltage range of the bias is 5 to 8.1V. This driver provides
the regulator interface to control the bias voltage.

Change-Id: Ide4af995ca9fd12b3467de42e5d08eddc3981344
Signed-off-by: ansharma <ansharma@codeaurora.org>
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
2016-12-30 20:03:10 +05:30
Linux Build Service Account
115591fa9b Merge "cfg80211: Define macro to indicate support for beacon tx rate configuration" 2016-12-30 06:28:10 -08:00
Linux Build Service Account
915216e93d Merge "memshare: Fix possible memory leak" 2016-12-30 06:28:09 -08:00
Linux Build Service Account
89344f7147 Merge "msm: mdss: Add check to fix null pointer dereference" 2016-12-30 06:28:08 -08:00
Linux Build Service Account
b948ad14ae Merge "ARM: dts: msm: Add Dest-scalar reg dump setting for 8998 MDSS" 2016-12-30 06:28:07 -08:00