Commit Graph

63 Commits

Author SHA1 Message Date
Phani Kumar Uppalapati
69f24b59d1 audio: dts: add support for kalama v2 hardware
Add support for kalama v2 hardware revision.

Change-Id: Ie46ee639c80794780d3774b969555cbd6da8c269
2022-06-20 02:09:17 -07:00
qctecmdr
12be8d2f12 Merge "msm-audio-lpass: remove unused device nodes" 2022-05-03 08:16:23 -07:00
qctecmdr
9b81c1985e Merge "Audio-devicetree : Kernel 5.15 audio bring-up" 2022-05-01 10:27:41 -07:00
Rohit kumar
07525f453e msm-audio-lpass: remove unused device nodes
Change-Id: I2d22898a5c7a1a3b652849b72799629119d5565a
2022-04-27 08:31:20 -07:00
Raghu Bankapur
597e7d3642 Audio-devicetree : Kernel 5.15 audio bring-up
Add device changes related to audio module.

Change-Id: I23c95edfbdfe6f59eff1d4f03cef126bd4182115
2022-04-19 10:44:05 +05:30
Phani Kumar Uppalapati
18a902f385 ARM: dts: add support for wsa883x kalama platform
Add audio support for wsa883x kalama platform.

Change-Id: I229e0a2a38d4c786472b3e0c63eb1d3ab0e19a62
2022-04-16 09:05:49 -07:00
qctecmdr
df48cf253c Merge "dts: add boolean property to wsa_spkr_en02/13" 2022-04-14 16:53:32 -07:00
qctecmdr
cbf7cacec9 Merge "ARM: dts: msm: Add audio support for Kalama RCM platform" 2022-04-14 15:29:30 -07:00
Matthew Rice
4a6ec5f4c9 audio: dts: Fix channel mask for RX PCM_OUT1
Update channel mask to fix issue with haptics output port.
Fixes the mismatch between number of channels expected (1) and
the channel mask (0x3).

Change-Id: I08e36f3d63e0e8ca84903ddb69c487dff5a78efd
Signed-off-by: Matthew Rice <mrice@quicinc.com>
2022-04-08 08:40:51 -07:00
Phani Kumar Uppalapati
be9cf21644 ARM: dts: msm: Add audio support for Kalama RCM platform
Add devicetree files for audio support on Kalama RCM
platform.

Change-Id: Ic2a82bd2b01b7a3ef55201cfc44d7a150a66d120
2022-03-31 18:52:26 -07:00
Shazmaan Ali
ec4306e84b dts: add boolean property to wsa_spkr_en02/13
add lpi gpio boolean property to wsa speaker nodes

Change-Id: I7bccd1772e53edd5d1eb1fbf7ac80487021fcd03
2022-03-31 18:50:50 -07:00
Vikram Panduranga
3b5a46eaa6 dts: add SMMU SID for eNPU access
Add SID needed for eNPU access.

Change-Id: I6d559f262c860409a85e8a2f183ce61d905cf795
2022-03-22 12:38:02 -07:00
qctecmdr
e0ffbd0fcb Merge "dts: Enable dp device tree node for kalama target" 2022-03-22 00:58:16 -07:00
Phani Kumar Uppalapati
1913cac23a ARM: dts: msm: Add Kailua MTP NFC platform support
Add device tree files for MTP NFC platform support for
kalama.

Change-Id: Ic97a5eda7f8e6050ba7b5f48b71e6f3aca3a310d
2022-03-15 05:27:00 -07:00
Arun Mirpuri
ae37e83eb3 dts: Enable dp device tree node for kalama target
Enable DP Audio  device tree node for kalama target required
for audio playback over Display Port.

Change-Id: I1504973a5d3f17a0e954a1c6e01e1355044bdd55
2022-03-14 15:48:24 -07:00
Matthew Rice
a075019365 dts: Add WSA Port Params for custom SWRS settings
Create parameters to customize WSA slave port offset1 and
lane_ctrl settings per SWR usecase. Needed to make PBR and CPS
parameters unique per WSA slave.

Change-Id: I77fc87ee234f35606c3a86804ccec162a2dafaae
Signed-off-by: Matthew Rice <mrice@quicinc.com>
2022-03-02 14:21:50 -08:00
Shiv Maliyappanahalli
07cfaa2b10 kalama: enable BT property
Enable BT for bluetooth audio.

Change-Id: I21e52280df001051dad00598e697b16dfd6b345d
2022-03-01 20:59:23 -08:00
qctecmdr
5ddbad9f5e Merge "dts: update compatible string for swr-haptics" 2022-03-01 20:51:35 -08:00
qctecmdr
caa0b0952c Merge "audio: dts: kalama: add support for FSA handle" 2022-03-01 20:51:35 -08:00
Phani Kumar Uppalapati
ccb4b951a7 dts: update compatible string for swr-haptics
Update compatible string for swr-haptics device tree node
for Kalama target.

Change-Id: Idb2b36a493d5f7e057159a86eba7e85f28d3103e
2022-02-28 00:27:36 -08:00
Phani Kumar Uppalapati
e0b9b145ef ARM: dts: remove usage of va_core_clk
Remove usage of va_core_clk for kalama target.
Add new DT property to select clock ID for VA
Macro operation.

Change-Id: I7621379b723f41777f1f80faba4d07bd5b175472
2022-02-28 00:25:31 -08:00
Phani Kumar Uppalapati
e7a1c10f84 dts: update FM i2s gpio property to secondary
Change-Id: I43336f62e7e2f6318c0da952de8f324952f68d26
2022-02-23 09:00:53 -08:00
Meng Wang
517814c935 audio: dts: kalama: add support for FSA handle
Add support for FSA handle.

Change-Id: Ia6b5bd2a410fed3972b98133a25c004e6b58d744
2022-02-23 13:25:20 +08:00
Shazmaan Ali
445b43fd19 dts: Add noise-gate-mode as NG2 to dts
Add noise gate mode as NG2 in kalama dts

Change-Id: I153730a7113273f57ebc6fcc36fc937f6ee8fc9e
Signed-off-by: Shazmaan Ali <shazmaan@quicinc.com>
2022-02-20 06:44:58 -08:00
Phani Kumar Uppalapati
8179b3ea47 dts: Enable i2s1 device tree node for kalama target
Enable i2s1 device tree node for kalama target required
for FM playback.

Change-Id: Icccf32a68ae255e0ed469d4c7d36a42adcf0ab0a
2022-02-17 21:32:53 -08:00
Phani Kumar Uppalapati
f1361d8a02 dts: Add power supply regulator for swr haptics DT node
Add swr-slave power supply for swr haptics DT node needed
for enumeration of pm8550b swr slave device.

Change-Id: I4d304e763959cfdbd50552e0025f99a29a2a0422
2022-02-14 19:00:52 -08:00
Matthew Rice
92d3cbeeb9 dts: Update WSA2 Macro to correct reset pin
Fix incorrect qcom,spkr-sd-n-node name.

Change-Id: I68dbdb5a71c945521caf4cfaae89ca445512b92e
Signed-off-by: Matthew Rice <mrice@quicinc.com>
2022-02-10 16:28:17 -08:00
Matthew Rice
d0baea6d8c dts: Fix WSA Reset pins and haptics ID
Set spkr_02/13 to have function = "gpio".
Previously was func0 which is incorrect.
In kalama there are 2 resets instead of 4 like taro.
These resets are shared between WSA0/2 and WSA1/3.
Remove conflicting WSA2 nodes and rename to wsa_spkr_en02/13.
Update haptics swr slave id.

Change-Id: I62c1c6a2ea10283da9b014050c9adb0bbc8a46e2
Signed-off-by: Matthew Rice <mrice@quicinc.com>
2022-02-08 16:28:23 -08:00
Shazmaan Ali
f73af8a9ef dts: Add noise-gate-mode to dts
NG is controlled with idle detection.
noise-gate-mode set to 0 then idle detect is on
noise-gate-mode set to 1 then NG2 mode is on

Change-Id: I8802260b956ed62aa43c406ae5bfbfdd336378bc
Signed-off-by: Shazmaan Ali <shazmaan@quicinc.com>
2022-01-20 16:10:41 -08:00
Matthew Rice
eb11bb2aa1 dts: Add WSA config params to WSA macro node
Add Bat_cfgs, Rloads, System Gains in WSA macro so these params can
be used in WSA Macro driver and WSA driver.
Add handle to WSA macro in WSA nodes to allow for access of
these params in WSA driver.

Change-Id: I6b6b6195bb7403f973063826c6ec25fb26bc5fb4
2022-01-11 16:41:45 -08:00
Matthew Rice
c7c1253de6 dts: Update Kalama SWR Port Config
Add WSA, TX, RX ports used in kalama chipset to port mapping.
Conform with SWR 2.0 change and updates to audio-codec-port-types.h.

Change-Id: I33ddd9a98009c1ab58ab6a0b7a3567c6e05f34c3
Signed-off-by: Matthew Rice <mrice@quicinc.com>
2021-12-09 10:00:12 -08:00
Junkai Cai
a6c5cff31b dts: use ASoC name prefix node
replace the name-prefix node in the wsa and swr_dmic
with ASoC defined name-prefix node that can be read in
the ASoC API soc_probe_link_components

the original prefx setting approach may cause ASoC probe
failed if the prefix is not set prior the probe call.

Change-Id: If0678fc32ad6bd26af8dc1e03dcb28b9a6b2744a
Signed-off-by: Junkai Cai <junkai@quicinc.com>
2021-11-10 15:03:45 -08:00
Junkai Cai
13cfaf33db dts: add i2s1 and WSA reset pinctrl, update reg base
i2s1 for fm functionality
WSA reset pinctrl is duplex with dmic67 and lpi_i2s3
so moved to lpi pinctrl

also update register based for the lpi_pinctrl and swrm-io

Change-Id: Ie61a98d588c1d71055485c040f826c2597b40980
2021-11-08 18:11:20 -08:00
Junkai Cai
2d9990047c dts: add new devicetree for kalama targets
add new dts/dtsi for kalama CDP/MTP/QRD/RUMI targets

Change-Id: I46e1afa55c42c4185e64f32f99f95c3a9d429f90
2021-11-01 12:22:15 -07:00
Meng Wang
68c53fdd50 audio: dts: msm: Add support for Waipio MTP Subtype 4
Add support for Waipio MTP subtype 4.

Change-Id: I40358d23e624eae4aebba0aa689ca2a766496d7c
2021-09-28 12:11:35 +08:00
Zhou Song
f7bf1fe69c audio: dts: add property for setting upd duty cycling
Add properties to parse config of upd duty cycling.

Change-Id: I1c0ff54c27c05dd7edb01c5fa341ccd93da19cd2
2021-09-16 13:40:05 +08:00
Prasad Kumpatla
18682e7fb1 waipio: audio: dts: add support for clk attribute
add support for setting the clk attribute for tdm and mi2s.

Change-Id: If29f3cbcfd1ce3758f7db2e9b53b733da8a4b3f1
2021-09-07 14:52:50 +05:30
qctecmdr
3e6589b682 Merge "autio: dts: Add new board id's to waipio mtp" 2021-09-03 01:46:33 -07:00
Prasad Kumpatla
dad07fe6d8 audio: dts: add support for tdm slots configuration
add dtsi support for tdm slots configuration

Change-Id: I97355e678e4615e0b000f0e1b21fcd0203ace6bc
Signed-off-by: Prasad Kumpatla <pkumpatl@qti.qualcomm.com>
2021-08-29 22:25:57 -07:00
Meng Wang
5aab491734 autio: dts: Add new board id's to waipio mtp
Add new board id's to Waipio MTP subtype 3.

Change-Id: I3eba7c99b998f2f741b11c6d49a02df89b0a63ea
2021-08-27 07:54:48 +08:00
Prasad Kumpatla
73d155951b audio: dts: add node for mi2s tdm is audio hw vote need
add audio hw vote need node, which is used to 
enable audio hw vote for specific interface.

Change-Id: Iffcc7dfe1f66b23644d7fdab2563e513e05dd5c8
2021-08-18 19:59:04 +05:30
qctecmdr
12f30e6fea Merge "audio: dts: Add kiwi platform support" 2021-08-15 08:15:12 -07:00
Meng Wang
ecac4174c3 audio: dts: Add kiwi platform support
Add kiwi chipset platform id to waipio MTP overlays
for audio support.

Change-Id: I895480351bb16c235edd558edcee08583f467d26
2021-08-04 08:17:34 +08:00
Meng Wang
e63b9850db audio: dts: update widget connection for SVA usecase
When enabling SVA usecase, micbias should be switched to PULL_UP
mode to reduce power consumption. Update widget connection to
enable PULL_UP for sva micbias.

Change-Id: I3c43460402d0c3d7593c463cca6edc749dde40aa
2021-08-03 16:16:34 -07:00
qctecmdr
903b1e49db Merge "audio: dts: add support for ADC_HIFI" 2021-08-02 20:56:04 -07:00
Meng Wang
a51e2328e1 audio: dts: Add audio hw vote clock node in lpi
Add audio hw vote clock node in lpi device tree
in order to support digital clk resource manager
in waipio targets.

Change-Id: Ia0e628d49d22006824873de654ef980c148a6780
2021-06-29 15:02:33 +08:00
qctecmdr
bd1532cb6d Merge "audio: dts: add support for waipio HDK device" 2021-06-27 12:35:05 -07:00
Meng Wang
1e22c18d27 audio: dts: add support for ADC_HIFI
Route ADC3/4 to SWR TX Data_lane2 to support ADC_HIFI mode.

Change-Id: Ia24d5b85fa6b8bd8bc924a7951aabbde72bd1830
Signed-off-by: Meng Wang <mengw@qti.qualcomm.com>
2021-06-24 08:33:37 +08:00
Meng Wang
633e0a3bff audio: dts: add support for waipio HDK device
Add support for Waipio HDK device.

Change-Id: I9afeecf72458ddb3d90df9c3a06476b9e0689b96
2021-06-21 14:49:42 +08:00
qctecmdr
552dbbab4f Merge "Audio: document: add property for wcd dmic" 2021-06-19 11:39:00 -07:00