asoc: codecs: Enable custom WSA SWRS port settings

For PBR and CPS ports, need the ability to customized slave
SWR frame OFFSET1 settings. Add similar method to WCD TX where
offset1 and lane_ctrl parameters are parsed from WSA device tree
and configured in SWRM.

Change-Id: Ib973ed93d9daa5ba02461a156e5b0a8c816d371e
Signed-off-by: Matthew Rice <quic_mrice@quicinc.com>
This commit is contained in:
Matthew Rice
2022-03-01 07:58:50 -08:00
والد 8d3fde6573
کامیت 3a6ef472dd
4فایلهای تغییر یافته به همراه88 افزوده شده و 1 حذف شده

مشاهده پرونده

@@ -376,6 +376,8 @@ struct wsa884x_priv {
u8 dev_index;
struct irq_domain *virq;
struct wcd_irq_info irq_info;
struct swr_port_params wsa_port_params[SWR_UC_MAX][WSA884X_MAX_SWR_PORTS];
struct swr_dev_frame_config swr_wsa_port_params[SWR_UC_MAX];
#ifdef CONFIG_DEBUG_FS
struct dentry *debugfs_dent;
struct dentry *debugfs_peek;