Commit graph

576674 commits

Author SHA1 Message Date
Nicholas Troast
9f95ba0718 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>
2016-10-19 16:26:56 -07:00
Nicholas Troast
7aefaf5932 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>
2016-10-19 16:26:52 -07:00
Joonwoo Park
a54b6930c6 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>
2016-10-19 13:21:29 -07:00
Skylar Chang
22ec2af43c 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>
2016-10-19 13:02:26 -07:00
Linux Build Service Account
fb1e57936b Merge "media: dvb-core: dvb dmxdev filter callback function changes" 2016-10-19 11:18:18 -07:00
Linux Build Service Account
363b844776 Merge "usb: gadget: f_qc_rndis: Change function name from qcrndis to bam" 2016-10-19 11:18:17 -07:00
Linux Build Service Account
4bd30ab663 Merge "qpnp-smb2: handle DC insertion" 2016-10-19 11:18:16 -07:00
Linux Build Service Account
935f271872 Merge "ASoC: wcd-spi: Add memory read debug support" 2016-10-19 11:18:15 -07:00
Linux Build Service Account
8f2de5c26a Merge "icnss: Switch to CXO before XO disable" 2016-10-19 11:18:14 -07:00
Linux Build Service Account
d5f54abbc5 Merge "icnss: Fix return value for register_driver" 2016-10-19 11:18:13 -07:00
Linux Build Service Account
ab30f41717 Merge "ARM: dts: msm: Add support for CDSP PIL on msmfalcon" 2016-10-19 11:18:13 -07:00
Linux Build Service Account
e4ebd9ed85 Merge "ASoC: wcd-spi: fix the maximum transfer unit setting" 2016-10-19 11:18:12 -07:00
Linux Build Service Account
7a2641a7ce Merge "serial: msm_serial_hs: Move HS UART pins to known state at probe" 2016-10-19 11:18:11 -07:00
Linux Build Service Account
58e7c22e80 Merge "ARM: dts: msm: Move 720p120fps encode to SVS on msmcobalt" 2016-10-19 11:18:11 -07:00
Linux Build Service Account
94191debba Merge "ASoC: wcd9335: Fix race during codec master clock (mclk) enablement" 2016-10-19 11:18:10 -07:00
Linux Build Service Account
2639be09b2 Merge "smb-lib: qpnp-smb2: cleanup parallel charging code" 2016-10-19 11:18:09 -07:00
Linux Build Service Account
ab814b99a0 Merge "input: misc: pat9125: add regulator framework support" 2016-10-19 11:18:09 -07:00
Linux Build Service Account
707cff6b1d Merge "sched: Add multiple load reporting policies for cpu frequency" 2016-10-19 11:18:06 -07:00
Linux Build Service Account
268d4e5d68 Merge "sched: Optimize the next top task search logic upon task migration" 2016-10-19 11:18:06 -07:00
Linux Build Service Account
7f33bef948 Merge "driver: bcl_peripheral: Input correct dmac flush range argument" 2016-10-19 11:18:04 -07:00
Linux Build Service Account
07b2776c8c Merge "msm: ipa: fix reference count in rm" 2016-10-19 11:18:03 -07:00
Linux Build Service Account
407e17bb11 Merge "ARM: dts: msm: add the cma region for venus on msmtriton" 2016-10-19 11:18:02 -07:00
Linux Build Service Account
9a8752a90c Merge "ARM: dts: msm: Enable RPM clock support for MSMfalcon/Triton" 2016-10-19 11:18:01 -07:00
Linux Build Service Account
3946607e62 Merge "msm: ipa3: Do not wait for IPA DMA_TASK H/W ACK for GSI" 2016-10-19 11:18:01 -07:00
Linux Build Service Account
89ea7ae726 Merge "defconfig: msmcortex: Enable early random driver" 2016-10-19 11:17:59 -07:00
Linux Build Service Account
eddeaeab94 Merge "init: Move stack canary initialization after setup_arch" 2016-10-19 11:17:58 -07:00
Linux Build Service Account
778c13d30c Merge "qcom: Update early random APIs to scmv8" 2016-10-19 11:17:58 -07:00
Linux Build Service Account
d12a43a23d Merge "soc: qcom: Add better support for early random numbers" 2016-10-19 11:17:57 -07:00
Linux Build Service Account
a050842b8f Merge "msm: implement ARCH_RANDOM" 2016-10-19 11:17:57 -07:00
Linux Build Service Account
fa8c09029f Merge "Revert "soc: qcom: Listen to SUBSYS_AFTER_SHUTDOWN notification"" 2016-10-19 11:17:56 -07:00
Linux Build Service Account
4f19b2964a Merge "msm: camera: isp: Configure stats framedrop period correctly" 2016-10-19 11:17:55 -07:00
Vidyakumar Athota
e1bdef003e 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>
2016-10-19 11:15:37 -07:00
Olav Haugan
04daea81fc 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>
2016-10-19 10:35:52 -07:00
Jonathan Wicks
16a93fae72 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>
2016-10-19 09:43:53 -06:00
Chandana Kishori Chiluveru
58b8ab6647 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>
2016-10-19 15:42:55 +05:30
Sayali Lokhande
b33d825651 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>
2016-10-19 12:33:20 +05:30
Udaya Mallavarapu
752a69d018 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>
2016-10-19 12:16:55 +05:30
Gaurav Kohli
a43b1816d7 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>
2016-10-19 10:00:47 +05:30
Subbaraman Narayanamurthy
0ba4dcb7dd qpnp-fg-gen3: Backup the learned capacity during capacity learning
When the capacity learning algorithm completes, we store the
learned capacity to BattCapActual word in FG SRAM. Though this
is correct and needed for coulomb counter to operate, value is
not retained across reboot. Backup the learned capacity to a
scratchpad SRAM word (address 74) to overcome this.

Change-Id: I39c257876776a9e9c872add1366569394c49ef01
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2016-10-18 20:23:23 -07:00
Olav Haugan
76ac2a2803 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>
2016-10-18 18:10:52 -07:00
Bhalchandra Gajare
0565b726e6 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>
2016-10-18 16:12:28 -07:00
Bhalchandra Gajare
4f284f6dbb 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>
2016-10-18 16:03:13 -07:00
Abhijeet Dharmapurikar
eb9868d449 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>
2016-10-19 06:58:47 +08:00
Ajay Singh Parmar
23022ae093 msm: mdss: edid: fix dtd parsing
Fix validation logic for DTD (Detailed Timing Descriptors) before
parsing to avoid skipping reading resolution details.

Change-Id: I9c7afdd74122318fc5f7ebd7c0381a4078d1fb01
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2016-10-18 14:49:21 -07:00
Bhalchandra Gajare
0aab42e7e8 ASoC: wcd-spi: fix the maximum transfer unit setting
Current maximum transfer unit in the driver is set to 16K bytes,
whereas the maximum possible is upto 64K bytes. Update the driver
to use the maximum possible transfer unit and split the read and
write requests into chunks of this maximum possible transfer length.

CRs-Fixed: 1070087
Change-Id: I271cf0ad12652421ab3ae8770714ccb78c043efa
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2016-10-18 14:49:07 -07:00
Olav Haugan
651e7eb964 core_ctl: Add refcounting to boost api
More than one client may call the core_ctl_set_boost api. Add support
for this.
Also add a new trace event that is emitted when this api is called.

Change-Id: Iad0a9fc45f1ce87433995e8e549bfca80e8b9cb2
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2016-10-18 14:48:14 -07:00
Girish Mahadevan
2ea1cecd04 serial: msm_serial_hs: Move HS UART pins to known state at probe
During probe the driver does a devm_pinctrl_get() on the GPIOs assigned
to it. This call doesn't move the state of pins (bias/drv strength) to a
known state, rather only sets the function mux for those pins. As a result
the pins are in an unknown/floating state till a usecase for the port
begins.
Instead move the pins to the "sleep" state during probe to put them into a
known state.

Change-Id: Ifc6102d367fb0ca9fffbd50a6077dccd779e9a6c
Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
2016-10-18 11:48:27 -07:00
Skylar Chang
fc5f718836 msm: ipa: fix reference count in rm
IPA RM keeps reference count for consumer resources.
In some cases where the client driver returns failure
on request_resource callback, the reference count may get
out of sync.

Change-Id: I6be84411e0bfe4f90570ab62c2d0a0c8539b8f34
CRs-Fixed: 1070261
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2016-10-18 10:37:58 -07:00
Prashanth Bhatta
cf9c784ceb icnss: Fix return value for register_driver
With change commit 0da8e4a21c ("icnss: Wait uninterruptible for
unregister driver"), return value changed from -ERESTARTSYS to -EINTR to
provide right return value to user space but as part of the change,
missed to update register driver case. Returning error even when driver
register is failed causes the module loader to remove the module because
of failure even though register driver as such is success.

CRs-fixed: 1078316
Change-Id: Ib3d13360def3ab47f121c66057c96977f5264043
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
2016-10-18 10:37:26 -07:00
Ram Chandrasekar
57f00199bc driver: bcl_peripheral: Input correct dmac flush range argument
Correct the input argument to pass in the valid end address for the dmac
flush range function.

Change-Id: If6db015558a6a9e3db53ba7f1455808e779da908
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2016-10-18 09:52:25 -06:00