Commit graph

574324 commits

Author SHA1 Message Date
Preetam Singh Ranawat
9b4552329f ASoC: msm: Add support for playback over slimbus2 rx port
This change is to enable native DSD playback and enable native playback
of clips with sampling rate multiple of 44.1KHz.

Add slimbus_2_rx backend dai-link for native DSD (Direct Stream Digital)
audio and 44.1KHz multiples playback.

CRs-Fixed: 1056422
Change-Id: Ib038cf81f29e00c08def789f8f186ca4615d45fc
Signed-off-by: Preetam Singh Ranawat <apranawat@codeaurora.org>
2016-08-20 14:43:28 -07:00
Preetam Singh Ranawat
fc9f30ee3d ASoC: msm: Add support for native DSD playabck
Add DSD playback support in compress offload
passthrough mode. Add DAPM widget in routing driver
for DSD playback over SLIM_2_RX backend.

CRs-Fixed: 1056422
Change-Id: I398db5f6deded10a515f05277b6316a93f9e14ab
Signed-off-by: Preetam Singh Ranawat <apranawat@codeaurora.org>
2016-08-20 14:42:05 -07:00
Preetam Singh Ranawat
83728d2575 ALSA: compress: Add DSD format support for ALSA
WCD934X audio codec supports playback of DSD (Direct
Stream Digital) format. Extend ALSA (Advanced Linux
Sound Architecture) compress to support DSD format.

CRs-Fixed: 1056422
Change-Id: Ifb06674c251335a1d8cec71931355dca4c0e012d
Signed-off-by: Preetam Singh Ranawat <apranawat@codeaurora.org>
2016-08-19 18:00:13 -07:00
Linux Build Service Account
c605e110ab Merge "usb: gadget: composite: Return bcdUSB 0x0310 for Superspeed and higher" 2016-08-19 17:51:31 -07:00
Linux Build Service Account
60c7243d9d Merge "clk: msm: clock: Control the GPLL0 input sources to MMSSCC and GPUCC" 2016-08-19 17:51:30 -07:00
Linux Build Service Account
d25158dc19 Merge "ARM: dts: msm: Update venus clock frequencies on msmcobalt v2" 2016-08-19 17:51:17 -07:00
Linux Build Service Account
1a004523b9 Merge "iommu: msm: ensure lazy mappings are unmapped on detach" 2016-08-19 17:51:16 -07:00
Linux Build Service Account
4bf1a46f90 Merge "ARM: dts: msm: Add support for msmcobalt v2.1" 2016-08-19 17:51:15 -07:00
Linux Build Service Account
ccd6d40230 Merge "soc: qcom: smp2p: Fix kernel address leak" 2016-08-19 17:51:14 -07:00
Linux Build Service Account
2f9bd7c38d Merge "msm: sde: add rotator pixel format to v4l2 enum ioctl" 2016-08-19 17:51:10 -07:00
Linux Build Service Account
fffab8aac5 Merge "msm: mdss: dp: add connected sysfs node" 2016-08-19 17:51:08 -07:00
Prashanth Bhatta
8c85c4ddb4 icnss: Add support for recovery
Add support for WLAN recovery in cases of WLAN Protection Domain
(PD) down and Modem Sub System Restart (SSR).

CRs-fixed: 1056412
Change-Id: Ie3b012b524ef24c48937c0bb388cac656c3ebcf8
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
2016-08-19 17:46:55 -07:00
Satyajit Desai
c34bf4be22 coresight: abort coresight tracing on kernel crash
Add trace events to control aborting CoreSight trace
dynamically based on module parameter.
Coresight driver will dump any trace present in the current sink
in case we hit a kernel panic, user fault or an undefined instruction.

Change-Id: Iee1ccf5cbd7b767753a3115c0570e63fbe2aa8f3
Signed-off-by: Satyajit Desai <sadesai@codeaurora.org>
2016-08-19 14:56:53 -07:00
Puja Gupta
7a2cb0ab1d soc: qcom: Clear PBL interrupt in case of error
Clear SP-PBL interrupt in case of error in PBL to avoid having storm
of interrupts.

CRs-Fixed: 1057085
Change-Id: I96bfd93ea5016a9c48f97262dbb0b5b63e07233d
Signed-off-by: Puja Gupta <pujag@codeaurora.org>
2016-08-19 14:54:32 -07:00
Aravind Venkateswaran
a036c03482 msm: mdss: dsi: fix the check for PLL off when turning off PHY
Current implementation checks for the DSI PLL to be off prior to
shutting down the DSI PHY, and reports a warning if the PLL is
still detected to be on. However, this check is incorrectly
implemented resulting a false warning being printed every time
the display is turned off. Fix this by reading the right set of
registers to check for the PLL status.

Change-Id: I1e9f9956af6d35b33ae24d69ff3c5d3aa695a26b
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
2016-08-19 13:14:03 -07:00
Prashanth Bhatta
60ce7a7d8d icnss: Add hardware reset logic
Add hardware reset logic which is going to be executed before
bringing down hardware.

CRs-fixed: 1027110
Change-Id: Ied1229da9e9f72c25343533b933fdcfcb7f80975
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
2016-08-19 11:25:29 -07:00
Prashanth Bhatta
4fcefc6691 ARM: dts: msm: Add required resources for reset
Add required regulator and clocks required for executing WLAN
hardware reset sequence.

CRs-fixed: 1027110
Change-Id: I90859881a74e567a7bc2f46d68e47bc8a231bd25
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
2016-08-19 11:22:27 -07:00
Prashanth Bhatta
095cd1e26a icnss: Add support for multiple vreg and clocks
Current implementation doesn't take care of multiple regulator
and clock voting. Add changes to take care of multiple regulator
configuration as well as clock configuration through device tree.

CRs-fixed: 1054503
Change-Id: I049821c960e4b53901cc2a07290d6ccedb8b971b
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
2016-08-19 11:21:48 -07:00
Sathish Ambley
cac6ba2e77 msm: ADSPRPC: Update channel state during subsystem restart
Update channel link state when subsystem restart notification comes
in to ensure that the channel gets reopened properly when the subsystem
comes up.

Change-Id: I0d0762bc29982e1c15171c9597d86894caa34eb9
Acked-by: Viswanatham Paduchuri <vpaduchu@qti.qualcomm.com>
Signed-off-by: Sathish Ambley <sathishambley@codeaurora.org>
2016-08-19 09:28:51 -07:00
Linux Build Service Account
0c8cf716fa Merge "msm: vidc: Change module license to GPL v2" 2016-08-19 05:29:39 -07:00
Linux Build Service Account
82e060812f Merge "ASoC: wcd-mbhc: add kcontrol to get hph type for wcd934x" 2016-08-19 05:29:34 -07:00
Linux Build Service Account
ac4a799f31 Merge "ASoC: wcd-mbhc: add wcd934x mbhc driver" 2016-08-19 05:29:33 -07:00
Linux Build Service Account
c190f5787a Merge "ASoC: wcd934x: Add support for codec calibration data" 2016-08-19 05:29:33 -07:00
Linux Build Service Account
16896c47a3 Merge "clk: msm: clock: Return error to clients if branch clock enable times out" 2016-08-19 05:29:29 -07:00
Linux Build Service Account
2192939fe7 Merge "ARM: dts: msm: update panel timings for supported panels on msmcobalt" 2016-08-19 05:29:28 -07:00
Linux Build Service Account
f0da3aae3b Merge "scsi: ufs-qcom: disable hibern8 during clk gating" 2016-08-19 05:29:27 -07:00
Linux Build Service Account
c806677972 Merge "qcom-charger: qpnp-fg-gen3: increase ESR timer during suspend" 2016-08-19 05:29:25 -07:00
Linux Build Service Account
a76f4330d8 Merge "defconfig: msmcortex: enable service-locator on msmcobalt" 2016-08-19 05:29:24 -07:00
Linux Build Service Account
0ac7087247 Merge "usb: phy: qusb: reset size to zero before getting next property size" 2016-08-19 05:29:23 -07:00
Linux Build Service Account
530f2999e8 Merge "ARM: dts: msm: add VDD_GFX CPR configurations for msmcobalt v2" 2016-08-19 05:29:21 -07:00
Linux Build Service Account
af31dfedfe Merge "soc: qcom: spm: Poll for the PMIC_STATE after updating the VCTL register" 2016-08-19 05:29:20 -07:00
Linux Build Service Account
521c0c89d9 Merge "slim: ngd: Handle Process Domain restart" 2016-08-19 05:29:18 -07:00
Linux Build Service Account
d9868b6515 Merge "clk: qcom: Add support for gate clocks" 2016-08-19 05:29:01 -07:00
Linux Build Service Account
391337e863 Merge "ARM: dts: msm: Increase VMEM vote for some resolutions" 2016-08-18 23:20:39 -07:00
Linux Build Service Account
2eb00066b1 Merge "msm: vidc: use %pK instead of %p which respects kptr_restrict sysctl" 2016-08-18 23:20:38 -07:00
Linux Build Service Account
0eaa6d2a8b Merge "msm: vidc: Propagate time stamp information even filled length is zero" 2016-08-18 23:20:37 -07:00
Linux Build Service Account
55b1c1cae2 Merge "input: touchscreen: add option to ignore Focaltech family-id check" 2016-08-18 23:20:36 -07:00
Linux Build Service Account
0668f977d0 Merge "Merge remote-tracking branch 'msm-4.4/tmp-510d0a3f' into msm-4.4" 2016-08-18 23:20:31 -07:00
Bingzhe Cai
0530539198 input: touchscreen: ft5x06: remove unbalanced touch event
Touchscreen driver may generate unbalanced input events when
enter suspend state, these unbalanced event will make input
system always wait for symmetrical input event and can not
handle input event properly. PRESSURE event is removed to
keep input events symmetrical.

This patch is propagated from msm-3.18 kernel
'commit 15725c248511 ("input: touchscreen: ft5x06: remove
unbalanced touch event")'

CRs-Fixed: 566134
Change-Id: I3f6fda3fb5d0a717ae943a9113be89623c96ce61
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
2016-08-19 10:54:00 +05:30
Walter Yang
fd30be8fdb ASoC: wcd-mbhc: add kcontrol to get hph type for wcd934x
Add kcontrol in wcd934x mbhc driver so that userspace can get the
hph type.

Change-Id: I9ff0a8a5c968c9b8a085fbe79ab9a690206df564
Signed-off-by: Walter Yang <yandongy@codeaurora.org>
2016-08-18 19:59:20 -07:00
Walter Yang
30a5b12e27 ASoC: wcd-mbhc: move the moisture config to mbhc driver
Move the moisture config from machine driver to mbhc driver.
As generally moisture config doesn't vary with sound card.

Change-Id: I6c4bb19d3155567b9bc4f3a653e2ac8214d04146
Signed-off-by: Walter Yang <yandongy@codeaurora.org>
2016-08-18 19:59:13 -07:00
Walter Yang
031202970b ASoC: msm: add mbhc support for wcd934x
Add wcd934x mbhc support in machine driver, so that headset
accessories can be detected properly.

Change-Id: I0a1ec6570848b8164cf46f8365b18d4c488f78f6
Signed-off-by: Walter Yang <yandongy@codeaurora.org>
2016-08-18 19:59:04 -07:00
Yeleswarapu Nagaradhesh
5962d6e409 ASoC: wcd-mbhc: add wcd934x mbhc driver
Add changes to support mbhc for wcd934x audio codec.
Separate codec mbhc driver from codec driver so that we can
reuse the code if mbhc module does not change in the future.

CRs-Fixed: 1054690
Change-Id: If5a6c073fcf64a44b2aabca6411fb1f02223b77d
Signed-off-by: Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
2016-08-19 10:54:25 +08:00
Bhalchandra Gajare
5a17280a36 ASoC: wcd934x: Add support for codec calibration data
WCD934X audio codec needs calibration data for features such as
MBHC, ANC and MAD. Add support in the codec driver to create
the hardware dependent node for calibration.

CRs-Fixed: 1054690
Change-Id: I1fb33332616193b2bbfe561b8822cddd905b35f8
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2016-08-18 19:03:09 -07:00
Chinmay Sawarkar
f5df752694 msm: vidc: Change module license to GPL v2
Since kernel modules are licensed as "GPL v2", msm_vidc module
must use the same license.

CRs-Fixed: 1056624
Change-Id: Id868a852dcb2cfa67805599b88fe3b8d7a345795
Signed-off-by: Chinmay Sawarkar <chinmays@codeaurora.org>
2016-08-18 18:55:38 -07:00
Deepak Katragadda
e5f6ac67ee clk: msm: clock: Return error to clients if branch clock enable times out
Currently, when enabling a branch clock times out, the clock
driver prints out a warning but does not return an error to
the caller of the function. This leads to clients assuming
that the clock turned on correctly and them taking next steps
with that erroneous assumption. This sometimes leads to fatal
failures whose cause might not be obvious.
Return an error code to let clients do the necessary cleanup
at their end in the instance that turning on a branch clock
fails.

CRs-Fixed: 1055889
Change-Id: Ibe8221ce0faa1d59405187a71c4527d5d8387790
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
2016-08-18 17:09:28 -07:00
Aravind Venkateswaran
0bd93ed0ee ARM: dts: msm: update panel timings for supported panels on msmcobalt
Update the DSI PHY timings for all supported panels on msmcobalt
with the recommended values.

CRs-Fixed: 1033911
Change-Id: I9b9c13a6e2798296db372e5e5f392bfd2fce3f28
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
2016-08-18 16:35:05 -07:00
Aravind Venkateswaran
c72b0317fd ARM: dts: msm: update DSI phy strength settings for msmcobalt
Update the low-power strength control settings for all the DSI data
and clock lanes as per the recommended values.

CRs-Fixed: 1033911
Change-Id: I5b9a26bac000fd255daca0e55396d16e30ffd3f7
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
2016-08-18 15:36:51 -07:00
Aravind Venkateswaran
1df0ae65ac msm: mdss: dsi: update DSI phy v3 initialization sequence
Update the DSI phy v3 initialization sequence as per the
recommended values. The key changes include deferring the
enabling of the global bit clock until after the PLL is
locked, along with updates to the lane strength settings.

CRs-Fixed: 1033911
Change-Id: I1993f5cedb629f44a5b07d429a77f17218f2d6e7
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
2016-08-18 15:36:40 -07:00
Aravind Venkateswaran
bd1ead72ec clk: msm: mdss: update DSI PLL programming for msmcobalt
Update the DSI PLL programming for msmcobalt to reflect the
recommended values. The key update is to ensure that the global
bit clock is turned on only after the PLL is locked.

CRs-Fixed: 1033911
Change-Id: I1e4046dd4a7dbb66ad2502e210e58130f08a2b51
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
2016-08-18 15:02:36 -07:00