OSDN Git Service
Linux Build Service Account [Thu, 9 Feb 2017 11:11:53 +0000 (03:11 -0800)]
Merge "arm: dma-mapping: map_page map to nearest page"
Linux Build Service Account [Thu, 9 Feb 2017 11:11:52 +0000 (03:11 -0800)]
Merge "qpnp: smb2: Add charger frequency config for PM660"
Linux Build Service Account [Thu, 9 Feb 2017 11:11:51 +0000 (03:11 -0800)]
Merge "diag: dci: Check for valid dci client entry"
Linux Build Service Account [Thu, 9 Feb 2017 11:11:45 +0000 (03:11 -0800)]
Merge "icnss: Fix error check of athdiag read data_len"
Linux Build Service Account [Thu, 9 Feb 2017 11:11:44 +0000 (03:11 -0800)]
Merge "ARM: dts: msm: Update GFX LDO CPR target quotient table for sdm660"
Linux Build Service Account [Thu, 9 Feb 2017 11:11:43 +0000 (03:11 -0800)]
Merge "ARM: dts: msm: Add TLB dump entries for sdm660 and sdm630"
Linux Build Service Account [Thu, 9 Feb 2017 11:11:39 +0000 (03:11 -0800)]
Merge "msm: gsi: use reinit_completion"
Linux Build Service Account [Thu, 9 Feb 2017 11:11:38 +0000 (03:11 -0800)]
Merge "memshare: Add EXEC permission to MSA0 memory"
Linux Build Service Account [Thu, 9 Feb 2017 11:11:37 +0000 (03:11 -0800)]
Merge "ath10k: Add support for BASE MAC ADDRESS CMD"
Linux Build Service Account [Thu, 9 Feb 2017 11:11:36 +0000 (03:11 -0800)]
Merge "ARM: dts: msm: add support for NO jacktype for SDM660"
Linux Build Service Account [Thu, 9 Feb 2017 11:11:35 +0000 (03:11 -0800)]
Merge "ath10k: Skip reading of firmware-5.bin file"
Linux Build Service Account [Thu, 9 Feb 2017 11:11:34 +0000 (03:11 -0800)]
Merge "clk: qcom: Remove gcc_rx2_qlink_clkref_clk for sdm660"
Linux Build Service Account [Thu, 9 Feb 2017 11:11:34 +0000 (03:11 -0800)]
Merge "clk: qcom: keep gcc_bimc_gfx_clk always on for SDM660"
Linux Build Service Account [Thu, 9 Feb 2017 11:11:33 +0000 (03:11 -0800)]
Merge "ARM: dts: msm: change gpio channel for sdm660"
Linux Build Service Account [Thu, 9 Feb 2017 11:11:32 +0000 (03:11 -0800)]
Merge "ARM: dts: msm: Add GFX CPR device configuration for sdm630"
Linux Build Service Account [Thu, 9 Feb 2017 11:11:31 +0000 (03:11 -0800)]
Merge "wil6210: protect list of pending wmi events during flush"
Linux Build Service Account [Thu, 9 Feb 2017 11:11:30 +0000 (03:11 -0800)]
Merge "defconfig: msm8998: enable kaslr support"
Linux Build Service Account [Thu, 9 Feb 2017 11:11:29 +0000 (03:11 -0800)]
Merge "msm: rmnet_ipa: do not release resource on pending data"
Linux Build Service Account [Thu, 9 Feb 2017 11:11:28 +0000 (03:11 -0800)]
Merge "ARM: dts: msm: enable 180deg panel orientation for msm8998 QRD device"
Linux Build Service Account [Thu, 9 Feb 2017 11:11:28 +0000 (03:11 -0800)]
Merge "msm: ipa3: changes to suspend/disable for WDI 2"
Linux Build Service Account [Thu, 9 Feb 2017 11:11:27 +0000 (03:11 -0800)]
Merge "usb: diag: Set interface protocol to represent diag"
Linux Build Service Account [Thu, 9 Feb 2017 11:11:26 +0000 (03:11 -0800)]
Merge "msm: ipa3: fix freeze vote for SSR"
Linux Build Service Account [Thu, 9 Feb 2017 11:11:25 +0000 (03:11 -0800)]
Merge "bluetooth: Fix free data pointer routine"
Linux Build Service Account [Thu, 9 Feb 2017 11:11:13 +0000 (03:11 -0800)]
Merge "regulator: gfx-ldo: Add GFX LDO support for sdm630"
Linux Build Service Account [Thu, 9 Feb 2017 11:11:12 +0000 (03:11 -0800)]
Merge "Revert "usb: xhci: Set interrupt moderation for host mode to 4000(1ms)""
Linux Build Service Account [Thu, 9 Feb 2017 11:11:11 +0000 (03:11 -0800)]
Merge "stm: laser: STM laser sensor driver."
Linux Build Service Account [Thu, 9 Feb 2017 11:11:10 +0000 (03:11 -0800)]
Merge "ARM: dts: msm: Fix VBIF QOS entries in SDM660, 8998"
Linux Build Service Account [Thu, 9 Feb 2017 11:11:09 +0000 (03:11 -0800)]
Merge "mmc: sdhci-msm: Provide module/cmdline parameter for disabling cmdq"
Linux Build Service Account [Thu, 9 Feb 2017 11:11:08 +0000 (03:11 -0800)]
Merge "msm: ADSPRPC: Buffer length to be copied is truncated"
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"
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"
Linux Build Service Account [Thu, 9 Feb 2017 01:48:22 +0000 (17:48 -0800)]
Merge "arm64: gettimeofday change for timer rollover condition"
Linux Build Service Account [Thu, 9 Feb 2017 01:48:22 +0000 (17:48 -0800)]
Merge "msm: isp: enable stream clk separately"
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"
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"
Linux Build Service Account [Thu, 9 Feb 2017 01:48:19 +0000 (17:48 -0800)]
Merge "qseecom: add additonal reentrancy check before scm call"
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"
Linux Build Service Account [Thu, 9 Feb 2017 01:48:18 +0000 (17:48 -0800)]
Merge "Use after free from pid_nr_ns()"
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"
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"
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"
Linux Build Service Account [Thu, 9 Feb 2017 01:48:14 +0000 (17:48 -0800)]
Merge "regulator: cpr4: null terminate of_match_table"
Linux Build Service Account [Thu, 9 Feb 2017 01:48:09 +0000 (17:48 -0800)]
Merge "defconfig: enable CONFIG_FREE_PAGES_RDONLY for sdm660"
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"
Linux Build Service Account [Thu, 9 Feb 2017 01:48:08 +0000 (17:48 -0800)]
Merge "defconfig: Align sdm660 arm32 defconfig with arm64"
Linux Build Service Account [Thu, 9 Feb 2017 01:48:07 +0000 (17:48 -0800)]
Merge "arm: mm: program ptes for access restriction"
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"
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"
Linux Build Service Account [Thu, 9 Feb 2017 01:48:05 +0000 (17:48 -0800)]
Merge "defconfig: msm: enable SCHED_AUTOGROUP for sdm660"
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"
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"
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"
Linux Build Service Account [Thu, 9 Feb 2017 01:48:01 +0000 (17:48 -0800)]
Merge "msm: mdss: fix mdp vbif qos priorities"
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"
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"
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"
Linux Build Service Account [Thu, 9 Feb 2017 01:47:58 +0000 (17:47 -0800)]
Merge "icnss: After recovery probe if not done already"
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"
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"
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"
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"
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"
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"
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"
Linux Build Service Account [Thu, 9 Feb 2017 01:47:42 +0000 (17:47 -0800)]
Merge "leds: leds-qpnp: correct various coding style issues"
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"
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"
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"
Linux Build Service Account [Thu, 9 Feb 2017 01:47:34 +0000 (17:47 -0800)]
Merge "iio: qcom-tadc: set all threshold comparators directions"
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"
Linux Build Service Account [Thu, 9 Feb 2017 01:47:30 +0000 (17:47 -0800)]
Merge "msm: ADSPRPC: Check for buffer overflow condition"
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Anirudh Ghayal [Wed, 25 Jan 2017 13:25:57 +0000 (18:55 +0530)]
qpnp: smb2: Add charger frequency config for PM660
The clock to the PM660 charger has to be configured in the
CHG_FREQ module instead of CHG_MISC. Also, the charger
frequencies for PM660 and PMI8998 are different, add
logic to handle that.
CRs-Fixed:
1104287
Change-Id: I5f4daf9354b209226a03b4f8026e20be8a73348b
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
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>
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>
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>
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>
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>
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>
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>
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>