Commit graph

593132 commits

Author SHA1 Message Date
Linux Build Service Account
4c73d9ccde Merge changes I914c68a9,I2003e40c into msm-4.4
* changes:
  ASoC: msm: qdsp6v2: latency mode support for transcode loopback
  ASoC: msm: volume control support for DSP transcode loopback
2017-08-20 01:17:41 -07:00
Linux Build Service Account
a5a9ec7754 Merge "power_supply: add properties for SDP current and PD voltage" into msm-4.4 2017-08-20 01:17:38 -07:00
Linux Build Service Account
a254db548d Merge "drm/msm: Free all allocated resources in case hardware init fails" into msm-4.4 2017-08-20 01:17:33 -07:00
Linux Build Service Account
d7d541d471 Merge changes I144bd8ad,Ic73cbec2 into msm-4.4
* changes:
  ASoC: msm: Quat MI2S capture dai update for 88.2 and 176.4 Khz rates
  ASoC: msm8998: Add 88.2 and 176.4 khz support for MI2S Interface
2017-08-20 01:17:30 -07:00
Linux Build Service Account
360f0c55cc Merge "usb: pd: rename enum pd_msg_type to pd_sop_type" into msm-4.4 2017-08-20 01:17:26 -07:00
Linux Build Service Account
ae637d061f Merge "deconfig: arm64: Enable laser sensor on sdm660" into msm-4.4 2017-08-20 01:17:24 -07:00
Linux Build Service Account
e060b0eda6 Merge "ASoC: msm: qdsp6v2: Increase max supported ASM sessions" into msm-4.4 2017-08-20 01:17:21 -07:00
Linux Build Service Account
cd6ebe2c6b Merge changes I63f4b61e,Ie1e65719 into msm-4.4
* changes:
  cnss2: Fix bugs for driver debugfs nodes
  cnss2: Enhance debugfs support for device boot
2017-08-20 01:17:18 -07:00
Linux Build Service Account
fd17ef2bca Merge "msm: kgsl: Add disable-wake-on-touch devicetree property" into msm-4.4 2017-08-20 01:17:16 -07:00
Linux Build Service Account
0f9dd1be13 Merge "ASoC: msm: Fix pan control param gain to accommodate Q28 format" into msm-4.4 2017-08-20 01:17:14 -07:00
Linux Build Service Account
226d13c582 Merge "power: pmic-voter: use force_val in rerun election" into msm-4.4 2017-08-20 01:17:10 -07:00
Linux Build Service Account
91e4f87419 Merge "msm: gsi: check channel state on timeout" into msm-4.4 2017-08-20 01:17:09 -07:00
Linux Build Service Account
7d8619d8fc Merge "msm: pcie: add global lock for PCIe enumeration" into msm-4.4 2017-08-20 01:17:04 -07:00
Linux Build Service Account
1c2f58fb73 Merge "msm: usb_bam: Fix failure of remove by of_platform_depopulate" into msm-4.4 2017-08-20 01:17:02 -07:00
Linux Build Service Account
a5d91019ca Merge "arm64: io.h: fix write{w,q}_relaxed_no_log() macro" into msm-4.4 2017-08-20 01:17:01 -07:00
Linux Build Service Account
9e86ebb8e2 Merge "ASoC: msm: enable app type config for transcode loopback" into msm-4.4 2017-08-20 01:16:59 -07:00
Linux Build Service Account
2f2dc26cb6 Merge "msm: ais: Avoid deadlock for vb2 operations using separate lock" into msm-4.4 2017-08-20 01:16:54 -07:00
Linux Build Service Account
b2e1a05cd3 Merge "ARM: dts: msm: Enable laser for sdm660 CDP/MTP" into msm-4.4 2017-08-20 01:16:52 -07:00
Linux Build Service Account
c72d0c4cec Merge "qpnp-smb2: use real_type to convey WIPOWER type" into msm-4.4 2017-08-20 01:16:50 -07:00
Linux Build Service Account
f252da1f0b Merge "rh850: fix mtu to CANFD size" into msm-4.4 2017-08-20 01:16:48 -07:00
Linux Build Service Account
f0e22ca5e0 Merge "ath10k: Remove dedicated p2p_device interface capability for wcn3990" 2017-08-18 21:02:12 -07:00
Linux Build Service Account
9255d9d73a Merge "ath10k: Enable pktlog for rx data packets" 2017-08-18 21:02:11 -07:00
Varun Balaraj
3838922706 ASoC: msm: qdsp6v2: Increase max supported ASM sessions
ASM max active sessions increase to 9 to allow 8 interactive and
one primary stream concurrently.

CRs-Fixed: 2093120
Change-Id: I92a51dd1937634abb472fc06edbdd879b3d152d0
Signed-off-by: Varun Balaraj <varunb@codeaurora.org>
2017-08-18 08:56:42 -07:00
Sarada Prasanna Garnayak
5eebfeaa9c wcnss: modularize wcnss power up sequence and debug logs
Modularize the wcnss power up sequence like wcnss voltage
regulator enable/disable sequence and voltage regulator
current and voltage level parsing method. Remove hack code
from the power wcnss power process and enable/disable
the power resource if it's defined in the wcnss device node.

Update the debug logs to track the exact state of the power
state during device bootup. Remove the unnecessary logging
for the optional resource request fails during device bootup.

CRs-Fixed: 2086414
Change-Id: I30b1e2196eb9d1c933275f3db34ca0ff5664ea3b
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
2017-08-18 07:02:53 -07:00
Mohammed Javid
ec183bfa20 msm: ipa3: Fix to avoid accessing of uninitialized structure
Added code changes to check ipa3_ctx initilized or not
during bootup in sdm670.

Change-Id: I03e5b8de30c77da140e9575c2315b0878cf5363c
Acked-by: Ashok Vuyyuru <avuyyuru@qti.qualcomm.com>
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
2017-08-18 06:48:30 -07:00
Sarada Prasanna Garnayak
f1594495ec wcnss: update MAC address generate logic from the serial number
The WLAN host driver use device serial number to generate
MAC address. The wcnss platform driver export symbol for
WLAN host driver to read the device serial number to generate
the MAC address. Add updated SOC API to get the device serial
number in the wcnss platform driver.

CRs-Fixed: 2089225
Change-Id: Ic540f2e6e705131f18b59e8f139087d5d99024f6
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
2017-08-18 06:44:26 -07:00
Anurag Chouhan
6c6fb7901e icnss: Add support to validate the result and error code
Add support to validate the result and error code
received from the WLAN firmware service.

CRs-fixed: 2095184
Change-Id: I454df58e293fbf2d99601d1c6820e67b5cae370c
Signed-off-by: Anurag Chouhan <achouhan@codeaurora.org>
2017-08-18 17:01:19 +05:30
VijayaKumar T M
34972c3909 msm: sensor: Add mutex lock during ois power down operations
Protecting operations performed during ois powerdown
from race condition by adding mutex locks.

CRs-Fixed: 2081806
Change-Id: I27a735fd69d3e98fdd2ed48456336c560b6f3adc
Signed-off-by: VijayaKumar T M <vtmuni@codeaurora.org>
2017-08-18 04:22:43 -07:00
Dhoat Harpal
40fa8e0735 soc: qcom: glink_smem_native_xprt: Fix memory leak during qos init
In function parse_qos_dt_params, memory is allocated to arr32 but it
is never freed.

Free memory when exiting the function.

CRs-Fixed: 2093722
Change-Id: Ic1fc58c6685990e2865ef4033b54303d47311560
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
2017-08-18 15:53:51 +05:30
Sharat Masetty
db67d1e70d drm/msm: Disable clocks when GPU is inactive
This patch addresses an issue in the GPU init sequence where
the clocks are turned on during the process but after the
init is complete the clocks are not turned off. Due to this,
the GPU clocks always have a refcount delta of 1 and never
get disabled later even when explicitly requested.

Change-Id: I40fa9a25cd86f5d39fbe6f6e3f83d6ab467d615f
Signed-off-by: Sharat Masetty <smasetty@codeaurora.org>
2017-08-18 10:49:54 +05:30
Sharat Masetty
93f66037ed drm/msm: Set memory retention flags on the GPU core clock
After enabling the GPU clocks, the GPU can pagefault
when trying to access memory(example the ringbuffer).
This patch addresses the pagefault issue by enabling
the memory retention flags on the GPU core clock.

Change-Id: Ibabecba77501d6a3b188b19c90c172de7d667c8c
Signed-off-by: Sharat Masetty <smasetty@codeaurora.org>
2017-08-18 10:48:27 +05:30
Yonghui Zhang
4f13f491be Asoc: msm: add configuration for virtual platform
add depends on MSM_GVM_QUIN for SND_SOC_MSM8996
and remove SND_SOC_MSM_HDMI_CODEC_RX for virtual platform

CRs-Fixed: 2085351
Change-Id: I1e911ffa5b34d69c9286f22d7b2c001a065cbfc1
Signed-off-by: Yonghui Zhang <yonghuiz@codeaurora.org>
2017-08-17 19:00:39 -07:00
Nicholas Troast
0092e08d5c power: pmic-voter: make debug status more parsable
The status debug property lists all of the voters, their enable and
value status, and the effective result. Currently the status is
presented on multiple lines which is difficult to parse. Change the
format to be more parsable.

Print each voter in the following format:
VOTABLE: CLIENT: en=1 v=1000

Print a single summary line at the end in the following format:
VOTABLE: effective=EFFECTIVE_CLIENT type=VOTABLE_TYPE v=1000

Change-Id: I0671cdd8e0911450bafe4869cb49cc48bd622a81
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
2017-08-17 16:54:19 -07:00
Tharun Kumar Merugu
96be9b208b msm: adsprpc: Avoid leak info of pointers addresses to dmesg
To avoid leak info of pointers addresses to dmesg,
use %pK instead of %p to print virtual addresses.

Change-Id: I7d8e900d7cd62e9ad3fb9ea3ba9865d6911bdfcb
Acked-by: Chenna Kesava Raju <chennak@qti.qualcomm.com>
Signed-off-by: Tharun Kumar Merugu <mtharu@codeaurora.org>
2017-08-17 15:38:33 -07:00
Srinivas Dasari
b3a71a4701 defconfig: msmcortex: Enable cnss_genl driver compilation
cnss_genl driver creates a netlink family and multicast groups
to facilitate communication between WLAN driver and userspace.

Define flag CONFIG_CNSS_GENL and set to 'y'(yes) to enable
compilation of the cnss_genl driver inorder to use the same.

Change-Id: I9d81f933e4fe3c9383f213c777d335e1fe51bdd2
Signed-off-by: Srinivas Dasari <dasaris@codeaurora.org>
CRs-Fixed: 1117130
2017-08-18 00:12:42 +05:30
Varun Balaraj
a935e0c8f8 ASoC: msm: Fix pan control param gain to accommodate Q28 format
Fix pan control gain param to accommodate Q28 format.
Convert 32bit gain to be inlined with 16bit mixer coefficients
of ADSP.

Change-Id: I85ebd11c49b4af982f34091937acabb9e6580e8f
Signed-off-by: Varun Balaraj <varunb@codeaurora.org>
2017-08-17 09:32:42 -07:00
Rama Krishna Phani A
7b165529ec ARM: dts: msm: Update boot option for PCIe on APQ8098
Few PCIe clients does not have option to call for enumeration.
Update boot option for PCIe such that enumeration is done as
part of PCIe RC probe.

Change-Id: I1bb977b7e21c046ee7757ed509762897e2bcdd8d
Signed-off-by: Rama Krishna Phani A <rphani@codeaurora.org>
2017-08-17 19:47:12 +05:30
Linux Build Service Account
f2402c15bb Merge "soc: qcom: Modify scm_qcpe to comply with new hab API" into dev/msm-4.4-8996au 2017-08-17 05:03:53 -07:00
Rupesh Tatiya
3dbdaa51b5 btfm: Correct the slimbus turn on/off sequence for FM ports
Correct FM on/off sequence with following changes ->
- FM slave port close is called after LPASS port close (remove hw_free)
- Use the watermark level of 8 for FM slave ports
- Do not reset the watermark to 0 upon port disable

Change-Id: Ie785715c2b92dae6b46b346bebd45e044f54ea53
Signed-off-by: Rupesh Tatiya <rtatiya@codeaurora.org>
2017-08-17 04:37:48 -07:00
Rama Krishna Phani A
71e8c341e2 ARM: dts: msm: Add tp rev property for PM660
Add tp rev property to expose TP-REV information via
rev-id peripheral.

Change-Id: I0236f84947dbf256f090ea32895904024c1f3fcf
Signed-off-by: Rama Krishna Phani A <rphani@codeaurora.org>
2017-08-17 02:22:52 -07:00
Rama Krishna Phani A
cec2333062 iio: rradc: Update RRADC USBIN scaling
Update scaling factor for RRADC USBIN current
based on USBIN voltage.

Change-Id: I87b2ac56166f2e0812ec56d88c68298094eb86ac
Signed-off-by: Rama Krishna Phani A <rphani@codeaurora.org>
2017-08-17 02:22:45 -07:00
Rama Krishna Phani A
36c8f370e0 qpnp: revid: Add support to read TP Rev
Some PMICs software drivers (PM660) require the TP revision
information to implement specific logic. Add an optional
property qcom,tp-rev-valid to check if support for TP REV is
available in the REVID peripheral for the PMIC.

Change-Id: Ia7a344e60bedcc6fb28d9ed9f18dc29a3d7f4fd7
Signed-off-by: Rama Krishna Phani A <rphani@codeaurora.org>
2017-08-17 14:41:57 +05:30
Yonghui Zhang
0c7e9f51be ARM: dts: msm: enable SMMU for audio-ion
add iommus for audio-ion

CRs-Fixed: 2085351
Change-Id: Iab04df7f2f0ff8db7f978672806b587cfb121ee4
Signed-off-by: Yonghui Zhang <yonghuiz@codeaurora.org>
2017-08-17 01:46:40 -07:00
Yonghui Zhang
3479164eaa ARM: dts: msm: add TDM pin-ctrl for virtual platform
config the pin for TDM pass through

CRs-Fixed: 2085351
Change-Id: Ifdfebca773e7fd32ecd04c642a24b5eb9d818789
Signed-off-by: Yonghui Zhang <yonghuiz@codeaurora.org>
2017-08-17 01:46:25 -07:00
Yonghui Zhang
278564cfd8 ARM: dts: msm: add i2c_6 for external codec
add i2c_6 for external codec virtual platform

CRs-Fixed: 2085351
Change-Id: I281153f2a296e335c89d118bbb9e65457b8d6393
Signed-off-by: Yonghui Zhang <yonghuiz@codeaurora.org>
2017-08-17 01:46:10 -07:00
Yonghui Zhang
66a0a667f4 ARM: dts: msm: Enable lpass dts over virtual platform
add device node needed for lpass, adsp loader

CRs-Fixed: 2085351
Change-Id: I7d2b21625e92af4fb4a190942d27037c1f6afd67
Signed-off-by: Yonghui Zhang <yonghuiz@codeaurora.org>
2017-08-17 01:45:36 -07:00
Amit Blay
392569ef70 soc: qcom: Modify scm_qcpe to comply with new hab API
Changes to reflect  slight change in HAB API return values.

Change-Id: I8825f6fca6a50449a929f05c317d0beeb6908d26
Signed-off-by: Amit Blay <ablay@codeaurora.org>
2017-08-17 00:22:59 -07:00
Amit Blay
a87f53981a soc: qcom: Modify scm_qcpe to comply with new hab API
Changes to reflect  slight change in HAB API return values.

Change-Id: I8825f6fca6a50449a929f05c317d0beeb6908d26
Signed-off-by: Amit Blay <ablay@codeaurora.org>
2017-08-16 23:04:32 -07:00
Alex Yakavenka
d9581b145c rh850: fix mtu to CANFD size
MTU defaults to standard CAN frame, however,
since rh850 driver supports CANFD frames MTU
needs to be set accordingly.

CRs-Fixed: 2071638
Change-Id: I5015af6e61ef4b4e021a715a8dec60d42a8a9e5b
Signed-off-by: Alex Yakavenka <ayakav@codeaurora.org>
2017-08-16 21:11:05 -07:00
Abhijeet Dharmapurikar
69e20be0eb qpnp-smb2: use real_type to convey WIPOWER type
Currently we use WIPOWER as the type for dc power supply.
Instead use WIRELESS in the type and use WIPOWER in the
real_type property.

Change-Id: I9081e752e5b3ff725a6ba935d6f6df4e36fec3fa
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2017-08-16 18:35:26 -07:00