OSDN Git Service
Brahmaji K [Tue, 4 Oct 2016 09:07:06 +0000 (14:37 +0530)]
ARM: dts: msm: Add qseecom device node for msmfalcon
Add qseecom device node with all the necessary parameters,
to enable qseecom driver on msmfalcon.
Change-Id: Ib29962ebc7427391d7c0e355fa46156d2a8d15e5
Signed-off-by: Brahmaji K <bkomma@codeaurora.org>
Linux Build Service Account [Mon, 28 Nov 2016 22:56:48 +0000 (14:56 -0800)]
Merge "qseecom: fix incomplete error handling for several functions"
Linux Build Service Account [Mon, 28 Nov 2016 22:56:47 +0000 (14:56 -0800)]
Merge "Revert "scsi: ufs: disable ah8 during suspend and enable it on resume""
Linux Build Service Account [Mon, 28 Nov 2016 22:56:45 +0000 (14:56 -0800)]
Merge "usb: pd: pdphy: Update Tx Trim setting"
Linux Build Service Account [Mon, 28 Nov 2016 22:56:44 +0000 (14:56 -0800)]
Merge "USB: dwc3-msm: clear in_restart flag always in restart work"
Linux Build Service Account [Mon, 28 Nov 2016 22:56:43 +0000 (14:56 -0800)]
Merge "USB: dwc3-msm: Fix issue related to error recovery for ERRATIC ERROR"
Linux Build Service Account [Mon, 28 Nov 2016 22:56:42 +0000 (14:56 -0800)]
Merge "msm: mdss: Fix disabling destination scalar using 4K panel"
Linux Build Service Account [Mon, 28 Nov 2016 22:56:41 +0000 (14:56 -0800)]
Merge "msm: mdss: fix some potential issues in HDMI driver"
Linux Build Service Account [Mon, 28 Nov 2016 22:56:40 +0000 (14:56 -0800)]
Merge "msm: mdss: add support to change HDMI PLL PPM"
Linux Build Service Account [Mon, 28 Nov 2016 22:56:38 +0000 (14:56 -0800)]
Merge "ARM: dts: msm: add UFS_RESET pin ctrl data for msm8998"
Linux Build Service Account [Mon, 28 Nov 2016 22:56:37 +0000 (14:56 -0800)]
Merge "pinctrl: qcom: add UFS_RESET pin data for msm8998"
Linux Build Service Account [Mon, 28 Nov 2016 22:56:35 +0000 (14:56 -0800)]
Merge "smb-lib: fix vbus-error handler"
Linux Build Service Account [Mon, 28 Nov 2016 22:56:34 +0000 (14:56 -0800)]
Merge "msm: mdss: add atraces to track switch cmd delays"
Zhen Kong [Mon, 7 Nov 2016 23:39:43 +0000 (15:39 -0800)]
qseecom: fix incomplete error handling for several functions
Perform a complete or adequate check of return codes for several
functions, including __qseecom_enable_clk, ion_do_cache_op and
ion_sg_table(), used by qseecom.
Change-Id: Ib1682bdc6d3034a22586af62a3d8986c54d369d5
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
Linux Build Service Account [Mon, 28 Nov 2016 03:40:22 +0000 (19:40 -0800)]
Merge "sched: Ensure proper synch between isolation, hotplug, and suspend"
Ray Zhang [Wed, 16 Nov 2016 06:46:02 +0000 (14:46 +0800)]
msm: mdss: fix some potential issues in HDMI driver
Fix some potential issues in HDMI driver such as suspicious
dereference of NULL pointer and variable reference without
initialization.
CRs-Fixed:
1091211
Change-Id: I81a99bcc4201ccd72de1f812e9c4da36d6a81958
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
Ray Zhang [Fri, 21 Oct 2016 18:15:10 +0000 (02:15 +0800)]
msm: mdss: add support to change HDMI PLL PPM
Add sysfs and ioctl to adjust HDMI clock rate by certain PPM.
This function is required by clock recovery in broadcast in
which HDMI PLL should be adjusted in order to reduce the clock
drift in broadcast.
CRs-Fixed:
1086894
Change-Id: I1df15dd6aec44ae3e78bd4f80dc70d0d04760687
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
Linux Build Service Account [Sun, 27 Nov 2016 21:09:03 +0000 (13:09 -0800)]
Merge "clk: msm: hdmi: correct the precision when calculating HDMI PLL"
Linux Build Service Account [Sun, 27 Nov 2016 12:56:03 +0000 (04:56 -0800)]
Merge "ARM: dts: msm: include RPM regulator for MSM8998 interposer"
Linux Build Service Account [Sun, 27 Nov 2016 05:27:50 +0000 (21:27 -0800)]
Merge "usb: dwc3-msm: Fix restart usb work functionality"
Linux Build Service Account [Sun, 27 Nov 2016 05:27:49 +0000 (21:27 -0800)]
Merge "qos: wake up cores based on the qos updated cpu mask"
Linux Build Service Account [Sun, 27 Nov 2016 05:27:48 +0000 (21:27 -0800)]
Merge "scsi: ufs: perform full reset at initialization"
Linux Build Service Account [Sun, 27 Nov 2016 05:27:48 +0000 (21:27 -0800)]
Merge "scsi: ufs-qcom: update delay between assert/deassert in full reset"
Linux Build Service Account [Sun, 27 Nov 2016 05:27:47 +0000 (21:27 -0800)]
Merge "soc: qcom: rpm: Change driver memory allocation to use GFP_NOIO"
Linux Build Service Account [Sun, 27 Nov 2016 05:27:46 +0000 (21:27 -0800)]
Merge "msm: ion: Modified Secure Display buffer permissions"
Linux Build Service Account [Sun, 27 Nov 2016 05:27:45 +0000 (21:27 -0800)]
Merge "usb: pd: Support Android dual_role_usb sysfs class"
Linux Build Service Account [Sun, 27 Nov 2016 05:27:44 +0000 (21:27 -0800)]
Merge "clk: qcom: Add support to convert the clock rate to KHz"
Linux Build Service Account [Sat, 26 Nov 2016 22:26:51 +0000 (14:26 -0800)]
Merge "ARM: dts: msm: Specify the configuration for audio on msmfalcon interposer"
Linux Build Service Account [Sat, 26 Nov 2016 22:26:50 +0000 (14:26 -0800)]
Merge "ARM: dts: msm: Make required changes for msm8998-interposer"
Linux Build Service Account [Sat, 26 Nov 2016 22:26:48 +0000 (14:26 -0800)]
Merge "procfs: Update order of Ngid in /proc/PID/status"
Linux Build Service Account [Sat, 26 Nov 2016 22:26:48 +0000 (14:26 -0800)]
Merge "ARM: dts: msm: add support of pm3falcon PMIC for msmfalcon"
Linux Build Service Account [Sat, 26 Nov 2016 22:26:47 +0000 (14:26 -0800)]
Merge "soc: qcom: Turn off MSM_PERFORMANCE_HOTPLUG_ON by default"
Linux Build Service Account [Sat, 26 Nov 2016 22:26:44 +0000 (14:26 -0800)]
Merge "usb: pd: Fix VDM and misc timing issues"
Ashay Jaiswal [Sat, 26 Nov 2016 18:17:11 +0000 (23:47 +0530)]
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>
Linux Build Service Account [Sat, 26 Nov 2016 01:47:08 +0000 (17:47 -0800)]
Merge "soc: qcom: msm_bus: Set current index to default value"
Linux Build Service Account [Sat, 26 Nov 2016 01:47:06 +0000 (17:47 -0800)]
Merge "ARM: dts: msm: Add thermal mitigation properties to msmfalcon"
Linux Build Service Account [Sat, 26 Nov 2016 01:47:05 +0000 (17:47 -0800)]
Merge "input: synaptics_dsx: add checks of user input data"
Linux Build Service Account [Sat, 26 Nov 2016 01:47:04 +0000 (17:47 -0800)]
Merge "ASoC: wcd9335: Add dapm ignore suspend for codec dai"
Linux Build Service Account [Sat, 26 Nov 2016 01:47:03 +0000 (17:47 -0800)]
Merge "ASoc: msm: qdsp6v2: Add support for compress capture"
Linux Build Service Account [Sat, 26 Nov 2016 01:47:02 +0000 (17:47 -0800)]
Merge "include: clock: Add audio external clock of_index extries"
Linux Build Service Account [Sat, 26 Nov 2016 01:47:00 +0000 (17:47 -0800)]
Merge "msm: mdss: fix to handle multi-rect configuration in error cases"
Linux Build Service Account [Sat, 26 Nov 2016 01:46:58 +0000 (17:46 -0800)]
Merge "msm: crypto: fix issues on digest buf and copy_from_user in qcedev.c"
Linux Build Service Account [Sat, 26 Nov 2016 01:46:58 +0000 (17:46 -0800)]
Merge "Revert "msm: kgsl: Enable limits management on A540v2""
Linux Build Service Account [Sat, 26 Nov 2016 01:46:56 +0000 (17:46 -0800)]
Merge "smb-lib: fix null ptr access while handling src change interrupt"
Linux Build Service Account [Sat, 26 Nov 2016 01:46:55 +0000 (17:46 -0800)]
Merge "msm: mdss: refine the calculation of tmds clock rate"
Linux Build Service Account [Sat, 26 Nov 2016 01:46:53 +0000 (17:46 -0800)]
Merge "msm: camera: Enable secure camera feature"
Linux Build Service Account [Sat, 26 Nov 2016 01:46:52 +0000 (17:46 -0800)]
Merge "soc: qcom: socinfo: Change offset of image OEM attribute"
Linux Build Service Account [Sat, 26 Nov 2016 01:46:51 +0000 (17:46 -0800)]
Merge "qpnp-smb2: force UFP mode before shutdown"
Linux Build Service Account [Sat, 26 Nov 2016 01:46:50 +0000 (17:46 -0800)]
Merge "qpnp-smb2: add support to configure auto recharge"
Linux Build Service Account [Fri, 25 Nov 2016 16:32:36 +0000 (08:32 -0800)]
Merge "qcom: scm: remove printing input arguments"
Linux Build Service Account [Fri, 25 Nov 2016 16:32:35 +0000 (08:32 -0800)]
Merge "audit: fix a double fetch in audit_log_single_execve_arg()"
Benjamin Chan [Tue, 22 Nov 2016 22:22:47 +0000 (17:22 -0500)]
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>
Swetha Chikkaboraiah [Wed, 2 Nov 2016 11:19:41 +0000 (16:49 +0530)]
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>
Ray Zhang [Fri, 25 Nov 2016 09:16:25 +0000 (17:16 +0800)]
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>
Ray Zhang [Fri, 25 Nov 2016 09:04:44 +0000 (17:04 +0800)]
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>
Linux Build Service Account [Fri, 25 Nov 2016 08:10:26 +0000 (00:10 -0800)]
Merge "soc: qcom: fix uninitialized references in gladiator_erp_v2"
Linux Build Service Account [Fri, 25 Nov 2016 08:10:25 +0000 (00:10 -0800)]
Merge "ARM: dts: msm: Add support of IPA for falcon"
Neeraj Upadhyay [Tue, 14 Jun 2016 14:12:59 +0000 (07:12 -0700)]
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>
Vijayavardhan Vennapusa [Thu, 1 Sep 2016 06:35:50 +0000 (12:05 +0530)]
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>
Azhar Shaikh [Thu, 11 Feb 2016 19:00:58 +0000 (11:00 -0800)]
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>
Vijayavardhan Vennapusa [Fri, 25 Nov 2016 05:55:35 +0000 (11:25 +0530)]
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>
Anil Kumar Mamidala [Wed, 23 Mar 2016 15:14:18 +0000 (20:44 +0530)]
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>
Vijayavardhan Vennapusa [Fri, 25 Nov 2016 05:23:07 +0000 (10:53 +0530)]
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>
Vijayavardhan Vennapusa [Thu, 17 Nov 2016 07:51:46 +0000 (13:21 +0530)]
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>
Dilip Gudlur [Tue, 22 Nov 2016 18:10:21 +0000 (10:10 -0800)]
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>
Linux Build Service Account [Thu, 24 Nov 2016 21:46:43 +0000 (13:46 -0800)]
Merge "clk: qcom: Add snapshot of OSM CPU clock driver"
Linux Build Service Account [Thu, 24 Nov 2016 21:46:39 +0000 (13:46 -0800)]
Merge "ARM: dts: msm: Add RTB support for msmtriton"
Linux Build Service Account [Thu, 24 Nov 2016 21:46:37 +0000 (13:46 -0800)]
Merge "ARM: dts: msm: Add mpm2-sleep-counter device for msmtriton"
Linux Build Service Account [Thu, 24 Nov 2016 21:46:36 +0000 (13:46 -0800)]
Merge "arm: qcom: correct description for MSMTRITON and MSMFALCON"
Subhash Jadavani [Thu, 10 Nov 2016 20:09:18 +0000 (12:09 -0800)]
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>
Subhash Jadavani [Thu, 10 Nov 2016 20:05:10 +0000 (12:05 -0800)]
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>
Subhash Jadavani [Fri, 11 Nov 2016 23:39:03 +0000 (15:39 -0800)]
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>
Venkat Gopalakrishnan [Wed, 2 Nov 2016 22:19:22 +0000 (15:19 -0700)]
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>
Venkat Gopalakrishnan [Wed, 2 Nov 2016 00:01:20 +0000 (17:01 -0700)]
scsi: ufs-qcom: update delay between assert/deassert in full reset
The hardware requirement for delay between assert/deassert
is at least 3-4 sleep clock (32.7KHz) cycles, which comes to
~125us (4/32768). To be on the safe side add 200us delay.
Change-Id: Ib9d27fe7bbf6107b1249b3719f63efdbff4b3795
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
Linux Build Service Account [Thu, 24 Nov 2016 14:13:39 +0000 (06:13 -0800)]
Merge "msm: vidc: parse 10-bit bus entries for msmfalcon"
Linux Build Service Account [Thu, 24 Nov 2016 14:13:39 +0000 (06:13 -0800)]
Merge "ARM: dts: msm: Add venus device nodes for starlord"
Linux Build Service Account [Thu, 24 Nov 2016 14:13:38 +0000 (06:13 -0800)]
Merge "msm: vidc: Update mbs per second calculation"
Linux Build Service Account [Thu, 24 Nov 2016 14:13:36 +0000 (06:13 -0800)]
Merge "msm: vidc: fix mutex lock issue"
Linux Build Service Account [Thu, 24 Nov 2016 14:13:35 +0000 (06:13 -0800)]
Merge "msm: vidc: fix the interrupt miss issue from video hardware"
Linux Build Service Account [Thu, 24 Nov 2016 14:13:34 +0000 (06:13 -0800)]
Merge "msm: kgsl: Add support for A512 GPU"
Linux Build Service Account [Thu, 24 Nov 2016 14:13:33 +0000 (06:13 -0800)]
Merge "ASoC: msm: Update supported sample rates for USB Backend"
Linux Build Service Account [Thu, 24 Nov 2016 14:13:32 +0000 (06:13 -0800)]
Merge "netfilter: nfnetlink: correctly validate length of batch messages"
Linux Build Service Account [Thu, 24 Nov 2016 14:13:31 +0000 (06:13 -0800)]
Merge "USB: gagget: f_fs: Return error if TX req is queued during device offline"
Linux Build Service Account [Thu, 24 Nov 2016 14:13:29 +0000 (06:13 -0800)]
Merge "clk: qcom: Add support for rf clk1 for msmfalcon"
Linux Build Service Account [Thu, 24 Nov 2016 14:13:28 +0000 (06:13 -0800)]
Merge "ARM: dts: msm: Update clock gfx node for MSMfalcon/Triton"
Linux Build Service Account [Thu, 24 Nov 2016 14:13:26 +0000 (06:13 -0800)]
Merge "clk: qcom: Add support for MMCC clock for MSMFalcon"
Linux Build Service Account [Thu, 24 Nov 2016 14:13:25 +0000 (06:13 -0800)]
Merge "cgroup: prefer %pK to %p"
Linux Build Service Account [Thu, 24 Nov 2016 14:13:24 +0000 (06:13 -0800)]
Merge "HID: core: prevent out-of-bound readings"
Linux Build Service Account [Thu, 24 Nov 2016 14:13:23 +0000 (06:13 -0800)]
Merge "[media] xc2028: avoid use after free"
Linux Build Service Account [Thu, 24 Nov 2016 14:13:22 +0000 (06:13 -0800)]
Merge "tcp: fix use after free in tcp_xmit_retransmit_queue()"
Linux Build Service Account [Thu, 24 Nov 2016 14:13:21 +0000 (06:13 -0800)]
Merge "block: fix use-after-free in sys_ioprio_get()"
Linux Build Service Account [Thu, 24 Nov 2016 14:13:18 +0000 (06:13 -0800)]
Merge "cfg80211: validate beacon int as part of iface combinations"
Linux Build Service Account [Thu, 24 Nov 2016 14:13:18 +0000 (06:13 -0800)]
Merge "cfg80211: fix beacon interval in interface combination iteration"
Linux Build Service Account [Thu, 24 Nov 2016 14:13:17 +0000 (06:13 -0800)]
Merge "cfg80211: identically validate beacon interval for AP/MESH/IBSS"
Linux Build Service Account [Thu, 24 Nov 2016 14:13:16 +0000 (06:13 -0800)]
Merge "msm: sde: Correct max downscale factor for SDE rotator"
Maulik Shah [Wed, 16 Nov 2016 10:10:35 +0000 (15:40 +0530)]
soc: qcom: rpm: Change driver memory allocation to use GFP_NOIO
When a filesystem driver calls into makes a RPM request, RPM driver
makes a kzalloc request with GFP_NOFS flag. This results in a
deadlock if a driver waiting on IO completion sends a RPM message.
Change memory allocation in the RPM driver to use GFP_NOIO.
Change-Id: Ie986b6eb21845b679f068372e46dfb402f234dcf
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
Laxminath Kasam [Thu, 15 Sep 2016 07:28:50 +0000 (12:58 +0530)]
ARM: dts: msm: Specify the configuration for audio on msmfalcon interposer
In msmfalcon interposer for CDP and MTP, add
audio related dtsi files to support external
codecs tasha and tavil.
CRs-Fixed:
1083537
Change-Id: I867e28101cfa37f9764d547f3b43871a430de6d7
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
Kiran Gunda [Tue, 15 Nov 2016 13:06:34 +0000 (18:36 +0530)]
ARM: dts: msm: add support of pm3falcon PMIC for msmfalcon
PM3FALCON inherits all it's peripheral nodes from PM2FALCON.
Disable WLED which is not supported on pm3falcon.
CRs-Fixed:
1093681
Change-Id: I1eb0583010712286659ec9b726f4ae7a9a2a84e6
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
Jack Pham [Thu, 17 Nov 2016 19:55:03 +0000 (11:55 -0800)]
usb: pd: pdphy: Update Tx Trim setting
HW recommendation is to set the TX_TRIM_3 value to 0x2 for
a steeper slope. This improves eye diagram testing result.
This register is secure access so write to the SEC_ACCESS
prior to setting this.
Change-Id: I80b0a02feb0e4d1fb382407087fa30f390641ccb
Signed-off-by: Jack Pham <jackp@codeaurora.org>
Jack Pham [Thu, 17 Nov 2016 19:26:55 +0000 (11:26 -0800)]
usb: pd: Fix VDM and misc timing issues
Decrease the wait time from 5ms to 2ms when preparing a VDM
response to ensure that it gets sent out timely within
tSenderResponse (15ms). To avoid possible collision with an
incoming packet, check that there has not been any queued Rx
message just prior to sending a VDM. Also check the result of the
transmit and simply try again later if -EBUSY is returned.
While at it, fix a couple other miscellaneous timing issues.
Setting PD_ACTIVE=1 has considerable delay due to the charger's
voting mechanism, so move setting it to after starting the
SenderResponse timer when sending the Source Capabilities, and
similarly after sending a Request as a sink, in order to make
sure response timing is met. For source hard reset, increase the
tSrcRecover delay slightly from the spec minimum to account for
additional VBUS rise/fall delays before sending PS_RDY. Finally,
add a delay for VCONN_SWAP before sending PS_RDY for similar reason.
Change-Id: I5760fadb66cad6faf02e95a1e1bb975289ef8e9f
Signed-off-by: Jack Pham <jackp@codeaurora.org>