Commit graph

572275 commits

Author SHA1 Message Date
Linux Build Service Account
fd5564ed7f Merge "input: touchpanel: Add GT9xx touchpanel driver for skuf" 2016-07-26 23:34:38 -07:00
Linux Build Service Account
2142082d3b Merge "input: touchscreen: Add synaptics v1 driver" 2016-07-26 23:34:37 -07:00
Linux Build Service Account
c5d039f875 Merge "soc: qcom: build kryo-l2-accessors only for msm8996" 2016-07-26 23:34:36 -07:00
Linux Build Service Account
fcbd9169dd Merge "clk: msm8996: compile 8996 clock files only for ARCH_MSM8996" 2016-07-26 23:34:35 -07:00
Linux Build Service Account
4e32af1514 Merge "input: touchpanel: Add Mstar msg21xx touchpanel driver" 2016-07-26 23:34:34 -07:00
Linux Build Service Account
1b816439d5 Merge "usb: xhci-plat: Add XHCI_STATE_REMOVING flag on removal of usb device" 2016-07-26 23:34:33 -07:00
Linux Build Service Account
6870e5d936 Merge "xhci: fix 10 second timeout on removal of PCI hotpluggable xhci controllers" 2016-07-26 23:34:33 -07:00
Linux Build Service Account
92a41a2846 Merge "ASoc: msm: fix out of bounds array access" 2016-07-26 23:34:32 -07:00
Linux Build Service Account
57fdba1a12 Merge "ASoC: msm: qdsp6v2: DAP: Update check to validate data length" 2016-07-26 23:34:31 -07:00
Linux Build Service Account
cb50168ee3 Merge "qcom-charger: smb2: configure input from wipower" 2016-07-26 23:34:30 -07:00
Linux Build Service Account
e698c6eeea Merge "msm: Camera buffer overflow fix" 2016-07-26 23:34:30 -07:00
Linux Build Service Account
667469218d Merge "iommu/arm-smmu: Print device name in context fault handler" 2016-07-26 23:34:29 -07:00
Linux Build Service Account
0de8ef1f3e Merge "sound: usb: Update USB audio QMI data structure" 2016-07-26 23:34:28 -07:00
Osvaldo Banuelos
bb02457c09 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>
2016-07-26 18:43:06 -07:00
Osvaldo Banuelos
770bcca37a 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>
2016-07-26 18:42:06 -07:00
Osvaldo Banuelos
b924164a05 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>
2016-07-26 18:40:57 -07:00
Osvaldo Banuelos
cb2a4195c3 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>
2016-07-26 18:39:33 -07:00
Osvaldo Banuelos
3c7530a2d8 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>
2016-07-26 18:38:28 -07:00
Osvaldo Banuelos
9992623763 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>
2016-07-26 18:35:52 -07:00
Skylar Chang
ef0049eefd 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>
2016-07-26 15:28:54 -07:00
Linux Build Service Account
d1313a37fe Merge "clk: msm: osm: support PLL droop detector workaround" into msm-4.4 2016-07-26 15:08:56 -07:00
Alexandra Chin
d13776d16a 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)
2016-07-25 11:23:29 +05:30
Linux Build Service Account
cc915a3931 Merge "clk: qcom: clk-dummy: Add a dummy clock provider" 2016-07-24 09:55:39 -07:00
Linux Build Service Account
5e3b522e77 Merge "ARM: dts: msm: Add GDSC data for mnoc fab for msmcobalt" 2016-07-24 02:02:45 -07:00
Linux Build Service Account
5f77b228da Merge "msm: mdss: mdp: fix handling of GDSC off notifier" 2016-07-24 02:02:44 -07:00
Linux Build Service Account
4b20cd07d7 Merge "ASoC: wcd: add wcd934x gpio controller device" 2016-07-23 16:05:25 -07:00
Linux Build Service Account
3f4a2a724e Merge "input: touchscreen: remove dead code in it7258 driver" 2016-07-22 08:56:34 -07:00
Linux Build Service Account
68913b1d37 Merge "input: touchscreen: Add Touch screen driver for IC it7258" 2016-07-22 08:56:34 -07:00
Linux Build Service Account
10b41ef511 Merge "of_batterydata: Pass battery id directly to find battery profile" 2016-07-22 08:56:33 -07:00
Linux Build Service Account
ac21f49840 Merge "clk: msm: Fix MDSS compilation issue" 2016-07-22 08:56:32 -07:00
Linux Build Service Account
820e736182 Merge "dwc3: gadget: Add debug event for pull up operation" 2016-07-22 08:56:30 -07:00
Linux Build Service Account
8cc16db1d9 Merge "msm: camera: isp: Vote bandwidth with clock enabled" 2016-07-22 08:56:29 -07:00
Linux Build Service Account
a092b9d11e Merge "msm: camera isp: Control camif interrupts on camif enable/disable" 2016-07-22 08:56:28 -07:00
Linux Build Service Account
ccb831883f Merge "msm: mdss: fix mdss errors on 32-bit compilation" 2016-07-22 08:56:27 -07:00
Linux Build Service Account
a21b7b7eb3 Merge "soc: qcom: glink: Included sched.h to avoid build error" 2016-07-22 08:56:26 -07:00
Linux Build Service Account
54911af486 Merge "arm: dma-mapping: Export arch_setup_dma_ops symbol" 2016-07-22 08:56:24 -07:00
Linux Build Service Account
00f2ccdbf8 Merge "soc: qcom: smem_xprt: Add CDSP entry in smem xprt driver" 2016-07-22 08:56:22 -07:00
Linux Build Service Account
55a7d839d0 Merge "ARM: dts: msm: Add G-Link SSR entries for MSMFALCON" 2016-07-22 08:56:21 -07:00
Linux Build Service Account
c29dc4ae0a Merge "ARM: dts: msm: Add SMEM entry for MSMFALCON" 2016-07-22 08:56:20 -07:00
Linux Build Service Account
a75cdc332b Merge "Bluetooth: HID: Add support for building hid drivers" 2016-07-22 08:56:19 -07:00
Srinivas Ramana
6666355c67 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>
2016-07-22 19:10:59 +05:30
Srinivas Ramana
86c26fd41d 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>
2016-07-22 19:10:23 +05:30
Bruce Ding
3979272bbd 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>
2016-07-22 14:24:39 +05:30
Sudhakar Manapati
1bb8dffb61 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>
2016-07-22 01:33:44 -07:00
Andrew Huang
cb440b458f 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>
2016-07-22 13:36:09 +05:30
Alfred.Deng
2e21c93ee9 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>
2016-07-22 12:21:01 +05:30
Taniya Das
d81650468e 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>
2016-07-22 10:14:33 +05:30
Subbaraman Narayanamurthy
f56fc4b5af 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>
2016-07-21 12:23:07 -07:00
Shubhraprakash Das
2826659913 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>
2016-07-21 11:41:09 -07:00
Taniya Das
190ac0a1b8 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>
2016-07-21 22:04:06 +05:30