Commit graph

580936 commits

Author SHA1 Message Date
Linux Build Service Account
de9fa8b77a Merge "cpufreq: changes to adapt for opensource clock framework" 2017-01-13 08:07:52 -08:00
Linux Build Service Account
f1d140f34c Merge "ARM: dts: msm: Fix configurations for crypto and qrng on SDM660" 2017-01-13 08:07:51 -08:00
Linux Build Service Account
b9fd387cd6 Merge "clk: qcom: Fix for rate request to RPM during handoff" 2017-01-13 08:07:50 -08:00
Linux Build Service Account
cd5ef3d16b Merge "drm/msm/sde: sde hw interrupt handling" 2017-01-13 08:07:47 -08:00
Linux Build Service Account
bc2d4c423e Merge "drm/msm/sde: simplify encoder display probe logic" 2017-01-13 08:07:46 -08:00
Linux Build Service Account
5f99c7804f Merge "drm/msm: add smmu handler" 2017-01-13 08:07:45 -08:00
Linux Build Service Account
c946d852fa Merge "ARM: dts: msm: enable watchdog for sdm 660" 2017-01-13 08:07:45 -08:00
Linux Build Service Account
fdd0e3d310 Merge "ARM: dts: msm: Use correct property name to pass values for sdm660" 2017-01-13 08:07:44 -08:00
Santosh Mardi
da2e9dd3fa cpufreq: changes to adapt for opensource clock framework
Update cpufreq driver to adapt to opensource clock framework
Opensource clock framework dev_clk_get returns with the
different clock handle for all cpu cores with same clock source
This is different in the existing clock framework where
dev_clk_get returns with the same clock handle for the cores
which shares the same clock source.

Cpufreq driver was compatible with the existing clock
framework but with the opensource clock framework we need
to handle the different clock handles for all the cores
even the clock source is common.

Change-Id: Ic343bc20dc7c8b2ce151a5a2b5f85b43cdd949bf
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
2017-01-13 16:03:39 +05:30
Linux Build Service Account
efaccb4adb Merge "ASoC: msm: qdsp6v2: Add control for ICC Volume" 2017-01-12 22:39:17 -08:00
Linux Build Service Account
d089fe1071 Merge "ASoC: msm: qdsp6v2: add support for ADM_OPEN_V6 for multi-mic ec" 2017-01-12 22:39:16 -08:00
Linux Build Service Account
9bf671bc1e Merge "ASoC: msm: qdsp6v2: Fix out-of-bounds access in put functions" 2017-01-12 22:39:15 -08:00
Linux Build Service Account
e85386ee66 Merge "ARM: dts: msm: enable display panel for sdm660 QRD" 2017-01-12 22:39:14 -08:00
Linux Build Service Account
fe716a1881 Merge "drm/msm/sde: add driver for sde support" 2017-01-12 22:39:13 -08:00
Linux Build Service Account
e3fd750a77 Merge "drm/msm/dsi-staging: add catalog for dsi driver" 2017-01-12 22:39:12 -08:00
Linux Build Service Account
45654cc956 Merge "drm/msm/dsi-staging: add hardware driver for dsi controller" 2017-01-12 22:39:11 -08:00
Linux Build Service Account
a1442d31e2 Merge "defconfig: msm: enable dvb demux modules compilation" 2017-01-12 22:39:10 -08:00
Linux Build Service Account
75b99c075a Merge "Merge remote-tracking branch 'remotes/origin/tmp-896bb812' into HEAD" 2017-01-12 22:39:09 -08:00
Linux Build Service Account
a7d8f02960 Merge "NFC: Fix interrupt state in recovery" 2017-01-12 22:39:08 -08:00
Linux Build Service Account
710fa5be49 Merge "msm: ipa: AP+STA statistics support for IPAv2 driver" 2017-01-12 22:39:08 -08:00
Linux Build Service Account
337b3cd854 Merge "input: qpnp-power-on: set boot_reason when system-reset exists" 2017-01-12 22:39:07 -08:00
Linux Build Service Account
cfa822c282 Merge "msm: mdss: Fix ctl flush bits reset by dspp programming" 2017-01-12 22:39:06 -08:00
Linux Build Service Account
075893a011 Merge "ARM: dts: msm: add PMI GPIO1 to control WLED for msm8998 QVR" 2017-01-12 22:39:05 -08:00
Linux Build Service Account
23cbc75d2f Merge "ARM: dts: msm: Add TLB dump entries for msm8998" 2017-01-12 22:39:04 -08:00
Ben Chan
d199f38207 drm/msm/sde: sde hw interrupt handling
Existing SDE HW interrupt was based on mdp/kms and is not
sufficient for supporting the SDE HW interrupt manipulation.
Changes are for enabling full SDE interrupt support and hiding
HAL interface implementation details from crtc/encoder.

Change-Id: I917a153d12bbb6b84758591ba69fe15181af7791
Signed-off-by: Ben Chan <bkchan@codeaurora.org>
Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
2017-01-12 11:10:35 -08:00
Lloyd Atkinson
643f961532 drm/msm/sde: simplify encoder display probe logic
Cleanup the display probing logic now that the common display
interface is available.

Change-Id: I3a6f815d8e7ab7f22e719eaf7ef4c8150470d54f
Signed-off-by: Lloyd Atkinson <latkinso@codeaurora.org>
Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
2017-01-12 11:10:34 -08:00
Clarence Ip
0190e3c975 drm/msm/sde: move sde encoder to new display interface
Call panels via common display-manager interface rather than directly.

Change-Id: I4fe86b6b206929217c0cf807a93287140d507e6c
Signed-off-by: Clarence Ip <cip@codeaurora.org>
Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
2017-01-12 11:10:34 -08:00
Lloyd Atkinson
fe03524bee drm/msm/sde: programmable pre-fetch support for video encoders
Add support in encoder for programming early fetch in the
vertical front porch.

Change-Id: I60fcf4a4e6aea80292b590ee14506579123f372d
Signed-off-by: Lloyd Atkinson <latkinso@codeaurora.org>
Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
2017-01-12 11:10:33 -08:00
Lloyd Atkinson
a142ec80ca drm/msm/sde: sde encoder virtualization
Split SDE encoder into virtual and physical encoders. Virtual
encoders are containers, one per logical display that contain
one or more physical encoders. Physical encoders manage the
INTF hardware.

Change-Id: I6342511c59568c76278a519b84f93338157e59fa
Signed-off-by: Lloyd Atkinson <latkinso@codeaurora.org>
Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
2017-01-12 11:10:33 -08:00
Lloyd Atkinson
1cab338540 drm/msm/sde: add controller instance to INTF block in catalog
Controller Instance ID differentiates between INTFs of the same type.
E.g. which DSI INTF is primary, which is secondary.

Change-Id: Icc47df59a24faa2a019ab190d6c835a0ac93024d
Signed-off-by: Lloyd Atkinson <latkinso@codeaurora.org>
Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
2017-01-12 11:10:32 -08:00
Abhijit Kulkarni
815cfffb81 drm/msm/sde: add basic sde object enumeration
Implement basic crtc, encoder, and plane support that
implements DRM atomic call sequence, queries hardware, and
enumerates resources as DRM objects. This includes basic
color format support, as well as querying of displays
to create appropriate encoders, crtcs. Also includes
supporting clock control logic.

Change-Id: I25a9c74b92262d81986b3441c89d51bff2d14dbb
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
2017-01-12 11:10:32 -08:00
Adrian Salido-Moreno
29e061e200 drm/msm: add smmu handler
Add msm_smmu driver to support mapping buffers to
arm smmu memory. msm_smmu adds the hooks to support
drm hooks. Current change only supports the unsecure
domain memory. msm_gem object is also updated to attach
the new msm_smmu driver.

Change-Id: I4899bd74d8b41b864ed5e0dec2da11e929c7fa95
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
2017-01-12 11:10:13 -08:00
Abhijit Kulkarni
54a4a3fb41 drm/msm/sde: add driver for sde support
Initial DRM/KMS driver to support snapdragon display engine.

Change-Id: I2f93d7cd24acf77359682f90b6b9647017ed62ba
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
2017-01-12 11:08:55 -08:00
Ajay Singh Parmar
af5a0d5df1 drm/msm/dsi-staging: add catalog for dsi driver
Add catalog for DSI controller and phy drivers.

Change-Id: Iff7f55592834fef0230982282af5b8b2890f97a5
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
2017-01-12 11:08:55 -08:00
Ajay Singh Parmar
a47691f8c9 drm/msm/dsi-staging: add hardware driver for dsi controller
Add hardware driver for DSI controller v1.4.

Change-Id: I74a3b5ebbde1ca43b060d6e5ba2462fb66f0a3a8
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
2017-01-12 11:08:37 -08:00
Amit Nischal
a7602b3f5f clk: qcom: Fix for rate request to RPM during handoff
For all rpm clocks, max rate request is going to RPM
during handoff which always shows max requested rate
value from APSS so fix the same.

Change-Id: I4f184ea053fc1a40830eb9f555c24fdf17ba3fa1
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
2017-01-12 19:29:17 +05:30
Brahmaji K
6ae743ace4 ARM: dts: msm: Fix configurations for crypto and qrng on SDM660
Update qrng block address and interrupt number for crypto hardware
for SDM660.

Change-Id: I5f0066a1d2086830747156d8c65746a2dac87feb
Signed-off-by: Brahmaji K <bkomma@codeaurora.org>
2017-01-12 16:48:50 +05:30
Amey Telawane
9eead8eab4 ARM: dts: msm: enable watchdog for sdm 660
Enable watchdog node for sdm660 which is
used to detect system hang.

Change-Id: I463f7320a068b678370b295558689c37d8073fb7
CRs-fixed: 1056777
Signed-off-by: Amey Telawane <ameyt@codeaurora.org>
2017-01-12 16:03:49 +05:30
Vijayavardhan Vennapusa
e905710b39 ARM: dts: msm: Use correct property name to pass values for sdm660
Use correct property name for passing voltage values for voting
core_ldo which is required for QMP PHY.

Change-Id: I042905f5971c653f580a6f4388555744ff3160cc
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
2017-01-12 11:52:30 +05:30
Yahui Wang
f704577710 ARM: dts: msm: add PMI GPIO1 to control WLED for msm8998 QVR
PMI GPIO1 is used to enable and disable WLED for msm8998 QVR,
we should also invert the gpio level according to HW design.

CRs-Fixed: 1101647
Change-Id: If29e41d12a697d7fd6671f1134a1e798c80c3523
Signed-off-by: Yahui Wang <yahuiw@codeaurora.org>
2017-01-12 09:42:55 +08:00
Udaya Bhaskara Reddy Mallavarapu
ff70aa66a8 defconfig: msm: enable dvb demux modules compilation
Enable dvb_core, mpq demux plugin, TSPP modules compilation.

CRs-Fixed: 1108990
Change-Id: I330c64d0f27ed8c700814b0333e40ee005435594
Signed-off-by: Udaya Bhaskara Reddy Mallavarapu <udaym@codeaurora.org>
2017-01-11 21:28:03 +05:30
Gaurav Singhal
94594358b9 NFC: Fix interrupt state in recovery
If read function is waiting for interrupt and after that
NFCC goes to recovery, MW will call ioctl (0) and ioctl (1),
In ioctl (0) call we are disabling interrupt so read function
was waiting for interrupt and ioctl call has disabled interrupt,
now there is no possibility interrupt will be enabled again
because only read function enables the interrupt.

Enabled interrupt in ioctl (1) so that we can receive data
after reset/recovery.

Change-Id: I1677a50129534b1eaa4b8c20820a15db299cd9c1
Signed-off-by: Gaurav Singhal <gsinghal@codeaurora.org>
2017-01-11 17:33:25 +05:30
Mao Jinlong
56a6f88a34 input: qpnp-power-on: set boot_reason when system-reset exists
Some platforms don't configure qcom,secondary-pon-reset like 8998.
So set boot_reason when "qcom,system-reset" node exists to avoid
setting a wrong value to boot_reason.

CRs-Fixed: 1102732
Change-Id: I9e9ff2f2d0ffac6baa5d0663664001eb30638e87
Signed-off-by: Mao Jinlong <c_jmao@codeaurora.org>
2017-01-11 15:45:49 +08:00
Utkarsh Saxena
e1131a815f msm: ipa: AP+STA statistics support for IPAv2 driver
Add IPA stats support on AP+STA mode for V2 driver
when CNE queries. Also add metering funtionality
on WIFI interface to stop the data transfer
when quota reached on WIFI-case.

Change-Id: I51a771423e6a35ea0453b978be484d0464bddf14
Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
2017-01-11 13:02:10 +05:30
Yahui Wang
1e19092380 ARM: dts: msm: enable display panel for sdm660 QRD
nt36850 wqhd command panel will be used for sdm660 QRD,
so enable it for sdm660 QRD.

CRs-Fixed: 1107352
Change-Id: Ia7a691949bfef8777f78e846b6fb92e01658441f
Signed-off-by: Yahui Wang <yahuiw@codeaurora.org>
2017-01-11 09:51:50 +08:00
Runmin Wang
5d18545892 ARM: dts: msm: Add TLB dump entries for msm8998
Add TLB dump entries to setup memory space for the cpuss dump
driver to dump TLB entries.

Change-Id: I7514969c1540d18d2102088b43d959adec68152f
Signed-off-by: Runmin Wang <runminw@codeaurora.org>
2017-01-10 14:41:51 -08:00
Linux Build Service Account
2dc96b1cbb Merge "msm: camera: fd: Call fd buffer done on active buffer" 2017-01-10 12:27:11 -08:00
Linux Build Service Account
9c82f6cac8 Merge "drm/msm/dsi-staging: add dsi definitions for new dsi driver" 2017-01-10 12:27:10 -08:00
Linux Build Service Account
86a4156c95 Merge "ASoC: msm8996: Fix kernel crash in "Speaker Function" mixer control" 2017-01-10 12:27:10 -08:00
Linux Build Service Account
3d66b34e70 Merge "ARM: dts: msm: add audio support for sdm660 qrd skus" 2017-01-10 12:27:09 -08:00