Speaker protection algorithm needs V(voltage) and I(current)
readings from speaker. Enable VI path on the codec to provide
readings to the speaker protection algorithm.
Change-Id: I741e7f3076a7db595297ad7a1ee551c46d5c8213
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Add MSM External display node for msmcobalt which is needed
to manage the interaction between external displays (HDMI and
Display Port) and the audio and display frameworks.
CRs-Fixed: 1009284
Change-Id: I54c1eee7a3e1d8f481a9bc629e28f13c5849a3db
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
Implement the external display class helper as a utility to
manage display interface and audio codec interactions
associated with the cable connect/disconnect events of the
display interfaces. The helper class is responsible for
routing operations called by the audio codec to a particular
display, updating the hdmi switch node, and updating the
audio switch node.
CRs-Fixed: 1009284
Change-Id: Ie8d1006d3f11091a861733485cb67939ad47fdfe
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
Set CONFIG_MSM_AVTIMER item to enable AVTimer used by camera for VT calls.
Change-Id: I99fdc57e1d0cde48ac5192d83ced96848232eb41
CRs-Fixed: 1051287
Signed-off-by: Siena Richard <sienar@codeaurora.org>
Add MSM_QDSP6_APRV2_GLINK as a depedency for MSM_AVTIMER config item
as avtimer uses apr over glink to get time stamps from qdsp.
Change-Id: Ia646ddb1ae550a8b604f41545f738771204ac48e
CRs-Fixed: 1051287
Signed-off-by: Siena Richard <sienar@codeaurora.org>
Add null checks to prevent hdmi ops from being called
if they have not been defined.
CRs-Fixed: 1009284
Change-Id: If772bd86cc9b754fbc900eb47338429e9b841eef
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
Add bus bandwidth entry for ICNSS. It will be used to vote for
aggre2_noc_clk for SMMU.
CRs-Fixed: 1053538
Change-Id: Ic7523e68d65634f28babac6d17e0b02311d7ad79
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
Provide APIs for getting SMMU mapping context to WLAN
driver.
CRs-Fixed: 1049889
Change-Id: Id7c6aa45608911ae2510e953e4c7d8ae19f8a111
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
Enable CONFIG_CPUSETS which is required by Android.
Change-Id: I6d62d4f0d707e2e64c21d3b67763f9945adc6005
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
Consider any pre-initialized stream match register table entries,
which are of type translation, as static stream ID to context bank
mappings.
When an attach occurs for a stream ID which has a static context bank
mapping ensure that the pre-initialized stream match register table
entry is used for that stream ID.
Contract for using static context banks:
1) Before doing the attach hardware translations must be stopped and
hardware translations are only re-enabled once the required mappings
have been added.
2) Before the attach the static CB must be in stage 1 context bank
bypass (CBn_SCTLR.M == 0).
CRs-Fixed: 1050659
Change-Id: I4037d7861657384eb5b4f67c52b2dbf4ad6e1c2c
Signed-off-by: Liam Mark <lmark@codeaurora.org>
This change adjusts the bandwidth limits for the
mdp core in the v2 of msmcobalt.
Change-Id: I3559ed2b6984ac9cec8e219f59f634410aaf57c9
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
when event is generated during CMI SEND state, process the
event explicitly without waiting for response to complete.
This change fixes response timed out errors for start and
stop commands.
Change-Id: I2e8d877b57c4d547688fdd7a2e71d06dfec3d4ab
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
Update USB bus ib voting value to 100Mhz or 800000 kbps to allow
SVS when usb cable is connected.
Change-Id: I4692242f65bcf09baeab1a85681ec8c2f3b4cf61
Signed-off-by: Vamsi Krishna Samavedam <vskrishn@codeaurora.org>
To support Split A2DP over slimbus, it will share
slimbus port 16 with SCO channel. A2DP configuration
has been added into slimbus port 16.
Signed-off-by: Sungjun Park <sjpark@codeaurora.org>
Change-Id: I55bc9cda07ef3c2d3ff5713f1ce83d8b344bed6a
Flash type is automatically detected in kernel based on dtsi
entries.
It checkes in this order:
1) I2C flash
2) PMIC flash
3) GPIO flash
CRs-Fixed: 1028059
Change-Id: I7e57a4d6c67a58728bb3ef7f3ea0312380f84486
Signed-off-by: Rajesh Bondugula <rajeshb@codeaurora.org>
Currently qsee_ipc_irq_bridge driver is using an incorrect clear mask
when it handles an incoming level triggered interrupt. This causes
an interrupt storm.
Update the IRQ clear mask entry to appropriate value.
CRs-Fixed: 1053076
Change-Id: I6bfe7aecd73a13401a218e89874f2225ac91d18f
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
Currently the driver checks for interrupt type and subsytem name before
parsing the RX IRQ Reset Regiser. Checking for the subsystem name is
redundant and prone to typo errors which will lead to incorrect parsing
of Device Tree entries and eventually an interrupt storm.
Check only for the interrupt type and parse the Device Tree entries
completely.
CRs-Fixed: 1053076
Change-Id: I22719898b86534f1821104a6a629e7fd37b0d823
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
The UFS driver does not need the GDSC driver to set the core
and peripheral memory retention bits for certain UFS clocks
on it's behalf. Remove doing so.
CRs-Fixed: 1052994
Change-Id: I845eb2014056203d203ee6be66de0cc161c2dedb
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
In case of GPU idle (NAP), schedule DCVS call to obtain updated
GPU load for correct GPU frequency scaling.
Change-Id: Ifcf05ffde0a054839e51d3f8173b8449fe177aa0
CRs-Fixed: 1050000
Signed-off-by: Oleg Perelet <operelet@codeaurora.org>
Current sleep state entry compatible string is tied with
remote processor ID which is not always true.
Use generic compatible string for sleep state entry to
support for any remote processor ID.
CRs-Fixed: 1043377
Change-Id: I6ef2810b07960006b0fe4c573d5ce2bead90ee97
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
Add sysfs entries to upgrade firmware from userspace.
Firmware upgrade is triggered when the device's firmware
version mismatches with userspace's firmware file.
Force firmware upgrade sysfs entry is added to force
the firmware upgrade even when the firmware versions
match.
Change-Id: I48189abe60b4bd9d54a1bbc4657707213d8eb166
Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>
Signed-off-by: Shantanu Jain <shjain@codeaurora.org>
QCOM_ICE_INVALID_CCFG_ERR_STTS is now also dumped in case of error
for ICE 3.0
Change-Id: Ib7f522d0143f5131880c8c1badf4e64461810e72
Signed-off-by: Andrey Markovytch <andreym@codeaurora.org>
Add support for AFE encoder configuration.
Add new mixer controls to support AFE input channel
and encoder configuration.
Add support in AFE to set the encoder and input
channel configuration.If encoder configuration is set
ADSP will encode the PCM steam and send over backend.
Change-Id: I56581533ffff3b61f5b5ee128841ab61b62674d7
Signed-off-by: Naresh Tanniru <ntanniru@codeaurora.org>
Add support of route control to set ADM input channel
config. This is used to help open adm with different
channel config compare to AFE output.
Add new mixer command to override adm channel count set
by hw_params. This is useful in cases where BE hw_params
is different from the ADM channel configuration for cases
such as A2DP exercising ADSP path.
Change-Id: I93ad53016a28efe0d8592ac0092d6c8896a66072
Signed-off-by: Naresh Tanniru <ntanniru@codeaurora.org>
In soundwire control drivers, some pointers are not
set as NULL after the memory is freed, which will
leave many dangling pointers. Set them to NULL
explicitly to avoid potential risk.
CRs-Fixed: 997062
Change-Id: I18bd73397173187f87af28c78564835eed6d6a10
Signed-off-by: Meng Wang <mwang@codeaurora.org>
In wcd core drivers, some pointers are not set as NULL
after the memory is freed, which will leave many
dangling pointers. Set them to NULL explicitly to
avoid potential risk.
CRs-Fixed: 997062
Change-Id: I5dd4a9dd8f757d0850d75575d7e522e2a22f46f3
Signed-off-by: Meng Wang <mwang@codeaurora.org>
In machine drivers, some pointers are not set as NULL
after the memory is freed, which will leave many
dangling pointers. Set them to NULL explicitly to
avoid potential risk.
CRs-Fixed: 997062
Change-Id: Ifa27a21cb76688101b758a34eddf69b160c27c79
Signed-off-by: Meng Wang <mwang@codeaurora.org>
Currently when selecting a PDO the request object is specifying
900mA as the operating current, which is suboptimal if the
supply is capable of more. Instead, simply request for the
maximum available. In the case where a PDO does not meet the
minimum current, set the capability mismatch flag and indicate
the required amount via the maximum field in the request.
Change-Id: I521059ab1c1d95df95fdede84512e73c5d9b2329
Signed-off-by: Jack Pham <jackp@codeaurora.org>