From patchwork Tue Nov 26 16:42:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mohammad Rafi Shaik X-Patchwork-Id: 845627 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 348531D8E16; Tue, 26 Nov 2024 16:44:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732639502; cv=none; b=Y2AqzncgzeBDao4fS7A/v6Xpv1Ugo6QpYMKKoAxt+S85PoTlMelvKsYXqmR6Uso0MO/hFefA8h6piikrLbmSpQ8W3HnwCDuPtGX8RZDZ4X4z84Crc1sbgDLZi5mB78M3Oqo4wbOSPwacoqTfTZ0PR2T5mKYAe6fSm3l8xWGOk9c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732639502; c=relaxed/simple; bh=ArvzV5XrFXZSwjUaVyXbuWR86XhWcfmbbvukIEhNofY=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=HBGUL21IRinxcDhtBXfv+jVYR83n2DH+0cY3DGdLN8QmuapBZXaIxC7g1gnfd0cMfR9sZiO4jXt525q3z8z2ZNwm8s1dhPz6+iVM4alkN6GyJk0unAXPtvaEg21W5t+7LKVcgBy/8MXk4dboAZMggPOkUXkTkg0FA6GYFtDttew= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=I7tJfT75; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="I7tJfT75" Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4AQ99qHN028964; Tue, 26 Nov 2024 16:44:39 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= wlvUV5zZsPDjQimoOhzSljo/S63ZXaxegUXl2iCWMyo=; b=I7tJfT75+CaJqs+E QZef74+3IBwb+zAz+suK/nA8O8/LDiSGmUc0tb7SmGMa5q66su4tlXF6S0cNF862 4q2YACdUSgczRk1uKARBF14DJbhZmenWYQ+hrIZcmQ/S6s7Tu8tu8cXkbb5NtR9Q slZw3eFLZ39R7XgQcONUIYSqYYfBk5wFT/REKT6EN4G1OOxMivbo4J8KOgHR9L27 lO8ma+qhNh5ZWaKt1B7mlW9MIi+B57/7nwFHRJ7RASd+Ru1PPemE5eQUIS7jsO+t SbWuOiIZfDQ8kOl7g85TaIQCdPa55XhvcP8TcQ55hbAzwbbooy2QGNPKCvv+vSnE eTBWKw== Received: from nasanppmta02.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 435bf5h760-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 26 Nov 2024 16:44:39 +0000 (GMT) Received: from nasanex01c.na.qualcomm.com (nasanex01c.na.qualcomm.com [10.45.79.139]) by NASANPPMTA02.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 4AQGicFF023869 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 26 Nov 2024 16:44:38 GMT Received: from hu-mohs-hyd.qualcomm.com (10.80.80.8) by nasanex01c.na.qualcomm.com (10.45.79.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Tue, 26 Nov 2024 08:44:31 -0800 From: Mohammad Rafi Shaik To: Srinivas Kandagatla , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul , Bard Liao , Jaroslav Kysela , "Takashi Iwai" CC: Pierre-Louis Bossart , Sanyog Kale , , , , , , , Mohammad Rafi Shaik Subject: [PATCH v3 1/5] ASoC: dt-bindings: Add bindings for wcd937x static channel mapping Date: Tue, 26 Nov 2024 22:12:56 +0530 Message-ID: <20241126164300.3305903-2-quic_mohs@quicinc.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20241126164300.3305903-1-quic_mohs@quicinc.com> References: <20241126164300.3305903-1-quic_mohs@quicinc.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01c.na.qualcomm.com (10.45.79.139) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: 9hQwXFatRDiYxyuH6qN7qU2zj99iHrAr X-Proofpoint-GUID: 9hQwXFatRDiYxyuH6qN7qU2zj99iHrAr X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 impostorscore=0 suspectscore=0 clxscore=1015 mlxlogscore=999 spamscore=0 malwarescore=0 adultscore=0 bulkscore=0 priorityscore=1501 lowpriorityscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2411260134 Add wcd937x static channel mapping values to avoid having to use unclear number indices in device trees. Signed-off-by: Mohammad Rafi Shaik --- include/dt-bindings/sound/qcom,wcd93xx.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 include/dt-bindings/sound/qcom,wcd93xx.h diff --git a/include/dt-bindings/sound/qcom,wcd93xx.h b/include/dt-bindings/sound/qcom,wcd93xx.h new file mode 100644 index 000000000000..45bcc30d0393 --- /dev/null +++ b/include/dt-bindings/sound/qcom,wcd93xx.h @@ -0,0 +1,13 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) + * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +#ifndef __DT_SOUND_QCOM_WCD93xx_H +#define __DT_SOUND_QCOM_WCD93xx_H + +#define SWRM_CH1 1 +#define SWRM_CH2 2 +#define SWRM_CH3 4 +#define SWRM_CH4 8 + +#endif