OSDN Git Service

sagit-ice-cold/kernel_xiaomi_msm8998.git
7 years agoARM: dts: msm: Add slimbus instance entries for msmfalcon
Dilip Kota [Fri, 21 Oct 2016 11:31:14 +0000 (17:01 +0530)]
ARM: dts: msm: Add slimbus instance entries for msmfalcon

Add Audio and QCA slimbus instance entries.
Entries are disabled by default. Need to enable
along with slave instances.

Change-Id: I372e9e38a567e0cf83a226f29510fdf570decd43
Signed-off-by: Dilip Kota <dkota@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 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 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>
7 years agoASoC: wcd-spi: fix the maximum transfer unit setting
Bhalchandra Gajare [Tue, 18 Oct 2016 21:35:00 +0000 (14:35 -0700)]
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>
7 years agoserial: msm_serial_hs: Move HS UART pins to known state at probe
Girish Mahadevan [Fri, 7 Oct 2016 18:32:58 +0000 (12:32 -0600)]
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>
7 years agomsm: ipa: fix reference count in rm
Skylar Chang [Thu, 13 Oct 2016 16:47:23 +0000 (09:47 -0700)]
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>
7 years agoicnss: Fix return value for register_driver
Prashanth Bhatta [Mon, 17 Oct 2016 22:36:30 +0000 (15:36 -0700)]
icnss: Fix return value for register_driver

With change commit 0da8e4a21cba ("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>
7 years agodriver: bcl_peripheral: Input correct dmac flush range argument
Ram Chandrasekar [Tue, 18 Oct 2016 15:52:25 +0000 (09:52 -0600)]
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>
7 years agodriver: msm_thermal: Input correct dmac flush range argument
Ram Chandrasekar [Tue, 18 Oct 2016 15:51:24 +0000 (09:51 -0600)]
driver: msm_thermal: 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: Ib0e9690fc158a76dcebbd5ae45f67aaeca016a48
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
7 years agodriver: msm_lmh_dcvs: Input correct dmac flush range argument
Ram Chandrasekar [Tue, 18 Oct 2016 15:50:59 +0000 (09:50 -0600)]
driver: msm_lmh_dcvs: 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: I2bc1eb26bcc7ed4aaa381417045d08b6779679ee
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
7 years agodriver: lmh_lite: Input correct dmac flush range argument
Ram Chandrasekar [Tue, 18 Oct 2016 15:43:56 +0000 (09:43 -0600)]
driver: lmh_lite: 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: Iefcf85eaa5ea5542888269b7506b8f6e0e861243
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
7 years agomsm: ipa3: Do not wait for IPA DMA_TASK H/W ACK for GSI
Ghanim Fodi [Sun, 16 Oct 2016 11:19:58 +0000 (14:19 +0300)]
msm: ipa3: Do not wait for IPA DMA_TASK H/W ACK for GSI

Stop GSI channel for IPA producer endpoint includes
sending IPA DMA_TASK immediate command to IPA.
If the IPA DL group is in HOLB state, the DMA_TASK
will not be processed and ACK on it will not be sent to
the driver. In this case, ACK is redundant as the DL
data will release the IPA TX and GSI STOP indication
will be sent to S/W.

CRs-fixed: 1078380
Change-Id: I115524d562b63a8ec76b327207919b6ac9327fe2
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
7 years agoMerge "msm: ipa3: Add specific logs to improve debugging capabilities"
Linux Build Service Account [Tue, 18 Oct 2016 10:25:05 +0000 (03:25 -0700)]
Merge "msm: ipa3: Add specific logs to improve debugging capabilities"

7 years agoMerge "soc: qcom: Acquire mutex before checking for service"
Linux Build Service Account [Tue, 18 Oct 2016 10:25:05 +0000 (03:25 -0700)]
Merge "soc: qcom: Acquire mutex before checking for service"

7 years agoMerge "clk: msm: clock-mmss-cobalt: Update the FMAXes for dp_pixel_clk_src"
Linux Build Service Account [Tue, 18 Oct 2016 10:25:04 +0000 (03:25 -0700)]
Merge "clk: msm: clock-mmss-cobalt: Update the FMAXes for dp_pixel_clk_src"

7 years agoMerge "sched/fair: Fix issue with trace flag not being set properly"
Linux Build Service Account [Tue, 18 Oct 2016 10:25:03 +0000 (03:25 -0700)]
Merge "sched/fair: Fix issue with trace flag not being set properly"

7 years agoMerge "ARM: dts: msm: Add support for Lpass PIL on msmtriton"
Linux Build Service Account [Tue, 18 Oct 2016 10:25:02 +0000 (03:25 -0700)]
Merge "ARM: dts: msm: Add support for Lpass PIL on msmtriton"

7 years agoMerge "usb: gadget: f_midi: Fix use after free bug"
Linux Build Service Account [Tue, 18 Oct 2016 10:25:00 +0000 (03:25 -0700)]
Merge "usb: gadget: f_midi: Fix use after free bug"

7 years agoMerge "msm: camera: isp: Set the clock rate before ahb vote"
Linux Build Service Account [Tue, 18 Oct 2016 10:24:53 +0000 (03:24 -0700)]
Merge "msm: camera: isp: Set the clock rate before ahb vote"

7 years agoMerge "smb138x-charger: supporting switching freq prop"
Linux Build Service Account [Tue, 18 Oct 2016 10:24:45 +0000 (03:24 -0700)]
Merge "smb138x-charger: supporting switching freq prop"

7 years agoMerge "power_supply: add property to reflect switcher frequency"
Linux Build Service Account [Tue, 18 Oct 2016 10:24:44 +0000 (03:24 -0700)]
Merge "power_supply: add property to reflect switcher frequency"

7 years agoMerge "smb-lib: provide insertion removal functions"
Linux Build Service Account [Tue, 18 Oct 2016 10:24:43 +0000 (03:24 -0700)]
Merge "smb-lib: provide insertion removal functions"

7 years agoMerge "arm64: mm: Log the process id in the rtb"
Linux Build Service Account [Tue, 18 Oct 2016 10:24:42 +0000 (03:24 -0700)]
Merge "arm64: mm: Log the process id in the rtb"

7 years agoARM: dts: msm: Enable RPM clock support for MSMfalcon/Triton
Taniya Das [Tue, 18 Oct 2016 06:04:48 +0000 (11:34 +0530)]
ARM: dts: msm: Enable RPM clock support for MSMfalcon/Triton

RPM clocks are required for allowing clock operations on the clocks
managed by RPM. Add support for the same.

Change-Id: I622533807c7e4653a7aa3c51bf4e4f0db1a7a5ff
Signed-off-by: Taniya Das <tdas@codeaurora.org>
7 years agoinput: misc: pat9125: add regulator framework support
Vevek Venkatesan [Fri, 30 Sep 2016 16:48:46 +0000 (22:18 +0530)]
input: misc: pat9125: add regulator framework support

Add regulator framework support for Pixart pat9125 driver.

Change-Id: Ia4893c31eefcb5ac23440c67669af936620b31c1
Signed-off-by: Vevek Venkatesan <vevekv@codeaurora.org>
7 years agomsm: ipa3: Add specific logs to improve debugging capabilities
Ghanim Fodi [Sun, 2 Oct 2016 09:12:38 +0000 (12:12 +0300)]
msm: ipa3: Add specific logs to improve debugging capabilities

Add some debug logs to specific places at IPA driver
to improve debugging capabilities.

Change-Id: Ibc53bd27a58c90d309a38937d6de6eef62ddc99a
CRs-Fixed: 1073482
Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
7 years agoMerge "msm: mdss: fix typo in the error message for multirect validation"
Linux Build Service Account [Tue, 18 Oct 2016 04:00:48 +0000 (21:00 -0700)]
Merge "msm: mdss: fix typo in the error message for multirect validation"

7 years agoMerge "msm: camera: cpp: Add validation for v4l2 ioctl arguments"
Linux Build Service Account [Tue, 18 Oct 2016 04:00:46 +0000 (21:00 -0700)]
Merge "msm: camera: cpp: Add validation for v4l2 ioctl arguments"

7 years agoMerge "clk: msm: clock-mmss-cobalt: Update the CPP clock frequency table"
Linux Build Service Account [Tue, 18 Oct 2016 04:00:45 +0000 (21:00 -0700)]
Merge "clk: msm: clock-mmss-cobalt: Update the CPP clock frequency table"