When WDSP has crashed, G-link link state is updated with
GLINK_LINK_STATE_DOWN and remote side channels are closed.
Handle the link state down notification from G-link and
close the channels from local side when remote disconnect
channel event occurs.
Change-Id: Id956256fbb3ea6b18a3685a34dcd1f9b16e71e92
Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
a540 hardware does not support BCL and LMH after all.
CRs-Fixed: 1075694
Change-Id: I09808145d20ded63b5043cae6510429560cb599e
Signed-off-by: Oleg Perelet <operelet@codeaurora.org>
Call rdev_get_name() to obtain the name to use in the debug
consumer's regulator_get() call so that the debug consumer finds
the correct regulator when the name differs in the constraints
and desc structs.
Change-Id: Id6a47467cd118c89c8f58d1120381d4c64f8efee
CRs-Fixed: 1075693
Signed-off-by: David Collins <collinsd@codeaurora.org>
REVID peripheral supports reading FAB ID value. Add property
qcom,fab-id-valid to allow clients to access the FAB ID data
for PMICOBALT.
Change-Id: I66463cf3fa7b0fdeba4cb5ee1e34d27b5e736cfb
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
PMICOBALT supports reading the FAB ID from the REVID
peripheral. Add an optional property qcom,fab-id-valid
to check if support for FAB ID is available in the
REVID peripheral for the PMIC.
Change-Id: If8212618baa7533b008228a71740acf1d6c72a52
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
Add table to store transfer unit settings for different
resolutions. The table is used for mapping the resolution
with the lane count and Display-port link rate.
Change-Id: I93cc489cdbde21680f8c05311be60ecba053c1db
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
Limit the resolutions provided by sink to the ones supported
by the interface so that user modules do not receive the resolutions
which are not supported by the interface.
Change-Id: I63657f139cd7b058d211c306fb596ac5d80f2495
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
Add new settings for link-training parameters. Add
code in DP OFF to set the DP state to IDLE mode.
Add support for DP global reset before
initializing DP controller.
Change-Id: Ica893a9b56ae51b12f5d4a192b995aa966dc934e
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
Add changes to have default settings for color depth and
output format in DP controller.
Currently, the workqueue used to handle different events
in controller driver has very high delay in handling events.
Fix this.
Change-Id: I30fc7cb3c57844244ff88167a9b17b32a2fd3a12
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
Use the information about lane count and orientation
provided in the spare MDP registers by the DP controller
driver to configure the PLL lock sequence.
Change-Id: I1d8465087be91f0a35d83a752a6c09ce27100208
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
The DisplayPort PHY driver needs information about the number
of lanes and the plug orientation to do additional settings.
Add code to support this.
Change-Id: Iafb890596283320dbcb2b4e2e0d83cabfdfcd18e
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
First update the audio switch node to indicate that the cable was
disconnected. Wait for the audio codec to indicate that the teardown
of the audio path has been completed, timing out after three
seconds. This ensures that the audio framework will start and end
the audio teardown while the interface VSync is still running,
ensuring a graceful shutdown of the audio path.
CRs-Fixed: 1074218
Change-Id: Ia9c792613e5cd9ac273185c6b2f4b30b5df67496
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
Rotator HW cannot support 0 dimension of input and output image. During
V4L2 validation, it must reject any 0 size image format setting.
CRs-Fixed: 1073633
Change-Id: I503561677271c39894b7a6910fe8d9c5c25e9c28
Signed-off-by: Benjamin Chan <bkchan@codeaurora.org>
Added initial support for fine timing measurement(FTM)
and angle of arrival (AOA). These features allow a station
to get an accurate indoor location by measuring
distance (FTM) and azimuth/elevation (AOA) to one or more
stations/APs with a known location.
The following APIs are supported:
1. Get FTM/AOA capabilities, currently hard-coded for a
single-shot measurement to an associated AP
2. Start FTM session
3. Receive FTM results
4. Start standalone AOA measurement
5. Receive AOA results
Change-Id: I54ebc1bdff6ed7d91644165b16eb0a4240069321
CRs-Fixed: 1057307
Signed-off-by: Lior David <liord@codeaurora.org>
If the wait for global fails due to timeout then nothing after this
point is likely to work very well. Get GPU snapshot in addition to
BUG_ON(), to analyze the GPU fault.
CRs-Fixed: 1053780
Change-Id: I29930120a72a08533c859002f646af93e67c754f
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
Add support for the graphics clock controller found on MSMFalcon based
devices. This should allow graphics clocks for GFX clients to be able to do
clock functionality.
Change-Id: I753b40d574a4afc2104a5c2bfe64b4831fbce8a0
Signed-off-by: Taniya Das <tdas@codeaurora.org>
Provide API to check QMI support present or not to WLAN
host driver. Based on this information driver can pass the
DMA physical address info via shadow register to WLAN FW.
CRs-Fixed: 1073647
Change-Id: Iec9d3a3b468ddf6607e4a942bb3cf9133e9f0c34
Signed-off-by: Hardik Kantilal Patel <hkpatel@codeaurora.org>
For MSMfalcon and MSMtriton, clock consumers requires dummy
rpmcc, gcc, mmss and gfx clocks for their operation so add
the support for registering dummy clocks as follows:
- Add clock-output-names property for the rpmcc, gcc, mmss
and gfx clock controller nodes.
- Add reset-cells property for clock controller nodes.
- Add two fixed clock nodes named as xo_board and sleep_clk.
- Remove RPM clock IDs from qcom,gcc-msmfalcon.h.
- Modify RPM clock names as per qcom,rpmcc.h file.
Change-Id: I06262fe271ab6ba81d4fa5f67315fd1b54edee8c
Signed-off-by: Amit Nischal <anischal@codeaurora.org>
This patch fixes the possible out of bound access by accessing
only dci supported peripheral feature.
Bug: 31864832
CRs-Fixed: 1074901
Change-Id: I99b7feb4b9af8480912a0a3b3e9834f0ecd92189
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>