OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
7 years agoMerge "defconfig: um: Disable activity stats"
Linux Build Service Account [Thu, 28 Jul 2016 02:26:31 +0000 (19:26 -0700)]
Merge "defconfig: um: Disable activity stats"

7 years agoMerge "msm: ipa: do not use delay in SSR"
Linux Build Service Account [Thu, 28 Jul 2016 02:26:30 +0000 (19:26 -0700)]
Merge "msm: ipa: do not use delay in SSR"

7 years agoMerge "qcom-charger: smb-lib: fix secure register writes"
Linux Build Service Account [Thu, 28 Jul 2016 02:26:29 +0000 (19:26 -0700)]
Merge "qcom-charger: smb-lib: fix secure register writes"

7 years agoMerge "ARM: dts: msm: set default mem_type for ETR device on msmcobalt"
Linux Build Service Account [Thu, 28 Jul 2016 02:26:27 +0000 (19:26 -0700)]
Merge "ARM: dts: msm: set default mem_type for ETR device on msmcobalt"

7 years agoMerge "coresight-tmc: add support to set default mem_type"
Linux Build Service Account [Thu, 28 Jul 2016 02:26:27 +0000 (19:26 -0700)]
Merge "coresight-tmc: add support to set default mem_type"

7 years agoMerge "msm: camera: isp: Add isp version"
Linux Build Service Account [Thu, 28 Jul 2016 02:26:26 +0000 (19:26 -0700)]
Merge "msm: camera: isp: Add isp version"

7 years agoMerge "qcom-charger: qpnp-smb2: update battery charging status on input suspend"
Linux Build Service Account [Thu, 28 Jul 2016 02:26:25 +0000 (19:26 -0700)]
Merge "qcom-charger: qpnp-smb2: update battery charging status on input suspend"

7 years agoMerge "ARM: dts: msm: Revert add HDMI support for 8996 mtp"
Linux Build Service Account [Thu, 28 Jul 2016 02:26:22 +0000 (19:26 -0700)]
Merge "ARM: dts: msm: Revert add HDMI support for 8996 mtp"

7 years agoMerge "input: it7258_ts_i2c: clean up the it7258_ts_i2c driver"
Linux Build Service Account [Wed, 27 Jul 2016 13:32:38 +0000 (06:32 -0700)]
Merge "input: it7258_ts_i2c: clean up the it7258_ts_i2c driver"

7 years agoMerge "msm: vidc: Fix limit for LTR mode control"
Linux Build Service Account [Wed, 27 Jul 2016 13:32:38 +0000 (06:32 -0700)]
Merge "msm: vidc: Fix limit for LTR mode control"

7 years agoMerge "msm: vidc: add h264 8x8 transform mode support"
Linux Build Service Account [Wed, 27 Jul 2016 13:32:37 +0000 (06:32 -0700)]
Merge "msm: vidc: add h264 8x8 transform mode support"

7 years agoMerge "icnss: Update event workqueue flags"
Linux Build Service Account [Wed, 27 Jul 2016 13:32:36 +0000 (06:32 -0700)]
Merge "icnss: Update event workqueue flags"

7 years agoMerge "ARM: dts: msm: add FG GEN3 device on pmicobalt"
Linux Build Service Account [Wed, 27 Jul 2016 13:32:35 +0000 (06:32 -0700)]
Merge "ARM: dts: msm: add FG GEN3 device on pmicobalt"

7 years agoMerge "msm: ipa3: changes to IPA USB APIs to support SMMU"
Linux Build Service Account [Wed, 27 Jul 2016 13:32:34 +0000 (06:32 -0700)]
Merge "msm: ipa3: changes to IPA USB APIs to support SMMU"

7 years agoMerge "icnss: Add state check before calling wlan suspend/resume"
Linux Build Service Account [Wed, 27 Jul 2016 13:32:33 +0000 (06:32 -0700)]
Merge "icnss: Add state check before calling wlan suspend/resume"

7 years agoMerge "ARM: dts: msm: Add IPC Router devices for MSMFALCON"
Linux Build Service Account [Wed, 27 Jul 2016 13:32:31 +0000 (06:32 -0700)]
Merge "ARM: dts: msm: Add IPC Router devices for MSMFALCON"

7 years agoMerge "ARM: dts: msm: Add glink_pkt devices for MSMFALCON"
Linux Build Service Account [Wed, 27 Jul 2016 13:32:31 +0000 (06:32 -0700)]
Merge "ARM: dts: msm: Add glink_pkt devices for MSMFALCON"

7 years agoMerge "ARM: dts: msm: add pinctrl settings for DP GPIOs for msmcobalt"
Linux Build Service Account [Wed, 27 Jul 2016 13:32:27 +0000 (06:32 -0700)]
Merge "ARM: dts: msm: add pinctrl settings for DP GPIOs for msmcobalt"

7 years agoMerge "net: Revert upstream changes which break routing in tunnel scenarios"
Linux Build Service Account [Wed, 27 Jul 2016 13:32:26 +0000 (06:32 -0700)]
Merge "net: Revert upstream changes which break routing in tunnel scenarios"

7 years agoMerge "iommu/iommu-debug: Make debug driver 32 bit compatible"
Linux Build Service Account [Wed, 27 Jul 2016 13:32:22 +0000 (06:32 -0700)]
Merge "iommu/iommu-debug: Make debug driver 32 bit compatible"

7 years agoMerge "usb: pd: Don't notify EXTCON_USB unless type is SDP or CDP"
Linux Build Service Account [Wed, 27 Jul 2016 13:32:21 +0000 (06:32 -0700)]
Merge "usb: pd: Don't notify EXTCON_USB unless type is SDP or CDP"

7 years agoMerge "defconfig: arm64: msm: Enable ESP transformation"
Linux Build Service Account [Wed, 27 Jul 2016 13:32:21 +0000 (06:32 -0700)]
Merge "defconfig: arm64: msm: Enable ESP transformation"

7 years agoMerge "ASoC: open ASM session with 24 bit for 24 bit playback"
Linux Build Service Account [Wed, 27 Jul 2016 06:34:43 +0000 (23:34 -0700)]
Merge "ASoC: open ASM session with 24 bit for 24 bit playback"

7 years agoMerge "scsi: ufs: Crash the system on unrecoverable state"
Linux Build Service Account [Wed, 27 Jul 2016 06:34:42 +0000 (23:34 -0700)]
Merge "scsi: ufs: Crash the system on unrecoverable state"

7 years agoMerge "msm: cpp: Query buffer from buffer manager based on index"
Linux Build Service Account [Wed, 27 Jul 2016 06:34:41 +0000 (23:34 -0700)]
Merge "msm: cpp: Query buffer from buffer manager based on index"

7 years agoMerge "usb: pd: Add vendor defined message handling"
Linux Build Service Account [Wed, 27 Jul 2016 06:34:41 +0000 (23:34 -0700)]
Merge "usb: pd: Add vendor defined message handling"

7 years agoMerge "ARM: dts: msm: add default trace sink for MSMCOBALT"
Linux Build Service Account [Wed, 27 Jul 2016 06:34:40 +0000 (23:34 -0700)]
Merge "ARM: dts: msm: add default trace sink for MSMCOBALT"

7 years agoMerge "input: touchpanel: Add GT9xx touchpanel driver for skuf"
Linux Build Service Account [Wed, 27 Jul 2016 06:34:38 +0000 (23:34 -0700)]
Merge "input: touchpanel: Add GT9xx touchpanel driver for skuf"

7 years agoMerge "input: touchscreen: Add synaptics v1 driver"
Linux Build Service Account [Wed, 27 Jul 2016 06:34:37 +0000 (23:34 -0700)]
Merge "input: touchscreen: Add synaptics v1 driver"

7 years agoMerge "soc: qcom: build kryo-l2-accessors only for msm8996"
Linux Build Service Account [Wed, 27 Jul 2016 06:34:36 +0000 (23:34 -0700)]
Merge "soc: qcom: build kryo-l2-accessors only for msm8996"

7 years agoMerge "clk: msm8996: compile 8996 clock files only for ARCH_MSM8996"
Linux Build Service Account [Wed, 27 Jul 2016 06:34:36 +0000 (23:34 -0700)]
Merge "clk: msm8996: compile 8996 clock files only for ARCH_MSM8996"

7 years agoMerge "input: touchpanel: Add Mstar msg21xx touchpanel driver"
Linux Build Service Account [Wed, 27 Jul 2016 06:34:35 +0000 (23:34 -0700)]
Merge "input: touchpanel: Add Mstar msg21xx touchpanel driver"

7 years agoMerge "usb: xhci-plat: Add XHCI_STATE_REMOVING flag on removal of usb device"
Linux Build Service Account [Wed, 27 Jul 2016 06:34:34 +0000 (23:34 -0700)]
Merge "usb: xhci-plat: Add XHCI_STATE_REMOVING flag on removal of usb device"

7 years agoMerge "xhci: fix 10 second timeout on removal of PCI hotpluggable xhci controllers"
Linux Build Service Account [Wed, 27 Jul 2016 06:34:33 +0000 (23:34 -0700)]
Merge "xhci: fix 10 second timeout on removal of PCI hotpluggable xhci controllers"

7 years agoMerge "ASoc: msm: fix out of bounds array access"
Linux Build Service Account [Wed, 27 Jul 2016 06:34:32 +0000 (23:34 -0700)]
Merge "ASoc: msm: fix out of bounds array access"

7 years agoMerge "ASoC: msm: qdsp6v2: DAP: Update check to validate data length"
Linux Build Service Account [Wed, 27 Jul 2016 06:34:31 +0000 (23:34 -0700)]
Merge "ASoC: msm: qdsp6v2: DAP: Update check to validate data length"

7 years agoMerge "qcom-charger: smb2: configure input from wipower"
Linux Build Service Account [Wed, 27 Jul 2016 06:34:31 +0000 (23:34 -0700)]
Merge "qcom-charger: smb2: configure input from wipower"

7 years agoMerge "msm: Camera buffer overflow fix"
Linux Build Service Account [Wed, 27 Jul 2016 06:34:30 +0000 (23:34 -0700)]
Merge "msm: Camera buffer overflow fix"

7 years agoMerge "iommu/arm-smmu: Print device name in context fault handler"
Linux Build Service Account [Wed, 27 Jul 2016 06:34:29 +0000 (23:34 -0700)]
Merge "iommu/arm-smmu: Print device name in context fault handler"

7 years agoMerge "sound: usb: Update USB audio QMI data structure"
Linux Build Service Account [Wed, 27 Jul 2016 06:34:28 +0000 (23:34 -0700)]
Merge "sound: usb: Update USB audio QMI data structure"

7 years agomsm: cpp: Query buffer from buffer manager based on index
Krishnankutty Kolathappilly [Tue, 3 May 2016 06:46:14 +0000 (23:46 -0700)]
msm: cpp: Query buffer from buffer manager based on index

Query buffer from buffer manager based on buf index.
This allows modules to provide a buffer associated
with a particular request and avoids a wrong buffer
from being returned.

CRs-Fixed: 1018651
Change-Id: I206f3fa334d96e9f57fcbd985922a436ed701ff3
Signed-off-by: Krishnankutty Kolathappilly <kkolatha@codeaurora.org>
Signed-off-by: Hariram Purushothaman <hariramp@codeaurora.org>
7 years agoclk: osm: msm: add support for DxFSM workaround
Osvaldo Banuelos [Wed, 6 Jul 2016 21:40:59 +0000 (14:40 -0700)]
clk: osm: msm: add support for DxFSM workaround

Support a new OSM sequence which optimizes the number of
instructions required to program MEM-ACC settings and
the APM configuration of the CPUSS. This frees up sufficent
space to implement the DxFSM workaround.

CRs-Fixed: 1043040
Change-Id: I9499497cb558efcf3c73e7145ce65d3f129be696
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
7 years agoclk: msm: osm: add workaround for C2D/C3 + D2D collapse issue
Osvaldo Banuelos [Mon, 20 Jun 2016 19:51:53 +0000 (12:51 -0700)]
clk: msm: osm: add workaround for C2D/C3 + D2D collapse issue

Program architectural register 6 with the address of the SPM
core count hysteresis register and architectural register 7
with the up and down core-count SPM hysteresis values. The
sequencer uses this information to ensure stable operation
when CPU retention or power-collapse and cluster collapse
LPMs are enabled.

CRs-Fixed: 1045435
Change-Id: I5e41ce376c694736128ceb051db86f93467fdaea
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
7 years agoARM: dts: msm: update frequency to ACC level mappings for msmcobalt
Osvaldo Banuelos [Mon, 20 Jun 2016 18:16:16 +0000 (11:16 -0700)]
ARM: dts: msm: update frequency to ACC level mappings for msmcobalt

Since LowSVS and SVS frequencies share the same ACC settings,
map any frequency in the LowSVS to SVS range to the same ACC
level. By doing so, the OSM device need only support 3 levels
instead of 4 thus saving sequencer instruction space. Also,
update the ACC setting to ensure bit 31 of the last ACC register
in each cluster is set when running at LowSVS/SVS frequencies.

CRs-Fixed: 1021659
Change-Id: I322b9b57ec89f5cdc75336d83010ff89a6bb5726
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
7 years agoARM: dts: msm: specify APM threshold voltage in OSM for msmcobalt
Osvaldo Banuelos [Tue, 21 Jun 2016 22:10:20 +0000 (15:10 -0700)]
ARM: dts: msm: specify APM threshold voltage in OSM for msmcobalt

Define the APM threshold voltage to be used by the OSM device
to determine the correct APM supply selection for different
DCVS setpoints.

CRs-Fixed: 1021656 1030444
Change-Id: Iebeb45eaa2503bd5be19f00938d0dbec1163c5a5
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
7 years agoclk: msm: osm: add support for APM crossover corner
Osvaldo Banuelos [Tue, 21 Jun 2016 16:19:16 +0000 (09:19 -0700)]
clk: msm: osm: add support for APM crossover corner

Add support to determine the APM threshold corner via open-loop
voltages in the VDD regulator OPP table. The threshold corner
is used by OSM to determine the APM supply for each DCVS setpoint.
The crossover corner is used by OSM to request a specific voltage
during the APM switch transition.

CRs-Fixed: 1021656 1030444
Change-Id: Iac04f6db8e85b3651a33b6c9bff667365cae891d
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
7 years agoregulator: cprh-kbss-regulator: add support for APM crossover corner
Osvaldo Banuelos [Tue, 24 May 2016 00:12:08 +0000 (17:12 -0700)]
regulator: cprh-kbss-regulator: add support for APM crossover corner

Add support for a corner whose open-loop voltage corresponds to the
VDD supply voltage required during an APM switch transition. This
corner is requested by OSM hardware to the CPRh controller when
the VDD supply must be set to a specific voltage to ensure a stable
APM switch procedure. Define a crossover corner of 880 mV for both
VDD_APC CPR devices.

CRs-Fixed: 1021656
Change-Id: Icf4b640ec2c330b0d9721d3494297e2d8445c9b6
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
7 years agomsm: vidc: Fix limit for LTR mode control
Amit Shekhar [Wed, 27 Jul 2016 00:20:53 +0000 (17:20 -0700)]
msm: vidc: Fix limit for LTR mode control

Currently, maximum value for VIDC_VIDEO_LTRMODE contrl is set to
LTR_MODE_PERIODIC which is not supported. By limiting it to
LTR_MODE_MANUAL, the control value will stay with in supported range.

CRs-Fixed: 1046755
Change-Id: I85b8ac6dc847343d42cb2f6466137bf43fc1b7c1
Signed-off-by: Amit Shekhar <ashekhar@codeaurora.org>
7 years agomsm: ipa3: changes to IPA USB APIs to support SMMU
Skylar Chang [Wed, 27 Jul 2016 00:17:22 +0000 (17:17 -0700)]
msm: ipa3: changes to IPA USB APIs to support SMMU

Add support to IPA USB APIs for SMMU.

CRs-Fixed: 1046497
Change-Id: Ifca675f308b59913743baf2e59dc3ed515a5b974
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
7 years agoARM: dts: msm: put ipa3 in smmu s1-bypass on msmcobalt
Skylar Chang [Mon, 6 Jun 2016 16:29:44 +0000 (09:29 -0700)]
ARM: dts: msm: put ipa3 in smmu s1-bypass on msmcobalt

Enable SMMU on IPA3 and put in stage1-bypass mode to
not do the memory mapping.

Change-Id: Id2811c67a423c82201993b3119647a3d4caf4517
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
8 years agoMerge "clk: msm: osm: support PLL droop detector workaround" into msm-4.4
Linux Build Service Account [Tue, 26 Jul 2016 22:08:56 +0000 (15:08 -0700)]
Merge "clk: msm: osm: support PLL droop detector workaround" into msm-4.4

8 years agoARM: dts: msm: add FG GEN3 device on pmicobalt
Subbaraman Narayanamurthy [Wed, 22 Jun 2016 03:06:07 +0000 (20:06 -0700)]
ARM: dts: msm: add FG GEN3 device on pmicobalt

FG GEN3 peripheral is present on pmicobalt and it provides the
battery parameters like current, voltage, resistance and
temperature for the clients that depend on them. Add FG GEN3
device on pmicobalt to support that.

Change-Id: I7ebb6a50564abc8e607f688d59690c55c10e2dc9
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
8 years agopower: qcom-charger: add driver for GEN3 fuel gauge
Subbaraman Narayanamurthy [Mon, 14 Mar 2016 23:41:16 +0000 (16:41 -0700)]
power: qcom-charger: add driver for GEN3 fuel gauge

GEN3 FG (fuel gauge) is a new hardware peripheral which cannot
be supported along with existing GEN1/GEN2 FG supported under
qpnp-fg.c. Some of the differences are listed below.

- No conventional memory access for accessing SRAM
- No OTP region for battery profile
- FTRIM registers will be loaded to SRAM
- SRAM partitioning and address format got changed completely
- Battery id detection done by RR_ADC
- Encoding/Decoding changes for battery parameters

Hence add a new driver to support this GEN3 FG. This driver
reads the battery parameters like voltage, current, temperature,
resistance etc. acquired by the FG hardware and expose to the
userspace through a power supply class device.

Change-Id: Ibcd6e49c7dc7c3520527bcf9553296e846fb7458
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
8 years agoscsi: ufs: Crash the system on unrecoverable state
Venkat Gopalakrishnan [Tue, 26 Jul 2016 01:55:53 +0000 (18:55 -0700)]
scsi: ufs: Crash the system on unrecoverable state

If we have hit fatal errors and are not able to recover using
a reset, crash the system instead of proceeding and causing
further system failures.

Change-Id: I01820e4e8d3d3b603f16b615ae475095c3a417dd
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
8 years agoicnss: Update event workqueue flags
Yuanyuan Liu [Tue, 26 Jul 2016 17:26:22 +0000 (10:26 -0700)]
icnss: Update event workqueue flags

There are events doing probe/remove operations that
shouldn't be swapped. Strict the order by setting
max_active to 1 and adding the WQ_UNBOUND flag.

Change-Id: If65c952622bbaa3f71de6d02c81dbbba5ccead4e
CRs-Fixed: 1046131
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
8 years agoinput: it7258_ts_i2c: clean up the it7258_ts_i2c driver
Sudhakar Manapati [Fri, 8 May 2015 13:43:31 +0000 (19:13 +0530)]
input: it7258_ts_i2c: clean up the it7258_ts_i2c driver

Clean it7258_ts_i2c touchscreen driver from checkpatch errors.

This patch is a propagated patch from 3.18 kernel
'commit 6b0cae0c59dc ("input: it7258_ts_i2c: clean
checkpatch errors")'

Change-Id: I7eac4a04a19beebe8c89b5328a2cf921fa78bb69
Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
Signed-off-by: Abinaya P <abinayap@codeaurora.org>
8 years agomsm: vidc: add h264 8x8 transform mode support
Deepak Kushwah [Mon, 28 Mar 2016 13:01:55 +0000 (18:31 +0530)]
msm: vidc: add h264 8x8 transform mode support

Add h264 8x8 transform mode support for Client to
enable or disable it when required.

CRs-Fixed: 1045849
Change-Id: I365a3acd2b3375f093da39e68a98a2a4d35c2287
Signed-off-by: Deepak Kushwah <dkushwah@codeaurora.org>
8 years agousb: pd: Add vendor defined message handling
Jack Pham [Tue, 12 Jul 2016 23:01:07 +0000 (16:01 -0700)]
usb: pd: Add vendor defined message handling

Add APIs to send and receive vendor defined messages (VDM) over
USB PD. A handler for a standard or vendor ID (SVID) can register
callbacks to be notified of reception of VDM messages. One
use case is for another kernel driver, such as DisplayPort, to be
able to be notified when an Alternate Mode adapter is connected
to the Type-C port in order to enter modal operation. SVID
handlers should maintain their own state and timer resources
in order to comply with the Power Delivery Specification.

Change-Id: Ibe26e6deeca587f21f8121f6f32cf7cc0a5c3e23
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Signed-off-by: Jack Pham <jackp@codeaurora.org>
8 years agoARM: dts: msm: add default trace sink for MSMCOBALT
Satyajit Desai [Fri, 8 Jul 2016 19:54:27 +0000 (12:54 -0700)]
ARM: dts: msm: add default trace sink for MSMCOBALT

Enable TMC-ETF as the default sink for CoreSight logging.

Change-Id: Ifc867e83746f51abc8d990a334d3f5642efc9c33
Signed-off-by: Satyajit Desai <sadesai@codeaurora.org>
8 years agoinput: touchscreen: Add synaptics v1 driver
Alexandra Chin [Mon, 24 Dec 2012 07:42:30 +0000 (15:42 +0800)]
input: touchscreen: Add synaptics v1 driver

This is the initial commit from thirt party project.
Git-commit: bedea8a0819fc95acd0222e21e61203c8a08bb16
Git-repo: https://github.com/synaptics-touch/synaptics-dsx-i2c/

Change-Id: I892bc03122b096b43fc7f6b757b1161470597ddb
Signed-off-by: Alexandra Chin <alexandra.chin@tw.synaptics.com>
Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
(cherry picked from commit 7d4470e29ce77e62acc14a21210e88207e4692b5)

8 years agoMerge "clk: qcom: clk-dummy: Add a dummy clock provider"
Linux Build Service Account [Sun, 24 Jul 2016 16:55:40 +0000 (09:55 -0700)]
Merge "clk: qcom: clk-dummy: Add a dummy clock provider"

8 years agoMerge "ARM: dts: msm: Add GDSC data for mnoc fab for msmcobalt"
Linux Build Service Account [Sun, 24 Jul 2016 09:02:46 +0000 (02:02 -0700)]
Merge "ARM: dts: msm: Add GDSC data for mnoc fab for msmcobalt"

8 years agoMerge "msm: mdss: mdp: fix handling of GDSC off notifier"
Linux Build Service Account [Sun, 24 Jul 2016 09:02:45 +0000 (02:02 -0700)]
Merge "msm: mdss: mdp: fix handling of GDSC off notifier"

8 years agoMerge "ASoC: wcd: add wcd934x gpio controller device"
Linux Build Service Account [Sat, 23 Jul 2016 23:05:26 +0000 (16:05 -0700)]
Merge "ASoC: wcd: add wcd934x gpio controller device"

8 years agoARM: dts: msm: add pinctrl settings for DP GPIOs for msmcobalt
Chandan Uddaraju [Wed, 1 Jun 2016 18:35:11 +0000 (11:35 -0700)]
ARM: dts: msm: add pinctrl settings for DP GPIOs for msmcobalt

Add active and sleep sets for the DP Aux input lanes, HPD and
the USB-type-C orientation detection GPIO.
These GPIOs are needed to enable display on the DP interface.

Change-Id: I4d743246dfe74a80ecce283b6056baf153e588f9
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
8 years agoMerge "input: touchscreen: remove dead code in it7258 driver"
Linux Build Service Account [Fri, 22 Jul 2016 15:56:34 +0000 (08:56 -0700)]
Merge "input: touchscreen: remove dead code in it7258 driver"

8 years agoMerge "input: touchscreen: Add Touch screen driver for IC it7258"
Linux Build Service Account [Fri, 22 Jul 2016 15:56:34 +0000 (08:56 -0700)]
Merge "input: touchscreen: Add Touch screen driver for IC it7258"

8 years agoMerge "of_batterydata: Pass battery id directly to find battery profile"
Linux Build Service Account [Fri, 22 Jul 2016 15:56:33 +0000 (08:56 -0700)]
Merge "of_batterydata: Pass battery id directly to find battery profile"

8 years agoMerge "clk: msm: Fix MDSS compilation issue"
Linux Build Service Account [Fri, 22 Jul 2016 15:56:32 +0000 (08:56 -0700)]
Merge "clk: msm: Fix MDSS compilation issue"

8 years agoMerge "dwc3: gadget: Add debug event for pull up operation"
Linux Build Service Account [Fri, 22 Jul 2016 15:56:31 +0000 (08:56 -0700)]
Merge "dwc3: gadget: Add debug event for pull up operation"

8 years agoMerge "msm: camera: isp: Vote bandwidth with clock enabled"
Linux Build Service Account [Fri, 22 Jul 2016 15:56:30 +0000 (08:56 -0700)]
Merge "msm: camera: isp: Vote bandwidth with clock enabled"

8 years agoMerge "msm: camera isp: Control camif interrupts on camif enable/disable"
Linux Build Service Account [Fri, 22 Jul 2016 15:56:29 +0000 (08:56 -0700)]
Merge "msm: camera isp: Control camif interrupts on camif enable/disable"

8 years agoMerge "msm: mdss: fix mdss errors on 32-bit compilation"
Linux Build Service Account [Fri, 22 Jul 2016 15:56:28 +0000 (08:56 -0700)]
Merge "msm: mdss: fix mdss errors on 32-bit compilation"

8 years agoMerge "soc: qcom: glink: Included sched.h to avoid build error"
Linux Build Service Account [Fri, 22 Jul 2016 15:56:27 +0000 (08:56 -0700)]
Merge "soc: qcom: glink: Included sched.h to avoid build error"

8 years agoMerge "arm: dma-mapping: Export arch_setup_dma_ops symbol"
Linux Build Service Account [Fri, 22 Jul 2016 15:56:24 +0000 (08:56 -0700)]
Merge "arm: dma-mapping: Export arch_setup_dma_ops symbol"

8 years agoMerge "soc: qcom: smem_xprt: Add CDSP entry in smem xprt driver"
Linux Build Service Account [Fri, 22 Jul 2016 15:56:23 +0000 (08:56 -0700)]
Merge "soc: qcom: smem_xprt: Add CDSP entry in smem xprt driver"

8 years agoMerge "ARM: dts: msm: Add G-Link SSR entries for MSMFALCON"
Linux Build Service Account [Fri, 22 Jul 2016 15:56:21 +0000 (08:56 -0700)]
Merge "ARM: dts: msm: Add G-Link SSR entries for MSMFALCON"

8 years agoMerge "ARM: dts: msm: Add SMEM entry for MSMFALCON"
Linux Build Service Account [Fri, 22 Jul 2016 15:56:20 +0000 (08:56 -0700)]
Merge "ARM: dts: msm: Add SMEM entry for MSMFALCON"

8 years agoMerge "Bluetooth: HID: Add support for building hid drivers"
Linux Build Service Account [Fri, 22 Jul 2016 15:56:20 +0000 (08:56 -0700)]
Merge "Bluetooth: HID: Add support for building hid drivers"

8 years agosoc: qcom: build kryo-l2-accessors only for msm8996
Srinivas Ramana [Fri, 8 Jul 2016 06:42:01 +0000 (12:12 +0530)]
soc: qcom: build kryo-l2-accessors only for msm8996

Build kryo-l2-accessors only for MSM8996. This will avoid
compilation errors while building for 32-bit.

Change-Id: I3433623797abbefc5f19991c215260d1df11e42a
Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
8 years agoclk: msm8996: compile 8996 clock files only for ARCH_MSM8996
Srinivas Ramana [Fri, 22 Jul 2016 09:43:43 +0000 (15:13 +0530)]
clk: msm8996: compile 8996 clock files only for ARCH_MSM8996

Currently on msm-4.4 kernel, MSM8996 clock files are built when
ARCH_QCOM is enabled. Compile 8996 clock files only when
ARCH_MSM8996 is enabled, to avoid any issue when compiling for
other targets.

Change-Id: I58440ae6cf7f02b7137312c38219efeaccf06b58
Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
8 years agoARM: dts: msm: Add IPC Router devices for MSMFALCON
Dhoat Harpal [Mon, 27 Jun 2016 12:50:23 +0000 (18:20 +0530)]
ARM: dts: msm: Add IPC Router devices for MSMFALCON

The IPC Router devices define the topology for high-level interprocessor
communication within the SoC.

CRs-Fixed: 1043377
Change-Id: I565c7c6323a129c4f29c8da5c3e8719121f1109d
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
8 years agoASoC: open ASM session with 24 bit for 24 bit playback
Preetam Singh Ranawat [Mon, 27 Jun 2016 11:24:07 +0000 (16:54 +0530)]
ASoC: open ASM session with 24 bit for 24 bit playback

For 24 bit playback decoder is opened with 16 bits per sample, So
decoder output is 16 bit only.
Set bits per sample to 24 if codec format is SNDRV_PCM_FORMAT_S24_3LE.
Set bits per sample to 16 as default value in capture prepare use case.

CRs-Fixed: 1035154
Change-Id: I14271b17441308f8ec6dfaea566c01887d1233f4
Signed-off-by: Preetam Singh Ranawat <apranawat@codeaurora.org>
8 years agoARM: dts: msm: Add G-Link SMEM Transport entries for MSMFALCON
Dhoat Harpal [Tue, 28 Jun 2016 11:22:34 +0000 (16:52 +0530)]
ARM: dts: msm: Add G-Link SMEM Transport entries for MSMFALCON

These entries allow the G-Link SMEM Transport to function, which allows
G-Link to use shared memory as an underlying physical transport.

CRs-Fixed: 1043377
Change-Id: I879f2229b4ab74d760c03f2ce12a9ba3b1c9af8d
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
8 years agoARM: dts: msm: Add glink_pkt devices for MSMFALCON
Dhoat Harpal [Mon, 27 Jun 2016 12:41:19 +0000 (18:11 +0530)]
ARM: dts: msm: Add glink_pkt devices for MSMFALCON

Glink_pkt devices expose access to certain SMD resources to userspace.

CRs-Fixed: 1043377
Change-Id: I0dc5dd822424096522d3b0b5c26da424d3c2e006
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
8 years agoinput: touchpanel: Add Mstar msg21xx touchpanel driver
Bruce Ding [Tue, 15 Jul 2014 05:54:07 +0000 (13:54 +0800)]
input: touchpanel: Add Mstar msg21xx touchpanel driver

This is the reference driver source code for the msg21xx series.

Signed-off-by: Bruce Ding <bruce.ding@mstarsemi.com>
Signed-off-by: mstar-touch <bruce.ding@mstarsemi.com>
Git-commit: c4cdbf1ae326b8745f5e50f044d23aa8e3d3e131
Git-repo: https://github.com/mstar-touch/msg21xx

Change-Id: Ia9cbfac5dc6e1b74f47bf13dbafaacc2624ee4fd
[maol@codeaurora.org: keep the mstar original code without any
change in this commit]
Signed-off-by: Mao Li <maol@codeaurora.org>
(cherry picked from commit 2ce52642057a25fca6337826533d4fbfddede290)
Signed-off-by: Abinaya P <abinayap@codeaurora.org>
8 years agoinput: touchscreen: remove dead code in it7258 driver
Sudhakar Manapati [Tue, 5 May 2015 14:25:30 +0000 (19:55 +0530)]
input: touchscreen: remove dead code in it7258 driver

IT7258 touchscreen driver creates a character device which is
not used by anyone. Remove this dead code

Change-Id: Ied8a0048d8af17fa593c1970cabb572aac338786
Signed-off-by: Sudhakar Manapati <smanap@codeaurora.org>
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
8 years agoinput: touchpanel: Add GT9xx touchpanel driver for skuf
Andrew Huang [Thu, 27 Jun 2013 10:06:56 +0000 (10:06 +0000)]
input: touchpanel: Add GT9xx touchpanel driver for skuf

This is the reference driver source code V1.8 for the GT9XX series.For
this first commit just copy binary, the second commit decompress the
binary and the third commit upgrade the version. We just need the newest
version, so Squashed the following commits:

commit 31915760747230826fa474fbb5b06a70b103c7e7
Author: Andrew Huang <andrew@goodix.com>
Date:   Thu Jun 27 10:06:56 2013 +0000

    This is the official reference driver source code V1.8 for the GT9XX series CTP controller,release for CIENET.

Signed-off-by: Andrew Huang <andrew@goodix.com>
    git-svn-id: http://gtp-drivers-for-android.googlecode.com/svn//drivers@15 4d552555-e8e2-8f43-36d7-85641c3b7a2e

commit 82f70eaf58b0996e9f488b170f81a107642d4df8
Author: unknowtree@gmail.com <unknowtree@gmail.com>
Date:   Thu Jun 6 02:58:58 2013 +0000

    git-svn-id: http://gtp-drivers-for-android.googlecode.com/svn//drivers@7 4d552555-e8e2-8f43-36d7-85641c3b7a2e

commit 5c42b80f40a9731ac45d4e04a7a7528367f713e7
Author: unknowtree@gmail.com <unknowtree@gmail.com>
Date:   Tue Jun 4 08:53:01 2013 +0000

    git-svn-id: http://gtp-drivers-for-android.googlecode.com/svn//drivers@5 4d552555-e8e2-8f43-36d7-85641c3b7a2e

Change-Id: I30420fc51fe1bb153c36342e607539e5cd74de61
Signed-off-by: Pan Fang <fangpan@codeaurora.org>
(cherry picked from commit ab45aab306d8b8d16619bc02f35465fb8d6ff066)
Signed-off-by: Abinaya P <abinayap@codeaurora.org>
8 years agoinput: touchscreen: Add Touch screen driver for IC it7258
Alfred.Deng [Thu, 29 Jan 2015 11:11:43 +0000 (19:11 +0800)]
input: touchscreen: Add Touch screen driver for IC it7258

This is the reference driver source code of it7258 touchscreen driver.
Signed-off-by: Alfred Deng <Alfred.Deng@ite.com.tw>
Git-commit: 3852a7ccce89c17ec3c4165acf9c81753c940104
Git-repo: git://github.com/ite-touch/touchscreen-driver

Change-Id: Ic1eab3ba79b8e8e5c259bb92f2692fd0db5fc8d3
Signed-off-by: Himanshu Aggarwal <haggarwa@codeaurora.org>
(cherry picked from commit c25c3f1a0f29d7989b7d7058da74e465665bf279)
Signed-off-by: Abinaya P <abinayap@codeaurora.org>
8 years agoclk: msm: Fix MDSS compilation issue
Taniya Das [Fri, 22 Jul 2016 04:44:30 +0000 (10:14 +0530)]
clk: msm: Fix MDSS compilation issue

The MDSS clock drivers were not getting compiled due to an extra 'y', fix
the same.

CRs-Fixed: 1041122
Change-Id: I21e62361f40eb654c369048d01e158d4b96dd551
Signed-off-by: Taniya Das <tdas@codeaurora.org>
8 years agoof_batterydata: Pass battery id directly to find battery profile
Subbaraman Narayanamurthy [Mon, 18 Jul 2016 23:09:08 +0000 (16:09 -0700)]
of_batterydata: Pass battery id directly to find battery profile

Currently power supply name is passed to get the battery profile
in of_batterydata_get_best_profile(). This creates a dependency
of waiting for the driver that has the power supply class device.

Improve this by passing the battery id directly to the API. This
way, getting battery id will be the responsibility of caller.

CRs-Fixed: 1043798
Change-Id: I7a8c2b2fcc9b43e2e858114f7312fccf96dc3f78
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
8 years agomsm: camera: isp: Vote bandwidth with clock enabled
Shubhraprakash Das [Wed, 20 Jul 2016 18:29:06 +0000 (11:29 -0700)]
msm: camera: isp: Vote bandwidth with clock enabled

Vote for bandwidth after clocks are enabled. For bandwidth
voting clocks need to be on.

CRs-Fixed: 1044777
Change-Id: I9be1ee26419c082cda6351ef6d5aeedc6e17de55
Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
8 years agodefconfig: msmcortex: Enable DisplayPort driver
Chandan Uddaraju [Thu, 14 Apr 2016 23:06:39 +0000 (16:06 -0700)]
defconfig: msmcortex: Enable DisplayPort driver

Add support to displayport driver for msmcortex
platform.

Change-Id: I90d82873381cb1e9b86ed339d755365cccded537
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
8 years agomsm: mdss: dp: rename EDP files to DP
Chandan Uddaraju [Mon, 11 Jul 2016 06:38:36 +0000 (23:38 -0700)]
msm: mdss: dp: rename EDP files to DP

EDP is a add-on support for DP driver. Rename the
EDP [.ch] files and the AUX channel driver file to DP.

Change-Id: Ifeadae2f58eb4fbf398a682beb9180c4f7419041
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
8 years agomdss: Update EDP driver to support DisplayPort
Chandan Uddaraju [Wed, 2 Mar 2016 19:31:40 +0000 (11:31 -0800)]
mdss: Update EDP driver to support DisplayPort

Create new "util" files to support IO operations.
Use default resolution to register DP driver with FB.
Update regulator and clock changes to support generic
implementation.

Change-Id: I896ab17afce77faf3dcf64fd75b15eaec9d5a00e
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
8 years agonet: Revert upstream changes which break routing in tunnel scenarios
Subash Abhinov Kasiviswanathan [Wed, 20 Jul 2016 23:25:30 +0000 (17:25 -0600)]
net: Revert upstream changes which break routing in tunnel scenarios

This reverts the following -

commit f1900fb5eca2cf9 ("net: Really fix vti6 with oif in dst
lookups")
'commit 4148987a5111b0c ("net: Fix vti use case with oif in dst
lookups for IPv6")
commit 42a7b32b73d6bf2 ("xfrm: Add oif to dst lookups")

Routing in tunneled scenarios are completely broken due to these
upstream commits. Revert these changes as a workaround till a
solution is determined internally and is accepted upstream.

CRs-Fixed: 1039009
Change-Id: I4e02573bc6dadf8d1a2ce50313e6d0c6e6a0e599
Acked-by: Abhinav Kannan <kannana@qti.qualcomm.com>
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
8 years agoicnss: Add state check before calling wlan suspend/resume
Yuanyuan Liu [Wed, 20 Jul 2016 18:59:13 +0000 (11:59 -0700)]
icnss: Add state check before calling wlan suspend/resume

Check if wlan module is loaded before calling wlan
suspend/resume as wlan could be turned on before FW
ready. In this case, wlan driver operations are registered
to icnss platform but wlan driver is not loaded.

CRs-Fixed: 1044223
Change-Id: I134790377e15d4003ecfa686a9fa7ab720e08865
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
8 years agoclk: qcom: clk-dummy: Add a dummy clock provider
Taniya Das [Mon, 6 Jun 2016 10:22:09 +0000 (15:52 +0530)]
clk: qcom: clk-dummy: Add a dummy clock provider

Add a dummy clock provider that registers a simple callback that
in turn always returns the dummy clock for any clk_get call. This is useful
for unimplemented clocks.

Change-Id: I08fcb174fd0e0c49f8069e106b48597bcdfe847d
Signed-off-by: Taniya Das <tdas@codeaurora.org>
8 years agoASoC: msm: qdsp6v2: DAP: Update check to validate data length
Ashish Jain [Mon, 18 Jul 2016 10:37:42 +0000 (16:07 +0530)]
ASoC: msm: qdsp6v2: DAP: Update check to validate data length

A big negative data length value can bypass the current check,
update the condition to ensure that only valid data length is used
to copy the params.

CRs-Fixed: 1041130
Change-Id: I6e1a58e901e4c042acfb0ab0a6223dec2949aefe
Signed-off-by: Ashish Jain <ashishj@codeaurora.org>
8 years agoARM: dts: msm: Add G-Link SSR entries for MSMFALCON
Dhoat Harpal [Mon, 27 Jun 2016 10:55:14 +0000 (16:25 +0530)]
ARM: dts: msm: Add G-Link SSR entries for MSMFALCON

SSR entries contain the list of subsystems to notify when an SSR for a
given subsystem occurs. This information enables G-Link to handle
closing and re-opening channels in the case of SSR.

CRs-Fixed: 1043377
Change-Id: Ibd8ceb8149b3041ce1f58ac4c3642d7391b89385
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>