OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
7 years agoMerge "soc: qcom: glink_spi_xprt: Add support for WDSP SSR"
Linux Build Service Account [Sat, 22 Oct 2016 18:26:56 +0000 (11:26 -0700)]
Merge "soc: qcom: glink_spi_xprt: Add support for WDSP SSR"

7 years agoMerge "input: touchscreen: Add force fw_update support via sysfs entry"
Linux Build Service Account [Sat, 22 Oct 2016 18:26:55 +0000 (11:26 -0700)]
Merge "input: touchscreen: Add force fw_update support via sysfs entry"

7 years agoMerge "input: touchscreen: Add debugfs entries for GTP controller"
Linux Build Service Account [Sat, 22 Oct 2016 18:26:54 +0000 (11:26 -0700)]
Merge "input: touchscreen: Add debugfs entries for GTP controller"

7 years agoMerge "msm: kgsl: Remove use of uninitialized variable"
Linux Build Service Account [Sat, 22 Oct 2016 18:26:54 +0000 (11:26 -0700)]
Merge "msm: kgsl: Remove use of uninitialized variable"

7 years agoMerge "iommu: arm-smmu: Fix a possible null pointer dereference"
Linux Build Service Account [Sat, 22 Oct 2016 07:02:23 +0000 (00:02 -0700)]
Merge "iommu: arm-smmu: Fix a possible null pointer dereference"

7 years agoMerge "qpnp-fg-gen3: update the FCC unit while notifying charger"
Linux Build Service Account [Sat, 22 Oct 2016 07:02:22 +0000 (00:02 -0700)]
Merge "qpnp-fg-gen3: update the FCC unit while notifying charger"

7 years agoMerge "ARM: dts: msm: Change pinctrl settings for BLSP1 UART3 for msmcobalt"
Linux Build Service Account [Sat, 22 Oct 2016 00:16:06 +0000 (17:16 -0700)]
Merge "ARM: dts: msm: Change pinctrl settings for BLSP1 UART3 for msmcobalt"

7 years agoMerge "msm: gsi: add command stats"
Linux Build Service Account [Sat, 22 Oct 2016 00:16:05 +0000 (17:16 -0700)]
Merge "msm: gsi: add command stats"

7 years agoMerge "defconfig: Enable generic cpu cooling device for msmcobalt"
Linux Build Service Account [Sat, 22 Oct 2016 00:16:04 +0000 (17:16 -0700)]
Merge "defconfig: Enable generic cpu cooling device for msmcobalt"

7 years agoMerge "driver: thermal: msm_lmh_dcvs: Match the hardware frequency to OPP"
Linux Build Service Account [Sat, 22 Oct 2016 00:16:03 +0000 (17:16 -0700)]
Merge "driver: thermal: msm_lmh_dcvs: Match the hardware frequency to OPP"

7 years agoMerge "driver: thermal: msm_lmh_dcvs: Register LMH DCVS cooling device"
Linux Build Service Account [Sat, 22 Oct 2016 00:16:03 +0000 (17:16 -0700)]
Merge "driver: thermal: msm_lmh_dcvs: Register LMH DCVS cooling device"

7 years agoARM: dts: msm: Change pinctrl settings for BLSP1 UART3 for msmcobalt
Girish Mahadevan [Fri, 7 Oct 2016 18:28:23 +0000 (12:28 -0600)]
ARM: dts: msm: Change pinctrl settings for BLSP1 UART3 for msmcobalt

Modify the sleep state settings for BLSP1 UART3 pins to optimize power
when the usecase isn't in play.

Change-Id: I1405a8561b1ecb2e3da87ed8b26fb087433a1c11
Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
7 years agomsm: gsi: add command stats
Skylar Chang [Fri, 21 Oct 2016 17:15:04 +0000 (10:15 -0700)]
msm: gsi: add command stats

Add debug statistics for GSI commands in order to
improve debug capabilities

Change-Id: Iee80fd2bf4b549665a12791009f0cf5ecc7653b9
CRs-Fixed: 1079245
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
7 years agodefconfig: Enable generic cpu cooling device for msmcobalt
Ram Chandrasekar [Wed, 19 Oct 2016 17:35:17 +0000 (11:35 -0600)]
defconfig: Enable generic cpu cooling device for msmcobalt

Enable generic cpu cooling device for msmcobalt.

Change-Id: If042fdae3102390dca6d5b1e257b38504b14320f
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
7 years agodriver: thermal: msm_lmh_dcvs: Match the hardware frequency to OPP
Ram Chandrasekar [Wed, 7 Sep 2016 01:25:18 +0000 (19:25 -0600)]
driver: thermal: msm_lmh_dcvs: Match the hardware frequency to OPP

The hardware frequency that LMH DCVSh hardware has requested may not
match an actual frequency of CPU. The OSM hardware will aggregate and
match this request to a nearest frequency mentioned in the clock plan.
The current lmh dcvs driver exposes this request without matching to
a frequency value in the OPP table.

In order to reflect the final mitigated frequency, match the mitigation
frequency request from LMH DCVSh to a nearest CPU frequency floor
in OPP table.

Change-Id: Iffc380898eac33f6c30c3808eb38d7bb499f5769
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
7 years agodriver: thermal: msm_lmh_dcvs: Register LMH DCVS cooling device
Ram Chandrasekar [Wed, 19 Oct 2016 17:01:43 +0000 (11:01 -0600)]
driver: thermal: msm_lmh_dcvs: Register LMH DCVS cooling device

The LMH DCVS hardware along with different monitoring algorithms, also
provides support for HLOS to vote for a CPU mitigation request. The
hardware will aggregate this request and will place the aggregated
mitigation request to OSM. The generic CPU cooling device doesn't take
advantage of this platform CPU mitigation feature.

Register the LMH DCVSh device as a platform cpu cooling device. When
registered, thermal CPU cooling device will place the mitigation request
with the LMH DCVSh hardware bypassing the cpufreq software. This will
allow faster mitigation action.

Also, thermal core framework exposes standard sysfs interfaces for
querying the cooling device state. Using this sysfs interface, users
can query the instantaneous CPU frequency mitigation request from
LMH DCVSh hardware.

Change-Id: I23762895d04dd6f1da8bb496f2a4cf22c1b34216
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
7 years agodrivers: thermal: cpu_cooling: allow platform freq mitigation
Lina Iyer [Tue, 23 Feb 2016 20:08:31 +0000 (13:08 -0700)]
drivers: thermal: cpu_cooling: allow platform freq mitigation

cpu device can be controlled by a hardware platform device and in those
cases the cpu cooling device interface should communicate with the
platform device instead of the cpufreq module.

Allow platform drivers to register with CPU cooling with their frequency
mitigation functions. This allows the cpu cooling interface to
communicate the frequency mitigations to the platform driver directly.

Change-Id: I47960b002bf1bce1cd588de2892de46793a95562
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
7 years agoMerge "input: misc: pat9125: add sysfs for suspend-resume test"
Linux Build Service Account [Fri, 21 Oct 2016 14:20:45 +0000 (07:20 -0700)]
Merge "input: misc: pat9125: add sysfs for suspend-resume test"

7 years agoMerge "fg-util: fix a possible buffer overflow"
Linux Build Service Account [Fri, 21 Oct 2016 01:37:46 +0000 (18:37 -0700)]
Merge "fg-util: fix a possible buffer overflow"

7 years agoMerge "sched/core_ctl: Move header file to global location"
Linux Build Service Account [Fri, 21 Oct 2016 01:37:45 +0000 (18:37 -0700)]
Merge "sched/core_ctl: Move header file to global location"

7 years agoiommu: arm-smmu: Fix a possible null pointer dereference
Patrick Daly [Thu, 20 Oct 2016 20:20:15 +0000 (13:20 -0700)]
iommu: arm-smmu: Fix a possible null pointer dereference

Reported by static analysis tools. generic_device_group() may return
NULL on an error case.

Change-Id: I33e8e859e99d4f7c4616aeee1da8214497e30625
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
7 years agoMerge "defconfig: msm: avoid compilation of MDSS DP driver for 32-bit msmfalcon"
Linux Build Service Account [Thu, 20 Oct 2016 19:04:31 +0000 (12:04 -0700)]
Merge "defconfig: msm: avoid compilation of MDSS DP driver for 32-bit msmfalcon"

7 years agoMerge "msm: kgsl: Add sysfs control for pwrscale"
Linux Build Service Account [Thu, 20 Oct 2016 19:04:30 +0000 (12:04 -0700)]
Merge "msm: kgsl: Add sysfs control for pwrscale"

7 years agoMerge "ASoC: wcd934x: fix click and pop in Tx path"
Linux Build Service Account [Thu, 20 Oct 2016 19:04:30 +0000 (12:04 -0700)]
Merge "ASoC: wcd934x: fix click and pop in Tx path"

7 years agoMerge "sched: don't bias towards waker cluster when sched_boost is set"
Linux Build Service Account [Thu, 20 Oct 2016 19:04:29 +0000 (12:04 -0700)]
Merge "sched: don't bias towards waker cluster when sched_boost is set"

7 years agoqpnp-fg-gen3: update the FCC unit while notifying charger
Subbaraman Narayanamurthy [Thu, 20 Oct 2016 19:04:02 +0000 (12:04 -0700)]
qpnp-fg-gen3: update the FCC unit while notifying charger

Charger driver expects the constant_charge_current_max property
in microunits. Update it.

Change-Id: I1b9117edb6c2206c09deb083529479a3ccc4618d
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
7 years agosoc: qcom: glink_spi_xprt: Add support for WDSP SSR
Karthikeyan Ramasubramanian [Mon, 26 Sep 2016 23:30:08 +0000 (17:30 -0600)]
soc: qcom: glink_spi_xprt: Add support for WDSP SSR

Handle WDSP_EVENT_PRE_SHUTDOWN event to indicate link down event to G-Link
core and the clients of G-Link. Handle WDSP_EVENT_POST_BOOTUP event to
indicate link up event.

CRs-Fixed: 1080354
Change-Id: I12c04ceb7af51cc5d2f0c79b524ef783dc5f749e
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
7 years agoinput: touchscreen: Add force fw_update support via sysfs entry
Shantanu Jain [Tue, 8 Oct 2013 17:50:13 +0000 (23:20 +0530)]
input: touchscreen: Add force fw_update support via sysfs entry

Add sysfs entry for force fw_update support in Goodix
driver.
Change the usage of kstrtoul to sscanf in driver to avoid
portability issues.

Change-Id: I147a3e465170dda7af415ade29c04257d9b11a6b
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
7 years agoinput: touchscreen: Add firmware upgrade via sysfs entry
Shantanu Jain [Tue, 19 Nov 2013 04:22:24 +0000 (09:52 +0530)]
input: touchscreen: Add firmware upgrade via sysfs entry

Add sysfs entry for firmware upgrade support in Goodix
driver.

Change-Id: If71d4020223547e0db425c9fd37819c6166efcab
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
7 years agoinput: touchscreen: Add debugfs entries for GTP controller
Shantanu Jain [Wed, 22 Jan 2014 16:43:45 +0000 (22:13 +0530)]
input: touchscreen: Add debugfs entries for GTP controller

Add debugfs entries for address and data to read the registers
of Goodix controller.

Change-Id: I6543d523e39771615d0e1b684780141e108a2aa4
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
7 years agoMerge "ARM: dts: msm: Add sound card entry for msmcobalt QVR"
Linux Build Service Account [Thu, 20 Oct 2016 10:33:16 +0000 (03:33 -0700)]
Merge "ARM: dts: msm: Add sound card entry for msmcobalt QVR"

7 years agoMerge "ARM: dts: msm: Add support for Venus PIL on msmtriton"
Linux Build Service Account [Thu, 20 Oct 2016 10:33:15 +0000 (03:33 -0700)]
Merge "ARM: dts: msm: Add support for Venus PIL on msmtriton"

7 years agoMerge "clk: qcom: Update the GPU PLL configuration to 800MHz"
Linux Build Service Account [Thu, 20 Oct 2016 10:33:14 +0000 (03:33 -0700)]
Merge "clk: qcom: Update the GPU PLL configuration to 800MHz"

7 years agoMerge "qpnp-fg-gen3: notify charger with float voltage and FCC"
Linux Build Service Account [Thu, 20 Oct 2016 10:33:11 +0000 (03:33 -0700)]
Merge "qpnp-fg-gen3: notify charger with float voltage and FCC"

7 years agoMerge "qpnp-smb2: support setting FCC and float voltage in battery power supply"
Linux Build Service Account [Thu, 20 Oct 2016 10:33:08 +0000 (03:33 -0700)]
Merge "qpnp-smb2: support setting FCC and float voltage in battery power supply"

7 years agoMerge "ARM: 8618/1: decompressor: reset ttbcr fields to use TTBR0 on ARMv7"
Linux Build Service Account [Thu, 20 Oct 2016 10:33:07 +0000 (03:33 -0700)]
Merge "ARM: 8618/1: decompressor: reset ttbcr fields to use TTBR0 on ARMv7"

7 years agodefconfig: msm: avoid compilation of MDSS DP driver for 32-bit msmfalcon
Padmanabhan Komanduru [Thu, 20 Oct 2016 10:23:29 +0000 (15:53 +0530)]
defconfig: msm: avoid compilation of MDSS DP driver for 32-bit msmfalcon

The MDSS DP driver has compilation issues on msmfalcon 32-bit builds.
Remove config for the driver to skip compilation till the relevant
issues are resolved.

Change-Id: I8b4d464c793fd943abca2b9041f5751abc9ed22b
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
7 years agoARM: dts: msm: Add sound card entry for msmcobalt QVR
Meng Wang [Wed, 28 Sep 2016 08:00:07 +0000 (16:00 +0800)]
ARM: dts: msm: Add sound card entry for msmcobalt QVR

msmcobalt QVR has different hardware design with MTP.
Add sound card entry for msmcobalt QVR to enable wsa,
earpiece and microphones.

CRs-Fixed: 1078551
Change-Id: Ic55c44de74e537463a218619861f28c1e6eb66c1
Signed-off-by: Meng Wang <mwang@codeaurora.org>
7 years agoARM: 8618/1: decompressor: reset ttbcr fields to use TTBR0 on ARMv7
Srinivas Ramana [Fri, 30 Sep 2016 14:03:31 +0000 (15:03 +0100)]
ARM: 8618/1: decompressor: reset ttbcr fields to use TTBR0 on ARMv7

If the bootloader uses the long descriptor format and jumps to
kernel decompressor code, TTBCR may not be in a right state.
Before enabling the MMU, it is required to clear the TTBCR.PD0
field to use TTBR0 for translation table walks.

The commit dbece45894d3a ("ARM: 7501/1: decompressor:
reset ttbcr for VMSA ARMv7 cores") does the reset of TTBCR.N, but
doesn't consider all the bits for the size of TTBCR.N.

Clear TTBCR.PD0 field and reset all the three bits of TTBCR.N to
indicate the use of TTBR0 and the correct base address width.

Change-Id: Ib497ef7ecdee6c517205ec76724283d4cbd89bdc
Fixes: dbece45894d3 ("ARM: 7501/1: decompressor: reset ttbcr for VMSA ARMv7 cores")
Acked-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Git-commit: 117e5e9c4cfcb7628f08de074fbfefec1bb678b7
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

7 years agoclk: qcom: Update the GPU PLL configuration to 800MHz
Taniya Das [Thu, 20 Oct 2016 05:03:46 +0000 (10:33 +0530)]
clk: qcom: Update the GPU PLL configuration to 800MHz

The GPU PLL initial configuration is modified to 800MHz and also update the
RCG to be able to support force enable/disable for gfx3d_clk_src.

Change-Id: I8e6d7dba762b678070d66e291347af2cdf804ae5
Signed-off-by: Taniya Das <tdas@codeaurora.org>
7 years agoARM: dts: msm: Add support for Venus PIL on msmtriton
Gaurav Kohli [Mon, 17 Oct 2016 09:18:09 +0000 (14:48 +0530)]
ARM: dts: msm: Add support for Venus PIL on msmtriton

Add support for Venus PIL which facilitates the loading of venus
firmware, authentication and bringing it out of reset.

Change-Id: I3cdef3870dfd88562f3435d678698e3a906ae673
Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
7 years agoMerge "power_supply: Add PE_START property"
Linux Build Service Account [Thu, 20 Oct 2016 02:11:52 +0000 (19:11 -0700)]
Merge "power_supply: Add PE_START property"

7 years agoMerge "qpnp-smb2: Fix LIMITED reporting"
Linux Build Service Account [Thu, 20 Oct 2016 02:11:52 +0000 (19:11 -0700)]
Merge "qpnp-smb2: Fix LIMITED reporting"

7 years agoMerge "qcom-charger: smblib: change secure address threshold"
Linux Build Service Account [Thu, 20 Oct 2016 02:11:51 +0000 (19:11 -0700)]
Merge "qcom-charger: smblib: change secure address threshold"

7 years agoMerge "msm: gsi: add 1ms delay before reset"
Linux Build Service Account [Thu, 20 Oct 2016 02:11:50 +0000 (19:11 -0700)]
Merge "msm: gsi: add 1ms delay before reset"

7 years agoMerge "ARM: dts: msm: Add sdhc1 support for msmfalcon"
Linux Build Service Account [Thu, 20 Oct 2016 02:11:50 +0000 (19:11 -0700)]
Merge "ARM: dts: msm: Add sdhc1 support for msmfalcon"

7 years agoMerge "sched/hmp: Fix range checking for target load"
Linux Build Service Account [Thu, 20 Oct 2016 02:11:49 +0000 (19:11 -0700)]
Merge "sched/hmp: Fix range checking for target load"

7 years agoMerge "sound: usb: Increase maximum transfer buffer limit"
Linux Build Service Account [Thu, 20 Oct 2016 02:11:48 +0000 (19:11 -0700)]
Merge "sound: usb: Increase maximum transfer buffer limit"

7 years agoMerge "clk: msm: clock-osm: Update droop timers"
Linux Build Service Account [Thu, 20 Oct 2016 02:11:47 +0000 (19:11 -0700)]
Merge "clk: msm: clock-osm: Update droop timers"

7 years agoqpnp-fg-gen3: notify charger with float voltage and FCC
Subbaraman Narayanamurthy [Tue, 18 Oct 2016 03:08:59 +0000 (20:08 -0700)]
qpnp-fg-gen3: notify charger with float voltage and FCC

Whenever the battery profile is loaded, notify charger SW with
float voltage and FCC obtained from the battery profile.

Change-Id: I0419b34fde9d74460b849ee8a7ef7e2cdf5592d2
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
7 years agoqpnp-smb2: support setting FCC and float voltage in battery power supply
Harry Yang [Fri, 14 Oct 2016 16:31:15 +0000 (09:31 -0700)]
qpnp-smb2: support setting FCC and float voltage in battery power supply

Fast charge current (FCC) and float voltage are parameters that
are battery specific and needs to be set based on the profile
detected by Fuel Gauge driver. Expose the following properties
from battery power supply so that FG can set them.

- POWER_SUPPLY_PROP_VOLTAGE_MAX
- POWER_SUPPLY_PROP_CONSTANT_CHARGE_CURRENT_MAX

Change-Id: I72465484b154b1a758285d58906ce7661a246767
Signed-off-by: Harry Yang <harryy@codeaurora.org>
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
7 years agoqcom-charger: smb2: disable EN_TRY_SINK_MODE for PD
Harry Yang [Fri, 14 Oct 2016 20:03:46 +0000 (13:03 -0700)]
qcom-charger: smb2: disable EN_TRY_SINK_MODE for PD

Try.SNK is not permitted in PD per spec. Disable it while
pd_active is true.

Change-Id: I90891232d37b95f011b3f2d5278f0fd0f4c9eb71
Signed-off-by: Harry Yang <harryy@codeaurora.org>
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
7 years agoqpnp-smb2: implement PE_START property
Abhijeet Dharmapurikar [Mon, 17 Oct 2016 23:58:58 +0000 (16:58 -0700)]
qpnp-smb2: implement PE_START property

The policy engine needs to be informed that its time to start
its activities when APSD results are available and/or PD_ALLOWED
is decided. USB type property shouldn't change after that.

Since HVDCP_TIMEOUT_VOTER is the last one to cast its allow vote
in the sequence, use it to reflect the PE_START property.

While at it since PE_START property is returned assuming an atomic
context, the read of PD_ALLOWED could be moved to its sleepable
variants. This aids in keeping the policy engine code simple and also
assures race free code.

Change-Id: Ib98ac10d87200a2fd5492e27399f696f2468eba6
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
7 years agousb: pd: Clear PD_IN_HARD_RESET in PE_SNK_TRANSITION_TO_DEFAULT
Jack Pham [Wed, 19 Oct 2016 19:49:20 +0000 (12:49 -0700)]
usb: pd: Clear PD_IN_HARD_RESET in PE_SNK_TRANSITION_TO_DEFAULT

Make sure to properly clear the PD_IN_HARD_RESET property upon
reaching the SNK_Transition_to_default state to ensure that the
charger driver is notified that hard reset has completed. Move
the clearing of pd->hard_reset flag here as well for clarity.

Also clear the pd->in_pr_swap flag when initiating or receiving
hard reset signal as that should promptly abort any PR swap
operation in progress.

Change-Id: I967e3841af614ecd2129bf60dc08a1b19731c4e3
Signed-off-by: Jack Pham <jackp@codeaurora.org>
7 years agousb: pd: Start state machine when PE_START is true
Jack Pham [Wed, 19 Oct 2016 19:54:58 +0000 (12:54 -0700)]
usb: pd: Start state machine when PE_START is true

Support the new POWER_SUPPLY_PROP_PE_START property which
indicates when the policy engine state machine can begin.
This helps to simplify the psy_changed() routine as we can
now rely on this property to indicate that PROP_TYPEC_MODE
and PROP_TYPE are already settled. The state machine work
can now simply begin when seeing a change in TYPEC_MODE.

This replaces the previous use of PROP_PD_ALLOWED which prior
to commit 18da08334eb3 ("usb: pd: Handle PD_ALLOWED within
state machine") was intended to be a marker to start up
the policy engine but now simply indicates whether or not to
start PD comms. We can now move reading of this property to
usbpd_set_state() as it is now only needed locally in the
SNK_STARTUP handling.

Change-Id: Ia0b9e5b011ae72e1afcaf5109b8253d124afc021
Signed-off-by: Jack Pham <jackp@codeaurora.org>
7 years agopower_supply: Add PE_START property
Abhijeet Dharmapurikar [Mon, 17 Oct 2016 23:51:36 +0000 (16:51 -0700)]
power_supply: Add PE_START property

This property will be used to indicate to the policy engine that it
should start its activities.

Change-Id: I9deb48f7bff71b022c5899e6eff7617526d02324
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
7 years agoqpnp-smb2: Fix LIMITED reporting
Abhijeet Dharmapurikar [Tue, 18 Oct 2016 17:37:23 +0000 (10:37 -0700)]
qpnp-smb2: Fix LIMITED reporting

A merge conflict resolution caused a break statement to be dropped in
the case block for reporting input_current_limited property.

Fix this.

Change-Id: Ic5c9626628f05f3167f9f8d0b78b04b83446f413
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
7 years agoqcom-charger: smblib: change secure address threshold
Harry Yang [Mon, 17 Oct 2016 17:37:12 +0000 (10:37 -0700)]
qcom-charger: smblib: change secure address threshold

Correct the secure address threshold to 0x0A since Misc peripheral has
secure registers starting as early as 0x0A

CRs-Fixed: 1048242
Change-Id: Id7ec03919e2fd08540cd7e677bf5e4048d73c23d
Signed-off-by: Harry Yang <harryy@codeaurora.org>
7 years agoqpnp-smb2: expose parallel slave percentage via battery psy
Nicholas Troast [Tue, 11 Oct 2016 16:24:56 +0000 (09:24 -0700)]
qpnp-smb2: expose parallel slave percentage via battery psy

Expose the parallel distribution percentage and allow it to be
modified.

Change-Id: I0c9221c6a748aff5e8fbe889316f729155eded3e
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
7 years agosmb-lib: qpnp-smb2: fix input collapse by limiting slave FCC
Nicholas Troast [Tue, 11 Oct 2016 02:29:47 +0000 (19:29 -0700)]
smb-lib: qpnp-smb2: fix input collapse by limiting slave FCC

The parallel charger can collapse the input adapter. Impose a
power limit on the slave charger by limiting the slave FCC.

Change-Id: I02a3dc02911646240a1ecee41584903aab971d81
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
7 years agosched: don't bias towards waker cluster when sched_boost is set
Joonwoo Park [Wed, 22 Jun 2016 01:17:19 +0000 (18:17 -0700)]
sched: don't bias towards waker cluster when sched_boost is set

When sched_boost is set scheduler needs to place task on the least
loaded CPU or performance CPU for better performance.

Change-Id: I41512b4af9cd56712a241c114583b0021d1395d2
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
7 years agomsm: gsi: add 1ms delay before reset
Skylar Chang [Mon, 17 Oct 2016 17:01:36 +0000 (10:01 -0700)]
msm: gsi: add 1ms delay before reset

As part of GSI reset workaround, a 1ms sleep needs to be added
between the first reset command and the second one.

Change-Id: I6131aa646edfd6192e4f0895a7cc97728d6f7536
CRs-Fixed: 1079245
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
7 years agoMerge "media: dvb-core: dvb dmxdev filter callback function changes"
Linux Build Service Account [Wed, 19 Oct 2016 18:18:18 +0000 (11:18 -0700)]
Merge "media: dvb-core: dvb dmxdev filter callback function changes"

7 years agoMerge "usb: gadget: f_qc_rndis: Change function name from qcrndis to bam"
Linux Build Service Account [Wed, 19 Oct 2016 18:18:17 +0000 (11:18 -0700)]
Merge "usb: gadget: f_qc_rndis: Change function name from qcrndis to bam"

7 years agoMerge "qpnp-smb2: handle DC insertion"
Linux Build Service Account [Wed, 19 Oct 2016 18:18:16 +0000 (11:18 -0700)]
Merge "qpnp-smb2: handle DC insertion"

7 years agoMerge "ASoC: wcd-spi: Add memory read debug support"
Linux Build Service Account [Wed, 19 Oct 2016 18:18:15 +0000 (11:18 -0700)]
Merge "ASoC: wcd-spi: Add memory read debug support"

7 years agoMerge "icnss: Switch to CXO before XO disable"
Linux Build Service Account [Wed, 19 Oct 2016 18:18:15 +0000 (11:18 -0700)]
Merge "icnss: Switch to CXO before XO disable"

7 years agoMerge "icnss: Fix return value for register_driver"
Linux Build Service Account [Wed, 19 Oct 2016 18:18:14 +0000 (11:18 -0700)]
Merge "icnss: Fix return value for register_driver"

7 years agoMerge "ARM: dts: msm: Add support for CDSP PIL on msmfalcon"
Linux Build Service Account [Wed, 19 Oct 2016 18:18:13 +0000 (11:18 -0700)]
Merge "ARM: dts: msm: Add support for CDSP PIL on msmfalcon"

7 years agoMerge "ASoC: wcd-spi: fix the maximum transfer unit setting"
Linux Build Service Account [Wed, 19 Oct 2016 18:18:12 +0000 (11:18 -0700)]
Merge "ASoC: wcd-spi: fix the maximum transfer unit setting"

7 years agoMerge "serial: msm_serial_hs: Move HS UART pins to known state at probe"
Linux Build Service Account [Wed, 19 Oct 2016 18:18:12 +0000 (11:18 -0700)]
Merge "serial: msm_serial_hs: Move HS UART pins to known state at probe"

7 years agoMerge "ARM: dts: msm: Move 720p120fps encode to SVS on msmcobalt"
Linux Build Service Account [Wed, 19 Oct 2016 18:18:11 +0000 (11:18 -0700)]
Merge "ARM: dts: msm: Move 720p120fps encode to SVS on msmcobalt"

7 years agoMerge "ASoC: wcd9335: Fix race during codec master clock (mclk) enablement"
Linux Build Service Account [Wed, 19 Oct 2016 18:18:10 +0000 (11:18 -0700)]
Merge "ASoC: wcd9335: Fix race during codec master clock (mclk) enablement"

7 years agoMerge "smb-lib: qpnp-smb2: cleanup parallel charging code"
Linux Build Service Account [Wed, 19 Oct 2016 18:18:09 +0000 (11:18 -0700)]
Merge "smb-lib: qpnp-smb2: cleanup parallel charging code"

7 years agoMerge "input: misc: pat9125: add regulator framework support"
Linux Build Service Account [Wed, 19 Oct 2016 18:18:09 +0000 (11:18 -0700)]
Merge "input: misc: pat9125: add regulator framework support"

7 years agoMerge "sched: Add multiple load reporting policies for cpu frequency"
Linux Build Service Account [Wed, 19 Oct 2016 18:18:07 +0000 (11:18 -0700)]
Merge "sched: Add multiple load reporting policies for cpu frequency"

7 years agoMerge "sched: Optimize the next top task search logic upon task migration"
Linux Build Service Account [Wed, 19 Oct 2016 18:18:06 +0000 (11:18 -0700)]
Merge "sched: Optimize the next top task search logic upon task migration"

7 years agoMerge "driver: bcl_peripheral: Input correct dmac flush range argument"
Linux Build Service Account [Wed, 19 Oct 2016 18:18:04 +0000 (11:18 -0700)]
Merge "driver: bcl_peripheral: Input correct dmac flush range argument"

7 years agoMerge "msm: ipa: fix reference count in rm"
Linux Build Service Account [Wed, 19 Oct 2016 18:18:03 +0000 (11:18 -0700)]
Merge "msm: ipa: fix reference count in rm"

7 years agoMerge "ARM: dts: msm: add the cma region for venus on msmtriton"
Linux Build Service Account [Wed, 19 Oct 2016 18:18:02 +0000 (11:18 -0700)]
Merge "ARM: dts: msm: add the cma region for venus on msmtriton"

7 years agoMerge "ARM: dts: msm: Enable RPM clock support for MSMfalcon/Triton"
Linux Build Service Account [Wed, 19 Oct 2016 18:18:02 +0000 (11:18 -0700)]
Merge "ARM: dts: msm: Enable RPM clock support for MSMfalcon/Triton"

7 years agoMerge "msm: ipa3: Do not wait for IPA DMA_TASK H/W ACK for GSI"
Linux Build Service Account [Wed, 19 Oct 2016 18:18:01 +0000 (11:18 -0700)]
Merge "msm: ipa3: Do not wait for IPA DMA_TASK H/W ACK for GSI"

7 years agoMerge "defconfig: msmcortex: Enable early random driver"
Linux Build Service Account [Wed, 19 Oct 2016 18:18:00 +0000 (11:18 -0700)]
Merge "defconfig: msmcortex: Enable early random driver"

7 years agoMerge "init: Move stack canary initialization after setup_arch"
Linux Build Service Account [Wed, 19 Oct 2016 18:17:59 +0000 (11:17 -0700)]
Merge "init: Move stack canary initialization after setup_arch"

7 years agoMerge "qcom: Update early random APIs to scmv8"
Linux Build Service Account [Wed, 19 Oct 2016 18:17:58 +0000 (11:17 -0700)]
Merge "qcom: Update early random APIs to scmv8"

7 years agoMerge "soc: qcom: Add better support for early random numbers"
Linux Build Service Account [Wed, 19 Oct 2016 18:17:58 +0000 (11:17 -0700)]
Merge "soc: qcom: Add better support for early random numbers"

7 years agoMerge "msm: implement ARCH_RANDOM"
Linux Build Service Account [Wed, 19 Oct 2016 18:17:57 +0000 (11:17 -0700)]
Merge "msm: implement ARCH_RANDOM"

7 years agoMerge "Revert "soc: qcom: Listen to SUBSYS_AFTER_SHUTDOWN notification""
Linux Build Service Account [Wed, 19 Oct 2016 18:17:56 +0000 (11:17 -0700)]
Merge "Revert "soc: qcom: Listen to SUBSYS_AFTER_SHUTDOWN notification""

7 years agoMerge "msm: camera: isp: Configure stats framedrop period correctly"
Linux Build Service Account [Wed, 19 Oct 2016 18:17:56 +0000 (11:17 -0700)]
Merge "msm: camera: isp: Configure stats framedrop period correctly"

7 years agoASoC: wcd934x: fix click and pop in Tx path
Vidyakumar Athota [Wed, 19 Oct 2016 17:05:03 +0000 (10:05 -0700)]
ASoC: wcd934x: fix click and pop in Tx path

Update high pass filter cut off frequency register after
decimator clock enable to reduce click and pop in recording
path.

Change-Id: Idee07f2104911180a9ca60490fe30f628f90b71f
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
7 years agosched/hmp: Fix range checking for target load
Olav Haugan [Wed, 19 Oct 2016 17:35:52 +0000 (10:35 -0700)]
sched/hmp: Fix range checking for target load

The range check for target load is incorrect. Fix this. This is only a
sanity check to catch badly specified target loads.

Change-Id: Ia90d020f5e0bdf37c600661a1c246dab5b637b3b
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
7 years agomsm: kgsl: Add sysfs control for pwrscale
Jonathan Wicks [Thu, 22 Sep 2016 15:29:28 +0000 (09:29 -0600)]
msm: kgsl: Add sysfs control for pwrscale

Add a sysfs entry to enable control of notifications
from pwrscale to devfreq.

Change-Id: Ife0a31e96975239bf4fefd59ac6266568c4db1a5
Signed-off-by: Jonathan Wicks <jwicks@codeaurora.org>
7 years agousb: gadget: f_qc_rndis: Change function name from qcrndis to bam
Chandana Kishori Chiluveru [Wed, 19 Oct 2016 05:25:51 +0000 (10:55 +0530)]
usb: gadget: f_qc_rndis: Change function name from qcrndis to bam

bam can represent the transport used for the function. Hence change
the name from qcrndis to bam.

Change-Id: Ie153ae9cc00a72287b10623d63f29c08a1154cb9
Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
7 years agoARM: dts: msm: Add sdhc1 support for msmfalcon
Sayali Lokhande [Fri, 22 Jul 2016 09:06:26 +0000 (14:36 +0530)]
ARM: dts: msm: Add sdhc1 support for msmfalcon

Add sdhc1 to enable eMMC for msmfalcon.

Change-Id: Id64f344f4c77749b7d322b31b1557b1cf15965d3
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
7 years agomedia: dvb-core: dvb dmxdev filter callback function changes
Udaya Mallavarapu [Tue, 18 Oct 2016 13:08:13 +0000 (18:38 +0530)]
media: dvb-core: dvb dmxdev filter callback function changes

The demux driver migration from kernel 3.18 to 4.4 added
extra parameter to dmx_ts_cb, dmx_section_cb callback functions
to send demux status to dmxdev filters. Revert back the change
to original prototype.

CRs-Fixed: 1079183
Change-Id: I4bdced9942e6524e8cc21410532fa7231049454f
Signed-off-by: Udaya Mallavarapu <udaym@codeaurora.org>
7 years agoARM: dts: msm: Add support for CDSP PIL on msmfalcon
Gaurav Kohli [Wed, 21 Sep 2016 09:26:03 +0000 (14:56 +0530)]
ARM: dts: msm: Add support for CDSP PIL on msmfalcon

Add support for CDSP PIL which facilitates the loading of CDSP
firmware, authentication and bringing it out of reset.

Change-Id: I46b5da53614bdac740a1c85b0b3072cae32d20f7
Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
7 years agosched/core_ctl: Move header file to global location
Olav Haugan [Wed, 19 Oct 2016 01:09:59 +0000 (18:09 -0700)]
sched/core_ctl: Move header file to global location

Move the header file of core control to the standard linux include
directory to allow other entities to include this file.

Change-Id: I2ddb8b3b96063be3c6a6cb6bc333998e007f9de7
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
7 years agoASoC: wcd9335: Fix race during codec master clock (mclk) enablement
Bhalchandra Gajare [Tue, 30 Aug 2016 21:31:23 +0000 (14:31 -0700)]
ASoC: wcd9335: Fix race during codec master clock (mclk) enablement

It is possible that codec master clock enablement could race from two
different execution contexts, causing the mclk to be not enabled at all.
This will result in failure of use cases that expect the clock to be
present. Fix this issue by making sure the race condition does not
occur during mclk enablement.

bug: b/30983442
Change-Id: Ie254b8876524956b816267eaaed205f65641c000
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
7 years agoASoC: wcd-spi: Add memory read debug support
Bhalchandra Gajare [Thu, 8 Sep 2016 23:56:01 +0000 (16:56 -0700)]
ASoC: wcd-spi: Add memory read debug support

To help debugging, change adds support to read address and size from
the debugfs nodes and provide the memory content through the
mem_read debugfs node.

CRs-Fixed: 1064870
Change-Id: I151bc5d373129e3599baf6d3217b65843c0f16d0
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
7 years agoqpnp-smb2: handle DC insertion
Abhijeet Dharmapurikar [Mon, 3 Oct 2016 17:38:50 +0000 (10:38 -0700)]
qpnp-smb2: handle DC insertion

Update the power_supply framework of a dc insertion/removal.

Change-Id: I786d0774589ae64b298754286be28d67d394a66d
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>