Commit graph

576160 commits

Author SHA1 Message Date
Linux Build Service Account
3e806839fc Merge "ASoC: wcd-spi: Move one time initializations to component bind" 2016-10-12 07:02:00 -07:00
Linux Build Service Account
8f873ba767 Merge "input: misc: add Kconfig and Makefile for pat9125" 2016-10-12 07:01:59 -07:00
Linux Build Service Account
d3961332c7 Merge "diag: Add MSG SSID for DPM" 2016-10-12 07:01:59 -07:00
Linux Build Service Account
f024a86a4d Merge "qpnp-smb2: smb-lib: update reading charge_done property" 2016-10-12 07:01:58 -07:00
Linux Build Service Account
910340555a Merge "rpm-smd: Fix memory leak when rpm create request fails" 2016-10-12 07:01:57 -07:00
Vevek Venkatesan
3ef7b5c53e input: pat9125: add support of sending rotating switch events
Add support of reading the status of the device, parsing it and
sending it to the Input framework using the input APIs.

Change-Id: Iebc3767e9dbcf10a541b8b02f8696da84312447a
Signed-off-by: Vevek Venkatesan <vevekv@codeaurora.org>
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
2016-10-12 14:22:55 +05:30
Vevek Venkatesan
f3f610836f input: misc: add Kconfig and Makefile for pat9125
Add Makefile and Kconfig to build Pixart PAT9125
rotating switch driver.

Change-Id: I5e7bc2ed8dce0b1dde4931e653db4233e90ed1cd
Signed-off-by: Vevek Venkatesan <vevekv@codeaurora.org>
2016-10-11 22:42:19 -07:00
Linux Build Service Account
52912bb76b Merge "msm: vidc: Don't print message queues in error cases" 2016-10-11 22:33:04 -07:00
Linux Build Service Account
f5724ba17b Merge "msm: vidc: Fix the condition to check dcvs support" 2016-10-11 22:33:03 -07:00
Linux Build Service Account
7cbea6b0cc Merge "msm: ipa: Add guard around nat entries read" 2016-10-11 22:33:00 -07:00
Linux Build Service Account
e2df155ade Merge "clk: msm: clock-osm: enable WDOG status registers for msmcobalt v2" 2016-10-11 22:32:59 -07:00
Linux Build Service Account
380cc3a412 Merge "msm: wlan: Change Egypt regulatory rules" 2016-10-11 22:32:58 -07:00
Linux Build Service Account
cc7512a23d Merge "clk: msm: clock-osm: Set Nominal Fmax frequency for boot" 2016-10-11 22:32:57 -07:00
Linux Build Service Account
7bada69c57 Merge "ARM: dts: msm: Enable cache coherency for fastrpc devices on msmcobalt" 2016-10-11 22:32:48 -07:00
Linux Build Service Account
b3d0117122 Merge "msm: ADSPRPC: Support for dma-coherent devices" 2016-10-11 22:32:47 -07:00
Linux Build Service Account
9a1986fea9 Merge "msm: kgsl: restructure GPU power initialization" 2016-10-11 22:32:46 -07:00
Linux Build Service Account
219f2eb411 Merge "dwc3: gadget: Don't memset TRB ring with zero related to USB GSI endpoint" 2016-10-11 22:32:44 -07:00
Linux Build Service Account
545535ed01 Merge "smb-lib: smb138x-charger: add parallel current to parallel psy" 2016-10-11 22:32:42 -07:00
Linux Build Service Account
1086876c18 Merge "qpnp-smb2: add the PARALLEL_DISABLE property to usb psy" 2016-10-11 22:32:42 -07:00
Linux Build Service Account
4d332ce41d Merge "clk: msm: clock: Update the bimc clock mux index" 2016-10-11 22:32:41 -07:00
Linux Build Service Account
ee4234a80f Merge "diag: Update msg, log and event information" 2016-10-11 22:32:40 -07:00
Walter Yang
b71a087daa ASoC: msm: lock read/write when add/free audio ion memory
As read/write get access to ion memory region as well, it's
necessary to lock them when ion memory is about to be added/freed
to avoid racing cases.

CRs-Fixed: 1071809
Change-Id: I436ead23c93384961b38ca99b9312a40c50ad03a
Signed-off-by: Walter Yang <yandongy@codeaurora.org>
2016-10-12 12:58:13 +08:00
Sayali Lokhande
4d0e947477 mmc: host: Register changes for msmfalcon
For SDCC version 5.0.0, MCI registers are
removed from SDCC interface and some registers
are moved to HC. This change is to support MCI
register removal for msmfalcon.
New compatible string "qcom,sdhci-msm-v5" is
added for msmfalcon to support this change.

Change-Id: I9a972c5656762385f11214fe22398cc14a996d29
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
2016-10-12 08:58:23 +05:30
Ajay Singh Parmar
0410649f01 msm: mdss: displayport: fix alt mode sequence
Some sinks expect configure command before notifying hpd
as high in status or attention command. Do not wait for
hpd to go high to send configure command to sink. Once the
configure command has been sent to sink, sink may send attention
command back to source with hpd high. Configure source power on
if attention command is received with hpd high.

Change-Id: Ic5254da65f3720a8313881bc419ec912a0ed6997
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2016-10-11 18:51:59 -07:00
Chris Lew
c5a8ac971f diag: Add MSG SSID for DPM
Update diag header with new MSG SSID for DPM.

CRs-Fixed: 1076696
Change-Id: I681509b653c419159f6ca4172c5ff66a1cae1b79
Signed-off-by: Chris Lew <clew@codeaurora.org>
2016-10-11 18:04:11 -07:00
Bhalchandra Gajare
3d76fcf83c ASoC: wcd934x-dsp-cntl: Make sure memories can enter deep sleep
Current register settings for memory control allow only few memory
banks to enter deep sleep. This could cause some of the memory banks
to not enter deep sleep mode, resulting into higher power consumption.
Fix the register sequence to make sure the memories are allowed to
enter deep sleep mode.

Change-Id: I2ae0fe35e9a207b33f88077ca6ec49d593d43b68
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2016-10-11 17:30:19 -07:00
Bhalchandra Gajare
f5c0c7a00b ASoC: wcd-dsp-mgr: handle codec down and up events
It is possible that codec hardware can be reset in case of subsystem
restart scenarios. It is required to reset the codec DSP as well in
such cases to make sure the DSP is in usable state after the codec
hardware is reset. Change adds support to handle codec down and up
events and perform the necessary reset on codec DSP.

Change-Id: I79502c043f5e16947c895aab7cd584d72ad1a7dc
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2016-10-11 15:38:32 -07:00
Bhalchandra Gajare
d0b17cbf01 ASoC: wcd-dsp-mgr: rename wdsp_intr_handler to wdsp_signal_handler
The wdsp_intr_handler is not really processing interrupts in interrupt
context, rather assumes that the caller is not in interrupt context and
performs calls that may sleep. Rename the function in order to avoid
confusion. Interrupt handlers can still call this function as long as
they are in threaded interrupt context and are okay to sleep.

Change-Id: Ia2803d6ca021d505ed2e711e676cbd701b11c492
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2016-10-11 15:35:40 -07:00
Bhalchandra Gajare
93b43a172c ASoC: wcd-spi: Move one time initializations to component bind
One time initializations like regmap and debugfs init are currently
done in the init function. But, in case of subsystem restart, the
driver can get de-initialized and then initialized again. This causes
the debugfs and regmap entries to get removed and added again during
subsystem restart cases. Avoid this by moving all the one time
initialization of the driver to component bind.

Change-Id: Ideed297fde016b0623616be64875be094e688981
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2016-10-11 15:31:46 -07:00
David Keitel
626da03683 PM / devfreq: memlat: add device attribute to show core to device bw map
This adds the freq_map device attribute to the mem_latency governor in
order to display a given device's core frequency to device bandwidth.
The output should be printed in the formatted in the same way as the
example:

Core freq (MHz) Device BW
            300      1525
            480      3143
            900      4173
           1017      7759
           1296      9887
           1555     11863
           1804     13763

Change-Id: I6bef33a1239329f0687ee3983c2c02d84e984284
Signed-off-by: David Keitel <dkeitel@codeaurora.org>
2016-10-11 15:05:27 -07:00
Mahesh Sivasubramanian
76f19255c9 ARM: dts: msm: Enable System sleep stats for MSM8998
Add device nodes for RPM master stats, CPR rail stats, system stats and
Logs. The stats allow users to verify/monitor the entry/exit of System
statistics.

Change-Id: Ie326495e012b693b47b33a4818ec11485afd88e9
Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
2016-10-11 16:00:50 -06:00
Venkat Gopalakrishnan
2d64367038 scsi: ufs-qcom: avoid sleep in atomic context
Minimize the number of debug registers printed in atomic context
during error and also avoid sleeping in atomic context.

Change-Id: Ic5f3260c433e2d99d3a87a80dae0106dc622c4b7
Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
2016-10-11 14:13:08 -07:00
Osvaldo Banuelos
d345d14532 clk: msm: clock-osm: enable WDOG status registers for msmcobalt v2
Enable the watchdog status registers for msmcobalt v2. This
feature must be specifically enabled in the OSM controller
of msmcobalt v2.

CRs-Fixed: 1076523
Change-Id: I1eb5c61037004e200e8f261d6e39b73028f04ab4
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
2016-10-11 13:36:21 -07:00
Amar Singhal
ba5536a6aa msm: wlan: Change Egypt regulatory rules
Egypt does not allow 40 mhz for 2.4 GHZ channels. Change the rules
accordingly.

CRs-Fixed: 1076547
Change-Id: I8ef4a258e55e3dbbc3cd67472a5f2d3931d26c12
Signed-off-by: Amar Singhal <asinghal@codeaurora.org>
2016-10-11 13:30:24 -07:00
Linux Build Service Account
c30ea8b0c1 Merge "msm: mdss: edid: parse dtd and proper fps and pclk check" 2016-10-11 11:35:22 -07:00
Linux Build Service Account
ae7908ba22 Merge "msm: mdss: displayport: replace delayed work with work" 2016-10-11 11:35:20 -07:00
Linux Build Service Account
ebe54d193f Merge "msm: mdss: displayport: fix link training 2 for dp dongles" 2016-10-11 11:35:19 -07:00
Osvaldo Banuelos
1cae513409 clk: msm: clock-osm: Set Nominal Fmax frequency for boot
Request the Nominal Fmax as the boot frequency for
each cluster during probe. This is done to ensure reasonable
boot time.

CRs-Fixed: 994035
Change-Id: Ic2dac9bdc1cd9f9b8d236997eba2e63295d6b4c0
Signed-off-by: Osvaldo Banuelos <osvaldob@codeaurora.org>
2016-10-11 10:58:16 -07:00
Garmond Leung
322b48c2be ASoC: codecs: Add teardown() call in shutdown
Display driver has a timeout to avoid prematurely turning
off audio engine. Add teardown function call to ensure
that display driver can turn off audio engine once audio
driver acknowledges the shutdown, so display driver
doesn't have to wait for the entire timeout period.

CRs-Fixed: 1075659
Change-Id: Ib8211a85543b659b7b19a6ebb85382dbbbecfec6
Signed-off-by: Garmond Leung <garmondl@codeaurora.org>
2016-10-11 10:33:17 -07:00
Linux Build Service Account
c5cfd3c491 Merge "msm: ipa3: add check on qmi-client handler" 2016-10-11 01:17:09 -07:00
Linux Build Service Account
4e8d48bcbc Merge "ASoC: msm: fix lowlatency playback and FM concurrency issue" 2016-10-11 01:17:08 -07:00
Linux Build Service Account
cba56402ec Merge "qpnp-fg-gen3: add support to configure and handle delta battery temperature" 2016-10-11 01:17:06 -07:00
Linux Build Service Account
cc15ff225b Merge "ARM: dts: msm: Add lpg-lut-size property for pmicobalt" 2016-10-11 01:17:05 -07:00
Linux Build Service Account
0021bd0688 Merge "pwm: qpnp: Add support to read the LPG LUT size from device tree" 2016-10-11 01:17:04 -07:00
Linux Build Service Account
f9e72fc169 Merge "iommu: msm: add barrier call on coherent lazy map" 2016-10-11 01:16:57 -07:00
Linux Build Service Account
39de1de421 Merge "iommu/io-pgtable-arm: Make cacheable mappings outer-shareable" 2016-10-11 01:16:56 -07:00
Linux Build Service Account
ec859f16f6 Merge "iommu: Remove obsolete domain attribute" 2016-10-11 01:16:56 -07:00
Linux Build Service Account
772e0827b3 Merge "iommu/arm-smmu: Remove DOMAIN_ATTR_COHERENT_HTW_DISABLE" 2016-10-11 01:16:55 -07:00
Linux Build Service Account
95e0723486 Merge "icnss: Remove obsolete IOMMU domain attribute" 2016-10-11 01:16:55 -07:00
Linux Build Service Account
5b9a8f932e Merge "msm: ADSPRPC: Remove obsolete IOMMU domain attribute" 2016-10-11 01:16:54 -07:00