OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
7 years agomsm: mdss: Do not attempt to request TE irq again if already requested
Rashi Bindra [Mon, 5 Jun 2017 07:32:59 +0000 (13:02 +0530)]
msm: mdss: Do not attempt to request TE irq again if already requested

If the TE irq is alredy requested and registred with a GPIO, then
setting it to true and not continuing with further requesting of
the same.

Change-Id: Iacd1677127c2663d88826e58f1b72704b58db939
Signed-off-by: Rashi Bindra <rbindra@codeaurora.org>
7 years agoMerge "drm/msm : fix hdmi controller register programming"
Linux Build Service Account [Thu, 8 Jun 2017 03:58:00 +0000 (20:58 -0700)]
Merge "drm/msm : fix hdmi controller register programming"

7 years agoMerge "net: ipc_router: Add dynamic enable/disable wakeup source feature"
Linux Build Service Account [Thu, 8 Jun 2017 03:57:59 +0000 (20:57 -0700)]
Merge "net: ipc_router: Add dynamic enable/disable wakeup source feature"

7 years agoMerge "usb: pd: Increment MessageID only on successful TX"
Linux Build Service Account [Thu, 8 Jun 2017 03:57:55 +0000 (20:57 -0700)]
Merge "usb: pd: Increment MessageID only on successful TX"

7 years agoMerge "mhi: core: Add support for host triggered device ram dump"
Linux Build Service Account [Thu, 8 Jun 2017 03:57:53 +0000 (20:57 -0700)]
Merge "mhi: core: Add support for host triggered device ram dump"

7 years agoMerge "usb: xhci: Free leaked command in case xhci_queue_stop_endpoint fails"
Linux Build Service Account [Thu, 8 Jun 2017 03:57:52 +0000 (20:57 -0700)]
Merge "usb: xhci: Free leaked command in case xhci_queue_stop_endpoint fails"

7 years agoMerge "msm: mdss: Update msm8998 HDMI PHY sequence for bridge chip"
Linux Build Service Account [Thu, 8 Jun 2017 03:57:51 +0000 (20:57 -0700)]
Merge "msm: mdss: Update msm8998 HDMI PHY sequence for bridge chip"

7 years agoMerge "msm: mdss: update polarity based on HDMI resolution"
Linux Build Service Account [Thu, 8 Jun 2017 03:57:50 +0000 (20:57 -0700)]
Merge "msm: mdss: update polarity based on HDMI resolution"

7 years agoMerge "power: qpnp-fg-gen3: Fix possible integer overflow"
Linux Build Service Account [Thu, 8 Jun 2017 03:57:48 +0000 (20:57 -0700)]
Merge "power: qpnp-fg-gen3: Fix possible integer overflow"

7 years agoMerge "soc: qcom: subsys-pil-tz: Initialize subsys_dev pointer"
Linux Build Service Account [Thu, 8 Jun 2017 03:57:46 +0000 (20:57 -0700)]
Merge "soc: qcom: subsys-pil-tz: Initialize subsys_dev pointer"

7 years agoMerge "policy_engine: Add module parameter to start USB stack"
Linux Build Service Account [Thu, 8 Jun 2017 03:57:45 +0000 (20:57 -0700)]
Merge "policy_engine: Add module parameter to start USB stack"

7 years agousb: pd: Increment MessageID only on successful TX
Jack Pham [Wed, 7 Jun 2017 22:35:57 +0000 (15:35 -0700)]
usb: pd: Increment MessageID only on successful TX

According to the PD 2.0 Spec, Section 6.2.1.3, the MessageID
field shall only be incremented upon successful transmission
(meaning GoodCRC was received). Thus, increment the counter
only when pd_phy_write() succeeds.

Change-Id: I73dce5736c473a1f79db9be868442c7941d13c44
Signed-off-by: Jack Pham <jackp@codeaurora.org>
7 years agoMerge "msm: mdss: do not print error in case sync_trigger is enabled"
Linux Build Service Account [Wed, 7 Jun 2017 20:13:42 +0000 (13:13 -0700)]
Merge "msm: mdss: do not print error in case sync_trigger is enabled"

7 years agoMerge "ARM: dts: msm: Enable dynamic fps for msm8998"
Linux Build Service Account [Wed, 7 Jun 2017 20:13:41 +0000 (13:13 -0700)]
Merge "ARM: dts: msm: Enable dynamic fps for msm8998"

7 years agoMerge "msm: mdss: disable AVR for msm8998"
Linux Build Service Account [Wed, 7 Jun 2017 20:13:39 +0000 (13:13 -0700)]
Merge "msm: mdss: disable AVR for msm8998"

7 years agoMerge "msm: mdss: Check if secure display is enabled during non-secure validate"
Linux Build Service Account [Wed, 7 Jun 2017 20:13:38 +0000 (13:13 -0700)]
Merge "msm: mdss: Check if secure display is enabled during non-secure validate"

7 years agoMerge "msm: mdss: Avoid NULL mixer during partial update ROI setup"
Linux Build Service Account [Wed, 7 Jun 2017 20:13:37 +0000 (13:13 -0700)]
Merge "msm: mdss: Avoid NULL mixer during partial update ROI setup"

7 years agoMerge "ARM: dts: msm: enable null packet on msm8998"
Linux Build Service Account [Wed, 7 Jun 2017 20:13:36 +0000 (13:13 -0700)]
Merge "ARM: dts: msm: enable null packet on msm8998"

7 years agoMerge "msm: mdss: Fix QSEED3 MDP clock calculation for cmd mode panel"
Linux Build Service Account [Wed, 7 Jun 2017 20:13:35 +0000 (13:13 -0700)]
Merge "msm: mdss: Fix QSEED3 MDP clock calculation for cmd mode panel"

7 years agoMerge "ARM: dts: msm: specify a PWM mode threshold for PMI8998 BoB on MSM8998"
Linux Build Service Account [Wed, 7 Jun 2017 20:13:34 +0000 (13:13 -0700)]
Merge "ARM: dts: msm: specify a PWM mode threshold for PMI8998 BoB on MSM8998"

7 years agoMerge "regulator: rpm-smd-regulator: add support for load based mode control"
Linux Build Service Account [Wed, 7 Jun 2017 20:13:33 +0000 (13:13 -0700)]
Merge "regulator: rpm-smd-regulator: add support for load based mode control"

7 years agoMerge "drivers: Warning fixes to disable CC_OPTIMIZE_FOR_SIZE"
Linux Build Service Account [Wed, 7 Jun 2017 20:13:32 +0000 (13:13 -0700)]
Merge "drivers:  Warning fixes to disable CC_OPTIMIZE_FOR_SIZE"

7 years agoMerge "ARM: dts: msm: control avdd enable gpio for msm8998 QVR/SKUK HDK"
Linux Build Service Account [Wed, 7 Jun 2017 20:13:30 +0000 (13:13 -0700)]
Merge "ARM: dts: msm: control avdd enable gpio for msm8998 QVR/SKUK HDK"

7 years agoMerge "msm: mdss: control avdd enable gpio when doing panel reset"
Linux Build Service Account [Wed, 7 Jun 2017 20:13:29 +0000 (13:13 -0700)]
Merge "msm: mdss: control avdd enable gpio when doing panel reset"

7 years agodrm/msm : fix hdmi controller register programming
Abhinav Kumar [Wed, 7 Jun 2017 09:19:43 +0000 (02:19 -0700)]
drm/msm : fix hdmi controller register programming

Currently, there is an incorrect programming of the
hdmi controller register where default value of the
datapath mode bit is being toggled along with the
scrambler enable/disable.

This bit should be untouched as per the hardware
programming sequence and kept at the default state.

Fix the register programming to avoid toggling this
bit.

Change-Id: I2e8f74c0abaddd27b5d8a2136afc4e1b82f96e7d
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
7 years agonet: ipc_router: Add dynamic enable/disable wakeup source feature
Arun Kumar Neelakantam [Fri, 26 May 2017 12:27:52 +0000 (17:57 +0530)]
net: ipc_router: Add dynamic enable/disable wakeup source feature

By default IPC Router core uses edge and port specific wakeup sources
which are blocking system suspend in special use cases like streaming
non wakeup sensors data at high speed.

Add dynamic wakeup source enable/disable functionality to acquire the
wakeup source only during the APPS suspend stage.

CRs-Fixed: 2057391
Change-Id: I2a5ea4e2c31432a9dd195c702ef7001b26eed33d
Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
7 years agousb: pdphy: Prevent sending when message is just received
Jack Pham [Wed, 7 Jun 2017 05:30:47 +0000 (22:30 -0700)]
usb: pdphy: Prevent sending when message is just received

Prevent pd_phy_write() from sending a TX message if an RX
message IRQ is being handled, or if the RX_TOKEN is set
(indicating a message has just arrived) by returning -EBUSY
to let the upper layer gracefully abort. This helps in cases
(such as compliance testing) in which VDM messages are
received very quickly after one another and the protocol
layer needs to first handle the incoming message.

Change-Id: I3e26d7ff062ff7f51b6c66ab8d078b05749f808a
Signed-off-by: Jack Pham <jackp@codeaurora.org>
7 years agousb: pd: Keep PROP_PR_SWAP set during ERROR_RECOVERY
Jack Pham [Wed, 7 Jun 2017 05:22:18 +0000 (22:22 -0700)]
usb: pd: Keep PROP_PR_SWAP set during ERROR_RECOVERY

Since ErrorRecovery handling requires a spoof disconnect, the
charger driver needs to avoid immediately reapplying the
terminations. Re-use the PROP_PR_SWAP property which ignores
the disconnect. After the 25ms delay, policy engine will
explicitly reset back to DRP.

Also remove the transition to ErrorRecovery from PE_SNK_DISCOVERY
as it is removed in V1.3 of the PD 2.0 specification.

Change-Id: I41f1da293208b6813dfb540a123ee84ac35b4a68
Signed-off-by: Jack Pham <jackp@codeaurora.org>
7 years agousb: pd: Set PD_IN_HARD_RESET as soon as hard reset received
Jack Pham [Tue, 6 Jun 2017 18:10:03 +0000 (11:10 -0700)]
usb: pd: Set PD_IN_HARD_RESET as soon as hard reset received

Move setting of PD_IN_HARD_RESET to the phy_sig_received()
callback in order to inform the charger to ignore the upcoming
VBUS toggle as soon as possible. This will help decrease the
possibility of racing to set the appropriate HW bits while
VBUS turns off and leads to the charger indicating disconnect.

Change-Id: I42cc2969defa48c9987fa4bea64780866861d868
Signed-off-by: Jack Pham <jackp@codeaurora.org>
7 years agoMerge "regulator: spm-regulator: Add support for FTS426 type regulators"
Linux Build Service Account [Wed, 7 Jun 2017 04:33:17 +0000 (21:33 -0700)]
Merge "regulator: spm-regulator: Add support for FTS426 type regulators"

7 years agoMerge "ath10k: Update world regulatory rules"
Linux Build Service Account [Wed, 7 Jun 2017 04:33:15 +0000 (21:33 -0700)]
Merge "ath10k: Update world regulatory rules"

7 years agoMerge "wil6210: stop TX queues when suspending"
Linux Build Service Account [Wed, 7 Jun 2017 04:33:14 +0000 (21:33 -0700)]
Merge "wil6210: stop TX queues when suspending"

7 years agoMerge "ARM: dts: msm: Defer regulator disable for SDM660 GPU SMMU"
Linux Build Service Account [Wed, 7 Jun 2017 04:33:13 +0000 (21:33 -0700)]
Merge "ARM: dts: msm: Defer regulator disable for SDM660 GPU SMMU"

7 years agoMerge "msm: cec: Use CEC notifier framework in adapter driver"
Linux Build Service Account [Wed, 7 Jun 2017 04:33:09 +0000 (21:33 -0700)]
Merge "msm: cec: Use CEC notifier framework in adapter driver"

7 years agoMerge "fbdev: core: Initialise structure to prevent kernel information leak"
Linux Build Service Account [Wed, 7 Jun 2017 04:33:08 +0000 (21:33 -0700)]
Merge "fbdev: core: Initialise structure to prevent kernel information leak"

7 years agoMerge "hrtimer: Don't drop the base lock when migration during isolation"
Linux Build Service Account [Wed, 7 Jun 2017 04:33:07 +0000 (21:33 -0700)]
Merge "hrtimer: Don't drop the base lock when migration during isolation"

7 years agoMerge "msm: camera: isp: Disable SMMU stall upon VFE page fault"
Linux Build Service Account [Wed, 7 Jun 2017 04:33:06 +0000 (21:33 -0700)]
Merge "msm: camera: isp: Disable SMMU stall upon VFE page fault"

7 years agoMerge "msm: camera: Prevent info leak in kernel driver."
Linux Build Service Account [Wed, 7 Jun 2017 04:33:05 +0000 (21:33 -0700)]
Merge "msm: camera: Prevent info leak in kernel driver."

7 years agoMerge "msm: camera: isp: Avoid information leak in ISPIF"
Linux Build Service Account [Wed, 7 Jun 2017 04:33:04 +0000 (21:33 -0700)]
Merge "msm: camera: isp: Avoid information leak in ISPIF"

7 years agoMerge "ARM: dts: msm: Add cpp micro reset flag for SDM630"
Linux Build Service Account [Wed, 7 Jun 2017 04:33:03 +0000 (21:33 -0700)]
Merge "ARM: dts: msm: Add cpp micro reset flag for SDM630"

7 years agomhi: core: Add support for host triggered device ram dump
Sujeev Dias [Tue, 16 May 2017 22:19:16 +0000 (15:19 -0700)]
mhi: core: Add support for host triggered device ram dump

Add support for bus master to trigger PCIe device into ram dump
mode to collect device ram dump. RDDM capabilities are extended to
support under kernel panic as well.

CRs-Fixed: 2055981
Change-Id: I18f7d5784992df70aafc6e41d248ced3fac37181
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
7 years agomhi: core: Add support for PCIe linkdown abort
Sujeev Dias [Sun, 4 Jun 2017 01:36:46 +0000 (18:36 -0700)]
mhi: core: Add support for PCIe linkdown abort

PCIe linkdown event can trigger anytime. During linkdown event
abort any work MHI host doing that require PCIE link.

CRs-Fixed: 2055975
Change-Id: Idba907c7977594dc08575e0020a7afa4868bc0e4
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
7 years agoMerge "spcom: move SPCOM_MAX_CHANNELS define to uapi/linux/spcom.h"
Linux Build Service Account [Tue, 6 Jun 2017 20:21:58 +0000 (13:21 -0700)]
Merge "spcom: move SPCOM_MAX_CHANNELS define to uapi/linux/spcom.h"

7 years agoMerge "mmc: debugfs: fix unclocked register access by force_error"
Linux Build Service Account [Tue, 6 Jun 2017 20:21:57 +0000 (13:21 -0700)]
Merge "mmc: debugfs: fix unclocked register access by force_error"

7 years agoMerge "ASoC: msm8998: fix clock refcount for MI2S/AUXPCM shutdown"
Linux Build Service Account [Tue, 6 Jun 2017 20:21:54 +0000 (13:21 -0700)]
Merge "ASoC: msm8998: fix clock refcount for MI2S/AUXPCM shutdown"

7 years agoMerge "ASoC: msm: return the latest app type cfg data set when get is called"
Linux Build Service Account [Tue, 6 Jun 2017 20:21:53 +0000 (13:21 -0700)]
Merge "ASoC: msm: return the latest app type cfg data set when get is called"

7 years agoMerge "Revert "ASoC: wcd9335: enable APC in Tx path""
Linux Build Service Account [Tue, 6 Jun 2017 20:21:52 +0000 (13:21 -0700)]
Merge "Revert "ASoC: wcd9335: enable APC in Tx path""

7 years agoMerge "smb-lib: clear EXIT_SNK_BASED_ON_CC BIT after cable removal"
Linux Build Service Account [Tue, 6 Jun 2017 20:21:51 +0000 (13:21 -0700)]
Merge "smb-lib: clear EXIT_SNK_BASED_ON_CC BIT after cable removal"

7 years agoMerge "sched: hmp: Optimize cycle counter reads"
Linux Build Service Account [Tue, 6 Jun 2017 20:21:50 +0000 (13:21 -0700)]
Merge "sched: hmp: Optimize cycle counter reads"

7 years agoMerge "battery: remove 20ms delay for running AICL"
Linux Build Service Account [Tue, 6 Jun 2017 20:21:49 +0000 (13:21 -0700)]
Merge "battery: remove 20ms delay for running AICL"

7 years agoMerge "sched: Don't active migrate tasks to CPUs in the same cluster"
Linux Build Service Account [Tue, 6 Jun 2017 20:21:48 +0000 (13:21 -0700)]
Merge "sched: Don't active migrate tasks to CPUs in the same cluster"

7 years agoMerge "smb-lib: change debounce time to 20mS while in pr_swap"
Linux Build Service Account [Tue, 6 Jun 2017 20:21:47 +0000 (13:21 -0700)]
Merge "smb-lib: change debounce time to 20mS while in pr_swap"

7 years agoMerge "power: qcom: smb-lib: check for USB removal after legacy WA"
Linux Build Service Account [Tue, 6 Jun 2017 20:21:46 +0000 (13:21 -0700)]
Merge "power: qcom: smb-lib: check for USB removal after legacy WA"

7 years agoMerge "mhi: core: Using usleep_range instead of msleep for sleep"
Linux Build Service Account [Tue, 6 Jun 2017 20:21:46 +0000 (13:21 -0700)]
Merge "mhi: core: Using usleep_range instead of msleep for sleep"

7 years agoMerge "drm/msm: Separate locking of buffer resources from struct_mutex"
Linux Build Service Account [Tue, 6 Jun 2017 20:21:43 +0000 (13:21 -0700)]
Merge "drm/msm: Separate locking of buffer resources from struct_mutex"

7 years agoMerge "qseecom: fix listener unregistration issue"
Linux Build Service Account [Tue, 6 Jun 2017 20:21:42 +0000 (13:21 -0700)]
Merge "qseecom: fix listener unregistration issue"

7 years agoMerge "ARM: dts: msm: Fix panel roi alignment on msm8998"
Linux Build Service Account [Tue, 6 Jun 2017 20:21:41 +0000 (13:21 -0700)]
Merge "ARM: dts: msm: Fix panel roi alignment on msm8998"

7 years agoMerge "phy: qcom-ufs-qmp-v3: fix UFS NOP Timeout"
Linux Build Service Account [Tue, 6 Jun 2017 20:21:41 +0000 (13:21 -0700)]
Merge "phy: qcom-ufs-qmp-v3: fix UFS NOP Timeout"

7 years agoMerge "sched: Fix load tracking bug to avoid adding phantom task demand"
Linux Build Service Account [Tue, 6 Jun 2017 20:21:40 +0000 (13:21 -0700)]
Merge "sched: Fix load tracking bug to avoid adding phantom task demand"

7 years agoMerge "wil6210: support devices with different PCIe bar size"
Linux Build Service Account [Tue, 6 Jun 2017 20:21:38 +0000 (13:21 -0700)]
Merge "wil6210: support devices with different PCIe bar size"

7 years agoMerge "ARM: dts: msm: Enable DRD mode for 2nd USB controller on MSM8996 Auto"
Linux Build Service Account [Tue, 6 Jun 2017 20:21:37 +0000 (13:21 -0700)]
Merge "ARM: dts: msm: Enable DRD mode for 2nd USB controller on MSM8996 Auto"

7 years agoMerge "msm: camera: isp: Add bound check for an array"
Linux Build Service Account [Tue, 6 Jun 2017 20:21:36 +0000 (13:21 -0700)]
Merge "msm: camera: isp: Add bound check for an array"

7 years agoMerge "Revert "defconfig: msmcortex_mediabox: Disable MODULE_SIG""
Linux Build Service Account [Tue, 6 Jun 2017 20:21:35 +0000 (13:21 -0700)]
Merge "Revert "defconfig: msmcortex_mediabox: Disable MODULE_SIG""

7 years agosoc: qcom: subsys-pil-tz: Initialize subsys_dev pointer
Srivatsa Vaddagiri [Mon, 5 Jun 2017 03:03:24 +0000 (20:03 -0700)]
soc: qcom: subsys-pil-tz: Initialize subsys_dev pointer

Without this pointer being correctly initialized, subsys_set_error()
would end up accessing invalid memory

Change-Id: Ic62224e830d17c25f2bf9eeeecc81422fc0d5906
Signed-off-by: Srivatsa Vaddagiri <vatsa@codeaurora.org>
7 years agospcom: move SPCOM_MAX_CHANNELS define to uapi/linux/spcom.h
Amir Samuelov [Mon, 5 Jun 2017 11:35:44 +0000 (14:35 +0300)]
spcom: move SPCOM_MAX_CHANNELS define to uapi/linux/spcom.h

Move SPCOM_MAX_CHANNELS to common H file to make sure that kernel spcom
driver and user space spcomlib library are synced.

Change-Id: I5e19f8def7de755fa89b6a5c67e9d3372f8433f1
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
7 years agoARM: dts: msm: Defer regulator disable for SDM660 GPU SMMU
Rajesh Kemisetti [Wed, 17 May 2017 10:13:43 +0000 (15:43 +0530)]
ARM: dts: msm: Defer regulator disable for SDM660 GPU SMMU

IOMMU driver takes vote on regulator for every unmap, attach or
detach call and removes it once done.

This is an overhead if GPU is in power collapse mode and huge
number of unmap calls are pending from a given context. It would
end up in turning ON/OFF the regulator those many times.

To optimize this, do a deferred regulator disable about 80ms so that
all subsequent requests to regulator enable will be just refcounted.

Change-Id: I816156f1bdf34a2c0cb8171c2ca1df6b3ae8fe72
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
7 years agomsm: cec: Use CEC notifier framework in adapter driver
Ray Zhang [Thu, 27 Apr 2017 08:45:35 +0000 (16:45 +0800)]
msm: cec: Use CEC notifier framework in adapter driver

Enable CEC notifier support in CEC adapter driver, so the
adapter could get notification whenever physical address
is available. This removes the requirement for userspace
to manually set physical address.

CRs-Fixed: 2041335
Change-Id: I337c189d625922391374d3cdeb1f2840ad829cd7
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
7 years agommc: debugfs: fix unclocked register access by force_error
Can Guo [Mon, 5 Jun 2017 04:00:03 +0000 (12:00 +0800)]
mmc: debugfs: fix unclocked register access by force_error

When echo values to debugfs entry force_error, unclocked
register access error would be detected. This change fixes
it by making sure the host is powered up and host clock is
ticking before access force event register for error
interrupt status.

Change-Id: I995523d64de36cd4872209db4a558aa83103fbb3
Signed-off-by: Can Guo <cang@codeaurora.org>
7 years agopower: qpnp-fg-gen3: Fix possible integer overflow
Subbaraman Narayanamurthy [Fri, 2 Jun 2017 18:38:58 +0000 (11:38 -0700)]
power: qpnp-fg-gen3: Fix possible integer overflow

Currently, DIV_ROUND_CLOSEST is used while finding the delta
between initial and final cc_soc_sw in terms of percentage. This
can go beyond 32 bits with the intermediate multiplication before
it is down-converted back to less than 32 bits. Fix this.

Also, when the cc_soc_sw delta is less than 50 %, discard the
data so that the last learned capacity won't be updated.

While at it, fix a similar use of DIV_ROUND_CLOSEST in another
place fg_encode_default() where an integer overflow can happen
if it is passed with large integer values.

Change-Id: Ia2b0f5456663a90bcd32a4fed52d1e579cff4e1f
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
7 years agosmb-lib: clear EXIT_SNK_BASED_ON_CC BIT after cable removal
Abhijeet Dharmapurikar [Tue, 6 Jun 2017 00:14:17 +0000 (17:14 -0700)]
smb-lib: clear EXIT_SNK_BASED_ON_CC BIT after cable removal

EXIT_SNK_BASED_ON_CC bit is only to be used while we are in hard
reset. There is a possibility for that bit to remain set if
cable were removed while a hard reset was in progress.

Clear that bit in removal path

Change-Id: I5e0776de9322a8015f851312df51a202e35c7a78
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
7 years agopolicy_engine: Add module parameter to start USB stack
Vijayavardhan Vennapusa [Wed, 31 May 2017 06:30:37 +0000 (12:00 +0530)]
policy_engine: Add module parameter to start USB stack

USB 3.1 super speed compliance equipment may be detected as floating
charger by PMI as it may leave D+/D- lines floating (High speed data
lines). PD Policy engine does not start USB stack which results into
compliance failure as compliance expects USB stack to be started. Add
module parameter usb_compliance_mode to start USB stack on cable
connect (w/o depending on charger type).

Change-Id: Ieb33057a85b4bcff9c1e7c32c256663dd23f17ef
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
7 years agodrm/msm: add CEC notifier support for HDMI driver
Ray Zhang [Thu, 11 May 2017 10:23:40 +0000 (18:23 +0800)]
drm/msm: add CEC notifier support for HDMI driver

Add CEC notifier support which allows HDMI driver to
inform CEC driver with the new physical address. With
this information the CEC adapter driver does not need
to manually set the physical address from userspace.

CRs-Fixed: 2041335
Change-Id: I5b5707ad40ee381b5cd67f1e89f0d2397a9a7bb2
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
7 years ago[media] cec: integrate CEC notifier support
Hans Verkuil [Tue, 13 Dec 2016 14:15:57 +0000 (12:15 -0200)]
[media] cec: integrate CEC notifier support

Support the CEC notifier framework, simplifying drivers that
depend on this.

Change-Id: I911181db4dc082befa625ce0acc3993ff6f3a1a3
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Git-commit: e3a93adcc4f6c3b538f3d617fc48a87979d4548b
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
7 years ago[media] media: add CEC notifier support
Hans Verkuil [Mon, 14 Nov 2016 13:55:20 +0000 (11:55 -0200)]
[media] media: add CEC notifier support

Add support for CEC notifiers, which is used to convey CEC physical address
information from video drivers to their CEC counterpart driver(s).

Based on an earlier version from Russell King:

https://patchwork.kernel.org/patch/9277043/

The cec_notifier is a reference counted object containing the CEC physical address
state of a video device.

When a new notifier is registered the current state will be reported to
that notifier at registration time.

Change-Id: I00697db780b127a52512a6e55cabac745d8ebfa3
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Git-commit: 6917a7b774133d60e0cfd8f9ac8bb62ae6ba10aa
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
[rayz@codeaurora.org: resolve merge conflicts by discarding the MAINTAINERS
 change.]
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
7 years agodefconfig: enable cec adapter driver in mediabox
Ray Zhang [Thu, 11 May 2017 08:20:12 +0000 (16:20 +0800)]
defconfig: enable cec adapter driver in mediabox

Enable CEC adapter driver in mediabox config. This is required
to support HDMI CEC functionality.

CRs-Fixed: 2041335
Change-Id: I006ccd85a6467841c32343372d83771482d0efcd
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
7 years agoMerge "iommu/arm-smmu: Add support for regulator deferred disable"
Linux Build Service Account [Mon, 5 Jun 2017 11:34:47 +0000 (04:34 -0700)]
Merge "iommu/arm-smmu:  Add support for regulator deferred disable"

7 years agoMerge "msm: vidc: Copy user buffers to kernel memory before access"
Linux Build Service Account [Mon, 5 Jun 2017 11:34:46 +0000 (04:34 -0700)]
Merge "msm: vidc: Copy user buffers to kernel memory before access"

7 years agoMerge "msm: vidc: Add state checks for start streaming"
Linux Build Service Account [Mon, 5 Jun 2017 11:34:44 +0000 (04:34 -0700)]
Merge "msm: vidc: Add state checks for start streaming"

7 years agoMerge "msm: vidc: Update matrix coefficient values"
Linux Build Service Account [Mon, 5 Jun 2017 11:34:43 +0000 (04:34 -0700)]
Merge "msm: vidc: Update matrix coefficient values"

7 years agoMerge "msm: vidc: Update VB2 buffer state during stream_on failure"
Linux Build Service Account [Mon, 5 Jun 2017 11:34:42 +0000 (04:34 -0700)]
Merge "msm: vidc: Update VB2 buffer state during stream_on failure"

7 years agoMerge "msm: vidc: Call vb2_queue_release before destroying reg_buf lock"
Linux Build Service Account [Mon, 5 Jun 2017 11:34:41 +0000 (04:34 -0700)]
Merge "msm: vidc: Call vb2_queue_release before destroying reg_buf lock"

7 years agoMerge "msm: vidc: Check presence of property before calling cx register"
Linux Build Service Account [Mon, 5 Jun 2017 11:34:39 +0000 (04:34 -0700)]
Merge "msm: vidc: Check presence of property before calling cx register"

7 years agoMerge "msm: cec: Add CEC adapter driver for SDE hardware"
Linux Build Service Account [Mon, 5 Jun 2017 11:34:38 +0000 (04:34 -0700)]
Merge "msm: cec: Add CEC adapter driver for SDE hardware"

7 years agoMerge "mhi: mhi_uci: Create char dev only after PCIe device ID is known"
Linux Build Service Account [Mon, 5 Jun 2017 11:34:37 +0000 (04:34 -0700)]
Merge "mhi: mhi_uci: Create char dev only after PCIe device ID is known"

7 years agoMerge "mhi: core: Bind devices with variable PCIe device IDs with same device node"
Linux Build Service Account [Mon, 5 Jun 2017 11:34:36 +0000 (04:34 -0700)]
Merge "mhi: core: Bind devices with variable PCIe device IDs with same device node"

7 years agoMerge "ARM: dts: msm: Disable neutrino reset GPIO at bootup on msm8996"
Linux Build Service Account [Mon, 5 Jun 2017 11:34:35 +0000 (04:34 -0700)]
Merge "ARM: dts: msm: Disable neutrino reset GPIO at bootup on msm8996"

7 years agoMerge "msm: ipa3: Fix to add check for dma_map_single return values"
Linux Build Service Account [Mon, 5 Jun 2017 11:34:34 +0000 (04:34 -0700)]
Merge "msm: ipa3: Fix to add check for dma_map_single return values"

7 years agoMerge "regulator: qpnp: check min/max voltages against HW configuration"
Linux Build Service Account [Mon, 5 Jun 2017 11:34:33 +0000 (04:34 -0700)]
Merge "regulator: qpnp: check min/max voltages against HW configuration"

7 years agoARM: dts: msm: Fix panel roi alignment on msm8998
Animesh Kishore [Sun, 4 Jun 2017 19:14:18 +0000 (00:44 +0530)]
ARM: dts: msm: Fix panel roi alignment on msm8998

Align partial update roi start and height to 256 pixels
for nt35597 panel.

Change-Id: I56e78d1adab769c4d226d88cfb5badcfe7eb6dc2
Signed-off-by: Animesh Kishore <animeshk@codeaurora.org>
7 years agoath10k: Update world regulatory rules
Rajeev Kumar Sirasanagandla [Thu, 25 May 2017 15:08:33 +0000 (20:38 +0530)]
ath10k: Update world regulatory rules

In the current implementation, 5Ghz channel frequencies and txpower of
world regulatory rules are not in par with the Micahel Green's
master sheet.

To address this, modify the frequency ranges and associate tx powers.

CRs-Fixed: 2052854
Change-Id: I119ceda704bea4681d373e72ccedddd3619e6e2f
Signed-off-by: Rajeev Kumar Sirasanagandla <rsirasan@codeaurora.org>
7 years agoRevert "defconfig: msmcortex_mediabox: Disable MODULE_SIG"
Mohammed Khajapasha [Mon, 5 Jun 2017 10:59:16 +0000 (16:29 +0530)]
Revert "defconfig: msmcortex_mediabox: Disable MODULE_SIG"

This reverts commit 3fa757498480 ("defconfig: msmcortex_mediabox:
Disable MODULE_SIG").

Change-Id: I08d9ef6913a8e19f16ac5729315f3577490ed25c
Signed-off-by: Mohammed Khajapasha <mkhaja@codeaurora.org>
7 years agophy: qcom-ufs-qmp-v3: fix UFS NOP Timeout
Asutosh Das [Thu, 1 Jun 2017 09:20:41 +0000 (14:50 +0530)]
phy: qcom-ufs-qmp-v3: fix UFS NOP Timeout

With the current SIGDET value of 0x6E there
seems to be NOP timeouts seen frequently.

Hence, change the SIGDET value to 0x6C as per
updated Hardware Programming Guide.

Change-Id: I46426382033603c4727de6b0a485015eed690f34
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
7 years agoregulator: spm-regulator: Add support for FTS426 type regulators
Tirupathi Reddy [Fri, 28 Apr 2017 03:14:11 +0000 (08:44 +0530)]
regulator: spm-regulator: Add support for FTS426 type regulators

Add support for PMIC FTSMPS 426 type regulators.  These have a
4 mV step size and a voltage control scheme consisting of two
8-bit registers defining a 16-bit voltage set point in units of
millivolts.

Also address the mode register configuration differences between
FTSMPS 426 type regulators and other regulators supported in
spm-regulator driver file.

CRs-Fixed: 2037603
Change-Id: Ide54c8c9dd8113ab4588979ec97915403b3ecab1
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
7 years agoARM: dts: msm: specify a PWM mode threshold for PMI8998 BoB on MSM8998
David Collins [Fri, 14 Apr 2017 22:40:04 +0000 (15:40 -0700)]
ARM: dts: msm: specify a PWM mode threshold for PMI8998 BoB on MSM8998

Specify a 2 A PWM vs AUTO mode load current threshold for the
PMI8998 BoB regulator.  Also specify the initial mode as AUTO.
Consumer that require the BoB to be in PWM mode should request
2000000 uA or more.

CRs-Fixed: 2054771
Change-Id: Icb6ff634359c8ae12c36dcda127bffa247c6eb71
Signed-off-by: David Collins <collinsd@codeaurora.org>
7 years agoregulator: rpm-smd-regulator: add support for load based mode control
David Collins [Fri, 14 Apr 2017 22:34:41 +0000 (15:34 -0700)]
regulator: rpm-smd-regulator: add support for load based mode control

Add support to request PWM or AUTO mode for BoB and SMPS type
regulators based upon the aggregated consumer load current.  This can
be used in cases where a consumer needs to force PWM mode operation.

CRs-Fixed: 2054771
Change-Id: Iaf4353fb60468c91f958a968d844b3c1c012e54c
Signed-off-by: David Collins <collinsd@codeaurora.org>
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
7 years agoARM: dts: msm: Disable neutrino reset GPIO at bootup on msm8996
Jaiju Yesudasan [Wed, 28 Sep 2016 14:14:31 +0000 (19:44 +0530)]
ARM: dts: msm: Disable neutrino reset GPIO at bootup on msm8996

Neutrino reset GPIO need to be be disabled at bootup.
It will be enabled by driver in its probe.

CRs-Fixed: 1072096
Change-Id: Ie4a0428523b0764e0234f0ae51a90c250166cca9
Signed-off-by: Jaiju Yesudasan <cjaijuy@codeaurora.org>
7 years agoiommu/arm-smmu: Add support for regulator deferred disable
Prakash Gupta [Tue, 16 May 2017 06:43:02 +0000 (12:13 +0530)]
iommu/arm-smmu:  Add support for regulator deferred disable

In case of unmap call, regulator is enabled/disabled. This may introduce
additional delay. For clients who do not detach, it's not possible to keep
regulator vote while smmu is attached.
Add support for regulator deferred disable. The time delay for deferred
disable can be set using dt property qcom,deferred-regulator-disable-delay
in ms.

Change-Id: I462e1999bd81f6332169b24749632d7b247c75c5
Signed-off-by: Prakash Gupta <guptap@codeaurora.org>
7 years agoMerge "defconfig: msm8996: Use RCU_NOCB for RCU subsystem"
Linux Build Service Account [Mon, 5 Jun 2017 04:32:07 +0000 (21:32 -0700)]
Merge "defconfig: msm8996: Use RCU_NOCB for RCU subsystem"

7 years agomsm: camera: isp: Disable SMMU stall upon VFE page fault
Venu Yeshala [Wed, 17 May 2017 17:33:59 +0000 (23:03 +0530)]
msm: camera: isp: Disable SMMU stall upon VFE page fault

Terminate fault transaction and don't stall SMMU for VFE.

CRs-Fixed: 2048270
Change-Id: I357d7b92c7c066bf2ba157bb35b4e350bcbebdda
Signed-off-by: Venu Yeshala <vyeshala@codeaurora.org>
7 years agodefconfig: msm8996: Use RCU_NOCB for RCU subsystem
Wei Li [Thu, 18 May 2017 03:33:43 +0000 (11:33 +0800)]
defconfig: msm8996: Use RCU_NOCB for RCU subsystem

Use per CPU NOCB threads to process RCU callbacks, rather than processing
the callbacks in softirq context. Processing large number of callbacks
in softirq context may result in delayed execution of other softirqs, so
remove processing of callbacks from softirq context.

Change-Id: I90d070ad824d2df0f3e1ee29da1b48ae2887b64b
Signed-off-by: Wei Li <weili@codeaurora.org>