From nobody Sun May 24 19:33:37 2026 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 398D93806A7 for ; Sat, 23 May 2026 08:55:24 +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=1779526525; cv=none; b=tnJRo8Xg4LVWKhYHl6DKLgXG3+5D0zDUSFhsxhDtwOTcGKkku9kfqVN+gESJObN1d+L3gZF6gQPNQuKGXmwZ7p9L0DAwD1dtrQkWbVJJWpLbwictb/XBNViWS5ZhogSGcye/TepUd35vy74Ay0/FZl7AyGsYX2X4GHsNzBcGqGg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779526525; c=relaxed/simple; bh=DGIj2GYDkot8puf3FcE+/w7IPaWQUlBilG1+iCjOjGk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=jVHWhKh6aqpau8URaj6oxyXqBgeifF/wFa8Vq16oCkL/4LAtxgYDKfSG79UjCXQ2VN2urv4jFZGsrY9m3dj+ggtF9gSFZSx3znPernQwlcTJzQr2JQMpZb7jintQMtwj0m/qkibxe3O38xXfWTjMkFI0jeZGlP2eit2fdEhXfxo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=hjMl1UO/; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=eYmPttDT; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="hjMl1UO/"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="eYmPttDT" Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 64N51bu62187228 for ; Sat, 23 May 2026 08:55:23 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=UesMeb0m4oi qpOYD5Rx5P0rAutPaEL4veXBJ3rzm2k0=; b=hjMl1UO/cZ/P4idsczMoxV/aF40 VN672IUHXpN0IGD7hxGsBjpBJkwvxoKcmFgPHpnzaYsROq7xc0bdodI+SVzILUmO 8tLOXqLxM1+JFU87JeRZDeRpHRUmzE5zEwCxfRgMAhW48w7ZXKprNAGjO0N17E0G MbztmrfOPx/eB99GI9b7y2iPAtFoC/yXemZM3PtuR6Zt/wIkLj4HP8P1I8DwZJY4 x2OoRcIPbwXxwo6JR33cetc2xkPmKs7s86Y1KO6L98noyAnt6ZzOeBfI7WZDKSZt 2flIavtpEmpCFpLDPxVqswpbPhxxDZcgg1lvrsPZvr6OkOVumvCbkipzfmQ== Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4eb36t0pum-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Sat, 23 May 2026 08:55:23 +0000 (GMT) Received: by mail-pl1-f198.google.com with SMTP id d9443c01a7336-2b9a3c3c4eeso79077625ad.3 for ; Sat, 23 May 2026 01:55:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1779526523; x=1780131323; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=UesMeb0m4oiqpOYD5Rx5P0rAutPaEL4veXBJ3rzm2k0=; b=eYmPttDT0s+nMbwqVC4WOA2j/h90vQhaRyu5mojmM0tBtoY3sM45yTAbF7b7RWi5b1 Eb5VpS+2wO2EsFpQivSlGExbOJYOCgVP6GeJ1K0sQrJV2LBwTn8kcgI2FcuNt5q0rLWw tjtKIHJw6SH5AnmMqM3GlQxl6Gk3y32/o0M5mKa/F32310czWQ177DqDlh1C489l7klJ wNshDe1oCaN6a672TYzwGDknGOhG+6qsmgxbD/XhqSQISBzq2+F/Y19nshIBhimBVP1T DIcJYMbVPZmzxmnwXVP02IIrfHmmY9tWuy5u5glbb8kEhk08ZKsNsZWkQr2bea+1VLZR CDew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779526523; x=1780131323; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=UesMeb0m4oiqpOYD5Rx5P0rAutPaEL4veXBJ3rzm2k0=; b=PYWMxx8bg9G7qRJ/Is/OEDIx90YkkBzhnZm/RjbSMKhh8s9kANcfBBqRNbC+cWkqAZ +qqPLUqN7vOVKcuEi96Fhy22fYrASuyFnlhPsnN69FgOoKYilm9/qBAV16IcOw56L9c5 0L9XtwBJtRxPylOxJaESJV+/41HCQsD3udye2P66qX8xKKTTB2QrNqNkmnNYv7XodvEe /2c21S9+4nyp8iEFJ5GjMLLnLgegCckk77Lw/ldBMaCpvfauJzXcaNHScCSMEr/ilCjB jH6HAyORBKqUcTtCXoIMrEIJiHYJSZaELCU5voGVmNAl/aMfaSmbGq9sXpTI+zMDuk2A snXQ== X-Forwarded-Encrypted: i=1; AFNElJ8HSIKmhqePWldXxqD9WFcvCb9kGgo89dpGKyEN7gaUFCCEFRntFJcQ2Np4AtvlZTbLEOgwimeMuONC87M=@vger.kernel.org X-Gm-Message-State: AOJu0YxF1X1V8WjJtjnJwYMucV9Ne3bKGZ94a3LT9sPrZBiK8BWUbbZP bypfWLkP15+KPyFEhq447z4V/8aIEVX4wefTCZ00nfOcsFkolAQWa2VYv94Ndsq4rFcYylfxL0U UA6qkuQzLJ43M7CLLtaC07LYliVYPC0tcGa3ESC6NsXJoMMu+vUqTyTdZbnoqfGQjVsw= X-Gm-Gg: Acq92OGFL7m3JXAili7HaOLFekB00yljtmXRAVpFg5PLsrkeYZrF+BPgJmNvorFv10L 2leDSeoWhwmdwf+7FKTTy2ilPaKjb3wmzGQLpKdP/8CNHYn9MBph9n/3cE+kvM/hbhwUnaCpP5m eoJP9HOrXT4qjCsVpDps9kBFuSPzR7/4W9Xbak56HdPid5UPAToxQgwl9Egfjtckl9UKnKBTlCj d9RQTeITff5pciw3A7QMWE6Wcyd5yM8bMWEgoLaGfEYzoRif5zpkUDij50co2QO+suVffVsGUfr 2VH8kVKq6ZAe/O60UX9I2bMVDsdQ8yU4AvCFCzk7Xse+c57vJKflxEID5Aea/4uti8DtdzuL8aU RZq9W6HXnRUj67OK8N09r93H2SYyQcwX7ag6LuGwYLQltgVVWVN5q7ikFkTQRbGwe1OZbbOne7K 6mEN94Imy21N9FNl6ySO8jkCvEa4kq1PT0P/S8 X-Received: by 2002:a17:903:15c7:b0:2bd:8938:b811 with SMTP id d9443c01a7336-2beb0700897mr83310775ad.34.1779526522567; Sat, 23 May 2026 01:55:22 -0700 (PDT) X-Received: by 2002:a17:903:15c7:b0:2bd:8938:b811 with SMTP id d9443c01a7336-2beb0700897mr83310475ad.34.1779526522008; Sat, 23 May 2026 01:55:22 -0700 (PDT) Received: from hu-sibis-blr.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com. [103.229.18.19]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2beb56d68adsm49105395ad.32.2026.05.23.01.55.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 May 2026 01:55:21 -0700 (PDT) From: Sibi Sankar To: robh@kernel.org, srini@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, andersson@kernel.org, konradybcio@kernel.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, prasad.kumpatla@oss.qualcomm.com Subject: [PATCH V9 1/3] dt-bindings: soundwire: qcom: Increase max data ports to 17 Date: Sat, 23 May 2026 14:25:09 +0530 Message-Id: <20260523085511.2532669-2-sibi.sankar@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260523085511.2532669-1-sibi.sankar@oss.qualcomm.com> References: <20260523085511.2532669-1-sibi.sankar@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-GUID: 5DsL3TlEiv6vic_rV5j7Pv79k37P8D_4 X-Authority-Analysis: v=2.4 cv=Fto1OWrq c=1 sm=1 tr=0 ts=6a116b7b cx=c_pps a=MTSHoo12Qbhz2p7MsH1ifg==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17 a=NGcC8JguVDcA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=Um2Pa8k9VHT-vaBCBUpS:22 a=EUspDBNiAAAA:8 a=BZ2PEOZbcBSxFJMT2ysA:9 a=GvdueXVYPmCkWapjIL-Q:22 X-Proofpoint-ORIG-GUID: 5DsL3TlEiv6vic_rV5j7Pv79k37P8D_4 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNTIzMDA4NyBTYWx0ZWRfX1xaQ8tzr3Dyp IOctY+3cPKYlSx5IYaU60LqUUFXR8swwKq2R6TMyPkvQKl2cEf+/t8B5qAXFe1IJ5fie5CEKPG3 /fbX/TMu9OIeWRwc1VthgOJBZigDJ+kBfk7u4xLlha9WtBUDA6lqjOsqppKdKScVGdgymQsckRT MlERUqJY+ixaFk8O+dRNPvp1RCGy06EtXlMcgJYvoJfLRzrgJMIXr6FdgMEYjm0DsI8guc4gxdH nDwRbuqgUDkDgGeSKBuc2CABMHS+JoWKqxWQlfOQynxe4ah19QSU+kuXxhsX+rWFpk46HUt+u0f QuMU4J3RBO6ufp6bzau/KIvJTnnvhNHIM/NUW+WXbE2mzllDJxz3ZNiSZOob1aDmUc8Zm5wwCOn HM8Xo6g3NJ9IspxpEmqXMmGmuliG8wD5txXoxE8fXT9FzaepCHPkzOIw5nsKocMN24bIjdO9dCY OM677Se7Z4Ahzmrn8gg== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-05-23_03,2026-05-18_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 bulkscore=0 malwarescore=0 priorityscore=1501 impostorscore=0 lowpriorityscore=0 spamscore=0 clxscore=1015 adultscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2605130000 definitions=main-2605230087 Content-Type: text/plain; charset="utf-8" Bump the maxItems from 16 to 17 for all qcom,ports-* properties to accommodate SoundWire controllers v3.1.0 with 17 data ports. Signed-off-by: Sibi Sankar --- .../bindings/soundwire/qcom,soundwire.yaml | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/soundwire/qcom,soundwire.yam= l b/Documentation/devicetree/bindings/soundwire/qcom,soundwire.yaml index 9447a2f371b5..8e6973fa229c 100644 --- a/Documentation/devicetree/bindings/soundwire/qcom,soundwire.yaml +++ b/Documentation/devicetree/bindings/soundwire/qcom,soundwire.yaml @@ -90,7 +90,7 @@ properties: or applicable for the respective data port. More info in MIPI Alliance SoundWire 1.0 Specifications. minItems: 3 - maxItems: 16 + maxItems: 17 =20 qcom,ports-sinterval-low: $ref: /schemas/types.yaml#/definitions/uint8-array @@ -101,7 +101,7 @@ properties: or applicable for the respective data port. More info in MIPI Alliance SoundWire 1.0 Specifications. minItems: 3 - maxItems: 16 + maxItems: 17 =20 qcom,ports-sinterval: $ref: /schemas/types.yaml#/definitions/uint16-array @@ -112,7 +112,7 @@ properties: or applicable for the respective data port. More info in MIPI Alliance SoundWire 1.0 Specifications. minItems: 3 - maxItems: 16 + maxItems: 17 =20 qcom,ports-offset1: $ref: /schemas/types.yaml#/definitions/uint8-array @@ -123,7 +123,7 @@ properties: or applicable for the respective data port. More info in MIPI Alliance SoundWire 1.0 Specifications. minItems: 3 - maxItems: 16 + maxItems: 17 =20 qcom,ports-offset2: $ref: /schemas/types.yaml#/definitions/uint8-array @@ -134,7 +134,7 @@ properties: or applicable for the respective data port. More info in MIPI Alliance SoundWire 1.0 Specifications. minItems: 3 - maxItems: 16 + maxItems: 17 =20 qcom,ports-lane-control: $ref: /schemas/types.yaml#/definitions/uint8-array @@ -145,7 +145,7 @@ properties: or applicable for the respective data port. More info in MIPI Alliance SoundWire 1.0 Specifications. minItems: 3 - maxItems: 16 + maxItems: 17 =20 qcom,ports-block-pack-mode: $ref: /schemas/types.yaml#/definitions/uint8-array @@ -158,7 +158,7 @@ properties: or applicable for the respective data port. More info in MIPI Alliance SoundWire 1.0 Specifications. minItems: 3 - maxItems: 16 + maxItems: 17 items: oneOf: - minimum: 0 @@ -175,7 +175,7 @@ properties: or applicable for the respective data port. More info in MIPI Alliance SoundWire 1.0 Specifications. minItems: 3 - maxItems: 16 + maxItems: 17 items: oneOf: - minimum: 0 @@ -192,7 +192,7 @@ properties: or applicable for the respective data port. More info in MIPI Alliance SoundWire 1.0 Specifications. minItems: 3 - maxItems: 16 + maxItems: 17 items: oneOf: - minimum: 0 @@ -208,7 +208,7 @@ properties: or applicable for the respective data port. More info in MIPI Alliance SoundWire 1.0 Specifications. minItems: 3 - maxItems: 16 + maxItems: 17 items: oneOf: - minimum: 0 --=20 2.34.1 From nobody Sun May 24 19:33:37 2026 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 E912137FF44 for ; Sat, 23 May 2026 08:55:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779526534; cv=none; b=ILHdXJ5Ft93Jr1fReunJkOlKbde8RIW2Be8DM5QUeNl5NMh18KIG1BSwKmvWKTmejckQF6nJ5YhXcU0TTqiZf2U/iT1WABpVXmAOVDFiwtB7hU01hP2OoeRUHF/Zptc88hAtcx8c1B+JMXLytoYFx3O/k/oSp5hAOm9eGuDGm7g= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779526534; c=relaxed/simple; bh=pgbdGtHi5ZL2V46f6Z9TdkDjE5Nb5V12hXCvR//Fvwc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=kl2msbY0y9062gz8csC+FmXU+czhHNJRZm/Aep8ykNCgsbHE5Dh3uJtjjWInCOFWmdYglFAJpNLcVlQaFW7gysqYzhWpQy3j/tAV3oXbA1AUTfCbwO9zfb4YYDLLFsoXKrptqK/r+45pZ+UgHcttbUeWpQ0TKzuBseFSxkzbkvU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=UMql4sAb; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=PpEyA+1S; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="UMql4sAb"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="PpEyA+1S" Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 64N51gtv491575 for ; Sat, 23 May 2026 08:55:28 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=x6jniaZgxyb kMCO22rcadwBBrKk3Ke606PTcwbmWe58=; b=UMql4sAbkuVD/u6lMtbbQnkFYQu nPlU1l7/5JhwVVy5086Mx95U11jBhnuF+BZdtESvwl7Sw26cKMVhATeEkuXid3CV nAvpU3tmDV1SMs++kTsL4rLMzjIRHRZ4woU3aVY3HaV1DXzifblQIrq9cV3kiPBv IKWTFZw+poL/hL2dUmtLYVG4mJZI+d2dXR3BFKxKSDe+81WVPUazwVyLV7+5lBwi TXfm4ke/zBqTmoQpeWwMG48hRpO+zXkamNtnyBIKLZafg/VO9lkiLa3Pm/jnO93N +E0kSMdNTCt5SaoCFksRTAFLtD+nZjXw4yOZayP4CkpJs4wrju1/fiuraAA== Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4eb4asrhf8-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Sat, 23 May 2026 08:55:27 +0000 (GMT) Received: by mail-pl1-f198.google.com with SMTP id d9443c01a7336-2babbeff9e4so87507275ad.0 for ; Sat, 23 May 2026 01:55:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1779526527; x=1780131327; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=x6jniaZgxybkMCO22rcadwBBrKk3Ke606PTcwbmWe58=; b=PpEyA+1SZmLB2DpXpQMUcdzgBjIj39K7Fr3b/nJjsKdAdPLGRBEo5YHaiAHwml0Lxn Zfw3oYk5nJGxKmtVbCJDLpghrkZj8tcSAfKLFcUyLMyrBHqot1aXT7Ay90fCBt245gPt ctWX/CEHS4UJML8yeEJw4kHnjN2ZLAbKlPKEuW5MzZIFrbRaCeXLCtobyz/iY0fX7J/V tegD4zaHe2Sz10h53Nvy9luRFJVgCvfy/Q2iX6qaWp7C6euwIdkq44PHpLh+KiUT7DUs jlBqMDp8omfOVerPPuhkZkFpo37IP6b/O2NoHpQWb+6NXs8vOOMmemOOj/LC1oyvBK4r LDCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779526527; x=1780131327; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=x6jniaZgxybkMCO22rcadwBBrKk3Ke606PTcwbmWe58=; b=ssmQFwwUr6qfu4B8OJmXp910L1K15FFamKQy23NqVXAE0fQC1T+saFJv1gBtzavg9D J9lq2CWymdPQszlmE3nOMqgSlCIQfB1jF+yUmUogOp6AGz4UCgAaPc8b8NncuUntF+jY OR6RkRSekmd+VkojbCD4i2NtNmyK9gmyVXq1tEM0J/adCp5JBOwYryKZnIlXBfCdttXt dD0NgK+6LaXmBkEcsPw5sAEg//Aw/lKHmriimrVguIm3fUW8sU76qvC0KKYhidcLM8dd L4UQfdGv+ONRF3f2zw0YHh5T3mPFwHUEQZ5k5Kt4z7LP5xeW8zq0aYUcyVNsD9uipmAc Zg3w== X-Forwarded-Encrypted: i=1; AFNElJ+U9sbDWnQCJpBt6de/1MLNZnzAK9xWhr/BEBlSC/BEcWyPQtKLWU0gWLjvsFb8aljF4HPjW63sFtUfAvs=@vger.kernel.org X-Gm-Message-State: AOJu0YximVXczFuCJym1ryxgxvf8R8YBXJk4Me9/bX2jVbewqGNdUDIU C67PCj/4LrvlzBpbATfAeftsLWTAflWYuObD3L4tUxmqobv6bsCmXRrXOPaKdcjuIZv7FmSSmwk 2aWWHbitWpkgaSs+0ukV2YbbKVu/SN3vLZcU41RobIsHHgJzI/gUObfNfZLEgN7prqB4= X-Gm-Gg: Acq92OFowTBRxL684mUdObNQNEytOoBShk0jSDI8/hCIHz7CexfgdYISWxffgXInBa3 MF+U0hRKkJ7XX6cTb3cCLKtlh6Ojtw4ED3tb+P9LBdoeLzTQnf/f2cbjCT9hxee4+nT/4kCShcb G1kx3eUs2hdvVaQhmOXM0ZHjylaKOuS0fKEYwcqLD15QCuVY0rGp3ZYvuAiFyrqPrX4FaUi2kP3 /QDz4cf2ij6PYW/wvTV3eMLR2gVPMiFHp1lKnRoXR36L2n3J1rdL1rdDQW/BoGEImSpeTjBrSIm n+P3mpMhAKSULnuvnrUO5wT+7wrvYxqWMxIcyVEqsBIs09fExNhuGDoeDFCN+WP8lpoSo0ZrwUC 4afxZxuKeBDfcHtYRYTz5KsuI7R2U7hJ75X1w0RUpyWWWcHwZS5UWnAkPF3EfX7pgQ8iW1mWirL 7EsWg31pxF9hYdo3J4KMICdRs8TbBEVkXm/y99 X-Received: by 2002:a17:902:c946:b0:2bc:e299:4b3f with SMTP id d9443c01a7336-2beb085f3d0mr63900145ad.10.1779526526718; Sat, 23 May 2026 01:55:26 -0700 (PDT) X-Received: by 2002:a17:902:c946:b0:2bc:e299:4b3f with SMTP id d9443c01a7336-2beb085f3d0mr63899735ad.10.1779526526193; Sat, 23 May 2026 01:55:26 -0700 (PDT) Received: from hu-sibis-blr.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com. [103.229.18.19]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2beb56d68adsm49105395ad.32.2026.05.23.01.55.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 May 2026 01:55:25 -0700 (PDT) From: Sibi Sankar To: robh@kernel.org, srini@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, andersson@kernel.org, konradybcio@kernel.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, prasad.kumpatla@oss.qualcomm.com, Mohammad Rafi Shaik , Konrad Dybcio Subject: [PATCH V9 2/3] arm64: dts: glymur: Add LPASS macro codecs and pinctrl Date: Sat, 23 May 2026 14:25:10 +0530 Message-Id: <20260523085511.2532669-3-sibi.sankar@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260523085511.2532669-1-sibi.sankar@oss.qualcomm.com> References: <20260523085511.2532669-1-sibi.sankar@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNTIzMDA4NiBTYWx0ZWRfX8szlTAzOaUsb 60U9wE9x7rp7sSH6UL82sEKM4oGVVLdU5q7BpT4EuJA0yilvN9N2Hx2oS0yNIOopbpeVMMRAkMr 9eLQBaIgk7XuDKEVVM92QCM6IU13rpKJXQlk2gJmY8By3XzHYc9thSWjI2oUyijtqOA+85d0hXV ZH6gcycJpCUfgQDLzQcW+zU0viZUIO23NGad9zEimeCbOBIpKiwrO7Wc8+a2F6JnPjRhmviG1rW A/9x8ZE6+Zwv8l9OhHdewdjhylCP5OwQo9tfcg+6OGrHNUPg+6nu60cwiL37o9dGZ5aVyUVfChi eLPIvTMntyC3ZLADLqLD32wMtTRZNXwCfq1FImiF0SpHnogtg53RIYRfcezVkDcsrpmtK6LtqbZ TBgbzfXY5hLjKsGBAB0pKJeK2RyDkQXTD6cVJVZTZij/3xCvGWN/xrH8f1tgbQvpTmov0gF/b/o mXuUbRoEYyGNUFrNxWg== X-Proofpoint-ORIG-GUID: asMx5fcoRK7PC8RmRpfnQApolYTo63ss X-Proofpoint-GUID: asMx5fcoRK7PC8RmRpfnQApolYTo63ss X-Authority-Analysis: v=2.4 cv=c6ebhx9l c=1 sm=1 tr=0 ts=6a116b7f cx=c_pps a=MTSHoo12Qbhz2p7MsH1ifg==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17 a=NGcC8JguVDcA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=gowsoOTTUOVcmtlkKump:22 a=EUspDBNiAAAA:8 a=mx1dUFmayEYO8tNA33gA:9 a=GvdueXVYPmCkWapjIL-Q:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-05-23_03,2026-05-18_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 priorityscore=1501 spamscore=0 malwarescore=0 adultscore=0 suspectscore=0 lowpriorityscore=0 clxscore=1015 impostorscore=0 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2605130000 definitions=main-2605230086 Content-Type: text/plain; charset="utf-8" From: Srinivas Kandagatla Add LPASS macro codecs and LPASS TLMM pin controller on Qualcomm glymur for proper sound support. Also add GPR (Generic Pack router) node along with APM (Audio Process Manager) and PRM (Proxy resource Manager) audio services. Co-developed-by: Mohammad Rafi Shaik Signed-off-by: Mohammad Rafi Shaik Signed-off-by: Srinivas Kandagatla Reviewed-by: Konrad Dybcio Signed-off-by: Sibi Sankar --- arch/arm64/boot/dts/qcom/glymur.dtsi | 263 +++++++++++++++++++++++++++ 1 file changed, 263 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/glymur.dtsi b/arch/arm64/boot/dts/qco= m/glymur.dtsi index 72c7dc6e4f09..787d7d498bfe 100644 --- a/arch/arm64/boot/dts/qcom/glymur.dtsi +++ b/arch/arm64/boot/dts/qcom/glymur.dtsi @@ -20,7 +20,9 @@ #include #include #include +#include #include +#include #include =20 #include "glymur-ipcc.h" @@ -3891,9 +3893,138 @@ compute-cb@8 { dma-coherent; }; }; + + gpr { + compatible =3D "qcom,gpr"; + qcom,glink-channels =3D "adsp_apps"; + qcom,domain =3D ; + qcom,intents =3D <512 20>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + q6apm: service@1 { + compatible =3D "qcom,q6apm"; + reg =3D ; + #sound-dai-cells =3D <0>; + qcom,protection-domain =3D "avs/audio", + "msm/adsp/audio_pd"; + + q6apmbedai: bedais { + compatible =3D "qcom,q6apm-lpass-dais"; + #sound-dai-cells =3D <1>; + }; + + q6apmdai: dais { + compatible =3D "qcom,q6apm-dais"; + iommus =3D <&apps_smmu 0x1001 0x80>, + <&apps_smmu 0x1061 0x20>; + }; + }; + + q6prm: service@2 { + compatible =3D "qcom,q6prm"; + reg =3D ; + qcom,protection-domain =3D "avs/audio", + "msm/adsp/audio_pd"; + + q6prmcc: clock-controller { + compatible =3D "qcom,q6prm-lpass-clocks"; + #clock-cells =3D <2>; + }; + }; + }; }; }; =20 + swr0: soundwire@6c80000 { + compatible =3D "qcom,soundwire-v3.1.0"; + reg =3D <0x0 0x06c80000 0x0 0x10000>; + interrupts =3D ; + clocks =3D <&lpass_wsamacro>; + clock-names =3D "iface"; + label =3D "WSA"; + + pinctrl-0 =3D <&wsa_swr_active>; + pinctrl-names =3D "default"; + + qcom,ports-block-pack-mode =3D /bits/ 8 <0x00 0x01 0x01 0x00 0x01 0x01 = 0x00 0x00 0x00 0x00 0x00 0x01 0x01 0x00 0x00 0x01 0x01>; + qcom,ports-word-length =3D /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0x08= 0xff 0xff 0xff 0xff 0xff 0xff 0x18 0x18 0xff 0xff>; + qcom,ports-offset1 =3D /bits/ 8 <0x01 0x03 0x05 0x02 0x04 0x15 0x00 0x= ff 0xff 0xff 0xff 0x06 0x0d 0x0 0x19 0x06 0x06>; + qcom,ports-offset2 =3D /bits/ 8 <0xff 0x07 0x1f 0xff 0x07 0x1f 0xff 0x= ff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>; + qcom,ports-sinterval =3D /bits/ 16 <0x07 0x1f 0x3f 0x07 0x1f 0x3f 0xc8= 0xff 0xff 0xff 0xff 0x0f 0x0f 0x31f 0x31f 0x0f 0x0f >; + qcom,ports-hstart =3D /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0x08 0xf= f 0xff 0xff 0xff 0xff 0xff 0xf 0xf 0xff 0xff>; + qcom,ports-hstop =3D /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0x08 0xff= 0xff 0xff 0xff 0xff 0xff 0x0f 0x0f 0xff 0xff>; + qcom,ports-lane-control =3D /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0xf= f 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>; + qcom,ports-block-group-count =3D /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xf= f 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>; + #address-cells =3D <2>; + #size-cells =3D <0>; + #sound-dai-cells =3D <1>; + status =3D "disabled"; + }; + + lpass_wsamacro: codec@6c90000 { + compatible =3D "qcom,glymur-lpass-wsa-macro", "qcom,sm8550-lpass-wsa-ma= cro"; + reg =3D <0x0 0x06c90000 0x0 0x1000>; + clocks =3D <&q6prmcc LPASS_CLK_ID_WSA_CORE_TX_MCLK LPASS_CLK_ATTRIBUTE_= COUPLE_NO>, + <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&lpass_vamacro>; + clock-names =3D "mclk", + "macro", + "dcodec", + "fsgen"; + + #clock-cells =3D <0>; + clock-output-names =3D "mclk"; + #sound-dai-cells =3D <1>; + sound-name-prefix =3D "WSA"; + }; + + swr3: soundwire@6ca0000 { + compatible =3D "qcom,soundwire-v3.1.0"; + reg =3D <0x0 0x06ca0000 0x0 0x10000>; + interrupts =3D ; + clocks =3D <&lpass_wsa2macro>; + clock-names =3D "iface"; + label =3D "WSA2"; + + pinctrl-0 =3D <&wsa2_swr_active>; + pinctrl-names =3D "default"; + + qcom,ports-block-pack-mode =3D /bits/ 8 <0x00 0x01 0x01 0x00 0x01 0x01 = 0x00 0x00 0x00 0x00 0x00 0x01 0x01 0x00 0x00 0x01 0x01>; + qcom,ports-word-length =3D /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0x08= 0xff 0xff 0xff 0xff 0xff 0xff 0x18 0x18 0xff 0xff>; + qcom,ports-offset1 =3D /bits/ 8 <0x01 0x03 0x05 0x02 0x04 0x15 0x00 0x= ff 0xff 0xff 0xff 0x06 0x0d 0x0 0x19 0x06 0x06>; + qcom,ports-offset2 =3D /bits/ 8 <0xff 0x07 0x1f 0xff 0x07 0x1f 0xff 0x= ff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>; + qcom,ports-sinterval =3D /bits/ 16 <0x07 0x1f 0x3f 0x07 0x1f 0x3f 0xc8= 0xff 0xff 0xff 0xff 0x0f 0x0f 0x31f 0x31f 0x0f 0x0f >; + qcom,ports-hstart =3D /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0x08 0xf= f 0xff 0xff 0xff 0xff 0xff 0xf 0xf 0xff 0xff>; + qcom,ports-hstop =3D /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0x08 0xff= 0xff 0xff 0xff 0xff 0xff 0x0f 0x0f 0xff 0xff>; + qcom,ports-lane-control =3D /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0xf= f 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>; + qcom,ports-block-group-count =3D /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xf= f 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>; + + #address-cells =3D <2>; + #size-cells =3D <0>; + #sound-dai-cells =3D <1>; + status =3D "disabled"; + }; + + lpass_wsa2macro: codec@6cb0000 { + compatible =3D "qcom,glymur-lpass-wsa-macro", "qcom,sm8550-lpass-wsa-ma= cro"; + reg =3D <0x0 0x06cb0000 0x0 0x1000>; + clocks =3D <&q6prmcc LPASS_CLK_ID_WSA2_CORE_TX_MCLK LPASS_CLK_ATTRIBUTE= _COUPLE_NO>, + <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&lpass_vamacro>; + clock-names =3D "mclk", + "macro", + "dcodec", + "fsgen"; + + #clock-cells =3D <0>; + clock-output-names =3D "wsa2-mclk"; + #sound-dai-cells =3D <1>; + sound-name-prefix =3D "WSA2"; + }; + lpass_lpiaon_noc: interconnect@7400000 { compatible =3D "qcom,glymur-lpass-lpiaon-noc"; reg =3D <0x0 0x07400000 0x0 0x19080>; @@ -3908,6 +4039,138 @@ lpass_lpicx_noc: interconnect@7420000 { #interconnect-cells =3D <2>; }; =20 + lpass_vamacro: codec@7660000 { + compatible =3D "qcom,glymur-lpass-va-macro", "qcom,sm8550-lpass-va-macr= o"; + reg =3D <0x0 0x07660000 0x0 0x2000>; + clocks =3D <&q6prmcc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUP= LE_NO>, + <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>; + clock-names =3D "mclk", + "macro", + "dcodec"; + + #clock-cells =3D <0>; + clock-output-names =3D "fsgen"; + #sound-dai-cells =3D <1>; + }; + + lpass_tlmm: pinctrl@7760000 { + compatible =3D "qcom,glymur-lpass-lpi-pinctrl", "qcom,sm8650-lpass-lpi-= pinctrl"; + reg =3D <0x0 0x07760000 0x0 0x20000>; + + clocks =3D <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>; + clock-names =3D "core", "audio"; + + gpio-controller; + #gpio-cells =3D <2>; + gpio-ranges =3D <&lpass_tlmm 0 0 23>; + + tx_swr_active: tx-swr-active-state { + clk-pins { + pins =3D "gpio0"; + function =3D "swr_tx_clk"; + drive-strength =3D <2>; + slew-rate =3D <1>; + bias-disable; + }; + + data-pins { + pins =3D "gpio1", "gpio2"; + function =3D "swr_tx_data"; + drive-strength =3D <2>; + slew-rate =3D <1>; + bias-bus-hold; + }; + }; + + rx_swr_active: rx-swr-active-state { + clk-pins { + pins =3D "gpio3"; + function =3D "swr_rx_clk"; + drive-strength =3D <2>; + slew-rate =3D <1>; + bias-disable; + }; + + data-pins { + pins =3D "gpio4", "gpio5"; + function =3D "swr_rx_data"; + drive-strength =3D <2>; + slew-rate =3D <1>; + bias-bus-hold; + }; + }; + + dmic01_default: dmic01-default-state { + clk-pins { + pins =3D "gpio6"; + function =3D "dmic1_clk"; + drive-strength =3D <8>; + output-high; + }; + + data-pins { + pins =3D "gpio7"; + function =3D "dmic1_data"; + drive-strength =3D <8>; + input-enable; + }; + }; + + dmic23_default: dmic23-default-state { + clk-pins { + pins =3D "gpio8"; + function =3D "dmic2_clk"; + drive-strength =3D <8>; + output-high; + }; + + data-pins { + pins =3D "gpio9"; + function =3D "dmic2_data"; + drive-strength =3D <8>; + input-enable; + }; + }; + + wsa_swr_active: wsa-swr-active-state { + clk-pins { + pins =3D "gpio10"; + function =3D "wsa_swr_clk"; + drive-strength =3D <2>; + slew-rate =3D <1>; + bias-disable; + }; + + data-pins { + pins =3D "gpio11"; + function =3D "wsa_swr_data"; + drive-strength =3D <2>; + slew-rate =3D <1>; + bias-bus-hold; + }; + }; + + wsa2_swr_active: wsa2-swr-active-state { + clk-pins { + pins =3D "gpio15"; + function =3D "wsa2_swr_clk"; + drive-strength =3D <2>; + slew-rate =3D <1>; + bias-disable; + }; + + data-pins { + pins =3D "gpio16"; + function =3D "wsa2_swr_data"; + drive-strength =3D <2>; + slew-rate =3D <1>; + bias-bus-hold; + }; + }; + }; + lpass_ag_noc: interconnect@7e40000 { compatible =3D "qcom,glymur-lpass-ag-noc"; reg =3D <0x0 0x07e40000 0x0 0xe080>; --=20 2.34.1 From nobody Sun May 24 19:33:37 2026 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 7BB0A37F8D0 for ; Sat, 23 May 2026 08:55:32 +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=1779526533; cv=none; b=FVO8Y9kdbrogiDvVbKckJaFo9o6ATRhxMGBgtepyPYeuhabHIYOKr4CQFbRkFtlgVH+5D/QxCKqpfwB8vqrGuUJ7BQ01zUbcZ31sVNyhvAFopFUMLVXapsfQ2KzwzKxL/ZX7ms203IUVVFxIbbEP3SHDeDlM4FxbqwZJqeiMruk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779526533; c=relaxed/simple; bh=GfDXtP3q3Dcq71TorRZ+dyMBMVzxG86TTwppOvbQ4e8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=otMVk1hPhZgkrlsCXXt8ZX/9E9TU7Te4P1Bfmr86rzAJyEGnSY9TULQftzrL4I3EzzQugxs9KM8jbYO/VNhTZJzASwg6hiXTLZ22q6McZtJdkuojyo2CXLsnw+0bVdmCnHtG/Lb5RDp48uvG6LcsbtftqjWHSO/7nntYaEbS7cA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=pF3do9re; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=jzOijT8/; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="pF3do9re"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="jzOijT8/" Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 64N7sVqE1280491 for ; Sat, 23 May 2026 08:55:32 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=SMg/l/29667 tIts74aebOptB25uIIPJLTQJSiapxFr8=; b=pF3do9reLJAYo/SO47Ir496b0Hj yfW/uGru/9LDxnF5TOCqSyUhdXGFC5dJf5YeqZ/6s11CRezMFJ38i1DxHbFQGqYL ATozJU3M+87eY6WugG5vNFiSpozHq/c3BheHUdF9Gpox9XAsoR0eF8Sbu0l4A1iD UxxMKF7aQj9XaTTbrjXh3+xlsKtMZIPVxJvrrpd8EIT/5OmKbcIQSvQjgM3/lx9+ YkyByO2isHtP+xFlJ1LWhHDFAzz+R2kN3fD+PvIuyON3zp0x/sI23xfQhQgY11HL 4tzZr2jfk0vr2PcPESjDjpF7TTR8R8C14kuyN/W+98AWgoFbRY6kk9w1fsg== Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4eb88w036d-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Sat, 23 May 2026 08:55:31 +0000 (GMT) Received: by mail-pl1-f199.google.com with SMTP id d9443c01a7336-2babbeff9e4so87507955ad.0 for ; Sat, 23 May 2026 01:55:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1779526531; x=1780131331; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=SMg/l/29667tIts74aebOptB25uIIPJLTQJSiapxFr8=; b=jzOijT8/DN9XOZwIem64QYye4IM1pPEE7thlfGbjaWHI5/c8qhmSaQghPCyc9mL/US Hbu4QmM9E44cdF6/uRZ2qrHyySfQN37K+rkNX6+2zWmrqMlLVwt21UdGCxhaXPqrW2wh VLBkkvWAtmcQ7Ja93V1Xnv+AOyD9Oc0BqFzTRn/B+tlMlapBObfrvEo4KqfGZw9+MSi1 MpGnqjpUuNz1eoMSxHxftKVzOEArpBrxVOQs+CZhsaa+z3lxCVPgPtS1SoeRDusBDFR0 2UjTi2mdT5lEYuZ4S644l/os/JQ90lEB5ImInbw6D9ZmvTDgahDv3+39rBRgpYlpIouV pfCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779526531; x=1780131331; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=SMg/l/29667tIts74aebOptB25uIIPJLTQJSiapxFr8=; b=MNJtBJpUYF5iGs95eQDTeFSCCJzJQ9gerGSNjA27UX865NYSw3wAuTfjQ084uJAi2s sPmL6cbC27JtxnNTzWUUMHSuXQRvRzhAJW9dTs04UwUqaOSL/8IoBGDfpncQKR2ussJJ 1WVdmi03MUubZ2Cl7OiUc6RbKptqvq0u8A7Z8uUJYIshJKTVNNFWTdcmuxfVbGZ38K/8 zsMEtxAuQqb9qMvAAUCWd8B6Y6Qpxru1lk5+9qp8a3piRqJsrpzkXn71AkkZvloCZ32a ieAK9JDpzmJZgqJTDCcCvq4QjHyd5VE6AK8A40hK/4+33WHI4k0UyDWVE/KCyeijv/aO 75ew== X-Forwarded-Encrypted: i=1; AFNElJ+V3phZ6EWJzCCdF7vvZt3Cg8H56gTkwh3sZ7wR9PZgRRvnwiVZx4UIf6Q5n3ZH00/Qmc2qRkWbM8oR/pU=@vger.kernel.org X-Gm-Message-State: AOJu0YwC9W7LU3yjXcCDEdWXdBwF12shsmd+xc/hcFauglTIK9icgjGW 1rvUzAX0rWXNEKtg5egbXFh2BnBCz1IfQf8xQTBKnr1v5XAZCjLiP0PbEeZ8mAmGVyqDiQBzzuk T4qmXzJ2aZeyxVxVdmRJGmldESKqnz2pN+rMCx4mZXjjVWiwr93C0hbS1fbjO4IjVvhhKtuV8FX 4= X-Gm-Gg: Acq92OGeYTdpkW2QKRaz+/3EjDwaDO10deB6sWvo9Lpax7No99LB+VP2oXGVifwdgGU Cadt2yg9f7Yh55MSbZfSYs42ThNxNxxRaK8DW/uH5yQx1qG6Hxn+oI307HYDpLVa3fsF696mMr8 RBNQ5I0Iw0ix9S+ThOrZkg5U7ztatdryblfAmSB0IgpvqVWOlHaftFR3FSjWifixmZgq/dDUe0M AzNV+PFaJSOCUamNZjXhHtByoPnxyIGSODolVBEjeAtVgdGWjyYxUFQ06yH3EXq4yQIp3aFwpwu DQr65Y2BS7bQ4MlGjKaQRgk0/ccX2u/gtendwe+eJcdsNq589PgHLAsOy4JBh6S9KOWMPm9LciM dfnsYLf7N3gT0TtTgc4M8hARHCXSjvOBXWz9O4+ZJyS82sbRfPp01/sCMGAXuSdAC7vpAP3AI8v whkgOqxjBnuv5iBNIccvopmO7doQ3T/EqexdMp X-Received: by 2002:a17:903:24c:b0:2bd:d7c5:927c with SMTP id d9443c01a7336-2beb09b70f0mr58569235ad.20.1779526530824; Sat, 23 May 2026 01:55:30 -0700 (PDT) X-Received: by 2002:a17:903:24c:b0:2bd:d7c5:927c with SMTP id d9443c01a7336-2beb09b70f0mr58569015ad.20.1779526530331; Sat, 23 May 2026 01:55:30 -0700 (PDT) Received: from hu-sibis-blr.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com. [103.229.18.19]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2beb56d68adsm49105395ad.32.2026.05.23.01.55.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 May 2026 01:55:30 -0700 (PDT) From: Sibi Sankar To: robh@kernel.org, srini@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, andersson@kernel.org, konradybcio@kernel.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, prasad.kumpatla@oss.qualcomm.com, Mohammad Rafi Shaik , Konrad Dybcio Subject: [PATCH V9 3/3] arm64: dts: qcom: glymur-crd: add Audio sound card node Date: Sat, 23 May 2026 14:25:11 +0530 Message-Id: <20260523085511.2532669-4-sibi.sankar@oss.qualcomm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260523085511.2532669-1-sibi.sankar@oss.qualcomm.com> References: <20260523085511.2532669-1-sibi.sankar@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Authority-Analysis: v=2.4 cv=S/jpBosP c=1 sm=1 tr=0 ts=6a116b83 cx=c_pps a=JL+w9abYAAE89/QcEU+0QA==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17 a=NGcC8JguVDcA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=eoimf2acIAo5FJnRuUoq:22 a=EUspDBNiAAAA:8 a=p3rkaTs2iMnfG9m1iUMA:9 a=324X-CrmTo6CU4MGRt3R:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNTIzMDA4NyBTYWx0ZWRfXy3tEGRiPD4fU 1Vw/8mtzwGDRgXNNlG0DxFbjKtLU0oEBBp6peKehn1AcCZMO3XEKmoqMw5DRTHAiX7ziGNkuCba iwDFa4elTDVjKwI8Ji/NUefpZYEqEUCjsYJZx6Yx5avOhDYpNCEcak2zT+1bqZlydvka8e4RBrx dKtJsFVZtO5et368wEkyU8XKHeWn8IYSXLeQue/nln7xMCBHNwiYai+1F/6uyOVlgS1g3pVhUkg 4R+XADbICDpIhhodm6DjzbLo/Q/i3VqxYO8g5bu9y+8kPbS0wnOkiY0O7iYoC7jhuQIHwC331Hi o9AWKqpHGHDvnWZ4NBmXiG5oIzx8AExYMfQSFTpEYPqjMwFO8JKgMxp2UlfX3XZ2Ku7quDHqNXT YqWutOJEHBt4Vz1NTcYQRoJ8wcr1n+jKRRb8kt0ukcapBh1X8fC99V+aRnmDRhpKGrIsZdglb6U xohr9wzSFfmPZcrMmHQ== X-Proofpoint-ORIG-GUID: q3PXTb-AvOEAcf0wMgdAC8CIsxgLNgRC X-Proofpoint-GUID: q3PXTb-AvOEAcf0wMgdAC8CIsxgLNgRC X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-05-23_03,2026-05-18_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 lowpriorityscore=0 malwarescore=0 clxscore=1015 priorityscore=1501 impostorscore=0 adultscore=0 phishscore=0 spamscore=0 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2605130000 definitions=main-2605230087 Content-Type: text/plain; charset="utf-8" From: Srinivas Kandagatla Add the sound card of Glymur-crd board with the routing for speakers. Add device nodes for the sound support with WSA884x smart speakers and playback via speakers and recording via DMIC microphones. Co-developed-by: Mohammad Rafi Shaik Signed-off-by: Mohammad Rafi Shaik Signed-off-by: Srinivas Kandagatla Reviewed-by: Konrad Dybcio Co-developed-by: Sibi Sankar Signed-off-by: Sibi Sankar --- arch/arm64/boot/dts/qcom/glymur-crd.dtsi | 110 +++++++++++++++++++++++ 1 file changed, 110 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/glymur-crd.dtsi b/arch/arm64/boot/dts= /qcom/glymur-crd.dtsi index e784b538f42e..6c272fb6081a 100644 --- a/arch/arm64/boot/dts/qcom/glymur-crd.dtsi +++ b/arch/arm64/boot/dts/qcom/glymur-crd.dtsi @@ -68,6 +68,54 @@ switch-lid { }; }; =20 + sound { + compatible =3D "qcom,glymur-sndcard"; + model =3D "GLYMUR-CRD"; + audio-routing =3D "WooferLeft IN", "WSA WSA_SPK1 OUT", + "TweeterLeft IN", "WSA WSA_SPK2 OUT", + "WooferRight IN", "WSA2 WSA_SPK1 OUT", + "TweeterRight IN", "WSA2 WSA_SPK2 OUT", + "VA DMIC0", "vdd-micb", + "VA DMIC1", "vdd-micb", + "VA DMIC2", "vdd-micb", + "VA DMIC3", "vdd-micb"; + + wsa-dai-link { + link-name =3D "WSA Playback"; + + cpu { + sound-dai =3D <&q6apmbedai WSA_CODEC_DMA_RX_0>; + }; + + codec { + sound-dai =3D <&left_woofer>, <&left_tweeter>, + <&swr0 0>, <&lpass_wsamacro 0>, + <&right_woofer>, <&right_tweeter>, + <&swr3 0>, <&lpass_wsa2macro 0>; + }; + + platform { + sound-dai =3D <&q6apm>; + }; + }; + + va-dai-link { + link-name =3D "VA Capture"; + + cpu { + sound-dai =3D <&q6apmbedai VA_CODEC_DMA_TX_0>; + }; + + codec { + sound-dai =3D <&lpass_vamacro 0>; + }; + + platform { + sound-dai =3D <&q6apm>; + }; + }; + }; + vreg_nvme: regulator-nvme { compatible =3D "regulator-fixed"; =20 @@ -444,6 +492,12 @@ vreg_l4h_e0_1p2: ldo4 { }; }; =20 +&lpass_vamacro { + pinctrl-0 =3D <&dmic01_default>, <&dmic23_default>; + pinctrl-names =3D "default"; + qcom,dmic-sample-rate =3D <4800000>; +}; + &pcie3b { vddpe-3v3-supply =3D <&vreg_nvmesec>; =20 @@ -571,6 +625,62 @@ &pon_resin { status =3D "okay"; }; =20 +&swr0 { + status =3D "okay"; + + /* WSA8845, Left Woofer */ + left_woofer: speaker@0,0 { + compatible =3D "sdw20217020400"; + reg =3D <0 0>; + reset-gpios =3D <&lpass_tlmm 12 GPIO_ACTIVE_LOW>; + #sound-dai-cells =3D <0>; + sound-name-prefix =3D "WooferLeft"; + vdd-1p8-supply =3D <&vreg_l15b_e0_1p8>; + vdd-io-supply =3D <&vreg_l18b_e0_1p2>; + qcom,port-mapping =3D <1 2 3 7 12 14>; + }; + + /* WSA8845, Left Tweeter */ + left_tweeter: speaker@0,1 { + compatible =3D "sdw20217020400"; + reg =3D <0 1>; + reset-gpios =3D <&lpass_tlmm 12 GPIO_ACTIVE_LOW>; + #sound-dai-cells =3D <0>; + sound-name-prefix =3D "TweeterLeft"; + vdd-1p8-supply =3D <&vreg_l15b_e0_1p8>; + vdd-io-supply =3D <&vreg_l18b_e0_1p2>; + qcom,port-mapping =3D <4 5 6 7 13 15>; + }; +}; + +&swr3 { + status =3D "okay"; + + /* WSA8845, Right Woofer */ + right_woofer: speaker@0,0 { + compatible =3D "sdw20217020400"; + reg =3D <0 0>; + reset-gpios =3D <&lpass_tlmm 13 GPIO_ACTIVE_LOW>; + #sound-dai-cells =3D <0>; + sound-name-prefix =3D "WooferRight"; + vdd-1p8-supply =3D <&vreg_l15b_e0_1p8>; + vdd-io-supply =3D <&vreg_l18b_e0_1p2>; + qcom,port-mapping =3D <1 2 3 7 12 14>; + }; + + /* WSA8845, Right Tweeter */ + right_tweeter: speaker@0,1 { + compatible =3D "sdw20217020400"; + reg =3D <0 1>; + reset-gpios =3D <&lpass_tlmm 13 GPIO_ACTIVE_LOW>; + #sound-dai-cells =3D <0>; + sound-name-prefix =3D "TweeterRight"; + vdd-1p8-supply =3D <&vreg_l15b_e0_1p8>; + vdd-io-supply =3D <&vreg_l18b_e0_1p2>; + qcom,port-mapping =3D <4 5 6 7 13 15>; + }; +}; + &remoteproc_adsp { firmware-name =3D "qcom/glymur/adsp.mbn", "qcom/glymur/adsp_dtb.mbn"; --=20 2.34.1