Commit graph

578518 commits

Author SHA1 Message Date
Linux Build Service Account
c00a37de98 Merge "ARM: dts: msm: Specify the configuration for audio on msmfalcon interposer" 2016-11-26 14:26:50 -08:00
Linux Build Service Account
81271b3c6e Merge "ARM: dts: msm: Make required changes for msm8998-interposer" 2016-11-26 14:26:49 -08:00
Linux Build Service Account
45e7ce30d6 Merge "procfs: Update order of Ngid in /proc/PID/status" 2016-11-26 14:26:48 -08:00
Linux Build Service Account
7183205cd4 Merge "ARM: dts: msm: add support of pm3falcon PMIC for msmfalcon" 2016-11-26 14:26:47 -08:00
Linux Build Service Account
04da367b64 Merge "soc: qcom: Turn off MSM_PERFORMANCE_HOTPLUG_ON by default" 2016-11-26 14:26:47 -08:00
Linux Build Service Account
b4f023e5a2 Merge "usb: pd: Fix VDM and misc timing issues" 2016-11-26 14:26:44 -08:00
Ashay Jaiswal
5bffba9b26 ARM: dts: msm: include RPM regulator for MSM8998 interposer
Include RPM regulator dtsi to enable RPM regulator device
nodes for MSM8998 based interposer platform.

CRs-Fixed: 1077493
Change-Id: Ifcfd9f75e817561b17ec26a68f901a31c5a63a9a
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
2016-11-26 23:54:57 +05:30
Linux Build Service Account
b23cd82dba Merge "soc: qcom: msm_bus: Set current index to default value" 2016-11-25 17:47:07 -08:00
Linux Build Service Account
0ff0bddebd Merge "ARM: dts: msm: Add thermal mitigation properties to msmfalcon" 2016-11-25 17:47:06 -08:00
Linux Build Service Account
74d0e8e4ca Merge "input: synaptics_dsx: add checks of user input data" 2016-11-25 17:47:04 -08:00
Linux Build Service Account
fdc9a3b7d5 Merge "ASoC: wcd9335: Add dapm ignore suspend for codec dai" 2016-11-25 17:47:03 -08:00
Linux Build Service Account
ef8f297dee Merge "ASoc: msm: qdsp6v2: Add support for compress capture" 2016-11-25 17:47:02 -08:00
Linux Build Service Account
308d5348fe Merge "include: clock: Add audio external clock of_index extries" 2016-11-25 17:47:01 -08:00
Linux Build Service Account
6392d4ee36 Merge "msm: mdss: fix to handle multi-rect configuration in error cases" 2016-11-25 17:46:59 -08:00
Linux Build Service Account
4df93480e8 Merge "msm: crypto: fix issues on digest buf and copy_from_user in qcedev.c" 2016-11-25 17:46:58 -08:00
Linux Build Service Account
2eeb169184 Merge "Revert "msm: kgsl: Enable limits management on A540v2"" 2016-11-25 17:46:57 -08:00
Linux Build Service Account
2d8b206407 Merge "smb-lib: fix null ptr access while handling src change interrupt" 2016-11-25 17:46:56 -08:00
Linux Build Service Account
c7690d6901 Merge "msm: mdss: refine the calculation of tmds clock rate" 2016-11-25 17:46:54 -08:00
Linux Build Service Account
86dffc4e82 Merge "msm: camera: Enable secure camera feature" 2016-11-25 17:46:53 -08:00
Linux Build Service Account
0ed6e29b91 Merge "soc: qcom: socinfo: Change offset of image OEM attribute" 2016-11-25 17:46:52 -08:00
Linux Build Service Account
1095ce72f4 Merge "qpnp-smb2: force UFP mode before shutdown" 2016-11-25 17:46:51 -08:00
Linux Build Service Account
24f3e90971 Merge "qpnp-smb2: add support to configure auto recharge" 2016-11-25 17:46:50 -08:00
Linux Build Service Account
2488b7eb05 Merge "qcom: scm: remove printing input arguments" 2016-11-25 08:32:36 -08:00
Linux Build Service Account
22f8318fcc Merge "audit: fix a double fetch in audit_log_single_execve_arg()" 2016-11-25 08:32:35 -08:00
Benjamin Chan
5ddbf6aedc msm: mdss: Fix disabling destination scalar using 4K panel
4K panel uses split control path setup, so there is no need to correct
the panel width when updating the mixer width resolution during
destination scalar disabling.

CRs-Fixed: 1093549
Change-Id: I064987534124e025abaccec05ab70acf93538bce
Signed-off-by: Benjamin Chan <bkchan@codeaurora.org>
2016-11-25 07:46:57 -08:00
Swetha Chikkaboraiah
394c5c6ca0 qcom: scm: remove printing input arguments
scm_call2 is printing the input arguments if TZ ret value is  < 0
leading to information leak. Remove printing input arguments.

Change-Id: I21dd6d83fa979aed2c79ebb2c9c8de63a247dded
CRs-Fixed: 1076407
Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
Signed-off-by: Paresh Purabhiya <ppurab@codeaurora.org>
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2016-11-25 04:10:25 -08:00
Ray Zhang
a360fc2d1d clk: msm: hdmi: correct the precision when calculating HDMI PLL
In existing HDMI PLL driver the VCO frequency value is truncated
so following PLL calculation could be impacted. Use 64 bit value
instead to maintain the necessary precision.

CRs-Fixed: 1086894
Change-Id: Iec3f65942dd152b0b7aa32af1a90039fff06cb34
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
2016-11-25 17:16:45 +08:00
King Li
642cb61f18 ARM: dts: msm: Add VADC_HC and BTM channels for QVR8998
Clients of VADC_HC and BTM include reading voltage phone
power, system thermistors for thermal mitigation such as
msm_therm, case_therm, XO therm. Add the supported VADC
and BTM channels for the msm8998-qrd-vr1 platforms.

CRs-Fixed: 1090542
Change-Id: I4cda24b1be20310f54ceba1297f424ede1c5d889
Signed-off-by: King Li <kjli@codeaurora.org>
2016-11-25 01:11:04 -08:00
King Li
9a0bc03c52 ARM: dts: msm: Add VADC_HC and BTM channels for QRD8998 SKUK
Clients of VADC_HC and BTM include reading voltage phone
power, system thermistors for thermal mitigation such as
msm_therm, case_therm, XO therm. Add the supported VADC
and BTM channels for the msm8998-qrd-skuk platforms.

CRs-Fixed: 1090579
Signed-off-by: King Li <kjli@codeaurora.org>
Change-Id: I7b7c0ec59e9a3ce8a3526bdc8eb7359a0c98ccd7
2016-11-25 01:08:14 -08:00
Ray Zhang
83c88144ae clk: msm: hdmi: add support for live programming of HDMI PLL
Clock recovery and dynamic resolution change require changing
HDMI clock rate while HDMI PLL is on. There are two paths while
clock is changed, one is atomic update which doesn't require
PLL tear down, the other is when clock rate change is too big
and a full PLL tear down is needed.

CRs-Fixed: 1086894
Change-Id: Ia202e0aee09f506a7bbe4e13702f30dee119ce8e
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
2016-11-25 17:06:47 +08:00
Linux Build Service Account
9a20006c20 Merge "soc: qcom: fix uninitialized references in gladiator_erp_v2" 2016-11-25 00:10:26 -08:00
Linux Build Service Account
c03c511346 Merge "ARM: dts: msm: Add support of IPA for falcon" 2016-11-25 00:10:25 -08:00
Neeraj Upadhyay
263f60e245 procfs: Update order of Ngid in /proc/PID/status
Addition of Ngid breaks some third party applications, which
are dependent on a particular order of fields. This change
moves the field to the end, to fix this issue.

Change-Id: Ifdc781aca49dcb535d5fa5005b85dc87604560dc
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
2016-11-24 23:35:06 -08:00
Vijayavardhan Vennapusa
e0d9b5dae9 USB: dwc3-msm: Fix issue related to error recovery for ERRATIC ERROR
If ERRATIC event irq is triggered by USB controller, it requires to perform
block reset USB controller as recovery mechanism as per SNPS data book.
Error recovery happens through allowing USB entering low power mode and
exit low power mode. We might see recovery failing as check for P3 state is
true as part of suspend and results in USB not entering low power mode.
Fix this issue by allowing USB enter low power mode in case of recovery
flag mdwc->in_restart set.

CRs-Fixed: 1060831
Change-Id: I41f935da3d4af1dd04eb4b3299e36a0f528633da
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
2016-11-25 11:42:01 +05:30
Azhar Shaikh
2a1e72fbbc usb: dwc3-msm: Fix restart usb work functionality
Commit 18cd808986ba101d ("usb: dwc3-msm: Make power collapse
and power-on-reset mandatory") removed the device tree properties
for power-collapse due to which the dwc3_restart_usb_work() which
was supposed to do a full POR sequence by simulating a cable
disconnection-reconnection sequence now only does a dbm reset.
Fix this, so that dwc3_restart_usb_work(), does a full POR.

CRs-Fixed: 975249
Change-Id: Iaabe9283ec80954a2e504a55f2b4cdf93ca8ae46
Signed-off-by: Azhar Shaikh <azhars@codeaurora.org>
2016-11-24 22:04:48 -08:00
Vijayavardhan Vennapusa
e0a3a8b537 USB: dwc3-msm: clear in_restart flag always in restart work
Currenlty driver is clearing mdwc->inrestart flag only if vbus_active
is high only after making sure USB entered low power mode. There is a
chance cable is disconnected during execution of restart work and endup
not clearing mdwc->in_restart flag if disconnect happens. Hence fix this
by clearing mdwc->in_restart flag always irrespective of vbus_active set
or cleared.

Change-Id: I15fa1893c798946c7514bf8cb23773b5784e671e
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
2016-11-25 11:25:35 +05:30
Anil Kumar Mamidala
625eb19435 qos: wake up cores based on the qos updated cpu mask
If the qos value is increased only for a subset of cpu's
aggregated qos for those cpu's is still the previous value.
This is because the qos request list is maintained per
request and not per cpu. In this case as there is no change
in aggregated qos value, these cpu's are not wokenup to
take the new qos value into effect.

So wakeup cpu's even if the aggregated qos value does not change
but the cpumask changes.

Change-Id: If5a4a100108e85e04beb77e5249bd6c452672edf
Signed-off-by: Anil Kumar Mamidala <amami@codeaurora.org>
2016-11-24 21:42:52 -08:00
Vijayavardhan Vennapusa
7da888fb9f ARM: dts: msm: Make required changes for msm8998-interposer
Add required changes for LDOs for msm8998-interposer-msmfalcon
for USB functionality to be working.

Change-Id: I121651a49ef27ba02f1960ed5c95baf93b00d1f5
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
2016-11-25 10:53:07 +05:30
Vijayavardhan Vennapusa
b1aeba6864 ARM: dts: msm: Add USBPD PHY device node for msmfalcon
Add required USBPD PHY device node for msmfalcon for USB PD
functionality to be working.

Change-Id: I8cd2981f176e08c1ea4f8a9b7ff42887b590d941
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
2016-11-25 10:48:06 +05:30
Dilip Gudlur
f9569c05cd soc: qcom: Turn off MSM_PERFORMANCE_HOTPLUG_ON by default
Core-ctl module by default, manages cpus instead of msm_performance
module. Set this config to allow msm_performance manage(hot-plug) cores
in the absence of core-ctl.

Change-Id: I02a1007edfc63ad2c2dd99616cb1a64432b08d13
Signed-off-by: Dilip Gudlur <dgudlur@codeaurora.org>
2016-11-24 18:21:05 -08:00
Meng Wang
cd2519b7dc ASoC: audio-ext-clk: add new audio ext clock
In common clock framework, API for registering clk
provider for a node is changed to of_clk_add_provider.
Add new audio ext clock file to use new API to register
audio clk provider.

Crs-Fixed: 1090500
Change-Id: I1d7ecc6a3d4c48d0de9645043d5e5bfdfa1d1f5f
Signed-off-by: Meng Wang <mwang@codeaurora.org>
2016-11-25 09:20:12 +08:00
Lior David
a43a092282 wil6210: support FTM/AOA while unassociated
Prepare driver for FTM/AOA while unassociated.
1. Added attributes allowing user space to specify the frequency
where FTM/AOA peer is listening. When specified it will override
the entry in the kernel scan results cache. If not specified,
the kernel scan results cache will be used like today.
This gives user space location framework more flexibility - it
can maintain its own cache of peers, or perform scans less
often (since entries in the kernel scan results cache expire
quickly)
2. Remove associated check when starting FTM session, so session
can start even when unassociated.

Change-Id: Ib0ba52c506e1d8d59ab8c12043acd792405d69a0
CRs-Fixed: 1094147
Signed-off-by: Lior David <liord@codeaurora.org>
2016-11-24 23:57:16 +02:00
Linux Build Service Account
bee274711e Merge "clk: qcom: Add snapshot of OSM CPU clock driver" 2016-11-24 13:46:42 -08:00
Linux Build Service Account
00bfc5fe15 Merge "ARM: dts: msm: Add RTB support for msmtriton" 2016-11-24 13:46:38 -08:00
Linux Build Service Account
97679b802a Merge "ARM: dts: msm: Add mpm2-sleep-counter device for msmtriton" 2016-11-24 13:46:37 -08:00
Linux Build Service Account
2488cd08b4 Merge "arm: qcom: correct description for MSMTRITON and MSMFALCON" 2016-11-24 13:46:36 -08:00
Subhash Jadavani
00e8c4542a ARM: dts: msm: add UFS_RESET pin ctrl data for msm8998
This change adds the UFS_RESET pin ctrl data for UFS controller node.
This will enable UFS driver to issue reset to UFS device.

Change-Id: I61561fb7e395671d2bc52c6a9c0c71e0351114ea
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
2016-11-24 07:59:56 -08:00
Subhash Jadavani
0c82737188 scsi: ufs: add UFS device reset support
Some platforms may have a SOC pin/gpio connected to UFS device's
RST_n to allow the UFS device reset. This change adds support to
trigger device reset on such platforms.

Change-Id: Ie4faa47fb76837dba909f9a3d0dfe11bc69659e1
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
2016-11-24 07:55:03 -08:00
Subhash Jadavani
1f92a7048e pinctrl: qcom: add UFS_RESET pin data for msm8998
UFS_RESET is a single purpose output only pin which can be used
to send reset to connected UFS device. This change adds the
UFS_RESET pin data.

Change-Id: Iec5e70e3f57a8dd06c0ceda3a6e67e47e043f2d1
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
2016-11-24 07:53:45 -08:00
Venkat Gopalakrishnan
c1f300eab8 scsi: ufs: perform full reset at initialization
The phy initialization sequence assumes a POR state but
the bootloaders can leave PHY at an already initialized
state, hence there could potentially be issues with the
initialization from ufs driver. Perform a full reset to
start from a power on reset state. Also a reset is
required by the UFS hardware programming guide.

Change-Id: I0118b0d3013166aeec0bb0bc0ef181e48998e758
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
2016-11-24 07:50:23 -08:00