Add secondary QUSB2 PHY node and put it in reset state for SDM660
to avoid leakage current issue.
Change-Id: Iab057c22268408f90ac59f9dc4b0d538edd819b9
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
Charger driver probe might fail while querying for battery
health if bms psy is not available. Fix this by reporting
health as "UNKNOWN".
CRs-Fixed: 2029960
Change-Id: I6544788a6fe3ab7aaf70ffd382213d8b4aa4c0b6
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
This patch adds a way to publish APPS support
of untagging header only to selected peripherals.
CRs-Fixed: 2030651
Change-Id: I2a2a03d0a6d441d23ec093ff5de9bef5e9799d24
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
Add a new value to the oob_mode module parameter for
supporting AP certification.
All enabled values of oob_mode (>0) are intended only
for debugging and diagnostics.
Change-Id: I170c953b0f126513b6fec7a7c316d282ed56367e
Signed-off-by: Lior David <qca_liord@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-commit: b8c31b5d6c232a36c821bdd556b60c033a1c1577
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
[merez@codeaurora.org: fix trivial merge conflicts]
Signed-off-by: Maya Erez <merez@codeaurora.org>
Driver always invoke cfg80211_disconnected() with locally_generated as
false.
Fix this by reporting true whenever the disconnect is triggered from
upper layers (cfg80211) or from within the driver itself (reset,
deinit).
Change-Id: I367797e0eeb1e71a28674415121a054daee04cbc
Signed-off-by: Dedy Lansky <qca_dlansky@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-commit: 3b56c15fa3315942b4cb02e57ff842f2f9b14ef7
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
Signed-off-by: Maya Erez <merez@codeaurora.org>
Upon connect timeout driver invokes _wil6210_disconnect() which iterates
over sta array and disconnects each connected sta. In practice, because
the connection is still ongoing and because cid is not yet allocated,
disconnect is not actually happening. This leaves FW in connecting
state while driver is in disconnected state.
To fix this, upon connect timeout, explicitly send WMI_DISCONNECT_CMDID
to FW to make sure it gets disconnected.
Change-Id: I4d6ed85f00901b0e286d8b05d016e9cd5e9dd2fb
Signed-off-by: Dedy Lansky <qca_dlansky@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-commit: 628639b1c976a5f02792dc6595a4d199b7b70d85
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
Signed-off-by: Maya Erez <merez@codeaurora.org>
In a fast disconnect/connect sequence, cfg80211_connect_result() can
fail to find the bss object which the driver is connecting to. Detailed
sequence of events:
* Driver is connected in STA mode
* Disconnect request arrives from user space. Driver disconnects and
calls cfg80211_disconnected() which adds new event to the
cfg80211_wq worker thread
* Connect request arrives from user space. cfg80211_connect() stores
ssid/ssid_len and calls rdev_connect()
* __cfg80211_disconnected() runs in worker thread and zero
wdev->ssid_len
* Connect succeeds. Driver calls cfg80211_connect_result() which fails
to find the bss because wdev->ssid_len is zero
To overcome this, upon connect request, store the bss object in the
driver and upon connect completion pass it to kernel using
cfg80211_connect_bss().
Change-Id: I48b7f638e3c69bf2c223ecf65d080fb603fc26f8
Signed-off-by: Dedy Lansky <qca_dlansky@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Git-commit: bcdd49b074d0ea48f54bc6d24a66efab8688b43a
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git
Signed-off-by: Maya Erez <merez@codeaurora.org>
Enable register read based esd for 1080p panels on sdm660 and sdm630
to detect esd failures and trigger recovery mechanisms.
Change-Id: I4e5fd44f5d6d11f386f6e234fb6500244a3fcf75
Signed-off-by: Rashi Bindra <rbindra@codeaurora.org>
Signed-off-by: Vishnuvardhan Prodduturi <vproddut@codeaurora.org>
Smb1355 is a derivative chip of smb1381, where features like
input current control and the tadc have been removed. Smb1355
can only be used in parallel mode and that too in mid-mid
configuration.
Note that even if smb1355 doesn't have an adc, its die temperature
could be measured by an external adc. So keep the support for
charger_temp and charger_temp_max properties.
Also smb1355's aux therm input will likely be connected to the
connector thermistor. Support connector_temp_health property.
Change-Id: I738d60ea3385c296187a9cc8afe8134feb8c615f
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
When PCIe host driver receives an unexpected interrupt for
global IRQ, log it to PCIe dump ipc logging to avoid
flooding kernel log.
Change-Id: Ia38e6a3597b0f86b8574f8edf5b2e0e124b02f4d
Signed-off-by: Tony Truong <truong@codeaurora.org>
Adds parsing for HDMI 2.0 'HDMI Forum Vendor
Specific Data Block'. This block is present in
some HDMI 2.0 EDID's and gives information about
scrambling support, SCDC, 3D Views, and others.
Parsed parameters are stored in drm_connector
structure.
Change-Id: I018cfefea2fd3827d5f83c8e5717ebd95e497519
Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Cc: Carlos Palminha <palminha@synopsys.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel.vetter@intel.com>
Cc: dri-devel@lists.freedesktop.org
Cc: linux-kernel@vger.kernel.org
Patch-mainline: dri-devel @ 10 Aug 2016 16:29
Signed-off-by: Jin Li <jinl@codeaurora.org>
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
The tiled 5K Dell monitor appears to be hiding it's tiled mode
inside the displayid timings block, this patch parses this
block and adds the modes to the modelist.
v1.1: add missing __packed.
Change-Id: Ief7b88bc18b6a7514a8575412937b74c38f971e4
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=95207
Signed-off-by: Dave Airlie <airlied@redhat.com>
Git-commit: a39ed680bddb1ead592e22ed812c7e47286bfc03
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
Move bluetooth node under /vendor path. This will help in overlaying
this node from board overlay files.
Change-Id: Ieeec5811c8cf2693f45ebd5f922b7edbb760e804
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
Add /vendor node. This node can be used to add vendor specific platform
devices.
Change-Id: I4c043c376b0e3ade7798c68ecaafe7235d27e959
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
Add support to compile DT overlays for MSM8998.
Change-Id: I73c17887b470a44721bbef7ab18e824f4dfabbd3
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
Split DT source files to separate out board and SoC specific DT
bindings.
Change-Id: Ic35abcc54654e420d3f389a289bbdae18a661c4e
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
Signed-off-by: Puja Gupta <pujag@codeaurora.org>
msm8998-pintctrl dtsi is already included by msm8998.dtsi. So we don't
need to include this file in board specific dtsi.
Change-Id: Iee7c0f4b8bd7da40ff059c531a450a0f3d3b2ae7
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
Check for diag glink handle on receiving connect and
disconnect events from glink.
Change-Id: I049367ffa4fbab1b8b3585cf6d1b53760e7431a6
Signed-off-by: Sreelakshmi Gownipalli <sgownipa@codeaurora.org>
GMEM IOVA range is intend to start from 0x100000, But currently it
is initialized with RANGE_MIN_LO:RANGE_MIN_LO. It makes GMEM IOVA
start from 0.
Change-Id: I6028c076c32d861303cbec1c6ad168d8494e094c
Signed-off-by: Kasin Li <donglil@codeaurora.org>
Thermal clients will be monitoring thermistors for
temperature mitigations. Add pa_therm0 support for PM660.
Change-Id: I61cb6a5147b68868d782490885969ceb2feef06c
Signed-off-by: Rama Krishna Phani A <rphani@codeaurora.org>
Hold the context lock before updating the context id in
param->drawctxt_id to avoid race condition between context
creation and context destroy.
Change-Id: Ic26d3e5b68078c02d15c38080b1a262ea4b1f7fe
Signed-off-by: Sunil Khatri <sunilkh@codeaurora.org>
When allocating userspace memory keep reference to memory
allocation till it is completely initialized and info is sent back
to userspace.
Change-Id: Id72c82bf98c094ecbd4722813c732a998dcbb188
Signed-off-by: Tarun Karra <tkarra@codeaurora.org>
Signed-off-by: Sunil Khatri <sunilkh@codeaurora.org>
CDC_TOP_TOP_CFG1 register is used for setting VI_SENSE order.
Set this to non-volatile to avoid speaker protection calibration
failure.
CRs-Fixed: 2028565
Change-Id: If721514cdf79552d1c0fb6f72fa6799fe17a940d
Signed-off-by: Rohit Kumar <rohitkr@codeaurora.org>
Tune JDI a407 panel setting for better performance. Two items might
be impacted. One is DSI link rate which is not enough for command
mode panel. Increase this rate in order to complete pixel transition
in time. The other is only sending init sequence from left DSI CTRL,
this can avoid unnecessary delay in panel resume.
Change-Id: I5ba9dc8f75c9a39dd8d4b41beb8eb8d9497f7c8e
CRs-Fixed: 1105343 1106131
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
Clock framework in LPASS expects valid clock frequency
for slave mode (EBIT) as well. This is required to maintain
corresponding voltage as per respective frequencies by clock
team in frequency plan. Avoid sending zero clock frequency
in clock enable even though it is slave mode.
CRs-Fixed: 2028063
Change-Id: Ie9c28a921ee7bbeda67b0591f0caf0a88ea2d19c
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
commit 82f2935616 ("usb: gadget: f_mass_storage: Allow USB LPM
upon ep disable") decrements power usage count by 1 for dwc3 device
in thread handler as part of do_set_interface(). fsg_disable() and
fsg_unbind() will raise exception for status change so that status change
is handled in thread handler. Due to this, there is a chance that
fsg_thread can run two times and results in calling do_set_interface()
twice for disabling endpoints. This causes decrementing power usage count
two times instead of 1 and power usage count can become negative. If cable
is disconnected at this time, it could cause unclocked access or fsg_thread
gets stuck. common->fsg bieng non NULL confirms that MSC interface is being
enabled. Hence fix the issue by decrementing power usage count only right
after disbling endpoints as disabling endpoints happens once due to check
of common->fsg.
Change-Id: Ia870838f5a7055436b7412fec5910b5cdbb42de2
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
This will iterate over all DisplayID blocks found in the buffer.
Previously only the first block was parsed.
https://bugs.freedesktop.org/show_bug.cgi?id=95207
Change-Id: Ida0480aa1652d3725a02950df83c3602fce8bb6e
Signed-off-by: Tomas Bzatek <tomas@bzatek.net>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Git-commit: 3a4a2ea39f86c581054794c0a727597745f1084b
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
We need to use this for validating modeline additions.
Change-Id: I55fe5a92c614cf949de906bea9a7c84d64450bb2
Signed-off-by: Dave Airlie <airlied@redhat.com>
Git-commit: c97291774c1b867b56c3d439ddaec9a965cf559e
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>