OSDN Git Service
Linux Build Service Account [Wed, 26 Oct 2016 08:10:25 +0000 (01:10 -0700)]
Merge "msm: sensor: Adding mutex for actuator power down operations"
Linux Build Service Account [Wed, 26 Oct 2016 08:10:24 +0000 (01:10 -0700)]
Merge "msm_serial_hs: Add defensive checks due to sudden port close"
Linux Build Service Account [Wed, 26 Oct 2016 01:31:06 +0000 (18:31 -0700)]
Merge "coresight: tmc: skip tmc read if mem allocaiton failed"
Linux Build Service Account [Wed, 26 Oct 2016 01:31:05 +0000 (18:31 -0700)]
Merge "sched: Set curr/prev_window_cpu pointers to NULL in sched_exit()"
Linux Build Service Account [Wed, 26 Oct 2016 01:31:04 +0000 (18:31 -0700)]
Merge "soc: qcom: use interruptible wait_for_completion API"
Linux Build Service Account [Wed, 26 Oct 2016 01:31:04 +0000 (18:31 -0700)]
Merge "ARM: dts: msm: enable VDD_GFX CPR aging adjustments for msmcobalt v2"
Linux Build Service Account [Wed, 26 Oct 2016 01:31:03 +0000 (18:31 -0700)]
Merge "ASoC: msmcobalt: Add independent clock support on codec"
Linux Build Service Account [Wed, 26 Oct 2016 01:31:02 +0000 (18:31 -0700)]
Merge "ASoC: wcd934x: Update CPR register defaults"
Linux Build Service Account [Wed, 26 Oct 2016 01:31:01 +0000 (18:31 -0700)]
Merge "drivers: soc: Initialize return var to default value"
Linux Build Service Account [Wed, 26 Oct 2016 01:31:00 +0000 (18:31 -0700)]
Merge "soc: qcom: Use a deferrable timer base for the msm watchdog"
Linux Build Service Account [Wed, 26 Oct 2016 01:30:58 +0000 (18:30 -0700)]
Merge "qpnp-fg-gen3: Fix storing nominal capacity to actual capacity"
Linux Build Service Account [Wed, 26 Oct 2016 01:30:57 +0000 (18:30 -0700)]
Merge "USB: pd: Fix compilation issues for 32 bit support"
Linux Build Service Account [Wed, 26 Oct 2016 01:30:55 +0000 (18:30 -0700)]
Merge "ASoC: wcd9335: Fix register sequence for CPE configuration"
Linux Build Service Account [Wed, 26 Oct 2016 01:30:55 +0000 (18:30 -0700)]
Merge "ASoC: msmcobalt: Add CPE ECPP DAI instance for ECPP path"
Linux Build Service Account [Wed, 26 Oct 2016 01:30:55 +0000 (18:30 -0700)]
Merge "ARM: msm: dts: add second CPE session for msmcobalt"
Syed Rameez Mustafa [Tue, 25 Oct 2016 01:37:14 +0000 (18:37 -0700)]
sched: Set curr/prev_window_cpu pointers to NULL in sched_exit()
trace_sched_update_task_ravg relies on NULL pointers to ensure that
it doesn't access them. Make sure that when a task exits, these
pointers are set to NULL. Otherwise any call to update_task_ravg()
between sched_exit() and releasing the task structure will access
bogus pointers. In some cases those memory locations are unmapped
and cause a kernel panic.
Change-Id: I9eebb4fb35aca2c8424bfb29ae9d833650dc5ad4
Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
Vidyakumar Athota [Thu, 20 Oct 2016 00:55:26 +0000 (17:55 -0700)]
soc: qcom: use interruptible wait_for_completion API
Device suspend fails because of un-interruptible blocking read
function. Use wait_for_completion_interruptible API instead of
wait_for_completion to allow device suspend.
Change-Id: Ia537e776d0b322d56cd6003f95cdded5e695ceeb
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
David Collins [Fri, 21 Oct 2016 22:21:07 +0000 (15:21 -0700)]
ARM: dts: msm: enable VDD_GFX CPR aging adjustments for msmcobalt v2
Enable VDD_GFX CPR aging adjustments for MSMCOBALTv2 parts with
CPR fusing revision greater than or equal to 2. At most 15 mV
can be added onto the open-loop and closed-loop voltage as a
result of an aging measurement at runtime. This maximum 15 mV
adjustment was previously accounted for in the fixed open-loop
and closed-loop voltage adjustments. Therefore, remove 15 mV
from both the open-loop and closed-loop voltage adjustments for
all corners.
Change-Id: I44487bfcb4e21d76948cd836ad2dae18bc3d22f4
CRs-Fixed:
1081084
Signed-off-by: David Collins <collinsd@codeaurora.org>
Sudheer Papothi [Fri, 21 Oct 2016 22:15:35 +0000 (03:45 +0530)]
ASoC: msmcobalt: Add independent clock support on codec
WCD9335 codec has single master clock supply widget for both
playback and recording paths. Adding separate clock supply
for playback and recording paths will help handle low power
audio recording usecases without affecting playback usecases.
Change is to enable separate clock supply widgets for playback
and recording paths.
CRs-Fixed:
1022917
Change-Id: Ia02a1ffed911498dd6eb5df246e6da68a7802a92
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Phani Kumar Uppalapati [Thu, 6 Oct 2016 23:25:36 +0000 (16:25 -0700)]
ASoC: wcd934x: Update CPR register defaults
Update wcd934x codec register defaults to enable
CPR hardware block for reducing the power consumption
in rock bottom sleep mode.
CRs-Fixed:
1081673
Change-Id: Ib75655d52e5d85d649ebfcb971caf3f5b0b6dc80
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
Phani Kumar Uppalapati [Mon, 24 Oct 2016 21:46:54 +0000 (14:46 -0700)]
drivers: mfd: Mark CPR bank registers as volatile
Mark CPR bank registers as volatile so that
writes to these registers get updated correctly
in hardware.
CRs-Fixed:
1081673
Change-Id: I92d0511b4e9912dfa346378784d811f6606df205
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
Subbaraman Narayanamurthy [Mon, 24 Oct 2016 21:05:44 +0000 (14:05 -0700)]
qpnp-fg-gen3: Fix storing nominal capacity to actual capacity
Currently, nominal capacity is stored back to the actual capacity
only when the actual capacity is non-zero. However, that can be
true when the battery is inserted for the first time. This makes
the actual capacity to be stored only when a capacity learning
cycle completes. Other algorithms like to use actual capacity
before that. Fix it.
Change-Id: I346085ec722f491f96181ef1beb383710b441f4b
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Vikram Mulukutla [Fri, 14 Oct 2016 23:13:24 +0000 (16:13 -0700)]
soc: qcom: Use a deferrable timer base for the msm watchdog
It is possible that normal CFS latencies in the presence of
very heavy task load causes timer migration to be delayed
in hotplug paths. This may in turn prevent the watchdog kthread
from waking up, resulting in a bark.
Technically the watchdog is supposed to be a last-resort
failure recovery; even in this stressful hotplug scenario
the device is *usable*, just incredibly slow. It is arguable
that the watchdog should not have fired in this case, and
the petting mechanism should handle this scenario.
Move the timer to a deferrable timer base. We are really not
using the "deferrable" aspect of the timer, but the fact that
we (msm) also changed deferrable timers to run on any CPU.
This underlying change will allow the watchdog timer to be
handled on any CPU.
This completely depends on the fact that we don't have to
pet the watchdog when *all* CPUs go idle, which would
make sense from a power perspective anyway.
Change-Id: Ie389e28ff890a805854f921e4cd491a296a32925
Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
Satyajit Desai [Sat, 22 Oct 2016 00:24:48 +0000 (17:24 -0700)]
coresight: tmc: skip tmc read if mem allocaiton failed
Add NULL pointer check to ensure that we do copy to user only
when we were able to allocate memory for ETR.
Change-Id: I09b4bc37617811fd4acd86a7e4f5ef91630675df
Signed-off-by: Satyajit Desai <sadesai@codeaurora.org>
Subbaraman Narayanamurthy [Sat, 22 Oct 2016 00:30:46 +0000 (17:30 -0700)]
smb-lib: update displaying battery overvoltage in health property
Currently, smb2 charger is configured to not end the charging
cycle when battery overvoltage occurs. However, when the battery
overvoltage status is read, it will be displayed through health
property. Improve this by reading the battery voltage and check
whether it is within 40mV headroom above float voltage. If it is
above that threshold then continue with displaying overvoltage
status.
CRs-Fixed:
1079363
Change-Id: I45847f446c91c80a5110d80b59a0ae4b8e2c40e5
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Vijayavardhan Vennapusa [Fri, 21 Oct 2016 09:47:12 +0000 (15:17 +0530)]
USB: pd: Fix compilation issues for 32 bit support
Compilation errors are seen from qpnp-pdphy.c and policy_engine.c
drivers, when try to compile for 32 bit support. Hence fix those
errors for 32 bit support getting compiled successfully.
Change-Id: I0c496a73feb83c640f9a135f98ec393d1096b205
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
Linux Build Service Account [Sat, 22 Oct 2016 18:26:59 +0000 (11:26 -0700)]
Merge "icnss: Unregister the driver operations when probe fails"
Linux Build Service Account [Sat, 22 Oct 2016 18:26:58 +0000 (11:26 -0700)]
Merge "smb1351-charger: Fix possible Null pointer dereference"
Linux Build Service Account [Sat, 22 Oct 2016 18:26:57 +0000 (11:26 -0700)]
Merge "ARM: dts: msm: Update VDD_APC CPR RO scaling factors for msmcobalt v2"
Linux Build Service Account [Sat, 22 Oct 2016 18:26:57 +0000 (11:26 -0700)]
Merge "qpnp-fg-gen3: Backup the learned capacity during capacity learning"
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"
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"
Linux Build Service Account [Sat, 22 Oct 2016 18:26:54 +0000 (11:26 -0700)]
Merge "input: touchscreen: Add debugfs entries for GTP controller"
Linux Build Service Account [Sat, 22 Oct 2016 18:26:54 +0000 (11:26 -0700)]
Merge "msm: kgsl: Remove use of uninitialized variable"
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"
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"
Subbaraman Narayanamurthy [Fri, 21 Oct 2016 23:55:09 +0000 (16:55 -0700)]
qpnp-fg-gen3: fix the error in showing battery temperature
Battery temperature can take negative values. FG driver reads it
as an unsigned value and hence the negative reading is treated as
a huge integer value. Fix it.
CRs-Fixed:
1081146
Change-Id: I63e8863efb91af891dbcbfc070dfdcd833ea3ad4
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
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"
Linux Build Service Account [Sat, 22 Oct 2016 00:16:05 +0000 (17:16 -0700)]
Merge "msm: gsi: add command stats"
Linux Build Service Account [Sat, 22 Oct 2016 00:16:04 +0000 (17:16 -0700)]
Merge "defconfig: Enable generic cpu cooling device for msmcobalt"
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"
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"
Bhalchandra Gajare [Thu, 23 Jun 2016 04:06:48 +0000 (21:06 -0700)]
ASoC: wcd9335: Fix register sequence for CPE configuration
Currently during disabling the EC PP path (Echo cancellation Ping
Pong), the driver is also disabling other data routing controls in
the register. This is causing existing voice activation use-case
using CPE (Codec Processing Engine) to fail as there is no valid
data that is sent to the processing engine. Fix the register sequence
to avoid this issue.
CRs-fixed:
1034169
Change-Id: I2e2b50aeb770ca523cf70e2c0768e38ee56e39eb
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
Shiv Maliyappanahalli [Wed, 27 Jul 2016 20:59:36 +0000 (13:59 -0700)]
ASoC: msmcobalt: Add CPE ECPP DAI instance for ECPP path
Add support for CPE(Codec Processing Engine) second voice
wakeup session using ECPP(Echo cancellation Ping-Pong) hardware
path. This allows to enable two concurrent CPE sessions, one
on MAD(Mic Always-on Detection) and the other on ECPP.
Change-Id: I280057b17188757f586562f45f32ecf28595e045
Signed-off-by: Shiv Maliyappanahalli <smaliyap@codeaurora.org>
Shiv Maliyappanahalli [Wed, 27 Jul 2016 20:49:18 +0000 (13:49 -0700)]
ARM: msm: dts: add second CPE session for msmcobalt
Add additional platform dai for CPE (Codec Processing Engine)
to handle two CPE sessions simultaneously. Change adds another
instance of platform driver.
Change-Id: Id5eee88e87e1e5d68ce34f43b4c85c6b48886b82
Signed-off-by: Shiv Maliyappanahalli <smaliyap@codeaurora.org>
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>
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>
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>
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>
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>
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>
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"
Linux Build Service Account [Fri, 21 Oct 2016 01:37:46 +0000 (18:37 -0700)]
Merge "fg-util: fix a possible buffer overflow"
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"
Abhijeet Dharmapurikar [Tue, 13 Sep 2016 17:36:48 +0000 (10:36 -0700)]
smb1351-charger: Fix possible Null pointer dereference
The adc notification callback assumes that it will end up selecting
the correct state. However, if the parameters are outside the
expected values, the code could end up dereferencing a null pointer.
Fix this by returning before that pointer is dereferenced.
Change-Id: I42642b475a1032c3a7395336381f3bd6c1396dde
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Sameer Thalappil [Thu, 20 Oct 2016 23:28:17 +0000 (16:28 -0700)]
icnss: Unregister the driver operations when probe fails
When WLAN driver initialization fails unregister the driver operations.
CRs-Fixed:
1077763
Change-Id: I7c7c3f98f9685711268e221fc83f2c831b02a294
Signed-off-by: Sameer Thalappil <sameert@codeaurora.org>
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>
Osvaldo Banuelos [Sun, 16 Oct 2016 17:57:51 +0000 (10:57 -0700)]
ARM: dts: msm: Update VDD_APC CPR RO scaling factors for msmcobalt v2
Update the VDD_APC0 and VDD_APC1 CPR RO scaling factors
for msmcobalt v2 to match the latest hardware characterization
guidelines.
CRs-Fixed:
1080409
Change-Id: I8250304e918f55d233e9b3f01c57f297f73e74ba
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
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"
Linux Build Service Account [Thu, 20 Oct 2016 19:04:30 +0000 (12:04 -0700)]
Merge "msm: kgsl: Add sysfs control for pwrscale"
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"
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"
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>
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>
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>
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>
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>
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"
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"
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"
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"
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"
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"
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>
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>
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
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>
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>
Linux Build Service Account [Thu, 20 Oct 2016 02:11:52 +0000 (19:11 -0700)]
Merge "power_supply: Add PE_START property"
Linux Build Service Account [Thu, 20 Oct 2016 02:11:52 +0000 (19:11 -0700)]
Merge "qpnp-smb2: Fix LIMITED reporting"
Linux Build Service Account [Thu, 20 Oct 2016 02:11:51 +0000 (19:11 -0700)]
Merge "qcom-charger: smblib: change secure address threshold"
Linux Build Service Account [Thu, 20 Oct 2016 02:11:50 +0000 (19:11 -0700)]
Merge "msm: gsi: add 1ms delay before reset"
Linux Build Service Account [Thu, 20 Oct 2016 02:11:50 +0000 (19:11 -0700)]
Merge "ARM: dts: msm: Add sdhc1 support for msmfalcon"
Linux Build Service Account [Thu, 20 Oct 2016 02:11:49 +0000 (19:11 -0700)]
Merge "sched/hmp: Fix range checking for target load"
Linux Build Service Account [Thu, 20 Oct 2016 02:11:48 +0000 (19:11 -0700)]
Merge "sound: usb: Increase maximum transfer buffer limit"
Linux Build Service Account [Thu, 20 Oct 2016 02:11:47 +0000 (19:11 -0700)]
Merge "clk: msm: clock-osm: Update droop timers"
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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"