Commit graph

583201 commits

Author SHA1 Message Date
Abhinav Kumar
3cc4d79452 ARM: dts: msm: rename mdss_mdp to sde_kms and add HDMI TX device node
Rename mdss_mdp to sde_kms in the device tree to reflect the
new display DRM driver terminology and add support for HDMI TX
device node

Change-Id: Ide5dc6a5939945a3e993eca650c66a56f3955140
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
2017-02-22 02:06:24 -08:00
Abhinav Kumar
9a0a010c8e drm/msm: add SDE IRQ domain before creating DRM objects
Currently all connectors list SDE as their parent interrupt
controller.

With commit <f5dd86c92d63df7a2790149d1cb9588c004695b0>
(<drm/msm/sde: reorganize top level interrupt handling code>),
the SDE IRQ domains get added after DRM init functions of the
connectors. This is incorrect as the irq request calls of the
connectors shall fail if the domain of the parent is not added yet.
Fix this by re-ordering the sde_kms_int() function to reflect the
correct order and remove the IRQ domain addition from irq_preinstall
calls as that will be very late for the connectors.

Change-Id: Ie1364840e2f018361e54470516d48c3facf59272
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
2017-02-21 14:47:29 -08:00
Abhinav Kumar
83fc94fbb9 drm/msm: add HDMI support for DRM KMS driver
Add initial HDMI display driver support for SDE.
Support for configuring the HDMI TX controller
to specific resolutions. Add support for HDMI specific
ISR, uevent handling, basic debugfs support.
Add support for HDMI DRM specific calls for SDE driver.

Change-Id: I0cf7f4067e1a9b378632713b896798971971e5b9
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
2017-02-21 14:46:26 -08:00
Gopikrishnaiah Anandan
6465ed1ec2 ARM: dts: msm: Add sde dtsi for msm8998
msm8998 has a new version of display hardware block.
This Change adds the dtsi support for sde block.

CRs-Fixed: 2002381
Change-Id: Ib18d2e2134a314295667d557ab314cd9aab82585
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
Signed-off-by: Manoj Kumar AVM <manojavm@codeaurora.org>
2017-02-20 22:42:18 -08:00
Linux Build Service Account
56b0a1f166 Merge "ppp: defer netns reference release for ppp channel" 2017-02-20 10:08:27 -08:00
Linux Build Service Account
e7d1ccb3fa Merge "power: qcom-charger: delay ICL change reporting to parallel psy" 2017-02-20 10:08:26 -08:00
Linux Build Service Account
41bb68940b Merge "ARM: dts: msm: Enable camera for sdm630" 2017-02-20 10:08:25 -08:00
Linux Build Service Account
e4dff026df Merge "ARM: dts: msm: Add max secure video sessions for sdm660" 2017-02-20 10:08:24 -08:00
Linux Build Service Account
4d49e3647c Merge "ARM: dts: msm: add support for NO jacktype for SDM630" 2017-02-20 10:08:24 -08:00
WANG Cong
a1e9116dac ppp: defer netns reference release for ppp channel
Matt reported that we have a NULL pointer dereference
in ppp_pernet() from ppp_connect_channel(),
i.e. pch->chan_net is NULL.

This is due to that a parallel ppp_unregister_channel()
could happen while we are in ppp_connect_channel(), during
which pch->chan_net set to NULL. Since we need a reference
to net per channel, it makes sense to sync the refcnt
with the life time of the channel, therefore we should
release this reference when we destroy it.

Fixes: 1f461dcdd296 ("ppp: take reference on channels netns")
Reported-by: Matt Bennett <Matt.Bennett@alliedtelesis.co.nz>
Cc: Paul Mackerras <paulus@samba.org>
Cc: linux-ppp@vger.kernel.org
Cc: Guillaume Nault <g.nault@alphalink.fr>
Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Reviewed-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Git-repo:https://source.codeaurora.org/quic/la/kernel/msm-4.4
Git-commit: 205e1e255c479f3fd77446415706463b282f94e4

Change-Id: Ic7ce3be365ebdc1505ed8ce68df981c855638a3c
Signed-off-by: Srinivasa Rao Kuppala <srkupp@codeaurora.org>
2017-02-19 15:57:19 -08:00
Linux Build Service Account
5a092dc83c Merge "msm: ipa: Do not assert if IPA FW loading fails" 2017-02-19 09:46:35 -08:00
Linux Build Service Account
3436baed84 Merge "ath10k: Add support for shadow register for WNC3990" 2017-02-19 09:46:35 -08:00
Ghanim Fodi
a13e78525f msm: ipa: Do not assert if IPA FW loading fails
Currently, IPA driver asserts if IPA FW loading
fails. Some environments do not have IPA FW
integrated and we should not crash at these cases.

CRs-fixed: 2005599
Change-Id: I78b9f2cadb8c35ab455f4514c7efc9cee4cf4542
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
2017-02-19 06:58:14 -08:00
Linux Build Service Account
6f0b536eb7 Merge "power: qcom-charger: fix minor bugs in parallel path" 2017-02-19 01:04:40 -08:00
Linux Build Service Account
73069045ea Merge "power: qcom-charger: add a workaround flag for QC AUTH interrupt" 2017-02-19 01:04:39 -08:00
Linux Build Service Account
3fae2f4837 Merge "ARM: dts: msm: fix the compatible string used for GFX LDO CPR for sdm630" 2017-02-19 01:04:39 -08:00
Linux Build Service Account
e7d1d81cfb Merge "ARM: dts: msm: increase the system pm levels in sdm660" 2017-02-19 01:04:38 -08:00
Linux Build Service Account
523d252348 Merge "ARM: dts: msm: Enable wil6210 device for 8998 qrd-vr" 2017-02-19 01:04:37 -08:00
Linux Build Service Account
c3ad604dca Merge "ARM: dts: msm: Correct the number of bus frequency levels for SDM630" 2017-02-19 01:04:36 -08:00
Linux Build Service Account
943a2abd1a Merge "defconfig: msm: Enable BALANCE_ANON_FILE_RECLAIM for sdm660" 2017-02-19 01:04:36 -08:00
Linux Build Service Account
35dc4eff61 Merge "ARM: dts: msm: Fix DCVS load for SDM660" 2017-02-18 16:15:19 -08:00
Linux Build Service Account
1e81b8b188 Merge "drm/msm: add put_iova() helper" 2017-02-18 16:15:14 -08:00
Linux Build Service Account
1b3c3b33a7 Merge "drm/msm: set dma_mask properly" 2017-02-18 16:15:12 -08:00
Linux Build Service Account
ae42883322 Merge "wil6210: convert symbolic permissions to octal permissions" 2017-02-18 16:15:10 -08:00
Linux Build Service Account
b02b05a6d4 Merge "wil6210: option to override A-BFT length in start AP/PCP" 2017-02-18 16:15:09 -08:00
Linux Build Service Account
5d755997fd Merge "wil6210: report association ID (AID) per station in debugfs" 2017-02-18 16:15:08 -08:00
Linux Build Service Account
c9874a8186 Merge "wil6210: remove __func__ from debug printouts" 2017-02-18 16:15:08 -08:00
Linux Build Service Account
97115a67ec Merge "ARM: dts: msm: Update cpufreq table for sdm630" 2017-02-18 06:38:28 -08:00
Linux Build Service Account
6aff0fb88a Merge "ARM: dts: msm: add ESD and ULPS support for SDM660 panels" 2017-02-18 06:38:27 -08:00
Linux Build Service Account
99c09871f6 Merge "msm: mdss: Rate limit hist bin error logs" 2017-02-18 06:38:26 -08:00
Linux Build Service Account
d0f2ea3824 Merge "msm: mdss: Use DMA pipe in pan display path for SDM 3.x.x" 2017-02-18 06:38:25 -08:00
Linux Build Service Account
237a49b330 Merge "msm: sde: Fix SW timestamp initialization when missing power event" 2017-02-18 06:38:24 -08:00
Linux Build Service Account
4160f2ac41 Merge "msm: mdss: fix autorefresh during kickoff" 2017-02-18 06:38:24 -08:00
Linux Build Service Account
abd5000b68 Merge "msm: mdss: correct bpp for TP10 in bandwidth calculations" 2017-02-18 06:38:23 -08:00
Linux Build Service Account
b2f08c6c88 Merge "usb: gsi: Capture USB GSI endpoint operations" 2017-02-18 06:38:22 -08:00
Linux Build Service Account
fb033a4afd Merge "scsi: ufs: full reinit upon resume if link was off" 2017-02-18 06:38:22 -08:00
Linux Build Service Account
8020c4ccfc Merge "regulator: cpr4-mmss-ldo: Correct the GFX LDO CPR sensor count for sdm630" 2017-02-18 06:38:21 -08:00
Tirupathi Reddy
9ae481d986 ARM: dts: msm: Update cpufreq table for sdm630
Update cpufreq table for sdm630 as per new cpu clock plan.

CRs-Fixed: 2008773
Change-Id: Ibaa5d3c2d1dbafd14b5e9bee382cd3980f89aa51
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
2017-02-18 16:22:11 +05:30
Neeraj Upadhyay
971e647ea7 ARM: dts: msm: add support for NO jacktype for SDM630
Add device tree files for headset jacktype NO, for CDP
and RCM platforms of SDM630.

Change-Id: I297e6467ed47c51950ae527077c3d20cf738e0b6
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
2017-02-18 02:08:42 -08:00
Ashay Jaiswal
9c5b523f78 power: qcom-charger: delay ICL change reporting to parallel psy
ICL change interrupt triggers whenever there is change in the
input ICL, in case of AICL restart(done as part of S/W base
pulsing) AICL starts from 500mA and ICL change gets triggered
for every 25mA ICL as part of AICL ramping.
ICL change handler generates a power_supply event on parallel
psys and thus causing parallel framework to re-split ICL for
every 25mA. Fix this by delaying power_supply event until AICL
settles.

Change-Id: I9270a99f536db4534e46764b2e053ff93b38cb54
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
2017-02-18 10:37:43 +05:30
Ashay Jaiswal
b5a4cf7bb6 power: qcom-charger: Add support for software INOV
Hardware autonomous INOV does adapter's output voltage
manipulation only based on the input limited state of main
charger. This works well with MID-MID parallel configuration
but with USBIN-USBIN parallel configuration parallel charger's
input limited state also plays role for INOV manipulations.
Thus disable hardware based autonomous INOV and add support
for software based INOV for USBIN-USBIN configuration.

Note that if authentication is disabled, the hw assumes QC3.0 and
if the autonomous bit is enabled, it issues increment/decrement pulses.
This happens even when QC3.0 has not been actually authenticated.

Change-Id: I397acb558c9ba3b6fc7d7b974d64459f278697fd
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2017-02-18 10:11:06 +05:30
Ashay Jaiswal
58ca30db67 power: qcom-charger: add support for internal and external rsense
USBIN-USBIN parallel configuration can have either an internal current
sensing via main charger's BATFET or an external current sense resistor.
The FCC split between main and parallel charger differs based on current
sensing mode, add support to differentiate internal/external sensing and
the FCC split is done as follows:
- Internal Sensing: Main charger configure to full FCC
		    Parallel charger configured to 50% FCC.
- External sensing: Main charger configure to 50% FCC
		    Parallel charger configured to 50% FCC.

Change-Id: Ia0c6234ce6f62af460edd3c4f56e34810899b3e3
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
2017-02-18 09:41:34 +05:30
Ashay Jaiswal
fb2e7e9869 power: qcom-charger: fix minor bugs in parallel path
"icl_reduction_ua" is not updated to new slave ICL value after
ICL split, update the variable.

Change-Id: I944fddfda1aa2c359785d1a3155ac22ebe91fa65
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
2017-02-18 09:29:20 +05:30
Ashay Jaiswal
6477a9e902 power: qcom-charger: add a workaround flag for QC AUTH interrupt
In PM660 "QC authentication done" IRQ is a pulse and thus it
does not require workaround to disable this IRQ after authentication
completes. Add a workaround flag to enable this only for PMI8998.

Change-Id: I766219df38fc4954f5208d6db323b680e8e5fafd
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
2017-02-18 09:27:14 +05:30
Mayank Rana
ccb139843c usb: gsi: Capture USB GSI endpoint operations
In some cases it has been observed that after sending STARTXFER
command with USB GSI IN endpoint, USB controller is accessing zero
address resulting into bus error. This change captures USB GSI
operation sequence in debug buffer which may help to understand
race condition in terms of USB gadget events and USB GSI endpoint
operations.

Change-Id: Ia46877bb92ea0cc1d5f3712e5c70bb44232d5cfe
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2017-02-17 17:49:44 -08:00
Linux Build Service Account
96b6f68843 Merge "ARM: dts: msm: move ref-clk from phy to ufs node in sdm660" 2017-02-17 07:33:07 -08:00
Linux Build Service Account
b531ffe5d2 Merge "ARM: dts: msm: Add qcom,gpu-limit property for sdm660" 2017-02-17 07:33:06 -08:00
Linux Build Service Account
cbbefa3a42 Merge "mm📷 Do not detach isp node during smmu detach." 2017-02-17 07:33:05 -08:00
Linux Build Service Account
a384da9533 Merge "msm: cpp: Call iommu detach in the error scenarios for secure case" 2017-02-17 07:33:05 -08:00
Linux Build Service Account
7fa84a1a06 Merge "block: protect iterate_bdevs() against concurrent close" 2017-02-17 07:33:04 -08:00