OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
7 years agoARM: dts: msm: Add audio support for SDM630, SDA630/660
Laxminath Kasam [Thu, 26 Jan 2017 14:09:26 +0000 (19:39 +0530)]
ARM: dts: msm: Add audio support for SDM630, SDA630/660

Add audio internal and external codecs support in respective
SDM630, SDA630, SDA660 variants.

Change-Id: I5b5f4abe4455b1251ce368619998fc20685c0dca
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
7 years agoMerge "ARM: dts: msm: Add slimbus slave device for wcn3990 on sdm630"
Linux Build Service Account [Thu, 9 Feb 2017 01:48:24 +0000 (17:48 -0800)]
Merge "ARM: dts: msm: Add slimbus slave device for wcn3990 on sdm630"

7 years agoMerge "ARM: dts: msm: update wcn3990 wlan module device node for APQ8998"
Linux Build Service Account [Thu, 9 Feb 2017 01:48:23 +0000 (17:48 -0800)]
Merge "ARM: dts: msm: update wcn3990 wlan module device node for APQ8998"

7 years agoMerge "arm64: gettimeofday change for timer rollover condition"
Linux Build Service Account [Thu, 9 Feb 2017 01:48:22 +0000 (17:48 -0800)]
Merge "arm64: gettimeofday change for timer rollover condition"

7 years agoMerge "msm: isp: enable stream clk separately"
Linux Build Service Account [Thu, 9 Feb 2017 01:48:22 +0000 (17:48 -0800)]
Merge "msm: isp: enable stream clk separately"

7 years agoMerge "ARM: dts: msm: Update camera clock sources for sdm660"
Linux Build Service Account [Thu, 9 Feb 2017 01:48:21 +0000 (17:48 -0800)]
Merge "ARM: dts: msm: Update camera clock sources for sdm660"

7 years agoMerge "msm: thermal: update LMH DCVSh even when cores are offline"
Linux Build Service Account [Thu, 9 Feb 2017 01:48:20 +0000 (17:48 -0800)]
Merge "msm: thermal: update LMH DCVSh even when cores are offline"

7 years agoMerge "qseecom: add additonal reentrancy check before scm call"
Linux Build Service Account [Thu, 9 Feb 2017 01:48:19 +0000 (17:48 -0800)]
Merge "qseecom: add additonal reentrancy check before scm call"

7 years agoMerge "sched: fix bug in auto adjustment of group upmigrate/downmigrate"
Linux Build Service Account [Thu, 9 Feb 2017 01:48:19 +0000 (17:48 -0800)]
Merge "sched: fix bug in auto adjustment of group upmigrate/downmigrate"

7 years agoMerge "Use after free from pid_nr_ns()"
Linux Build Service Account [Thu, 9 Feb 2017 01:48:18 +0000 (17:48 -0800)]
Merge "Use after free from pid_nr_ns()"

7 years agoMerge "msm: kgsl: Add support for A508 GPU on SDM630"
Linux Build Service Account [Thu, 9 Feb 2017 01:48:17 +0000 (17:48 -0800)]
Merge "msm: kgsl: Add support for A508 GPU on SDM630"

7 years agoMerge "ice: fix issue with losing ICE key configuration during reset"
Linux Build Service Account [Thu, 9 Feb 2017 01:48:16 +0000 (17:48 -0800)]
Merge "ice: fix issue with losing ICE key configuration during reset"

7 years agoMerge "ARM: dts: msm: Update MEM ACC corner mapping for APC0/1 for sdm660"
Linux Build Service Account [Thu, 9 Feb 2017 01:48:15 +0000 (17:48 -0800)]
Merge "ARM: dts: msm: Update MEM ACC corner mapping for APC0/1 for sdm660"

7 years agoMerge "regulator: cpr4: null terminate of_match_table"
Linux Build Service Account [Thu, 9 Feb 2017 01:48:14 +0000 (17:48 -0800)]
Merge "regulator: cpr4: null terminate of_match_table"

7 years agoMerge "defconfig: enable CONFIG_FREE_PAGES_RDONLY for sdm660"
Linux Build Service Account [Thu, 9 Feb 2017 01:48:09 +0000 (17:48 -0800)]
Merge "defconfig: enable CONFIG_FREE_PAGES_RDONLY for sdm660"

7 years agoMerge "arm: mm: add missing pieces for CONFIG_FREE_PAGES_RDONLY"
Linux Build Service Account [Thu, 9 Feb 2017 01:48:08 +0000 (17:48 -0800)]
Merge "arm: mm: add missing pieces for CONFIG_FREE_PAGES_RDONLY"

7 years agoMerge "defconfig: Align sdm660 arm32 defconfig with arm64"
Linux Build Service Account [Thu, 9 Feb 2017 01:48:08 +0000 (17:48 -0800)]
Merge "defconfig: Align sdm660 arm32 defconfig with arm64"

7 years agoMerge "arm: mm: program ptes for access restriction"
Linux Build Service Account [Thu, 9 Feb 2017 01:48:07 +0000 (17:48 -0800)]
Merge "arm: mm: program ptes for access restriction"

7 years agoMerge "ARM: dts: msm: Add bluetooth node of wcn3990 for sdm630"
Linux Build Service Account [Thu, 9 Feb 2017 01:48:06 +0000 (17:48 -0800)]
Merge "ARM: dts: msm: Add bluetooth node of wcn3990 for sdm630"

7 years agoMerge "USB: u_data_ipa: Fix pm_runtime usage count in case of error"
Linux Build Service Account [Thu, 9 Feb 2017 01:48:06 +0000 (17:48 -0800)]
Merge "USB: u_data_ipa: Fix pm_runtime usage count in case of error"

7 years agoMerge "defconfig: msm: enable SCHED_AUTOGROUP for sdm660"
Linux Build Service Account [Thu, 9 Feb 2017 01:48:05 +0000 (17:48 -0800)]
Merge "defconfig: msm: enable SCHED_AUTOGROUP for sdm660"

7 years agoMerge "qcom-charger: smb2: fix kernel log flooding by charger driver"
Linux Build Service Account [Thu, 9 Feb 2017 01:48:04 +0000 (17:48 -0800)]
Merge "qcom-charger: smb2: fix kernel log flooding by charger driver"

7 years agoMerge "msm: mdss: Correct video interface setup for AVR feature"
Linux Build Service Account [Thu, 9 Feb 2017 01:48:03 +0000 (17:48 -0800)]
Merge "msm: mdss: Correct video interface setup for AVR feature"

7 years agoMerge "msm: ext_display: update hpd and notify for HDMI"
Linux Build Service Account [Thu, 9 Feb 2017 01:48:03 +0000 (17:48 -0800)]
Merge "msm: ext_display: update hpd and notify for HDMI"

7 years agoMerge "msm: mdss: fix mdp vbif qos priorities"
Linux Build Service Account [Thu, 9 Feb 2017 01:48:01 +0000 (17:48 -0800)]
Merge "msm: mdss: fix mdp vbif qos priorities"

7 years agoMerge "msm: mdss: Skip ping pong wait when panel is reported dead"
Linux Build Service Account [Thu, 9 Feb 2017 01:48:00 +0000 (17:48 -0800)]
Merge "msm: mdss: Skip ping pong wait when panel is reported dead"

7 years agoMerge "power: supply: qcom: fix OTG soft start failure with higher capacitance"
Linux Build Service Account [Thu, 9 Feb 2017 01:47:59 +0000 (17:47 -0800)]
Merge "power: supply: qcom: fix OTG soft start failure with higher capacitance"

7 years agoMerge "ARM: dts: msm: update nt35597 truly panel init sequence"
Linux Build Service Account [Thu, 9 Feb 2017 01:47:59 +0000 (17:47 -0800)]
Merge "ARM: dts: msm: update nt35597 truly panel init sequence"

7 years agoMerge "icnss: After recovery probe if not done already"
Linux Build Service Account [Thu, 9 Feb 2017 01:47:58 +0000 (17:47 -0800)]
Merge "icnss: After recovery probe if not done already"

7 years agoMerge "ARM: dts: msm: update truly fhd panel init sequence"
Linux Build Service Account [Thu, 9 Feb 2017 01:47:53 +0000 (17:47 -0800)]
Merge "ARM: dts: msm: update truly fhd panel init sequence"

7 years agoMerge "regulator: qpnp-oledb-regulator: correct various coding style issues"
Linux Build Service Account [Thu, 9 Feb 2017 01:47:45 +0000 (17:47 -0800)]
Merge "regulator: qpnp-oledb-regulator: correct various coding style issues"

7 years agoMerge "regulator: qpnp-lcdb-regulator: correct various coding style issues"
Linux Build Service Account [Thu, 9 Feb 2017 01:47:45 +0000 (17:47 -0800)]
Merge "regulator: qpnp-lcdb-regulator: correct various coding style issues"

7 years agoMerge "regulator: qpnp-labibb-regulator: correct various coding style issues"
Linux Build Service Account [Thu, 9 Feb 2017 01:47:44 +0000 (17:47 -0800)]
Merge "regulator: qpnp-labibb-regulator: correct various coding style issues"

7 years agoMerge "leds: leds-qpnp-wled: correct various coding style issues"
Linux Build Service Account [Thu, 9 Feb 2017 01:47:44 +0000 (17:47 -0800)]
Merge "leds: leds-qpnp-wled: correct various coding style issues"

7 years agoMerge "leds: leds-qpnp-flash-v2: correct various coding style issues"
Linux Build Service Account [Thu, 9 Feb 2017 01:47:43 +0000 (17:47 -0800)]
Merge "leds: leds-qpnp-flash-v2: correct various coding style issues"

7 years agoMerge "leds: leds-qpnp-flash: correct various coding style issues"
Linux Build Service Account [Thu, 9 Feb 2017 01:47:42 +0000 (17:47 -0800)]
Merge "leds: leds-qpnp-flash: correct various coding style issues"

7 years agoMerge "leds: leds-qpnp: correct various coding style issues"
Linux Build Service Account [Thu, 9 Feb 2017 01:47:42 +0000 (17:47 -0800)]
Merge "leds: leds-qpnp: correct various coding style issues"

7 years agoMerge "qcom: qnovo: Fix QNOVO IADC_OFFSET, STRM_CTRL and PPCNT settings"
Linux Build Service Account [Thu, 9 Feb 2017 01:47:41 +0000 (17:47 -0800)]
Merge "qcom: qnovo: Fix QNOVO IADC_OFFSET, STRM_CTRL and PPCNT settings"

7 years agoMerge "ARM: dts: msm: Configure PMI8998 GPIO6 for discharge FET ctrl signal"
Linux Build Service Account [Thu, 9 Feb 2017 01:47:40 +0000 (17:47 -0800)]
Merge "ARM: dts: msm: Configure PMI8998 GPIO6 for discharge FET ctrl signal"

7 years agoMerge "ARM: dts: msm: update the DT properties for display port on SDM660"
Linux Build Service Account [Thu, 9 Feb 2017 01:47:40 +0000 (17:47 -0800)]
Merge "ARM: dts: msm: update the DT properties for display port on SDM660"

7 years agoMerge "iio: qcom-tadc: set all threshold comparators directions"
Linux Build Service Account [Thu, 9 Feb 2017 01:47:34 +0000 (17:47 -0800)]
Merge "iio: qcom-tadc: set all threshold comparators directions"

7 years agoMerge "net: support __alloc_skb to always use GFP_DMA"
Linux Build Service Account [Thu, 9 Feb 2017 01:47:31 +0000 (17:47 -0800)]
Merge "net: support __alloc_skb to always use GFP_DMA"

7 years agoMerge "msm: ADSPRPC: Check for buffer overflow condition"
Linux Build Service Account [Thu, 9 Feb 2017 01:47:30 +0000 (17:47 -0800)]
Merge "msm: ADSPRPC: Check for buffer overflow condition"

7 years agomsm: thermal: update LMH DCVSh even when cores are offline
Ram Chandrasekar [Wed, 8 Feb 2017 19:05:32 +0000 (12:05 -0700)]
msm: thermal: update LMH DCVSh even when cores are offline

KTM right now won't update the mitigation frequency cap to LMH DCVSh if
all the cores in a cluster are offline. It will notify the LMH DCVSh
when at least one core is online. Due to race condition, there is a
possibility that this update can be missed or cores will be running
unmitigated for a short duration after being online.

LMH DCVSh hardware can accept the frequency cap even when the cores are
offline and apply the cap later when the cores are brought back online.
So in KTM update the LMH DCVSh hardware, even if the cores are offline
to avoid any race condition.

Change-Id: Idc04c35a9c5de66cfd8edb4150106ed65f9f4bf1
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
7 years agoarm64: gettimeofday change for timer rollover condition
Prasad Sodagudi [Wed, 18 Jan 2017 18:44:41 +0000 (10:44 -0800)]
arm64: gettimeofday change for timer rollover condition

Adding a check in gettimeofday api for timer rollover
condition.

Change-Id: I50c36e5983f05700e49987f6e24c1b17f38a9e1f
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
7 years agomsm: kgsl: Add support for A508 GPU on SDM630
Rajesh Kemisetti [Mon, 6 Feb 2017 04:07:00 +0000 (09:37 +0530)]
msm: kgsl: Add support for A508 GPU on SDM630

Add new GPU ID: A508 and corresponding VBIF and initial
settings on SDM630.

Change-Id: If1cd782beb50098a69a9d05acb083ef4b0465766
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
7 years agoice: fix issue with losing ICE key configuration during reset
Andrey Markovytch [Wed, 8 Feb 2017 12:32:22 +0000 (14:32 +0200)]
ice: fix issue with losing ICE key configuration during reset

TZ is called to restore key configuration in case of UFS reset

Change-Id: Id434e7f9ec6befdce97f52fd350957b66adcb15f
Signed-off-by: Andrey Markovytch <andreym@codeaurora.org>
7 years agoregulator: cpr4: null terminate of_match_table
Neeraj Upadhyay [Wed, 8 Feb 2017 11:04:20 +0000 (16:34 +0530)]
regulator: cpr4: null terminate of_match_table

Null terminate cpr4_mmss_regulator_match_table with
'{}', to fix the error reported from KASAN.

Change-Id: Ib991fe5ce57e9e12132c3c836e1e807cb0afad22
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
7 years agoARM: dts: msm: update wcn3990 wlan module device node for APQ8998
Sarada Prasanna Garnayak [Tue, 7 Feb 2017 16:45:33 +0000 (22:15 +0530)]
ARM: dts: msm: update wcn3990 wlan module device node for APQ8998

Add proper status flag in wcn3990 wlan module device node to
enable the ath10k SNOC platform driver probe for the APQ8998
target. The wcn3990 wlan module doesn't have any register
resource to request so remove invalid  register base address
from the device node handle.

CRs-Fixed: 2003852
Change-Id: I554063ac8d8da3c4bbca29a2ba8e216323c7a9e0
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
7 years agoARM: dts: msm: Add slimbus slave device for wcn3990 on sdm630
Rupesh Tatiya [Fri, 3 Feb 2017 11:33:07 +0000 (17:03 +0530)]
ARM: dts: msm: Add slimbus slave device for wcn3990 on sdm630

Slimbus is used as audio transport for Bluetooth & FM between sdm630 &
wcn3990. Add device tree entry for wcn3990 slimbus slave device in sdm630.

Change-Id: Ie5ee241e0a952b61e84682a289c69d10877cedd1
Signed-off-by: Rupesh Tatiya <rtatiya@codeaurora.org>
7 years agodefconfig: enable CONFIG_FREE_PAGES_RDONLY for sdm660
Shiraz Hashim [Tue, 7 Feb 2017 01:24:53 +0000 (06:54 +0530)]
defconfig: enable CONFIG_FREE_PAGES_RDONLY for sdm660

Enable CONFIG_FREE_PAGES_RDONLY for 32bit sdm660, that
marks freed kernel pages as read-only.

Change-Id: I532dc10fc6aee5200275550eb1df7d1e6cf195e9
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
7 years agoarm: mm: add missing pieces for CONFIG_FREE_PAGES_RDONLY
Shiraz Hashim [Tue, 7 Feb 2017 01:24:35 +0000 (06:54 +0530)]
arm: mm: add missing pieces for CONFIG_FREE_PAGES_RDONLY

CONFIG_FREE_PAGES_RDONLY, which marks freed kernel pages
as read-only missed the Kconfig and an interface to mark
pages as read-only for 32 bit system. Add them.

Change-Id: Ibb5020a44323fb50febd66e16ca448da8ecb352c
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
7 years agodefconfig: Align sdm660 arm32 defconfig with arm64
Shiraz Hashim [Mon, 6 Feb 2017 14:49:45 +0000 (20:19 +0530)]
defconfig: Align sdm660 arm32 defconfig with arm64

Align arm32 and arm64 sdm660 defconfig with respect to
iommu configs and remove cma size selection as it is to be
moved to device tree.

Change-Id: I5c5f88c05dce9f58d29d56d9cfea2b0d785d665a
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
7 years agodefconfig: msm: update mmap randomness for sdm660
Shiraz Hashim [Thu, 8 Sep 2016 10:33:45 +0000 (16:03 +0530)]
defconfig: msm: update mmap randomness for sdm660

CTS malloc tests on Android 'N' expects higher entropy in
mmap returned address. Present value of mmap random bits
is not providing enough variations for 32 bit tasks.

Increase mmap_rnd_bits for 32bit and mmap_rnd_compat_bits
for 64bit targets to value of 16.

Change-Id: I1cb88cb1f1fc2a8dc7e27eb54b8c0b2a3eb37843
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
7 years agoarm: mm: program ptes for access restriction
Shiraz Hashim [Wed, 7 Oct 2015 13:29:01 +0000 (18:59 +0530)]
arm: mm: program ptes for access restriction

CONFIG_RODATA allows strict kernel mapping permissions to
be followed and accordingly maps regions as read-only,
not-executable etc. correspondingly. CONFIG_RODATA however
assumes all memory regions to be SECTION_SIZE aligned and
section mapped for performance reasons.

With CONFIG_FORCE_PAGES, we force all kernel mappings as
page mapped thus breaking CONFIG_RODATA.

Provide provision to apply permissions at page (pte)
level, if CONFIG_RODATA does not find section mapping.

Change-Id: I8dbf5c3741836bc63a231d8a471cf0306662993b
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
7 years agosched: fix bug in auto adjustment of group upmigrate/downmigrate
Pavankumar Kondeti [Wed, 8 Feb 2017 09:21:19 +0000 (14:51 +0530)]
sched: fix bug in auto adjustment of group upmigrate/downmigrate

sched_group_upmigrate tunable can accept values greater than
100%. Don't limit it to 100% while doing the auto adjustment.

Change-Id: I3d1c1e84f2f4dec688235feb1536b9261a3e808b
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
7 years agoUSB: u_data_ipa: Fix pm_runtime usage count in case of error
Vijayavardhan Vennapusa [Thu, 2 Feb 2017 11:21:27 +0000 (16:51 +0530)]
USB: u_data_ipa: Fix pm_runtime usage count in case of error

If disconnect happens before connect_work start executing, then
there is a chance that connect_work returns with port_usb NULL.
Due to this, port->is_connected will be NULL and disconnect_work
returns with this check, but not decremented pm_usage count, which
is incremented before scheduling connect_work in ipa_data_connect.
Hence fix this by decrementing pm_usage count in connect_work if
port_usb is NULL.

Change-Id: Ic60f2addcf07375429e0858d3c7a376a35132750
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
7 years agoARM: dts: msm: Update MEM ACC corner mapping for APC0/1 for sdm660
Tirupathi Reddy [Wed, 8 Feb 2017 08:22:45 +0000 (13:52 +0530)]
ARM: dts: msm: Update MEM ACC corner mapping for APC0/1 for sdm660

Use NOM ACC settings up to TURBO voltage corner for APC0/1 for
sdm660.

CRs-Fixed: 2003900
Change-Id: Id1c82a7e1681e028d0426fe0565d88faa6588ab5
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
7 years agoarm: highmem: Add support for flushing kmap_atomic mappings
Laura Abbott [Fri, 5 Apr 2013 21:12:53 +0000 (14:12 -0700)]
arm: highmem: Add support for flushing kmap_atomic mappings

The highmem code provides kmap_flush_unused to ensure all kmap
mappings are really removed if they are unused. This code does not
handle kmap_atomic mappings since they are managed separately.
This prevents an issue for any code which relies on having absolutely
no mappings for a particular page. Rather than pay the penalty of
having CONFIG_DEBUG_HIGHMEM on all the time, add functionality
to remove the kmap_atomic mappings in a similar way to kmap_flush_unused.

Change-Id: Ieb25da809b377b1fae1629e2cb75f8aebc1c1bca
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
7 years agoARM: dts: msm: configure default CMA region for sdm630
Shiraz Hashim [Mon, 16 Jan 2017 12:22:43 +0000 (17:52 +0530)]
ARM: dts: msm: configure default CMA region for sdm630

Configure the size of the default CMA region to 32 MB in
DT for sdm630.

Configuring the default CMA region in the DT is cleaner
than using CONFIG_CMA_SIZE_MBYTES since it is easier to
configure per target and the alloc ranges can be specified
in DT.

Change-Id: I329ae0aa9cffeed7c30e44749c15fbb83c58b599
Signed-off-by: Shiraz Hashim <shashim@codeaurora.org>
7 years agodefconfig: msm: enable SCHED_AUTOGROUP for sdm660
Pavankumar Kondeti [Mon, 23 Jan 2017 12:46:24 +0000 (18:16 +0530)]
defconfig: msm: enable SCHED_AUTOGROUP for sdm660

This config is already enabled in all other variants but missed
in the 32 bit debug defconfig.

Change-Id: I7b1cb538eaf63305eba171c7453c1459c802eb41
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
7 years agoqcom-charger: smb2: fix kernel log flooding by charger driver
Ashay Jaiswal [Wed, 8 Feb 2017 04:28:31 +0000 (09:58 +0530)]
qcom-charger: smb2: fix kernel log flooding by charger driver

Power supply framework expects all registered power_supply
entities(except "battery" psy) to support ONLINE property.
"usb-main" psy doesn't support ONLINE property and prints
error for unsupported properties in get_property function.
Update error prints to debug in get-property function of
"usb-main" to prevent log flooding.

Change-Id: I270a93fe2e48d368f13e74e63c48613c1a4fb693
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
7 years agopower: supply: qcom: fix OTG soft start failure with higher capacitance
Nicholas Troast [Wed, 18 Jan 2017 01:56:45 +0000 (17:56 -0800)]
power: supply: qcom: fix OTG soft start failure with higher capacitance

Currently hardware based OTG soft start will fail when enabling OTG with
high capacitance.

Fix this by implementing a software based OTG soft start sequence in
addition to the underlying hardware OTG soft start.

This soft start workaround will begin when an OTG over-current interrupt
is triggered.

Change-Id: I2f3fd5f1bb6e792b2b353eb241d83548e33f563b
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
7 years agoiio: qcom-tadc: set all threshold comparators directions
Nicholas Troast [Fri, 3 Feb 2017 23:57:36 +0000 (15:57 -0800)]
iio: qcom-tadc: set all threshold comparators directions

The threshold comparators should be set to "<=". Set them.

Change-Id: I45cf6dd7f165d20e2f2dbc6fce7fd321b4ac145a
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
7 years agoARM: dts: msm: enable temperature change IRQ for SMB138X
Nicholas Troast [Wed, 1 Feb 2017 21:05:40 +0000 (13:05 -0800)]
ARM: dts: msm: enable temperature change IRQ for SMB138X

The temperature change IRQ is used to update the parallel power supply
when the temperature of the connector changes. Enable it.

Change-Id: I26582ffc2c98183c75f5c302386416e840bd6ed0
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
7 years agosmb138x-charger: enable connector temp thermal regulation source
Nicholas Troast [Wed, 1 Feb 2017 21:08:06 +0000 (13:08 -0800)]
smb138x-charger: enable connector temp thermal regulation source

The connector thermal regulation source must be enabled in order to
receive temperature-change interrupts. Enable it.

Change-Id: I9bb2d3eaf3bba1b1f40bfd724060f2fa437235b5
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
7 years agosmb138x-charger: configure connector temp thresholds
Nicholas Troast [Wed, 1 Feb 2017 03:23:10 +0000 (19:23 -0800)]
smb138x-charger: configure connector temp thresholds

Add a device tree property qcom,connector-temp-max-mdegc to configure
the connector temperature at which mitigation should start.

This will set the thresholds for when the temperature-change IRQ will
fire.

Change-Id: I47df477b56a6654fbf94b5bb0f7dfdfb80e2f16e
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
7 years agopower: supply: qcom: support CONNECTOR_THERM_ZONE property
Nicholas Troast [Wed, 1 Feb 2017 02:43:38 +0000 (18:43 -0800)]
power: supply: qcom: support CONNECTOR_THERM_ZONE property

Use the CONNECTOR_THERM_ZONE property to show the current thermal zone
of the USB connector temperature.

Change-Id: Ia9a85055d68ed08aa9be5b2b66e3e6389ec2e6c3
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
7 years agopower_supply: add CONNECTOR_THERM_ZONE property
Nicholas Troast [Wed, 1 Feb 2017 02:41:47 +0000 (18:41 -0800)]
power_supply: add CONNECTOR_THERM_ZONE property

The CONNECTOR_THERM_ZONE property shows which thermal zone the
connector temperature is currently in.

Change-Id: I669344feea13f34f98ee808cae5649766543201a
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
7 years agosmb138x-charger: handle temperature change IRQ
Nicholas Troast [Fri, 16 Dec 2016 21:24:43 +0000 (13:24 -0800)]
smb138x-charger: handle temperature change IRQ

The temperature change IRQ is used to notify the CTM driver that the
connector temperature has changed. Enable it.

Change-Id: Ibda88fcac6044c0f9a1db96be70b7e7f99e6fb73
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
7 years agosmb138x-charger: configure charger temperature threshold
Nicholas Troast [Tue, 31 Jan 2017 03:22:22 +0000 (19:22 -0800)]
smb138x-charger: configure charger temperature threshold

The charger temperature threshold should be configured for thermal
balancing. Add a device tree property to configure the temperature
threshold. A default value will be used in the absence of this property.

Change-Id: I5d64a8012a9c13c578714d91f1e7e4426cef235a
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
7 years agoiio: qcom-tadc: enable hardware conversion triggers
Nicholas Troast [Tue, 10 Jan 2017 21:33:36 +0000 (13:33 -0800)]
iio: qcom-tadc: enable hardware conversion triggers

The hardware conversion triggers are required for thermal regulation.
Enable them.

Change-Id: I4172f7ae8df437ba3a49e6abae587298bc11d78b
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
7 years agoiio: qcom-tadc: add threshold write support
Nicholas Troast [Tue, 6 Dec 2016 01:12:03 +0000 (17:12 -0800)]
iio: qcom-tadc: add threshold write support

The TADC hardware supports configuring temperature thresholds. Add
support for configuring these thresholds via the IIO framework.

Change-Id: Ib673965eb9b8265874580c8c26f72c85590151c2
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
7 years agoARM: dts: msm: update nt35597 truly panel init sequence
Sandeep Panda [Tue, 7 Feb 2017 10:59:29 +0000 (16:29 +0530)]
ARM: dts: msm: update nt35597 truly panel init sequence

Update the nt35597 truly panel init sequence to reduce the
high latency issue seen across suspend resume cycles on
SDM660 target.

Change-Id: I0d71cebd5571fac293a8b0f401d882342fbd9106
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
7 years agoMerge "ARM: dts: msm: add sink capabilities to PMI8998 PD PHY"
Linux Build Service Account [Tue, 7 Feb 2017 10:08:16 +0000 (02:08 -0800)]
Merge "ARM: dts: msm: add sink capabilities to PMI8998 PD PHY"

7 years agoMerge "power: qcom: apm: correct various coding style issues"
Linux Build Service Account [Tue, 7 Feb 2017 10:08:15 +0000 (02:08 -0800)]
Merge "power: qcom: apm: correct various coding style issues"

7 years agoMerge "power: qcom: apm: replace msmtitanium code name with MSM8953"
Linux Build Service Account [Tue, 7 Feb 2017 10:08:14 +0000 (02:08 -0800)]
Merge "power: qcom: apm: replace msmtitanium code name with MSM8953"

7 years agoMerge "clk: qcom: Update the dp pixel clock flags"
Linux Build Service Account [Tue, 7 Feb 2017 10:08:13 +0000 (02:08 -0800)]
Merge "clk: qcom: Update the dp pixel clock flags"

7 years agoMerge "clk: qcom: Update the display port determine rate RCG ops"
Linux Build Service Account [Tue, 7 Feb 2017 10:08:12 +0000 (02:08 -0800)]
Merge "clk: qcom: Update the display port determine rate RCG ops"

7 years agoMerge "sched: fix argument type in update_task_burst()"
Linux Build Service Account [Tue, 7 Feb 2017 10:08:12 +0000 (02:08 -0800)]
Merge "sched: fix argument type in update_task_burst()"

7 years agoMerge "sysctl: define upper limit for sched_freq_reporting_policy"
Linux Build Service Account [Tue, 7 Feb 2017 10:08:10 +0000 (02:08 -0800)]
Merge "sysctl: define upper limit for sched_freq_reporting_policy"

7 years agoMerge "msm: vidc: Return buffers from driver on streamon failure"
Linux Build Service Account [Tue, 7 Feb 2017 10:08:10 +0000 (02:08 -0800)]
Merge "msm: vidc: Return buffers from driver on streamon failure"

7 years agoMerge "ARM: dts: msm: Define power configuration for msm8996 and msm8998"
Linux Build Service Account [Tue, 7 Feb 2017 10:08:09 +0000 (02:08 -0800)]
Merge "ARM: dts: msm: Define power configuration for msm8996 and msm8998"

7 years agoMerge "msm: vidc: Handle perf mode configuration"
Linux Build Service Account [Tue, 7 Feb 2017 10:08:08 +0000 (02:08 -0800)]
Merge "msm: vidc: Handle perf mode configuration"

7 years agoMerge "msm_vidc: Clear pendingq when releasing buffers"
Linux Build Service Account [Tue, 7 Feb 2017 10:08:06 +0000 (02:08 -0800)]
Merge "msm_vidc: Clear pendingq when releasing buffers"

7 years agoMerge "ARM: dts: msm: Update Temperature sensor support for sdm630"
Linux Build Service Account [Tue, 7 Feb 2017 10:08:05 +0000 (02:08 -0800)]
Merge "ARM: dts: msm: Update Temperature sensor support for sdm630"

7 years agoMerge "ARM: dts: msm: Enable zone dma flag for sdm660/630"
Linux Build Service Account [Tue, 7 Feb 2017 10:08:00 +0000 (02:08 -0800)]
Merge "ARM: dts: msm: Enable zone dma flag for sdm660/630"

7 years agoicnss: After recovery probe if not done already
Prashanth Bhatta [Tue, 7 Feb 2017 07:55:18 +0000 (23:55 -0800)]
icnss: After recovery probe if not done already

Recovery can be initiated any time and can happen during driver
register also. With current implementation, if recovery starts
just before driver register then probe call back will not be
called as FW is not ready yet but probe call back will not be
called even after FW ready indication. Fix this case by calling
probe call back after FW ready if driver is registered but probe
call back is not called during driver register.

CRs-fixed: 2002797
Change-Id: Ia1ea812a1bac3204ad95a62b7c6e55511753f2db
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
7 years agoARM: dts: msm: update truly fhd panel init sequence
Sandeep Panda [Mon, 6 Feb 2017 13:12:33 +0000 (18:42 +0530)]
ARM: dts: msm: update truly fhd panel init sequence

Update truly FHD panel init sequence to fix corruption
issues. Also enable dfps feature for the video mode panel
on SDM660 target with the updated sequence.

Change-Id: Ife010a0fccefad802877fd50f222587be36d24aa
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
7 years agoclk: qcom: Update the dp pixel clock flags
Taniya Das [Mon, 6 Feb 2017 10:22:25 +0000 (15:52 +0530)]
clk: qcom: Update the dp pixel clock flags

Display port pixel clock source is required to propagate the set rate to
parent, so update the flags for the same. The lowsvs frequency has got
updated to 154MHz, update the same.

Change-Id: I67a5ff3b5fb18c2ce986c5f431f4e41a78fe13a5
Signed-off-by: Taniya Das <tdas@codeaurora.org>
7 years agoclk: qcom: Update the display port determine rate RCG ops
Taniya Das [Thu, 2 Feb 2017 11:22:08 +0000 (16:52 +0530)]
clk: qcom: Update the display port determine rate RCG ops

The display port PLL generates only limited set of frequency combinations.
As fractional dividers are not required to be used, update the RCG ops to
take care of the same.

Change-Id: I601273fee044ef128dbc7c2e23bc2d8ce10e31dc
Signed-off-by: Taniya Das <tdas@codeaurora.org>
7 years agoARM: dts: msm: add sink capabilities to PMI8998 PD PHY
Jack Pham [Tue, 7 Feb 2017 00:27:46 +0000 (16:27 -0800)]
ARM: dts: msm: add sink capabilities to PMI8998 PD PHY

Add a property to the PD PHY peripheral to specify the default
sink capabilities for USB PD as 5V @ 3A, 9V @ 3A and 12V @ 2.25A.
These are common values that should be supported on most boards,
but can be overridden as necessary.

Change-Id: I5ea95d2f0532c59f7d83cb608d939ad28a8bb28e
Signed-off-by: Jack Pham <jackp@codeaurora.org>
7 years agousb: pd: Read sink capabilities from device tree
Jack Pham [Thu, 26 Jan 2017 20:27:07 +0000 (12:27 -0800)]
usb: pd: Read sink capabilities from device tree

Add a device tree property to allow specifying the supported
set of sink capabilities. If not specified, fall back to a
single capability of 5V @ 3A.

Change-Id: I394061d9f3070099e35b651ce4b63a7993343bf1
Signed-off-by: Jack Pham <jackp@codeaurora.org>
7 years agoqcom: qnovo: Fix QNOVO IADC_OFFSET, STRM_CTRL and PPCNT settings
Harry Yang [Mon, 6 Feb 2017 21:12:15 +0000 (13:12 -0800)]
qcom: qnovo: Fix QNOVO IADC_OFFSET, STRM_CTRL and PPCNT settings

Factory QNOVO IADC OFFSET trim values are wrong polarity. To fix it,
update both (reg QNOVO_IADC_OFFSET_0 and QNOVO_IADC_OFFSET_1) with
their two's compliment, respectively.

Factory setting of QNOVO_STRM_CTRL is also wrong. It controls
polarity of the raw IADC bitstream. To get the correct IADC bitstream
polarity, set 0 to register QNOVO_STRM_CTRL.

Set range [1,255] for QNOVO PPCNT parameter, so the right value can
be written.

Change-Id: I7be948b09c96aae4077a8f010c951c6ebd22a0fa
Signed-off-by: Harry Yang <harryy@codeaurora.org>
7 years agomsm: mdss: fix mdp vbif qos priorities
Ingrid Gallardo [Thu, 22 Dec 2016 19:26:03 +0000 (11:26 -0800)]
msm: mdss: fix mdp vbif qos priorities

Current driver read if any nrt vbif is present
and if it is not, the number of qos priority
levels gets wiped out, causing the driver
not to program the vbif qos priority levels for
the rt client. Fix this problem by making sure
that if a vbif nrt does not exist in the platform,
driver only ignore the nrt settings, but keeps
programming the vbif rt.

Change-Id: I2fe5eea5a2ff852b22a59cdb0139b17f3dd7c494
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
7 years agoMerge "ASoC: msm: qdsp6v2: Fix range check logic of port index"
Linux Build Service Account [Mon, 6 Feb 2017 21:21:40 +0000 (13:21 -0800)]
Merge "ASoC: msm: qdsp6v2: Fix range check logic of port index"

7 years agoMerge "ASoC: wcd-spi: add system suspend and resume functionality"
Linux Build Service Account [Mon, 6 Feb 2017 21:21:39 +0000 (13:21 -0800)]
Merge "ASoC: wcd-spi: add system suspend and resume functionality"

7 years agoMerge "ARM: dts: msm: correct vote on ldo11 for vddio on sdm660"
Linux Build Service Account [Mon, 6 Feb 2017 21:21:38 +0000 (13:21 -0800)]
Merge "ARM: dts: msm: correct vote on ldo11 for vddio on sdm660"

7 years agoMerge "msm: kgsl: Add NULL check for kgsl_midframe before accessing it"
Linux Build Service Account [Mon, 6 Feb 2017 21:21:37 +0000 (13:21 -0800)]
Merge "msm: kgsl: Add NULL check for kgsl_midframe before accessing it"

7 years agoMerge "ASoC: msm: remove duplicate mixer control"
Linux Build Service Account [Mon, 6 Feb 2017 21:21:37 +0000 (13:21 -0800)]
Merge "ASoC: msm: remove duplicate mixer control"