Commit graph

580183 commits

Author SHA1 Message Date
Taniya Das
9ae68a63d8 defconfig: msm: Add support for CPU OSM clock
CPU OSM clock is required to be enabled for cpu to be able to scale
frequencies for the CPU.

Change-Id: I5680dc5333c9664e1316c29a91e29231f15eb4f1
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2016-12-22 11:29:22 +05:30
ansharma
20da6a6d27 leds: qpnp-wled: Update WLED config
Update WLED configuration to enable HVG_PULL_SWITCH bit to
temporarily pull up Hvgate with larger switch(for pm2falcon)
and enable DEBOUNCE_BYPASS_ILIM bit to remove debouncing for
Ilim. This guarantee stable operation of WLED.

CRs-Fixed: 1102641
Change-Id: I39a1266f4158e71238f374b6cba49e1a8c2b1a3b
Signed-off-by: ansharma <ansharma@codeaurora.org>
2016-12-22 10:28:35 +05:30
Taniya Das
79871232a8 clk: qcom: Support CPU clock for OSM for common clock framework
Following list of changes have been made
- Update the clock osm to register to common clock framework
- Update clock ops as per common clock framework
- cleanup unused function (clk_osm_setup_osm_was)
- Fix tabs for macro definitions
- Add clocks ids for power and perf clock for clients

Change-Id: I389cc9e93a26a434be752cf74444d6c0985ff36d
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2016-12-22 09:09:20 +05:30
Fenglin Wu
4569877e35 input: qpnp-power-on: Set ship mode in system_pwr_off
Set ship mode in qpnp_pon_system_pwr_off() API if it has been requested
previously.

CRs-Fixed: 1092969
Change-Id: I6e315eec256f01c143ffc8b463279f2b30e64610
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
2016-12-22 09:36:13 +08:00
Hemant Kumar
7c2b101e73 usb: phy: qusb2: Switch to SE clk from diff clk upon suspend
Upon out of XO shutdown due to remote wakeup, as soon as XO gets
restored refclk is supplied to phy before even refgen current
is stabilized. USB3 controller asserts suspend_n signal asynchronously
for remote wake-up scenario solely based on utmi_linestate switching
from J state(suspend) to K state(resume). As a result phy attempts to
lock PLL since all prerequisites are met but, PLL lock attempt fails
and phy gets stuck. Since GCC_RX1_USB2_CLKREF_EN which was supposed to
control differential(CML) clock output to QUSB2 is a no-op, hence switch
to SE clock by PHY CSR controlled mux upon suspend. This prevents refclk
output to go directly to phy upon XO restore and prevents premature phy
pll locking. Phy PLL actually gets locked when phy driver switches back
from SE clk to diff clk.

Change-Id: Ie5474c42ccdd88df4c101b2113ca8d924eddf037
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2016-12-21 17:21:26 -08:00
Aravind Venkateswaran
5f41a670d1 msm: mdss: dp: fix handling of link training mutex
Remove the additional unbalanced unlock being called for the
link training mutex. This fixes random crashes seen while
running Display Port connection/disconnection tests.

Change-Id: I2fce80cec72e3bd8b1561fd46fa1a1520cddd294
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
2016-12-21 16:25:46 -08:00
Aravind Venkateswaran
c23be78397 msm: mdss: dp: fix calculation of link rate
If the calculated link rate based on sink's capabilities exceeds
the maximum supported link rate, do not error out. Instead, cap
the link rate at the maximum supported rate. This fixes instability
issues seen when connecting to sinks at 4K resolution.

Change-Id: I214bb19385f855af61da628fdf1cf7efc5dd08d6
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
2016-12-21 16:25:37 -08:00
Tatenda Chipeperekwa
c76f7c2f3f msm: mdss: dp: add support for PHY compliance tests
Add support for PHY compliance tests by parsing requests
from the reference sink and generating the requested
PHY test patterns from DP PHY.

CRs-Fixed: 1076516
Change-Id: I290ec786bbe5c45873265ea74290eefcd3d16cb1
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
2016-12-21 16:25:28 -08:00
Linux Build Service Account
e379f786aa Merge "wil6210: Block write ioctl to the card by default" 2016-12-21 15:48:16 -08:00
Linux Build Service Account
6294b5b2d7 Merge "sched: Fix out of bounds array access in sched_reset_all_window_stats()" 2016-12-21 15:48:15 -08:00
Linux Build Service Account
b1fe788357 Merge "iio: rradc: Update charger die temperature coefficients" 2016-12-21 15:48:14 -08:00
Linux Build Service Account
51f142cac2 Merge "ARM: dts: msm: Update Venus PIL clock voting for MSMFALCON/TRITON" 2016-12-21 15:48:13 -08:00
Linux Build Service Account
c91ab72258 Merge "soc: qcom: glink_ssr: Add rx done for received packets" 2016-12-21 15:48:13 -08:00
Linux Build Service Account
9c6f2a9076 Merge "soc: qcom: glink_pkt: Remove BUG_ON in glink_pkt_write" 2016-12-21 15:48:12 -08:00
Linux Build Service Account
48a7875c4f Merge "ARM: dts: msm: Allow only wfi based on USB irq load for msmfalcon" 2016-12-21 15:48:11 -08:00
Linux Build Service Account
c4e97325ee Merge "ARM: dts: msm: Enable context aware and quirks for A512 on msmfalcon" 2016-12-21 15:48:10 -08:00
Linux Build Service Account
12e0650bed Merge "regulator: gfx-ldo: support voltage based regulator operations" 2016-12-21 15:48:09 -08:00
Linux Build Service Account
32597bf9ab Merge "ASoC: msm: Add routing controls for hfp, port mixer" 2016-12-21 15:48:08 -08:00
Linux Build Service Account
a6e02237f5 Merge "ARM: dts: msm: Disable clock gating on msmfalcon" 2016-12-21 15:48:07 -08:00
Linux Build Service Account
f4d255733d Merge "ARM: dts: msm: Enable blsp1_uart3_hs for QRD interposer msm8998" 2016-12-21 15:48:06 -08:00
Linux Build Service Account
2790a50397 Merge "ARM: dts: msm: Enable camera for msmfalcon." 2016-12-21 15:48:05 -08:00
Linux Build Service Account
388f74ec00 Merge "nl80211: Use different attrs for BSSID and random MAC addr in scan req" 2016-12-21 15:48:04 -08:00
Linux Build Service Account
62af6fdf28 Merge "cfg80211: Define macro to indicate support for update connect params" 2016-12-21 15:48:03 -08:00
Linux Build Service Account
24a1e6cd40 Merge "cfg80211: Add support to update connection parameters" 2016-12-21 15:48:02 -08:00
Linux Build Service Account
75171fe96c Merge "ARM: dts: msm: configure wled for mdss on falcon interposer qrd" 2016-12-21 15:48:01 -08:00
Linux Build Service Account
b1a436c744 Merge "ARM: dts: msm: Add battery profile for FG in qrd8998 interposer" 2016-12-21 15:48:01 -08:00
Linux Build Service Account
452963576e Merge "drivers: mfd: clean up bootup info logs" 2016-12-21 15:47:55 -08:00
Zhen Kong
654eb19d41 msm: crypto: fix AEAD issues for HW crypto driver on msm-4.4
Make change to fix AEAD operation issues due to incorrect usage of
new aead interface introduced into kernel msm-4.4.

Change-Id: I472449c52bff40d48f7d65b05e145cc47cba9357
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
2016-12-21 15:14:52 -08:00
Zhen Kong
f931841b3f defconfig: msm: disable CRYPTO_DEC_QCE device on msm8998
CRYPTO_DEV_QCE device only provides a subset of crypto
algorithms, and it also has conflict with HW crypto
device CRYPTO_DEV_QCRYPTO, so disable it.

Change-Id: I406a41ac961757d31209ae0a0a4b4d9cc4d31a1e
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
2016-12-21 15:13:55 -08:00
Yuanyuan Liu
c4f8934a71 icnss: Add EXEC permission when assigning the MSA0 back to host
When MSA0 memory is re-assigned back to host, it needs to get
RWX permissions so that it can be used for data as well as
instructions.

CRs-Fixed: 1104183
Change-Id: I58e19def0042022046e730dd97008a9e1c25b6d6
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
2016-12-21 15:12:15 -08:00
Ram Chandrasekar
f24aac1b25 msm: thermal: Update error handling of device offline
When device enters suspend, the suspend framework disables CPU hotplug
functionality. During the suspend, any attempt from KTM to hotplug CPU
will return error and in this case, KTM wont clear the cpus_offlined
mask. In this case, the device framework assumes the core is still
online. Next time the device resumes from suspend the core
online attempt will be nacked by KTM. Thus the core will be offlined and
subsequent attempts to bring the core online using device framework will
fail.

Update KTM error handling to remove the CPUs from the cpus_offlined
mask, when device offline APIs return error. Thus KTM wont block suspend
framework from bringing the core online. Also, update KTM not to
evaluate new request to offline or online a core when the device is in
suspend entry or exit. The re-evaluation will be triggered when the
device exits suspend.

Change-Id: I334fd782a2c5d604cafb94f44832d9c700891ba2
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2016-12-21 11:44:47 -07:00
Linux Build Service Account
83134d5df1 Merge "thermal: tsens: Update critical interrupt functionality for Tsens" 2016-12-21 07:30:37 -08:00
Linux Build Service Account
b7e53064a6 Merge "regulator: cpr3: support LDO handling for different LDO types" 2016-12-21 07:30:36 -08:00
Linux Build Service Account
a204fcac9f Merge "diag: Change to GFP_KERNEL in diagfwd_buffers_init()" 2016-12-21 07:30:35 -08:00
Linux Build Service Account
b36f945be4 Merge "icnss: Remove hardware reset sequence" 2016-12-21 07:30:34 -08:00
Linux Build Service Account
9ab58266e1 Merge "ARM: dts: msm: remove turing-cti node from msmtriton" 2016-12-21 07:30:30 -08:00
Linux Build Service Account
ccc6501961 Merge "ARM: dts: msm: add jtag, hwevent and csr nodes for falcon" 2016-12-21 07:30:29 -08:00
Linux Build Service Account
0668391229 Merge "ARM: dts: msm: Add extcon node for QRD starlord track 3" 2016-12-21 07:30:28 -08:00
Linux Build Service Account
f3a71c4dd0 Merge "ARM: dts: msm: add bus vote for mmss smmu on msmfalcon" 2016-12-21 07:30:26 -08:00
Linux Build Service Account
bd15db7a9b Merge "ASoC: wcd-mbhc: check HPH PA status before impedance detection" 2016-12-21 07:30:25 -08:00
Linux Build Service Account
5b223d1dd3 Merge "ASoC: msm: fix ULL playback over a2dp" 2016-12-21 07:30:24 -08:00
Linux Build Service Account
6af6366bf2 Merge "sched/tune: remove duplicate allow_attach in schedtune_cgrp_subsys" 2016-12-21 07:30:24 -08:00
Linux Build Service Account
1c89f59efd Merge "qcom-charger: smb2: support for micro USB mode" 2016-12-21 07:30:23 -08:00
Linux Build Service Account
89bf1c6f82 Merge "clk: qcom: Add new voter clocks for camss clocks" 2016-12-21 07:30:21 -08:00
Linux Build Service Account
9bb2912be3 Merge "USB: gadget: u_data_ipa: Handle usb requests allocation/free correctly" 2016-12-21 07:30:20 -08:00
Linux Build Service Account
d69dbc634d Merge "ARM: dts: msm: Add support for clock debug for MSMfalcon/MSMtriton" 2016-12-21 07:30:19 -08:00
Linux Build Service Account
e4095dcdc4 Merge "ARM: dts: msm: Update regulator node for PIL for MSMFalcon/Triton" 2016-12-21 07:30:17 -08:00
Linux Build Service Account
100d528324 Merge "mmc: host: Use correct flag to support 64-bit DMA" 2016-12-21 07:30:16 -08:00
Linux Build Service Account
485fff3066 Merge "defconfig: enable compile audio for msmfalcon" 2016-12-21 07:30:15 -08:00
Linux Build Service Account
6f703f178b Merge "lowmemorykiller: fix an uninitialized variable usage" 2016-12-21 07:30:12 -08:00