Commit graph

585295 commits

Author SHA1 Message Date
Yingwei Zhao
3f48380f37 ARM: dts: msm: Change FG cut-off voltage to default for SDM660 QRD
In the new SDM660 QRD devices, PM660 does not need the hardware
workround that cut-off voltage should be set to 3.7V, so delete
the qcom,fg-cutoff-voltage property.

CRs-Fixed: 2013279
Change-Id: Ica55128a2f426a668b0d43d04424e13672dd78fd
Signed-off-by: Yingwei Zhao <cyizhao@codeaurora.org>
2017-03-01 18:16:23 -08:00
Xiaojun Sang
c563e4e88f ARM: dts: msm: Remove add sb_4_tx_vi to support VI recording at msm8998
This reverts commit 9f45a559c7 ("ARM: dts: msm:
add sb_4_tx_vi to support VI recording at msm8998")

It is unnecessary to support concurrency of VI sense
recording and speaker protection.

CRs-Fixed: 1113625
Change-Id: I13ee9fd2daed2ad55347c112eeb79a9bfe6495ba
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2017-03-02 10:15:00 +08:00
Pengfei Liu
2a8832a94e ARM: dts: msm: Add support for sdm630 QRD board
Add camera node including rear aux and front camera node, also
add corresponding eeprom actuator ois flash and torch node.

Change-Id: I84e3bfa11127ca7808491df728665f74c9222343
Signed-off-by: Pengfei Liu <pengfeiliu@codeaurora.org>
2017-03-01 17:59:52 -08:00
Abhijeet Dharmapurikar
5b289d3a64 leds: remove unused driver leds-qpnp-flash.c
leds-qpnp-flash driver is not supported anymore. Remove it.

Change-Id: Ie2f570bad8171c460b8167f140d71c052ada2b17
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2017-03-01 14:07:10 -08:00
Satya Durga Srinivasu Prabhala
812a215410 defconfig: msm: Turn on ESOC configs
Enable support for ESOC drivers.

Change-Id: Ie10f7b74fa7d06c7fcc93bf6eaa23889fc533b86
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2017-03-01 11:26:11 -08:00
Linux Build Service Account
81eef00c67 Merge "ASoC: msm8998: Add micbias configuration for MBHC" 2017-03-01 11:09:04 -08:00
Linux Build Service Account
1e6ff27a13 Merge "defconfig: msm: Enable DRM" 2017-03-01 11:09:03 -08:00
Linux Build Service Account
db26a193ab Merge "power: bcl_peripheral: Enable BCL LMH algorithm only once" 2017-03-01 11:09:02 -08:00
Linux Build Service Account
59179042e8 Merge "ARM: dts: msm: Add SMB1381 device node for SDM630 QRD" 2017-03-01 11:09:01 -08:00
Linux Build Service Account
7fb2e5cac6 Merge "power: supply: qcom: remove unused drivers" 2017-03-01 11:09:00 -08:00
Linux Build Service Account
72bcf7d23a Merge "power: qcom-battery: Add sysfs to restrict charging" 2017-03-01 11:09:00 -08:00
Linux Build Service Account
11c1d338dc Merge "ARM: dts: msm: Upgrade actuator cci master for SDM660 QRD" 2017-03-01 11:08:59 -08:00
Sudheer Papothi
55152cca82 ARM: dts: msm: Add support for ANC headset detection on MSM8998
Add support for ANC(Active Noise Cancellation) headset
detection on MSM8998 with WCD9340 codec.

CRs-Fixed: 2011559
Change-Id: Icaec66adb8c90c5df73ee44bf78bdee975248a20
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2017-03-01 23:56:06 +05:30
Vikash Garodia
86f73bc1da msm: media: Allocate extra memory for YUV buffers
Allocate extra memory for UBWC color format to
prevent out-of-bounds access by hardware.

Change-Id: Iff1e06b4cb16e0a3e41b667eb9334af87d52cfb5
CRs-Fixed: 2013474
Signed-off-by: Vikash Garodia <vgarodia@codeaurora.org>
2017-03-01 19:40:55 +05:30
Utkarsh Saxena
cb49c46296 msm: ipa: Remove usage of stack memory
When stack memory is provided to IPA HW as part of
descriptor it can lead to cache alignment issues.
Make changes to use heap memory whereever applicable.

Change-Id: I666f98cf2ec45a4743db0ab7bc6d2df821cce84a
Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com>
Signed-off-by: Sridhar Ancha <sancha@codeaurora.org>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
2017-03-01 19:22:31 +05:30
Rajesh Kemisetti
236fb5f0cb msm: kgsl: Change GPU RAC hardware clockgating on SDM660
Disable GPU LRZ clock gating for A512 to avoid HW quirk.

Change-Id: I168d678ab2e08c6e2f16a63d6bc71e7f383f8f1b
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
2017-03-01 17:25:17 +05:30
VijayaKumar T M
5e8e6aa40e msm: camera: add check to ensure user task wont hog CPU
If userspace provides a circular list to isp kenrel
driver through an ioctl, then dirver loops forever.
This way the task might hog the CPU in while loop.
To fix this issue, added a preset count to break
the loop after 100 iterations.

CRs-Fixed: 1064608
Change-Id: Ie896fd3da326e5e972266d8004baecf8681aea6d
Signed-off-by: VijayaKumar T M <vtmuni@codeaurora.org>
Signed-off-by: Lokesh Kumar Aakulu <lkumar@codeaurora.org>
2017-03-01 02:54:44 -08:00
Linux Build Service Account
712414ecaa Merge "ARM: dts: msm: Add device tree settings for A540 DRM on msm8998" 2017-03-01 02:23:05 -08:00
Linux Build Service Account
281a4451fc Merge "ARM: dts: msm: enable ESD, ULPS and partial update on sdm630" 2017-03-01 02:23:04 -08:00
Linux Build Service Account
751207dd53 Merge "sched: Print aggregation status in sched_get_busy trace event" 2017-03-01 02:23:03 -08:00
Linux Build Service Account
958a197973 Merge "USB: u_data_ipa: Fix pm_runtime_get/put() mismatch" 2017-03-01 02:23:02 -08:00
Linux Build Service Account
ce5c5c6e9d Merge "esoc: Add check for possible null pointer returns" 2017-03-01 02:23:01 -08:00
Linux Build Service Account
fb1f77e5a6 Merge "USB: composite: Release spinlock before WARN()" 2017-03-01 02:23:00 -08:00
Linux Build Service Account
307e1d3607 Merge "soc: qcom: sysmon-qmi: fix object corruption due to use after free" 2017-03-01 02:22:59 -08:00
Linux Build Service Account
1046c66c76 Merge "msm: mhi_rmnet: If failed, do not retry to queue UL buffers" 2017-03-01 02:22:57 -08:00
Linux Build Service Account
1b7f8d6ab9 Merge "power: bcl: Serialize frequency mitigation request from BCL events" 2017-03-01 02:22:57 -08:00
Linux Build Service Account
c7f26ebc66 Merge "ASoC: wsa881x: remove retry logic in swr_startup" 2017-03-01 02:22:56 -08:00
Linux Build Service Account
f6dd3a3c0d Merge "ARM: dts: msm: Add PBS client node for PM660" 2017-03-01 02:22:54 -08:00
Linux Build Service Account
c48a82429f Merge "regulator: qpnp-oledb: Add lab_vreg_ok notifier callback" 2017-03-01 02:22:53 -08:00
Linux Build Service Account
2779284ac4 Merge "defconfig: sdm630: Disable CONFIG_ICNSS_DEBUG" 2017-03-01 02:22:53 -08:00
Linux Build Service Account
3dc6d76fb4 Merge "defconfig: enable ARMV8-CE on sdm660" 2017-03-01 02:22:52 -08:00
Linux Build Service Account
9e4af71339 Merge "defconfig: msm: Enable ARM64_STRICT_BREAK_BEFORE_MAKE flag" 2017-03-01 02:22:51 -08:00
Linux Build Service Account
1022064012 Merge "coresight-tpdm: fix multiple datasets allocation issue" 2017-03-01 02:22:50 -08:00
Linux Build Service Account
c1759c3409 Merge "ARM: dts: msm: Add thermistor support for PM660" 2017-03-01 02:22:49 -08:00
Linux Build Service Account
b34664d08a Merge "ARM: dts: msm: Add GPU power level speed bins for SDM630" 2017-03-01 02:22:49 -08:00
Linux Build Service Account
2d20bbca35 Merge "icnss: Vote for hardware resources" 2017-03-01 02:22:47 -08:00
Linux Build Service Account
b0da33f969 Merge "ASoC: msm8998: Add fractional sampling rate support for HDMI" 2017-03-01 02:22:46 -08:00
Linux Build Service Account
85f1f431e7 Merge "f_gsi: Don't reconfigure USB GSI eps multiple time with cable connect case" 2017-03-01 02:22:44 -08:00
Linux Build Service Account
8e3beda481 Merge "f_gsi: Don't send end xfer command when USB is into U3 state" 2017-03-01 02:22:44 -08:00
Linux Build Service Account
bb35e1ed78 Merge "ARM: dts: msm: Update SDCC LPM latencies for sdm660" 2017-03-01 02:22:43 -08:00
Linux Build Service Account
4b2c57e721 Merge "msm: camera: isp: Handle array out of bounds" 2017-03-01 02:22:42 -08:00
Rohit Rangwani
6d6d5a3362 ARM: dts: msm: Add Nfc device to sdm630
Device node changes required on sdm630 describing
the GPIO configuration for Nfc controller chip.

Modified corresponding Nfc device node for
QRD, MTP and CDP platforms.

Change-Id: I3772fb506736187c941f80f447996c095b5ebd8a
Signed-off-by: Rohit Rangwani <rrangwan@codeaurora.org>
2017-03-01 15:22:59 +05:30
Shiraz Hashim
847210ab6b iommu/io-pgtable-fast: cache clean the last level ptes
While preparing page tables for fastmap, last level ptes
are not being cache cleaned. Fix this.

Change-Id: I97f894b52484d0d223b15090b94c186bba9af734
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
2017-03-01 14:45:40 +05:30
Yingwei Zhao
bec85cc3d8 ARM: dts: msm: Add SMB1381 device node for SDM630 QRD
SMB1381 acts as a slave charger in SDM630 QRD board. Add device node
to support it.

CRs-Fixed: 2012488
Change-Id: I03803eddc9db5f9bc7901225fa2defd8bcf0e32d
Signed-off-by: Yingwei Zhao <cyizhao@codeaurora.org>
2017-03-01 01:15:17 -08:00
Vishnuvardhan Prodduturi
c9660db298 msm: mdss: add HW recommended delay for dfps feature.
When prefetch is enabled, MDSS HW works on 2 vsync
boundaries i.e. mdp_vsync and panel_vsync. In the current
implementation we are only waiting for mdp_vsync and there
might be scenarios where driver is configuring interface
flush before panel_vsync, which might lead to undefined
behavior in MDSS HW. So add the recommended delays before
and after dfps update to avoid such scenarios.

Change-Id: Idc801f7b63ea85d88949c8ded06fae322f90dbdb
Signed-off-by: Vishnuvardhan Prodduturi <vproddut@codeaurora.org>
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
2017-03-01 14:42:23 +05:30
Sandeep Panda
45e7053482 msm: mdss: trigger BTA during active region of display
If DSI SW requests BTA very close to end of blanking or
start of active region and the BTA acknowledgment takes
more then one BLLP time to complete, then it will have side
effects on video timing generator since DSI will not be
receiving pixel data until BTA finishes. So always wait for
video done interrupt and skip blanking to ensure we fall into
active region before sending BTA request. This will
ensure BTA request is always sent during active region.

Change-Id: Ia9e1193f0229df8c552c3ba0287a5a60837ae540
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
2017-03-01 14:34:33 +05:30
Padmanabhan Komanduru
60a294148f msm: mdss: update the wait logic for sending DSI commands
For video mode panels, the assumption is that the vertical
blanking region will be maximum of 4 ms and hence, we wait for
4 ms before queuing the DSI DMA commands. With the incell panels
having huge vertical blanking region and dynamic fps feature,
this assumption is no longer safe. Update the wait logic by
calculating the vertical blanking duration.

Change-Id: I69fdc182342493a54d78ae3ce5f4729e17452155
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
2017-03-01 14:30:22 +05:30
Manaf Meethalavalappu Pallikunhi
514e483a47 power: bcl_peripheral: Enable BCL LMH algorithm only once
Currently BCL LMH algorithm enable request goes for every time BCL
threshold enablement. It needs to be enabled only once. So Enable
BCL LMH algorithm only once.

Change-Id: I94c7326b7730830f71b71c92df21a589ddd2347b
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
2017-02-28 23:25:16 -08:00
Manaf Meethalavalappu Pallikunhi
1e42f4cc4f power: bcl: Fix battery SoC read and evaluation whenever BCL enabled
Just after enabling BCL, reading and evaluating current battery SoC
is bypassed. Because of this, during this same time if battery SoC
is less than preset threshold, BCL doesn't mitigate until next battery
SoC change notification comes. Fix battery SoC read and evaluation
path whenever BCL is enabled.

CRs-Fixed: 2007133
Change-Id: I65639ab078875dc3f6940fd1a89201af98e40881
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
2017-02-28 23:25:02 -08:00
Shiraz Hashim
2e87440c3e iommu/io-pgtable-fast: optimize statically allocated pages
Presently fastmap iommu feature allocates page tables for
full 4GB virtual address space. This can be optimized to
consider virtual address range [base, size] needed by
client and prepare page tables only for applicable
region.

Change-Id: Ie6c23cb8e1702a823567e126f452b1e72d851f71
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
2017-03-01 12:02:07 +05:30