Commit graph

572430 commits

Author SHA1 Message Date
Chandan Uddaraju
63dbca3ed8 msm: mdss: add support to configure transfer unit for DP
Configure the transfer unit settings to control the
symbol stuffing.

Change-Id: I80d6c1ae6d7096e170105e5d297a563b3bee053d
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
2016-07-29 00:17:31 -07:00
Chandan Uddaraju
ba7779beec mdss: display-port: add mutex logic and configure data lanes
Add locking mechanism for host init. Remove mainlink_reset
before configuring the link rates.

Depending on the USB plug orientation, configure the
lane mapping register to support display-port over
usb-type-c port.

Change-Id: I7bf3fc6e102df113611b9450c92ecd4e50b26fb4
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
2016-07-29 00:17:15 -07:00
Chandan Uddaraju
160151f738 mdss: display-port: add support for USB type-C Alt mode
This change is needed to support display port
over USB type-C port. Add usbpd changes to
enable display port using Alternate mode for
type-C port.

Add support to parse VDO messages and send dp_config
packets when HPD is high.

Change-Id: I3ea5d969a73e3418af23ba4d8b7374fb20d2889f
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
2016-07-29 00:16:58 -07:00
Chandan Uddaraju
e400fce1aa msm: mdss: display-port: add support to configure pixel and link rates
Use the DPCD info to configure pixel and link rates
supported by the sink.

Change-Id: Idd7ba4b564b013eda7596a111b9b934f6b6ff84f
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
2016-07-29 00:16:44 -07:00
Chandan Uddaraju
20f40d92b8 mdss: display-port: fix register offsets for link training
Add proper register base and register address offsets
when configuring the voltage swings and preemphsis
settings. Fix interrupt register bit for VIDEO_READY.

Change-Id: I6e89f6fbb3660d13c186b38eb7ca1f71cbe8109d
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
2016-07-29 00:16:30 -07:00
Chandan Uddaraju
f34448c324 mdss: display-port: add support for DP related gpios
The DP driver will need GPIOs to configure the
AUX channel and orientation of USB type-C port. Add
support for the GPIOs.

Change-Id: I9940ff3cbcca7dd0ac972cabbfddcbd9ac4657fa
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
2016-07-29 00:16:14 -07:00
Chandan Uddaraju
48965d20af msm: mdss: fix clock and regulator configurations for DP
Add support for clock initialization during driver probe.
Add support to configure clock rates before enabling the
clocks.

Fix the regulators disable sequence for display-port.

We can only read hardware revision register only after
configuring the PHY. Move revision read to host_init()
function.

Change-Id: I0e9f6caf84a8cdd825002938dad18482e2489cbd
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
2016-07-29 00:14:27 -07:00
Linux Build Service Account
956d9b1ab3 Merge "thermal: tsens: Remove registering for Critical trip zone" 2016-07-27 19:27:17 -07:00
Linux Build Service Account
006d8efe02 Merge "defconfig: msmcortex: Enable FG_GEN3 driver" 2016-07-27 19:27:15 -07:00
Linux Build Service Account
80d67524f5 Merge "defconfig: arm64: msm: enable CP15 barrier and SETEND simulation" 2016-07-27 19:27:14 -07:00
Linux Build Service Account
94a518173d Merge "msm: ipa3: add support for SMMU to USB" 2016-07-27 19:27:12 -07:00
Linux Build Service Account
b649d7e19b Merge "usb: f_gsi: Update connection parameters for GSI channels" 2016-07-27 19:27:11 -07:00
Linux Build Service Account
843ed09846 Merge "ASoC: wcd_cpe: Add support for two CPE sessions" 2016-07-27 19:27:09 -07:00
Linux Build Service Account
22393ab98f Merge "slim-msm: Synchronize SSR callbacks" 2016-07-27 19:27:08 -07:00
Linux Build Service Account
608c991c8e Merge "msm: kgsl: Map GPU QDSS STM through GPU IOMMU" 2016-07-27 19:27:07 -07:00
Linux Build Service Account
d4f1cec49f Merge "defconfig: Enable IOMMU debugfs in perf-defconfig" 2016-07-27 19:27:05 -07:00
Linux Build Service Account
484b6badfd Merge "msm: mdss: Update LM parameters during dest scaler transition" 2016-07-27 19:27:04 -07:00
Linux Build Service Account
af23db4098 Merge "thermal: qpnp-adc-tm: Update reverse threshold and notification" 2016-07-27 19:27:03 -07:00
Linux Build Service Account
f81c63bdae Merge "crypto: msm: enable hw crypto driver for msmfalcon" 2016-07-27 19:27:02 -07:00
Linux Build Service Account
6a45925f9a Merge "soc: qcom: build kryo perf events only for MSM8996" 2016-07-27 19:27:01 -07:00
Linux Build Service Account
71f2f97d61 Merge "input: ft5x06_ts: Add driver for ft5x06 series" 2016-07-27 19:27:01 -07:00
Linux Build Service Account
359db4da15 Merge "ASoC: Fix freed memory access of pcm stream kctl" 2016-07-27 19:26:59 -07:00
Linux Build Service Account
ea40856447 Merge "clk: msm: clock: Remove support for the USB cfg_ahb2phy clock from HLOS" 2016-07-27 19:26:58 -07:00
Linux Build Service Account
69493c178d Merge "usb: phy: Make cfg_ahb_clk optional" 2016-07-27 19:26:56 -07:00
Linux Build Service Account
fafc905174 Merge "msm: thermal: Update the hotplug initialization" 2016-07-27 19:26:55 -07:00
Linux Build Service Account
e3e38c9d58 Merge "ASoC: msm: qdsp6v2: Add size check in audio cal ioctl" 2016-07-27 19:26:54 -07:00
Linux Build Service Account
c7b518b18b Merge "clk: qcom: Porting display clocks from msm folder to qcom folder" 2016-07-27 19:26:53 -07:00
Linux Build Service Account
5f0e3bda7e Merge "ARM: dts: msm: Add the timeout property to BIMC SMMU GDSC on MSMCOBALT" 2016-07-27 19:26:52 -07:00
Linux Build Service Account
486e62947d Merge "sound: usb: Enable autosuspend for usb audio device" 2016-07-27 19:26:51 -07:00
Linux Build Service Account
d84f271674 Merge "msm: jpegdma: set minimum acceptable dimension as 8x8" 2016-07-27 19:26:48 -07:00
Linux Build Service Account
89c19762b9 Merge "soc: qcom: Make service locator call asynchronous" 2016-07-27 19:26:47 -07:00
Linux Build Service Account
df1777e959 Merge "crypto: msm: crypto driver performance improvement" 2016-07-27 19:26:46 -07:00
Linux Build Service Account
919a8b594b Merge "msm: mdss: Fix mixer extension offset" 2016-07-27 19:26:46 -07:00
Linux Build Service Account
3064b202a0 Merge "msm: ipa3: fix packet handling for multiple buffers" 2016-07-27 19:26:45 -07:00
Linux Build Service Account
0df01f7293 Merge "clk: msm: clock: Allow removing clock voltage votes during sleep" 2016-07-27 19:26:44 -07:00
Linux Build Service Account
45e147179a Merge "usb: dwc3: Fix NULL ptr dereference in ep disable ops" 2016-07-27 19:26:43 -07:00
Linux Build Service Account
258941eed9 Merge "clk: msm: hdmi: fix value of constant for minimum VCO rate" 2016-07-27 19:26:42 -07:00
Linux Build Service Account
729208c0c4 Merge "msm: mdss: Update backlight filter for AD" 2016-07-27 19:26:41 -07:00
Linux Build Service Account
6ae89be87e Merge "coresight-etm4x: avoid reading trace-id from ETM hardware block" 2016-07-27 19:26:40 -07:00
Linux Build Service Account
354d219f20 Merge "smb-lib: account for Jeita while distributing FCC" 2016-07-27 19:26:39 -07:00
Linux Build Service Account
27cb1fcd0a Merge "ARM: dts: msm: Update QUSB PHY device node compatible property on msmcobalt" 2016-07-27 19:26:36 -07:00
Linux Build Service Account
03fb272768 Merge "msm: jpegdma: Remove even number check for crop left and top" 2016-07-27 19:26:35 -07:00
Linux Build Service Account
b2371f9f83 Merge "netfilter: xt_qtaguid: seq_printf fixes" 2016-07-27 19:26:32 -07:00
Linux Build Service Account
8015befcec Merge "Revert "net: activity_stats: Stop using obsolete create_proc_read_entry api"" 2016-07-27 19:26:32 -07:00
Linux Build Service Account
0442f202ea Merge "Revert "misc: uidstat: avoid create_stat() race and blockage."" 2016-07-27 19:26:31 -07:00
Linux Build Service Account
0d6f04e288 Merge "Revert "misc: uidstat: Remove use of obsolete create_proc_read_entry api"" 2016-07-27 19:26:31 -07:00
Linux Build Service Account
43dfbdc98a Merge "defconfig: um: Disable activity stats" 2016-07-27 19:26:30 -07:00
Linux Build Service Account
08cbc2ba00 Merge "msm: ipa: do not use delay in SSR" 2016-07-27 19:26:29 -07:00
Linux Build Service Account
e0ae1fb68b Merge "qcom-charger: smb-lib: fix secure register writes" 2016-07-27 19:26:28 -07:00
Linux Build Service Account
049656ac1a Merge "ARM: dts: msm: set default mem_type for ETR device on msmcobalt" 2016-07-27 19:26:27 -07:00