From patchwork Thu Jun 27 11:55:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 807916 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B12BBC3064D for ; Thu, 27 Jun 2024 11:57:18 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id DC292218E; Thu, 27 Jun 2024 13:57:05 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz DC292218E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1719489436; bh=O85SbDxixdkAuJ/rOhbynhMI7K+2tLwJVFvzLIEa4dU=; h=From:Date:Subject:References:In-Reply-To:To:Cc:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=ZhmPIHwbH7KUloJq9o4y4HGgYFskY/71tT2Li4jYJLMjEOnHhdl40cFWRXNAPE34n h46+ihNxzEb7aQEXD+JiBJggHhocOzkJOHQX0cO76L8/jk86HgUjfGxJVz9Y7tntB9 A15U7v27Qr6d7wjeBivNoQ2CSvHiOhNpqqsa19N0= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 706A5F80601; Thu, 27 Jun 2024 13:56:16 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id CB9C3F80601; Thu, 27 Jun 2024 13:56:15 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 4FF65F805C3; Thu, 27 Jun 2024 13:56:11 +0200 (CEST) Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 10203F8013D for ; Thu, 27 Jun 2024 13:56:00 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 10203F8013D Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=nIkjhgyC Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-3674e1931b7so240741f8f.2 for ; Thu, 27 Jun 2024 04:56:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719489360; x=1720094160; darn=alsa-project.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=CMZBr+sbQUIlIpJSUfbM5OlpXtb2wUsqZczwBcVbFkk=; b=nIkjhgyCM7rYuI7b9F8qP3jfCIuLB/Wk8qYn3M7yT4eHW2KBZiG51HmHgdR0aBHaGe 28U1AxS52A3xEVLe0OhBH5lW7ramku4IFt7ic1xUHmRBLKx07gj4l0QgSPr4gRNpkbGg 1r7osMEIS1LtXvdZL2kO5/w79paFQgXcnzgrhz7BWgbk2uB5jIxA1cbq7V1/wzW+6FDg pI1mHyqUUEsyI2yZWUTvPJLiMNlI41rx2MWVFZ1p6Wk8Fz+8xvosSNm1lqtpVzRtH9ST TTVRckUNI7hOfUuc8PyM5RLGUc6CauAQUhWMWw+j4c92pwmZ5MTwDbUnpBnoH5bUNpPg RyXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719489360; x=1720094160; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CMZBr+sbQUIlIpJSUfbM5OlpXtb2wUsqZczwBcVbFkk=; b=GyzuMt6kao2NcIn2XxJgwqTO3sEYkBCiXrJe4h3BzelEdfav8G55aWaq+mp7vP69Ne bslpth0CHLIYDtWOGFYD3K+KrZQgxXKh4jfK7fKJPR7gZq2+KTI3/1kJBXIVos1pFZ+c u2H5cetcCclTlFfczzw7sUSIDiWU/iGkAdQtGUXjD3SzcSKZJjJApSc74NOPKpl/CBWb MsmasKj5m8GnVoD2ozTNyqM2vTG1gk9Hk9/vWFSIiB/0cese4Hd5fKVsqkDndOg44HYz iDrR+bkatdXC415dSAQ15hWh8hYdJfGCJBDDYidHcBzr8FZab2PNAnu0q4gSkO1UjnKc RUTA== X-Forwarded-Encrypted: i=1; AJvYcCVYG8PFArv5Wfq3+plxmnegRQKdLlPJq5oWj20cFZ9OYUtdqwzcnJJxsli8TRhHE+yGjyEzHEOaZY4hgy29i87N/oUV22RnD9mSfvo= X-Gm-Message-State: AOJu0YxlgSJT4IjMm9HErSAPT5G3sKJtwJ3jVnHGQACssxOrC4uS8AQJ HFHqi7MRr2Zi/u+LV+bkeYsjmaplNmOWkIZKCCfzDcVF5XBUGRgUVfL7oT7P4gI= X-Google-Smtp-Source: AGHT+IEajDfDHrlmCEHYVoCWsrnXSLEqnz7GdWm9eBlB0wFqTWu4cSRsvyee0ui/6XBlSKjTXD4FpQ== X-Received: by 2002:a5d:5384:0:b0:367:3fdd:632f with SMTP id ffacd0b85a97d-3673fdd6404mr1795626f8f.67.1719489360162; Thu, 27 Jun 2024 04:56:00 -0700 (PDT) Received: from [192.168.1.195] ([5.133.47.210]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3674369980asm1597552f8f.80.2024.06.27.04.55.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jun 2024 04:55:59 -0700 (PDT) From: srinivas.kandagatla@linaro.org Date: Thu, 27 Jun 2024 12:55:17 +0100 Subject: [PATCH 1/6] ASoC: dt-bindings: wsa883x: Document port mapping property MIME-Version: 1.0 Message-Id: <20240626-port-map-v1-1-bd8987d2b332@linaro.org> References: <20240626-port-map-v1-0-bd8987d2b332@linaro.org> In-Reply-To: <20240626-port-map-v1-0-bd8987d2b332@linaro.org> To: Banajit Goswami , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jaroslav Kysela , Takashi Iwai , Bjorn Andersson , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, Neil Armstrong , alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Srinivas Kandagatla , Manikantan R X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1214; i=srinivas.kandagatla@linaro.org; h=from:subject:message-id; bh=wrRMEFdk/eFRVK+n/GMcDMkDXGS6UAX+Cl/VfV6o65k=; b=owEBbQGS/pANAwAKAXqh/VnHNFU3AcsmYgBmfVNNk8LDQuSewymFkeGedy5XR8KOApyhZg6lR bMky0gHUa2JATMEAAEKAB0WIQQi509axvzi9vce3Y16of1ZxzRVNwUCZn1TTQAKCRB6of1ZxzRV N//KB/9mQ5/GXzpPGZa50BDdqSUPYiXgHhNgIyh+W9yQfxvAWyH9Y7JEeNosJUzEUOzSbEIcUs+ NqU+0SZSlPJ7dyPSZZp97eCtYFjRrAOmXB43HPpBgu0Ntgqum3Al4cLE9oDqRMJM2Hvpx+fAEt4 3Hwd2HCfPl51bCjiGJffrYkxfwDVSlClbgLPWuzAP/rYgKWfkHhXvpSMJ35wXXHhr/1Mth5nbAh bjC32OTACEqJwhXnGgONN2cZoonXj9xvWmfqOz2UMr8xg5lPbg3PyxPwB2ZX68pUOXE/EYJ8NJ6 446xN9BEvoA55S8Nv917NtXIMehL8d6jcZ/RFI1RACl8CqaM X-Developer-Key: i=srinivas.kandagatla@linaro.org; a=openpgp; fpr=ED6472765AB36EC43B3EF97AD77E3FC0562560D6 Message-ID-Hash: TQQFV7Y7IGEXGTJ7MEFPKRQKAU27J2MO X-Message-ID-Hash: TQQFV7Y7IGEXGTJ7MEFPKRQKAU27J2MO X-MailFrom: srinivas.kandagatla@linaro.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Manikantan R Document port mapping property for wsa883x. Port mapping is required to be able map correct master ports for VI feedback. All the device ports are not mapped in same order as master ports, so there is a need for having static port mapping for WSA codecs. Signed-off-by: Manikantan R Signed-off-by: Srinivas Kandagatla Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/sound/qcom,wsa883x.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/qcom,wsa883x.yaml b/Documentation/devicetree/bindings/sound/qcom,wsa883x.yaml index 8e462cdf0018..14d312f9c345 100644 --- a/Documentation/devicetree/bindings/sound/qcom,wsa883x.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,wsa883x.yaml @@ -32,6 +32,14 @@ properties: vdd-supply: description: VDD Supply for the Codec + qcom,port-mapping: + description: | + Specifies static port mapping between slave and master ports. + In the order of slave port index. + $ref: /schemas/types.yaml#/definitions/uint32-array + minItems: 4 + maxItems: 4 + '#thermal-sensor-cells': const: 0 From patchwork Thu Jun 27 11:55:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 808302 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3A94EC2BD09 for ; Thu, 27 Jun 2024 11:57:11 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 9FCD61945; Thu, 27 Jun 2024 13:56:59 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 9FCD61945 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1719489429; bh=9h2qcrpoMJqhhywZCecMu80SrM7XnP1kk9SFCuNDm9I=; h=From:Date:Subject:References:In-Reply-To:To:Cc:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=EYhlUlLE5xmDJuX5sWbVy7Q35Y2gBSRbmK3kbqD45+Zt0Boql+IGx4d87TaQr05Us oQKDHFM4EHpf5oDDHcJ/QupCNOCbtslsCaFsPqEhQFI0dLYPuGYU7JwJ53MjNW/6Pv AXN6GnWadxQceHvKx+Xod2BI67m3hvnfH9SVaed0= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 31404F805E9; Thu, 27 Jun 2024 13:56:14 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 7268CF805CA; Thu, 27 Jun 2024 13:56:14 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 1803BF80578; Thu, 27 Jun 2024 13:56:09 +0200 (CEST) Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 7F5FBF80423 for ; Thu, 27 Jun 2024 13:56:01 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 7F5FBF80423 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=OiLx70lL Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-4248e28de9eso40276695e9.2 for ; Thu, 27 Jun 2024 04:56:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719489361; x=1720094161; darn=alsa-project.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=uQkTyAteb5scd6wwSGd6gcSdcAYbAHAYfVMyNIn/xpY=; b=OiLx70lLOgOXBJWQV9MOJ65WXHmFudQplc5EAGIgtqjXDagVjbsOQmb1X2wlF2D11S Qa//6C4esdUYhRGni9htTjAAKe06OxfMZ223JCScfndzoy04A8VdNxrD6WB0+bN6lPhw TX3AduhRHECjZbU4ADQ1z8gOs9lZOh9EsqpWVlIh/ed5tawaQ4BShqR3U2eIBa1FCftI K5teYpWFLxAJSlO8sdkHSjsZ5SSWSlNjS9jPBwpOhGgvSwV/e/td6+oPs6S60wD3dYid VPmSLzoHYoZjZVJIUtRiNnWicUJrvyAiVIbtsvkAdJ3a5IyduQ9d3i4R4dJdexwyC2XU YMFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719489361; x=1720094161; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=uQkTyAteb5scd6wwSGd6gcSdcAYbAHAYfVMyNIn/xpY=; b=GKeu0HeZniW1mwZ54PIxnKdruv40J/LGri38o5kypiIOnzx6a0zvbiNfBoyLjRVFgn OiVK8qn5knN/IryW7lAlYgJhfK7jvLAf97a36lqyp8hY7SemBkJKcScyQqomVwuB6AG4 pN+NsCxwYyassK2bhotV9rwNv8TaO2qltqLmQrDWD17jeiP7PODenWOrFQj3CUiCSY32 d7wZVsCIH8bcToOtXaRrI/CTjHFcaLGt6eB2Znr+Oopj4UoFCzJFyLI8G9+RZt3OrT28 xTHCTS2JSzSYgffBfJRCwG0qJ//4l/9rBBJjImDOHLJeGQevGUiBhLbI1FhjBTrDeYuJ tFGw== X-Forwarded-Encrypted: i=1; AJvYcCWhgocnmxHUnzVMLamQ+YWye0+hYJAYwE3+wkwdMdRkVFDWOJkxJ+dLWzOJH/yCCNHfAoxx7NBsgwGkK0NJL+vRjBtRUGZH7hi00kc= X-Gm-Message-State: AOJu0YzE2jGI73QuuaWdMpJTk13+MwlV4Ly5x5c37VWtIXB1vEqWIJVn MiDwxPRYpDhHeb9+r2G3j2YPF6sn1ptf8uKoyA6GS0LTVKcVRKIbcU74prVcxUg= X-Google-Smtp-Source: AGHT+IEvySmQxU5UelHvcHtqpuhdOW6EjC0yNYf7f6/v4w6iuTt7cS5NAQr7ZFDjG5jJuRh0GQh/YQ== X-Received: by 2002:adf:ce0c:0:b0:361:d3ec:1031 with SMTP id ffacd0b85a97d-366e94d152emr8445646f8f.31.1719489361249; Thu, 27 Jun 2024 04:56:01 -0700 (PDT) Received: from [192.168.1.195] ([5.133.47.210]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3674369980asm1597552f8f.80.2024.06.27.04.56.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jun 2024 04:56:00 -0700 (PDT) From: Srinivas Kandagatla Date: Thu, 27 Jun 2024 12:55:18 +0100 Subject: [PATCH 2/6] ASoC: codecs: wsa883x: parse port-mapping information MIME-Version: 1.0 Message-Id: <20240626-port-map-v1-2-bd8987d2b332@linaro.org> References: <20240626-port-map-v1-0-bd8987d2b332@linaro.org> In-Reply-To: <20240626-port-map-v1-0-bd8987d2b332@linaro.org> To: Banajit Goswami , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jaroslav Kysela , Takashi Iwai , Bjorn Andersson , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, Neil Armstrong , alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Srinivas Kandagatla X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1041; i=srinivas.kandagatla@linaro.org; h=from:subject:message-id; bh=9h2qcrpoMJqhhywZCecMu80SrM7XnP1kk9SFCuNDm9I=; b=owEBbQGS/pANAwAKAXqh/VnHNFU3AcsmYgBmfVNN/jaGM/HtFpEzFVuUA0E9budoN92MdAdGO mqOUIOy79uJATMEAAEKAB0WIQQi509axvzi9vce3Y16of1ZxzRVNwUCZn1TTQAKCRB6of1ZxzRV N3B2B/sEKGfd/FUn+br9tS/11gSupaR+3TgZKVnsqecnVlh9xuS9uT9XOYzF8NhJkYn7BzDXbLD zVD8VM+FKHB5ifuv2oYHSG5kGFIIYiOq6i72J4i44116J56pFw6/e0FvJBGELqiq2Nre2WVkLRs GXYDIWZBI93WkhUuULf6Azo3RCEbUVtwwihhfOCt1NKwz9d0hFRL5m//15I4AWvhb0jSnuVkcJw DTec8AY81GsgGpyq36I6j+rubCfQAX2Sp4rygiir/0p7jUot2XCCHDqA2tQdXpHzLedQOTOV2ox fy9pJsbObZCRchRYg3rGH7l1lcq22UEHaybqVmOf6WUnN6jy X-Developer-Key: i=srinivas.kandagatla@linaro.org; a=openpgp; fpr=ED6472765AB36EC43B3EF97AD77E3FC0562560D6 Message-ID-Hash: G2HLIPGTVNCQ4ZZUCOPERQ5PJ2FJ7VIV X-Message-ID-Hash: G2HLIPGTVNCQ4ZZUCOPERQ5PJ2FJ7VIV X-MailFrom: srinivas.kandagatla@linaro.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Add support to parse static master port map information from device tree. Signed-off-by: Srinivas Kandagatla --- sound/soc/codecs/wsa883x.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sound/soc/codecs/wsa883x.c b/sound/soc/codecs/wsa883x.c index a2e86ef7d18f..43156d39480f 100644 --- a/sound/soc/codecs/wsa883x.c +++ b/sound/soc/codecs/wsa883x.c @@ -1399,6 +1399,14 @@ static int wsa883x_probe(struct sdw_slave *pdev, wsa883x->sconfig.direction = SDW_DATA_DIR_RX; wsa883x->sconfig.type = SDW_STREAM_PDM; + /** + * Port map index starts with 0, however the data port for this codec + * are from index 1 + */ + if (of_property_read_u32_array(dev->of_node, "qcom,port-mapping", &pdev->m_port_map[1], + WSA883X_MAX_SWR_PORTS)) + dev_info(dev, "Static Port mapping not specified\n"); + pdev->prop.sink_ports = GENMASK(WSA883X_MAX_SWR_PORTS, 0); pdev->prop.simple_clk_stop_capable = true; pdev->prop.sink_dpn_prop = wsa_sink_dpn_prop; From patchwork Thu Jun 27 11:55:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 808300 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7316DC3064D for ; Thu, 27 Jun 2024 11:58:13 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id DF91D20C0; Thu, 27 Jun 2024 13:58:01 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz DF91D20C0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1719489491; bh=UkWKKOsTNz1C80xDz4hBzX/O51GwHLLmPnZ3RZsUr6g=; h=From:Date:Subject:References:In-Reply-To:To:Cc:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=aO8GF7dyhUe6g18EkCq9lYWalLJqMS5Uw8WlB85pZgK/zoVenZ0O8hJJaVfxAzm3q cxmeLo+YWhF8Gr3Slb2YTp5K29+ZhkRwS4HKfKoBx+fgrtgIIg3l9szQT07dHxhJ+S wm1WR73tGj99DHk+7sTsiWQz9dmxcRi+IM1FQVXo= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 26FE9F8063B; Thu, 27 Jun 2024 13:56:21 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 7064DF80587; Thu, 27 Jun 2024 13:56:21 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 9469BF805E8; Thu, 27 Jun 2024 13:56:15 +0200 (CEST) Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 2AEFBF80495 for ; Thu, 27 Jun 2024 13:56:02 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 2AEFBF80495 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=TIM59XXw Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-421b9068274so66683895e9.1 for ; Thu, 27 Jun 2024 04:56:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719489362; x=1720094162; darn=alsa-project.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=eB7qTRAxnSkgE7t4FDRl+bpfSSJGxOmGp8nh0Nok6h0=; b=TIM59XXw9uPPZHfXV8y7X7wZReu2cdDRWMl5cXXD0Ibx8V7iSHBTGnOOjyHMmN4Knv DpyLPvpN5/+VmHRFKZxaadlQs3r8yTezEuzXSX1rWS+UbwQ7fqq9uwud1aUQaGp/u0Ie 1hBCKCqjKOyEPsxVqwZrvg8JQ78p0da44NqPaCCc6i9cQsk9DRLfES5UqcVP0tPENMfT 2EfrdqjrL5NdJ0XOfHJbyirz0jOI/Ah0zkY1o0aw8YAb9E6fCTbzkW76ldv8N6tdlqYQ 68T2Kk/NpDs2oGmxMnwBA/O9p9nhRRg/n4T750RK27mpoUEidQZZJ/otv946rHWNwT+r K+Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719489362; x=1720094162; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eB7qTRAxnSkgE7t4FDRl+bpfSSJGxOmGp8nh0Nok6h0=; b=Mf9ehwgc3iqnOu0a5rA5on5dT+KBOBhfgU5HDZ0CkwnhcqVQWl0cLQASyaBMVbRqk2 Pl1hyBAUKqCKstdAvH/34w6boV4If2CyUb12K9ffK3aSgQzOSp1bQ3hdtLFchiS98UhY E77S9IxSGZPo9TpqBwoajOsBC4/7I6tqqijrfUyoFVTw9ww4c+m/w4VVDnBsThGS7JDz d6qrVsE5yalDJiGrsXMrG8k2+4CQ+UL7My27uM5gNzL4qtQy7xrRkPKMvyklEpsi+Zgx kaSY/iDoKrCJUGnCViJfFtGO9AwCvyAIXMjvcZHst3HI/Zqnb9xgi2h9xGEKJEut/+zi rVKQ== X-Forwarded-Encrypted: i=1; AJvYcCVn0UQjrUvUGFFwcsqdxQr4O361A1UkK/nzJBhOm1DmqIWl9SH0VzZDT4BjG24hyUsz++Y/KNMCMhTe5sBh7WotESWF1rasOAt5SvQ= X-Gm-Message-State: AOJu0Yy+5eqyyQN9JcOodolPHZzNYbo3l8n90weXTYyvzq4SFXrTf47m L2Oh1shyaz8ys1h9FXJo6lYONHVkh3T/iTRmvmKP5CxyjBG91172Dd/tmasL2PI= X-Google-Smtp-Source: AGHT+IElItNp3cSHKsJTKvy1VXuKu2eMXWGGPys9ZBSGpHUZHQxdJ4zDKyVCa4+CO6Sc9OuHVdXXdA== X-Received: by 2002:a05:600c:6d8e:b0:425:656b:76ae with SMTP id 5b1f17b1804b1-425656b7748mr9686195e9.23.1719489362352; Thu, 27 Jun 2024 04:56:02 -0700 (PDT) Received: from [192.168.1.195] ([5.133.47.210]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3674369980asm1597552f8f.80.2024.06.27.04.56.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jun 2024 04:56:01 -0700 (PDT) From: Srinivas Kandagatla Date: Thu, 27 Jun 2024 12:55:19 +0100 Subject: [PATCH 3/6] ASoC: dt-bindings: wsa8840: Document port mapping property MIME-Version: 1.0 Message-Id: <20240626-port-map-v1-3-bd8987d2b332@linaro.org> References: <20240626-port-map-v1-0-bd8987d2b332@linaro.org> In-Reply-To: <20240626-port-map-v1-0-bd8987d2b332@linaro.org> To: Banajit Goswami , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jaroslav Kysela , Takashi Iwai , Bjorn Andersson , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, Neil Armstrong , alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Srinivas Kandagatla X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1157; i=srinivas.kandagatla@linaro.org; h=from:subject:message-id; bh=UkWKKOsTNz1C80xDz4hBzX/O51GwHLLmPnZ3RZsUr6g=; b=owEBbQGS/pANAwAKAXqh/VnHNFU3AcsmYgBmfVNNzIYgBD4wI/PAjnXHpOZClxrctCQtBgmud GG2+Eky/sSJATMEAAEKAB0WIQQi509axvzi9vce3Y16of1ZxzRVNwUCZn1TTQAKCRB6of1ZxzRV N9iDCACoqrzNg2bonxWWRPIlk9J/1IuSP15wQmt8YcvPWxi9MTepRJQPWXHxS1T+I6Ed6N8E/4N siF4aiQKS7sRkNPP2evMWdyZqxlxlEtpbakw/afA1Kom4IUNmr/PLJb9o6Q2A4d4i5pQmvuCb9L 1qR9Gskw+nZszbxIjsQJPphvXkYJWBig549ZgMhQTIttc7XLohqNPj/pLEXYMzy6QzELCqA70E/ SCoeVcc5H/RqwYYDhOJFjBPYFUCPnhHPQsdmZlCNY/qK7QyEFPNBAlpo+FYb17sZl9ey1s0X2o8 LZFQxRULxG/4R4NU7W4ixlSBxc8IoPGu9jfwRWfztLfoY7y4 X-Developer-Key: i=srinivas.kandagatla@linaro.org; a=openpgp; fpr=ED6472765AB36EC43B3EF97AD77E3FC0562560D6 Message-ID-Hash: G7JST73MH7WVDJMGSI3C6POUIRAPHNY7 X-Message-ID-Hash: G7JST73MH7WVDJMGSI3C6POUIRAPHNY7 X-MailFrom: srinivas.kandagatla@linaro.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Document port mapping property for wsa884x. Port mapping is required to be able map correct master ports. All the device ports are not mapped in same order as master ports, so there is a need for having static port mapping for WSA codecs. Signed-off-by: Srinivas Kandagatla --- Documentation/devicetree/bindings/sound/qcom,wsa8840.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/qcom,wsa8840.yaml b/Documentation/devicetree/bindings/sound/qcom,wsa8840.yaml index 22798d22d981..83e0360301e1 100644 --- a/Documentation/devicetree/bindings/sound/qcom,wsa8840.yaml +++ b/Documentation/devicetree/bindings/sound/qcom,wsa8840.yaml @@ -32,6 +32,14 @@ properties: description: Powerdown/Shutdown line to use (pin SD_N) maxItems: 1 + qcom,port-mapping: + description: | + Specifies static port mapping between slave and master ports. + In the order of slave port index. + $ref: /schemas/types.yaml#/definitions/uint32-array + minItems: 6 + maxItems: 6 + '#sound-dai-cells': const: 0 From patchwork Thu Jun 27 11:55:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 807914 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EE33AC3064D for ; Thu, 27 Jun 2024 11:58:25 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 4D806211D; Thu, 27 Jun 2024 13:58:14 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 4D806211D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1719489504; bh=dUSDrgAtHsqrMBMVwu3TID32cVpjInOWsGks5FuWKtk=; h=From:Date:Subject:References:In-Reply-To:To:Cc:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=taB0HdDqgXKRjgkYZLF2qkW7ex2y531kHLnWyZkxjBh0kn6A5jZNLp+SvfF5rUvuL g6JYyN7kwYznT/PkKGH4umobnsSypL7OUAu0GvyIL6ELhuWrhFqg3E2UgpP7KRotQU WhDwKQiiuT9HBDUZKkKJczfGHV69n/6Y3vexGcWc= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 9CB8CF80698; Thu, 27 Jun 2024 13:56:23 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 47769F80698; Thu, 27 Jun 2024 13:56:23 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id E1F69F8060F; Thu, 27 Jun 2024 13:56:17 +0200 (CEST) Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id D49F1F80154 for ; Thu, 27 Jun 2024 13:56:04 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz D49F1F80154 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=Tu4waj2m Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-424ad289912so14984635e9.2 for ; Thu, 27 Jun 2024 04:56:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719489364; x=1720094164; darn=alsa-project.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=C8PKRIjUjJvRpKUO3o64Ez7TG7JmfxLlBEHlJ45a3zY=; b=Tu4waj2mJ2i3yyAsA3UWdY4MmZkvNGSBPtHkcMMw0LOq2dXXWpaeA/NTj663DC8GI8 EZA4gbgaWCa0atJRRhKr9ZIEWOH/FcBDgvwHrjw9RS0uXgO99U9itB4MkFfQodwbopOP Rg7ERBHrikfxP4S5QWyW5o6Q48EHeTDTRBiLZBXQTo5GPSFKwhsc6dnJR8WyTbXjmtgb nVXdugZNhvNiEnn5yIQxSKyVEcwtMYo9qtAbR8ZCYRj7zutsd8Wmd0ZdGdKCMxYcQ8Kx //bwA92fUyydfiXqUrbsxttShTexqxaVKujJLrlH61vHBPMaRlIbdxDLqP60UxVrUgEa tnVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719489364; x=1720094164; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=C8PKRIjUjJvRpKUO3o64Ez7TG7JmfxLlBEHlJ45a3zY=; b=VoIVjQRgNZV8JH4BFtADzmONp3PGphXGgUI2h0Hfq0U7dykBsyrWKO6RwusfscoMPR NtkCdU03RWHAhiBnt/TMY+FwE4SCLVj4JmTezJx3XE/4nCWH8I5rpblOkgpSZ0/nIW/C Prw61swEAhNRMxNjTeLEi8WUDyDPgAozllZeeYSquCmW6aX4Q751MwU/fq8aEhTVVknv YEApDxu2sPBzViBDGOIM4aipwGaXZ1pwmgjaXiCi1sFjVal31I+HgiEUyBKIdRIMBkOz 2z8LDl108Fo5HLB11CyKIJl/39obDLWcHK8xqwVBAgi+vKpi7mxG2HTWu3vrcySQ4S9G 5pPQ== X-Forwarded-Encrypted: i=1; AJvYcCVgTGFsh/psdq5gG0o8xHdkMjNp76grWhX4P7KjKxkKYqBQ6qMWaxed78rtyJUN9brWze2Q4R7HcnS4iQySx0zfzy0BUZ8+abIzguo= X-Gm-Message-State: AOJu0Yy/D3AAEJsdHvTzg+g+bFfPUIkQDan8pios2TRLvqI/c30R4DHT r0eFBvpxaq/M7CCS7zYNnGcW1xTaIZt482BoonvhGN0N48sb+Wo28roOdK312hc= X-Google-Smtp-Source: AGHT+IHBbWux1XK3iRVshTsRxxXviYQma5KbR0jw+TjRRrgK4sLvfpFamoLeU0YCU0X6iuVK/eCNOQ== X-Received: by 2002:a05:600c:1789:b0:424:a403:565f with SMTP id 5b1f17b1804b1-424a4035701mr51778595e9.11.1719489363863; Thu, 27 Jun 2024 04:56:03 -0700 (PDT) Received: from [192.168.1.195] ([5.133.47.210]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3674369980asm1597552f8f.80.2024.06.27.04.56.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jun 2024 04:56:02 -0700 (PDT) From: Srinivas Kandagatla Date: Thu, 27 Jun 2024 12:55:20 +0100 Subject: [PATCH 4/6] ASoC: codecs: wsa884x: parse port-mapping information MIME-Version: 1.0 Message-Id: <20240626-port-map-v1-4-bd8987d2b332@linaro.org> References: <20240626-port-map-v1-0-bd8987d2b332@linaro.org> In-Reply-To: <20240626-port-map-v1-0-bd8987d2b332@linaro.org> To: Banajit Goswami , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jaroslav Kysela , Takashi Iwai , Bjorn Andersson , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, Neil Armstrong , alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Srinivas Kandagatla X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1132; i=srinivas.kandagatla@linaro.org; h=from:subject:message-id; bh=dUSDrgAtHsqrMBMVwu3TID32cVpjInOWsGks5FuWKtk=; b=owEBbQGS/pANAwAKAXqh/VnHNFU3AcsmYgBmfVNNx5Keb8/2UTS2PdI7G4dwNTqMZW5WTi47u +Gyoboi9hKJATMEAAEKAB0WIQQi509axvzi9vce3Y16of1ZxzRVNwUCZn1TTQAKCRB6of1ZxzRV N+SWB/9vQ7yE+tHfTCFxUmw7TEKD+173QS/8VEoVYvSpK0ZvixgEnUmeHsfZVfik5aauwyZi4qy EuwBCYrGkJt8e4RCsPkTC923sD43Sryur5818zRXs2x+3qzm9dKlVhLZzEUMl7W0FSA1WRikR5U 2YicmmmHE61u0snF1GwA68kS43KHDEcxlJzQ09O4MYGMCJ3YA/LYaNCQkSHVYEemYgdDD1ZvSrt xqFqvcy+ivl6e230dGVSNO+GPHVAXnLUk6rRHUCCoNYku99GIxThaYleKR6/HKsn5dbRNAjisWB 4M3vKwa9Wr41gtNrGaBQCdKeU1t4B5vGi7iyYUCwHg5RSg5x X-Developer-Key: i=srinivas.kandagatla@linaro.org; a=openpgp; fpr=ED6472765AB36EC43B3EF97AD77E3FC0562560D6 Message-ID-Hash: ESAEJAWVSMO6JPU66RDOCDTJEXTBUXDN X-Message-ID-Hash: ESAEJAWVSMO6JPU66RDOCDTJEXTBUXDN X-MailFrom: srinivas.kandagatla@linaro.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Add support to parse static master port map information from device tree. This is required for correct port mapping between soundwire device and master ports. Signed-off-by: Srinivas Kandagatla --- sound/soc/codecs/wsa884x.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sound/soc/codecs/wsa884x.c b/sound/soc/codecs/wsa884x.c index a9767ef0e39d..72ff71bfb827 100644 --- a/sound/soc/codecs/wsa884x.c +++ b/sound/soc/codecs/wsa884x.c @@ -1887,6 +1887,14 @@ static int wsa884x_probe(struct sdw_slave *pdev, wsa884x->sconfig.direction = SDW_DATA_DIR_RX; wsa884x->sconfig.type = SDW_STREAM_PDM; + /** + * Port map index starts with 0, however the data port for this codec + * are from index 1 + */ + if (of_property_read_u32_array(dev->of_node, "qcom,port-mapping", &pdev->m_port_map[1], + WSA884X_MAX_SWR_PORTS)) + dev_info(dev, "Static Port mapping not specified\n"); + pdev->prop.sink_ports = GENMASK(WSA884X_MAX_SWR_PORTS, 0); pdev->prop.simple_clk_stop_capable = true; pdev->prop.sink_dpn_prop = wsa884x_sink_dpn_prop; From patchwork Thu Jun 27 11:55:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 808301 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A0F80C2BD09 for ; Thu, 27 Jun 2024 11:57:40 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id DE4F520C6; Thu, 27 Jun 2024 13:57:28 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz DE4F520C6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1719489458; bh=KpBwvqPApgC7BTXtL0cPb5X/4XDGASS/oIMKDjK9Deo=; h=From:Date:Subject:References:In-Reply-To:To:Cc:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=HhB21Jf0gi2WRbfMiKzGylLeYTo00crLPr41p8GT5As6q8+2jjwmSx/7mxdl84SoN IwcTZ+kJT4fQfkEctK/Sp59w8jHbq7tkIp/e8wW+BIaBrncVzmJNxzyDZFCNNmlGq3 P1d8rlbLVWFB4Oe9ENdhcw1ajO/54wNRVUiNDcp8= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 4AE28F8062F; Thu, 27 Jun 2024 13:56:18 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id EFEBDF8061D; Thu, 27 Jun 2024 13:56:17 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 8C54FF805C0; Thu, 27 Jun 2024 13:56:11 +0200 (CEST) Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 24363F8049C for ; Thu, 27 Jun 2024 13:56:05 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 24363F8049C Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=cgpWiUeb Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-4256742f67fso2386445e9.3 for ; Thu, 27 Jun 2024 04:56:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719489365; x=1720094165; darn=alsa-project.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=fUAdAcYA0qOL/HQiRFHsxlPcPsEL1Ruth0kB6T0BP2c=; b=cgpWiUebuWk0r8whNjUHCJlNO/AFfK1MiwqXpI6tNKKIjbA7uJkLkgMKU8FxDFrVMF +k7qPqlwNgwcZ9+MbVXe8kT3TIuTQDi24QphZG5YWxhBHT8nHc/7wA1lgfjiBuEeSAhG +oj54jEdM6n867EPA/aC3cfmJ3wtQE7AlZdPHUaWsRmh6EXkdmpLdfd47o4fE1CoAPls rPyTE6Q/Ta4V4XNBylXLcakX0z0FaVvqdrzS1k1aT17+ubf197Q1m32Incsw4P9Zrlkg 2mqV2S7Scj0zb4/PNej6S6T2v18v2N8BKny1008JoonnjOgn0t+Fjwkr/3dCQ4XcYW+Y BDLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719489365; x=1720094165; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fUAdAcYA0qOL/HQiRFHsxlPcPsEL1Ruth0kB6T0BP2c=; b=LIXvvcFcg9zxT4d+s/2nPg8UaDi9kUgFiJ9aCo8Pqs2IFF7UYoHVYIB16gqbhL77k1 FTEvWBAKFUEexgjdxdh7QiJX5l+yxnMtyjqWw6g/HpiRNZewYwatRRQrPsNUpR3Oc6o0 ALVUdDSx6gcWGm27AkcUi2QdY8n05e7g6e+FgRLSn4COypZGmBp9BklEHW4Hd5TP8jAI gcnfGrHuZtJEDh9c04D9BcMBecMf4KvF4pypvEkxihvgTy/3N+btlFtVAVqWxEikn8jD dBA7LRkgVY5ktA89ZvGSp02NyRuyytIF/xa4yNw8zG/Lg9dU/plnNbC4tOSwRbkn3fIc es0g== X-Forwarded-Encrypted: i=1; AJvYcCWFR3Z6AeeNHxnOZsGvTwNb6NfxJ83NGTqZU4dYikv/4pDZH/ceR8Ab2O63iOdidX4S6b+sCfRhvh1/XlGofRBh6fZLYTcVMLiC3Q0= X-Gm-Message-State: AOJu0YxhevBGu1uLsR4ljijjQlnp+CpUI0fNN4CV+Q6eusbxgx3UW3F5 U2US9DIfwRNKHHbVSUsKGy5gwj+ABEisGdqh9UlZSlVd+vu+grpNtmMCuTkfVuA= X-Google-Smtp-Source: AGHT+IGvW0hLop2OsW0c2VyEig+um838vsjHyARjdNe3qlkvb9DzxMySU8m1ZOUZmWWhoDlWsmLqOg== X-Received: by 2002:a05:600c:2e87:b0:425:5e8b:af9a with SMTP id 5b1f17b1804b1-4255e8bb07fmr34042215e9.36.1719489365279; Thu, 27 Jun 2024 04:56:05 -0700 (PDT) Received: from [192.168.1.195] ([5.133.47.210]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3674369980asm1597552f8f.80.2024.06.27.04.56.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jun 2024 04:56:04 -0700 (PDT) From: Srinivas Kandagatla Date: Thu, 27 Jun 2024 12:55:21 +0100 Subject: [PATCH 5/6] arm64: dts: x1e80100-crd: fix wsa soundwire port mapping MIME-Version: 1.0 Message-Id: <20240626-port-map-v1-5-bd8987d2b332@linaro.org> References: <20240626-port-map-v1-0-bd8987d2b332@linaro.org> In-Reply-To: <20240626-port-map-v1-0-bd8987d2b332@linaro.org> To: Banajit Goswami , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jaroslav Kysela , Takashi Iwai , Bjorn Andersson , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, Neil Armstrong , alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Srinivas Kandagatla X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1686; i=srinivas.kandagatla@linaro.org; h=from:subject:message-id; bh=KpBwvqPApgC7BTXtL0cPb5X/4XDGASS/oIMKDjK9Deo=; b=owEBbQGS/pANAwAKAXqh/VnHNFU3AcsmYgBmfVNNox7RstRcA2AkFGvJ//D8Zj2mIdxz2mpOt uopA1QtYqyJATMEAAEKAB0WIQQi509axvzi9vce3Y16of1ZxzRVNwUCZn1TTQAKCRB6of1ZxzRV NzgOCACELIeGXVxIgRLBFFIwuTonBWhLIu1LrdDFExawQnHithYxq1bKfsqNY1UvNMceN0rcYLu 6wS3R71OJihguEyOapPmykZIMgALSxPlCubv950d1NzP84IPnA41tkPdwHG+TpgWumqB5c0R1Nc 0FXd78PXpT0zKRR6NBDC07Z308LDhTQDdSdnjXvugSNB3Rg+BgRHBcPOnqZlYxSOrJiXTw6VXQv nltrD93hCYSFZC81tjTrnTL/2iPU9n5mKxlghnA7plMb8+8bame8wqi0/scr7n597+ORxkyPi4I Zt94VxrT90adygGvfkCpY3Mg/YloHJzUSSCi7mf8RfFrorjA X-Developer-Key: i=srinivas.kandagatla@linaro.org; a=openpgp; fpr=ED6472765AB36EC43B3EF97AD77E3FC0562560D6 Message-ID-Hash: Q34L6AI3YYWY65OQE6WCKKWGPWCP54KJ X-Message-ID-Hash: Q34L6AI3YYWY65OQE6WCKKWGPWCP54KJ X-MailFrom: srinivas.kandagatla@linaro.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Existing way of allocating ports dynamically is linear starting from 1 to MAX_PORTS. This will not work for x1e80100 as the master ports are are not mapped in the same order. Without this fix only one speaker in a pair of speakers will function. After this fix along with WSA codec changes both the speakers starts working. Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/x1e80100-crd.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1e80100-crd.dts b/arch/arm64/boot/dts/qcom/x1e80100-crd.dts index ce80119d798d..67c5cd89b925 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-crd.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-crd.dts @@ -841,6 +841,7 @@ left_woofer: speaker@0,0 { sound-name-prefix = "WooferLeft"; vdd-1p8-supply = <&vreg_l15b_1p8>; vdd-io-supply = <&vreg_l12b_1p2>; + qcom,port-mapping = <1 2 3 7 10 13>; }; /* WSA8845, Left Tweeter */ @@ -852,6 +853,7 @@ left_tweeter: speaker@0,1 { sound-name-prefix = "TwitterLeft"; vdd-1p8-supply = <&vreg_l15b_1p8>; vdd-io-supply = <&vreg_l12b_1p2>; + qcom,port-mapping = <4 5 6 7 11 13>; }; }; @@ -892,6 +894,7 @@ right_woofer: speaker@0,0 { sound-name-prefix = "WooferRight"; vdd-1p8-supply = <&vreg_l15b_1p8>; vdd-io-supply = <&vreg_l12b_1p2>; + qcom,port-mapping = <1 2 3 7 10 13>; }; /* WSA8845, Right Tweeter */ @@ -903,6 +906,7 @@ right_tweeter: speaker@0,1 { sound-name-prefix = "TwitterRight"; vdd-1p8-supply = <&vreg_l15b_1p8>; vdd-io-supply = <&vreg_l12b_1p2>; + qcom,port-mapping = <4 5 6 7 11 13>; }; }; From patchwork Thu Jun 27 11:55:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 807915 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 80444C2BD09 for ; Thu, 27 Jun 2024 11:57:55 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id B33871903; Thu, 27 Jun 2024 13:57:43 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz B33871903 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1719489473; bh=fhOsLuyqrBwQUqU3KeH1GRGhl2FQpbGrlcG9u9+rBVA=; h=From:Date:Subject:References:In-Reply-To:To:Cc:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=XTjugaci1UA0+f+ILtJpaSxDx7GiOsQzL/cw3aihrK6mnD5u6r1yndx1LISpwpbRo N7DR7w9mbx13uwVMZcAK9Rl7RzbTR3JvdaVKdb7XxSn76h3XsMfFfDnCG2OmzbCMdk p2bhOpE0fW9AXSvdZ7PjTcVGL6N80EzTSG7cT6u0= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 109B3F8065E; Thu, 27 Jun 2024 13:56:20 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 23632F80622; Thu, 27 Jun 2024 13:56:20 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id D7138F8049C; Thu, 27 Jun 2024 13:56:12 +0200 (CEST) Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id B669BF800ED for ; Thu, 27 Jun 2024 13:56:07 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz B669BF800ED Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=vpTL02Pt Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-52cdbc20faeso7550034e87.1 for ; Thu, 27 Jun 2024 04:56:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719489366; x=1720094166; darn=alsa-project.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=piU6dixVwevEMvMKFVjdM2+dDBv8tkHRGk2Ym1RU0bw=; b=vpTL02PtOCvdvfk32dHPeqKtiQQ3Igv+QSpi77qZV5c/ZFt8gPmAVcbjiXcOk5o/oU fjMqam5vqK4PS5/7bTIfrVVU0AXREcVzKskE+GsEpefkCVwbKqi7NReOEU8NeNF3VtMG +FcgQWykA8u6TNhf6uHSj8GCkhK3xmWKtDkX37kkrBmzQCMVPL7UZmA4j8XkH9s8SjNs 2EiIn/yuCgJF+7slEYFTFEL1YEBGTbU6AnkkCYiwSqBayry/JonJplmaAQyr7oe0yu8V TECSBA494MPyZdIUXqOIdInokgB/DuQAiU7LPlQ1ncFKrlGJnfdWgtVjCTm89bgGK+L8 v79Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719489366; x=1720094166; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=piU6dixVwevEMvMKFVjdM2+dDBv8tkHRGk2Ym1RU0bw=; b=fhhtVvCibRZ6y1PhXuNBZc01lUON5Gn/uY/9PJ8RXrogqfQThhZsXituuwtM6wfL+H RGkiZ2qDshUBCiQ/EnTA5qJF1FDHk6NDQYYQytyVJCsGGHCoMGedEnLqIKO4Ub5JNTSE 25OUAyg6+azuJyVzw2WawrGCN5F/JZlokgV95RVZlpgSjiXDkA5qXHfJVaRJXcyYKFxL 1lcJ2t9MQIfwKlS/F0RGwSbBkGOO0iIdUXRpx1xg/t86d5OMIQluAcTE/gWg1dKOp45U G123id912ajM6wRIYGFcyi2Zi/IqJbx4wVA5XNXxWT7Dhsj045GWlUtykevi5//P0vnV O1CQ== X-Forwarded-Encrypted: i=1; AJvYcCXusxj1d2R2REj05kjB9Z2pSiu1ZmgTJXUbpa2xFhC+5jkf6GfthRykYKL8sWySWOo+D1wnTQfgzTctQ/P7j1X7EA0X3gEMhQ/PX+0= X-Gm-Message-State: AOJu0Yz56uuEm0lU7tXjvk6dLRH8aiOxFPTotWdDzGRyuf7iB4gLxby9 AD7siOiLlvJF/+xztwq/+PnYT411NEE8DEXr3VSUBATCuxVlcHiXg4WwxC4Shd8= X-Google-Smtp-Source: AGHT+IHrpS4FaO+MLa+HNiW45CgkKJteDWyaEAeg1DQpUOW+P5vfLDvcO4u786fvHvXTXhgmUZujUg== X-Received: by 2002:a05:6512:3091:b0:52c:e54e:f84b with SMTP id 2adb3069b0e04-52ce54ef9fdmr8943991e87.14.1719489366398; Thu, 27 Jun 2024 04:56:06 -0700 (PDT) Received: from [192.168.1.195] ([5.133.47.210]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3674369980asm1597552f8f.80.2024.06.27.04.56.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jun 2024 04:56:05 -0700 (PDT) From: Srinivas Kandagatla Date: Thu, 27 Jun 2024 12:55:22 +0100 Subject: [PATCH 6/6] arm64: dts: x1e80100-qcp: fix wsa soundwire port mapping MIME-Version: 1.0 Message-Id: <20240626-port-map-v1-6-bd8987d2b332@linaro.org> References: <20240626-port-map-v1-0-bd8987d2b332@linaro.org> In-Reply-To: <20240626-port-map-v1-0-bd8987d2b332@linaro.org> To: Banajit Goswami , Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jaroslav Kysela , Takashi Iwai , Bjorn Andersson , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, Neil Armstrong , alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Srinivas Kandagatla X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1208; i=srinivas.kandagatla@linaro.org; h=from:subject:message-id; bh=fhOsLuyqrBwQUqU3KeH1GRGhl2FQpbGrlcG9u9+rBVA=; b=owEBbQGS/pANAwAKAXqh/VnHNFU3AcsmYgBmfVNN8VJANE2p5q7a9tQElvD/J+6BThXZJo1SY JISlTpiwtmJATMEAAEKAB0WIQQi509axvzi9vce3Y16of1ZxzRVNwUCZn1TTQAKCRB6of1ZxzRV N9nEB/wLOagPz2MWymeyiPZmgmKPaDEpckmNiW48ztjNspLG+XaXC/0zZDNJaNW4yBaoDFolpp6 fU/t9kex0J1DPRyOltkiJ2CIkbyAyNCYOICpax+aogY+C4eFTrNB9YNNRolqlLY3qJ/P4qpgvSJ hyyjJxY/Aqj1TB3p3CWzLzMAmlUY10GMZ87Juje7Rn4TisWat05KCZCrQgY67mQWuraYApVY3Pe 0qwNcqae067Cc1MKITj6GWJC5OFyjvumStp7sn4Syr6kyYu6MrDSlAaXC+HZd/lmTYj3Z3BWlzZ SqI6SNQ/hJC3sveXQrErHVC3Br9w9UBRZM7Bk/qGm1BiD3U1 X-Developer-Key: i=srinivas.kandagatla@linaro.org; a=openpgp; fpr=ED6472765AB36EC43B3EF97AD77E3FC0562560D6 Message-ID-Hash: 7RA5VXOYA46QID4MZONTOBZBXGEOEJ2W X-Message-ID-Hash: 7RA5VXOYA46QID4MZONTOBZBXGEOEJ2W X-MailFrom: srinivas.kandagatla@linaro.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Existing way of allocating ports dynamically is linear starting from 1 to MAX_PORTS. This will not work for x1e80100 as the master ports are are not mapped in the same order. Without this fix only one speaker in a pair of speakers will function. After this fix along with WSA codec changes both the speakers starts working. Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/x1e80100-qcp.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts b/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts index 4edec3212dde..79563ae34890 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts @@ -749,6 +749,7 @@ left_spkr: speaker@0,0 { sound-name-prefix = "SpkrLeft"; vdd-1p8-supply = <&vreg_l15b_1p8>; vdd-io-supply = <&vreg_l12b_1p2>; + qcom,port-mapping = <1 2 3 7 10 13>; }; /* WSA8845, Right Speaker */ @@ -760,6 +761,7 @@ right_spkr: speaker@0,1 { sound-name-prefix = "SpkrRight"; vdd-1p8-supply = <&vreg_l15b_1p8>; vdd-io-supply = <&vreg_l12b_1p2>; + qcom,port-mapping = <4 5 6 7 11 13>; }; };