From patchwork Thu Jun 27 12:20:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13714308 Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 68AD3155303 for ; Thu, 27 Jun 2024 12:20:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719490822; cv=none; b=S07CfGJzl/cdb/P3XFGlC1h8lPu0pVsAdYaeUKocwjDxLZCc9jFLOsIDs2rM8UNIs/QtizmV+4xX149xLYrffQGTDl8EP/yQmeEd1tScEGVs0W6RtDA0jm5e7mcrl3RFQ+9iDPYw/09pBS9826taMsjrUzruRThhNYGBTciBb/A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719490822; c=relaxed/simple; bh=u2/HAV/gDAWYYrxO+MtmBPhj4wnBMG1L0geWz37aGhk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=oj/xOSzWF9E3Gyc3gjfvzG6xdmeXTwz71SY0bFU5sZ5YCVgq8tbSG2B2iPLxXUxGrkVBvUBhdAoF2lh+0K3brBlZLWzvElDNEwivFcthVzmnSchhBn7Rgyn02dfsDbthJln9ZmkoDHmnO4fvx2pzORvjCPG84n3orQ4XFQRGITQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=ULwP3mfF; arc=none smtp.client-ip=209.85.167.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ULwP3mfF" Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-52cdb0d8107so7839732e87.1 for ; Thu, 27 Jun 2024 05:20:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719490819; x=1720095619; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=yhSivaXZKihoS605ifan7I9eYS7gJmggBMZ70sBGD/k=; b=ULwP3mfFL7h9CrIK80pdfoYGF4PUeghXYcNIRv6UZaLqhjpZSfnpm57so3f9YUpoUq VYU6XvNNosBWYurYNi67lcwwHSZwvoSKmex2fH3RdOi+YmhdBYLAQ+rvUi4KAjxzdW9K gyBWG7itJTgBD/iwqqjQ3UVaOeAgnnRejjPWN3kgq7zHi6GoFby30MdVTjBmDsgYIuzc oO6tSnEeKQNC3/wxU3sYo4HlPlDiWQnHD5/8qt6o/8TksGUP/ThOPGzN1IJa/dzbfk+s /65vZmg0IdYIW/xSPaN2mfFGP3jAlROnLJ7DcwFzitt+nR6tKgSa87r9+O4ULqTY9dd7 Phzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719490819; x=1720095619; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=yhSivaXZKihoS605ifan7I9eYS7gJmggBMZ70sBGD/k=; b=E2ClRruvu0Ij3Z2tetKOl13NwXscqTrgsxvzIBpfynxSDdoTh3v71gkPeUgAC491IX iMqGUe1sQuvLXcWGYEu7i5osOuBq+MZi63OBMl9GtFp/ELiLBGW629Ia8k/tYGPrdGMo dg3WJ0L/sVxzAOzoW1NjHFka+da1QHzAcCDeQ4QOUNByILBYmVTfbXXoJl+Q3FEW9TmW aEQaRHW9Adrlowfys4TN16W3rVnRvUDytNjFzafhGyoWfZW4y7IJlFhw9sbwMATYYMNS wT1aIq6IqSZpusXwCIV8JOJkQl4nU4tgePQaFd3J4Cw30Eje6cKU/DJdQMpIUIhhxnsC GEqA== X-Forwarded-Encrypted: i=1; AJvYcCWiCDz8wp5tYiD7SMDO6guBjZ8I7pFRCxVi5hrC3VcNW2JBxDOX4OsTk4SIy5woaarafb/29d0AWlFpTfGDhJICEuUK/rXTG5d1sDz5fA== X-Gm-Message-State: AOJu0YwoH4dTDESp7kbtKwJsStdAjAN/p4EWlbn5CVFOZ9lJ7rsxqEjn ybend9BmifXCUscZuBm9yzxsNYU0tqBwAUXRDpw2eP/WF8AFTC/zrsmeCT1Wml4= X-Google-Smtp-Source: AGHT+IH4NLpzb67D/rvvNbEMdptd0qnGPx5LLkjSIOnw+1o5piYWPYgVjm09hta6ZrYoMHWqng745A== X-Received: by 2002:a05:6512:60b:b0:52c:c5c4:43d2 with SMTP id 2adb3069b0e04-52cdf8209b9mr9697972e87.47.1719490818637; Thu, 27 Jun 2024 05:20:18 -0700 (PDT) Received: from krzk-bin.. ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-424c8424b43sm62692885e9.32.2024.06.27.05.20.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jun 2024 05:20:18 -0700 (PDT) From: Krzysztof Kozlowski To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/3] arm64: dts: qcom: sm8550-hdk: add port mapping to speakers Date: Thu, 27 Jun 2024 14:20:13 +0200 Message-ID: <20240627122015.30945-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add appropriate mappings of Soundwire ports of WSA8845 speaker. This solves second (south) speaker sound distortions when playing audio. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Neil Armstrong --- Bindings: https://lore.kernel.org/all/20240626-port-map-v1-3-bd8987d2b332@linaro.org/ Can be applied independently, if bindings are fine. --- arch/arm64/boot/dts/qcom/sm8550-hdk.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8550-hdk.dts b/arch/arm64/boot/dts/qcom/sm8550-hdk.dts index e0dc03a97771..2e12219006c9 100644 --- a/arch/arm64/boot/dts/qcom/sm8550-hdk.dts +++ b/arch/arm64/boot/dts/qcom/sm8550-hdk.dts @@ -1106,6 +1106,7 @@ north_spkr: speaker@0,0 { #sound-dai-cells = <0>; sound-name-prefix = "SpkrLeft"; + qcom,port-mapping = <1 2 3 7 10 13>; }; /* WSA8845, Speaker South */ @@ -1123,6 +1124,7 @@ south_spkr: speaker@0,1 { #sound-dai-cells = <0>; sound-name-prefix = "SpkrRight"; + qcom,port-mapping = <4 5 6 7 11 13>; }; }; From patchwork Thu Jun 27 12:20:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13714310 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9AFC215574C for ; Thu, 27 Jun 2024 12:20:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719490825; cv=none; b=MTkAOrVO9Nf6yzUGv6afBGe8E+kpjgJC1YxqoRLk/l19NDV8yUgcRI45TbKwbFIxJbkG1DyReKr/vM4fJgztN3CoWbuYzhkELCksoyE3CdAhXaaHJmOc5T2pVBPRhgxVGOb4C3vRqypFJSHnPPalvu0HrE1osyDGzBASsqOSWxg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719490825; c=relaxed/simple; bh=qNca58iBYx4/YKuEF39ubRjoZFVpXO/dT2i36hZSDME=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=K1QWgslOnPjpp33lkFZEB1EyOPwpAbZ73RinYQAOG8LMYniFzpH96WQacynlH7s9Vf5IathruuqjB7d9Hpe8N2+w5Rc/BPmJ6nZvlhU1JAPcm7JA8bmlmGt9f7AwhRgMaY6gZ6YU+YOArWOG45ogqbwfss/v7//m6PwL6kLeT5k= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=xe2TlyK8; arc=none smtp.client-ip=209.85.128.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="xe2TlyK8" Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-4248ea53493so34009705e9.3 for ; Thu, 27 Jun 2024 05:20:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719490820; x=1720095620; 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=tLaPa6oLv08wfG7ztRt+Jq8bw49dbPOID7Kl0obvBh0=; b=xe2TlyK8fS05RHPM6fBBTFNlk6SLuaEiojqImZS+mXt7KcVoRN6KM32T3KQuRSMCNW L71WjpWwuoD7k5MP+D8O5gHgEfkgfBXadXQxWSwjWCqyJs/t5CBqxNbO5F3eTVVERkMz M5IFLBBAmYOZuLFDyuOzI4fF4vz3SrOLmKD4lmnv5uHdogjkznOMcjauDxQ0MZLWXzqa s4N9XaLXQov2ssN/5+H92IwdzDuZBvX+3jTmoDWNWP2atO5D6b6Dr0aN7MkHb7kHUH1Y ZGjpFYfvxrXzMVv0Fz/NE3xc8GQwTmQrPC1vKdr9vSTnAVF3maS0xyKq6t+CcCrljB7x TcIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719490820; x=1720095620; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tLaPa6oLv08wfG7ztRt+Jq8bw49dbPOID7Kl0obvBh0=; b=M4H7ENj63A6ydwscSvD7eJ6bugfnqnZcqw2bmAL39kl+wbaEaW8dronvYYq+08FjEg ORFBLa9tO4N14BmCe8AVkExhNc2N3bJBDPoSElX6b+Bym9KZN0RA/koywL9f19P7XVLC ymueW5KUv9v0nlwSDpuzIDj3GmsGFsmJ59kLWOEzCAGtS0ngl1eT4EkS6Jqp6OUny8XQ vFY6LcCoARPKnPrp2IXTy5Tgsi6wxKIWmqjhDW3ppeGx0ezy1VcWSbEwcYi9fY+AtcHE QFwTEJw7bh9HyxamFqWVVY/h64UkOWHUyl64gIZB400WBWJEJaIOt6lwfVjUKBxhiydz feaw== X-Forwarded-Encrypted: i=1; AJvYcCVoSYlwwoM8lqSowz7guhWcE5LOJfRCOLTqMG86SY1iRiCoCsX5nKoMnwnTxldLt+1t+B6+ErynUgOuFh2REjgV5zGPxe7aXKgt6cq/BQ== X-Gm-Message-State: AOJu0YyXz4ND3KOtOzXKXjOrUzfwVHuu8CfLx5vaHNo0gMqyDH33tNbQ WrLDUrVYQTEKowu5WhhwfKCiAZltx0ldahu2nNtgwU2rxSz/bOgZz13aUidkLMngcEsfvWvUJOs x X-Google-Smtp-Source: AGHT+IF9LyXXslFdXuXYv3RM7YBWaD56RzK0d5p9amICa6hES+d2oxb/Wx1KOpMAgRTDRs+UDqUtrg== X-Received: by 2002:a05:600c:2d91:b0:425:1335:d7ca with SMTP id 5b1f17b1804b1-4251335d892mr39769075e9.36.1719490819993; Thu, 27 Jun 2024 05:20:19 -0700 (PDT) Received: from krzk-bin.. ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-424c8424b43sm62692885e9.32.2024.06.27.05.20.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jun 2024 05:20:19 -0700 (PDT) From: Krzysztof Kozlowski To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/3] arm64: dts: qcom: sm8550-mtp: add port mapping to speakers Date: Thu, 27 Jun 2024 14:20:14 +0200 Message-ID: <20240627122015.30945-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240627122015.30945-1-krzysztof.kozlowski@linaro.org> References: <20240627122015.30945-1-krzysztof.kozlowski@linaro.org> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add appropriate mappings of Soundwire ports of WSA8845 speaker. This solves second (right) speaker sound distortions when playing audio. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Neil Armstrong --- Bindings: https://lore.kernel.org/all/20240626-port-map-v1-3-bd8987d2b332@linaro.org/ Can be applied independently, if bindings are fine. --- arch/arm64/boot/dts/qcom/sm8550-mtp.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8550-mtp.dts b/arch/arm64/boot/dts/qcom/sm8550-mtp.dts index 26dfca0c3e05..ab447fc252f7 100644 --- a/arch/arm64/boot/dts/qcom/sm8550-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sm8550-mtp.dts @@ -842,6 +842,7 @@ left_spkr: speaker@0,0 { sound-name-prefix = "SpkrLeft"; vdd-1p8-supply = <&vreg_l15b_1p8>; vdd-io-supply = <&vreg_l3g_1p2>; + qcom,port-mapping = <1 2 3 7 10 13>; }; /* WSA8845 */ @@ -855,6 +856,7 @@ right_spkr: speaker@0,1 { sound-name-prefix = "SpkrRight"; vdd-1p8-supply = <&vreg_l15b_1p8>; vdd-io-supply = <&vreg_l3g_1p2>; + qcom,port-mapping = <4 5 6 7 11 13>; }; }; From patchwork Thu Jun 27 12:20:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13714309 Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 097B615687D for ; Thu, 27 Jun 2024 12:20:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719490824; cv=none; b=gcL/k6nQvjc6fLHgHhiQKBzJpwH9f3J+jp0mz3jVL2F20Jt3x4sQwtUTWspePyGnRbdarjd8IS5oPvzgi89y4H+qHCQI5RFCY1BSlNcXqEs/ypf1tZH3VMSVjjTR9w73WMr//Yd8iUPLuqVgnqBurBJ1oazv6LcIe98Rrdslhe4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719490824; c=relaxed/simple; bh=sUkdPuQbPyTADqcRllGyHnJ7Vi420C9DZGnZln1HFGI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=dUe3zGDD6X8zAV7oVtcPEoL04RQ+yQuZ+1G/Xg2PKD+2MXI9eqI9LhX91qergnf+wYGIBqA7VrFKnAXKHoH9Ei2YAkuHcEWjS5T6c33EUfWCkSUYwJqTtJ0VVNaPBoyMhVBGJInIznu/wnBfRfO9qd+NTqyMFqxPvoJYAHQyrUs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=wbSekzxP; arc=none smtp.client-ip=209.85.128.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="wbSekzxP" Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-42122ac2f38so11057845e9.1 for ; Thu, 27 Jun 2024 05:20:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719490821; x=1720095621; 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=BzuRu3TYFUavJ3fIbGrdOxztoebeEOJ4/hLXJ9FwGMw=; b=wbSekzxPnztQ5CuzVX6FiYkyBle2uwLKMtJ6Ffrkrc/kn/iWgzWBtILHoKrH//4Dgg /M/fouotxviBfHeTbILWuF4cI54NvBonhh4QV57wiutpdJiTMthiFU3BOYMcxEYf92zM ukal4uN33zsweb1v1AcUEj42+1En0+DL88TjPy93+w3WS8rWwl3X38nlHJOkqoa4uTL3 2AC4QTFpE2HiocB+3sYkalH0MZfXVrq5LfwYCqeqx0gaa/V3hbda+Io2GrKAvkYeT0xL U/jNKcEd4jwpwWjWZp4BKU6IRledkCbKN8uIx8ncgKeunISpnSG6fCpuLNl7Tg/42SCH oMsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719490821; x=1720095621; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BzuRu3TYFUavJ3fIbGrdOxztoebeEOJ4/hLXJ9FwGMw=; b=DSWlSO1qUO+x//wRJ4+LJuJsjDLret9/8bP3s+QUVCEKaWn5uSFTZktb/EC9+IFts+ Fqw8oG5zJKbr4M+qmJz69r/HFHbIdyapeGE8EOXsOudhFs9xUKfQVls1D5pZN+nj8Ow5 WPHgitqT2o57p3ZsNpLZWecg6v/3gCpcVbj23sYkfxossGPtP7Wr9RGMicMkYozEN7nF jsrkTxbWPuoHdAp1yWd1j6SB0Ulb3nk5JUgsCVh2SclKgnfJo3WDpXWPiYTQvz90Q95a KIeKQ/hWMEeA7icz/6myHWQf+QdHITDLYYpVNlCC+iCKP1UFQNdtuaic7pAwTlsOD4er aCoQ== X-Forwarded-Encrypted: i=1; AJvYcCVvq9Ar3LGhWsDYgqVtKir4zbfhFfyrdW7NvXCsUpR2CvUljJmazuQrFLwpjgAAEXUtIMYr6KvI5wfFWriyhpXw5gu41TE3SFlKWJLkaQ== X-Gm-Message-State: AOJu0Yxa93BSnTw2ffPURVz6kz38gGg5LFe9hq3/aLh15ApBVQVzNmYI IptTfGLaivnwOG4DUFC67xtcNHy5MY8xlQ4WSAPasDT9pCO0r7eeGZBU6GtjMfA= X-Google-Smtp-Source: AGHT+IHXhFgxyEkcJCCrWQdO9Ydbw+jJMliEDlzXzFMU/AuCxMArjpiJIM4PdWhK15j/MHAd79vk5Q== X-Received: by 2002:a05:600c:19cd:b0:424:ade3:c6b7 with SMTP id 5b1f17b1804b1-42564502cc7mr15766815e9.2.1719490821344; Thu, 27 Jun 2024 05:20:21 -0700 (PDT) Received: from krzk-bin.. ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-424c8424b43sm62692885e9.32.2024.06.27.05.20.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jun 2024 05:20:20 -0700 (PDT) From: Krzysztof Kozlowski To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 3/3] arm64: dts: qcom: sm8550-qrd: add port mapping to speakers Date: Thu, 27 Jun 2024 14:20:15 +0200 Message-ID: <20240627122015.30945-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240627122015.30945-1-krzysztof.kozlowski@linaro.org> References: <20240627122015.30945-1-krzysztof.kozlowski@linaro.org> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add appropriate mappings of Soundwire ports of WSA8845 speaker. This solves second (south) speaker sound distortions when playing audio. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Neil Armstrong --- Bindings: https://lore.kernel.org/all/20240626-port-map-v1-3-bd8987d2b332@linaro.org/ Can be applied independently, if bindings are fine. --- arch/arm64/boot/dts/qcom/sm8550-qrd.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8550-qrd.dts b/arch/arm64/boot/dts/qcom/sm8550-qrd.dts index d27820fb5fc0..de40cb623c8c 100644 --- a/arch/arm64/boot/dts/qcom/sm8550-qrd.dts +++ b/arch/arm64/boot/dts/qcom/sm8550-qrd.dts @@ -935,6 +935,7 @@ north_spkr: speaker@0,0 { sound-name-prefix = "SpkrLeft"; vdd-1p8-supply = <&vreg_l15b_1p8>; vdd-io-supply = <&vreg_l3g_1p2>; + qcom,port-mapping = <1 2 3 7 10 13>; }; /* WSA8845, Speaker South */ @@ -948,6 +949,7 @@ south_spkr: speaker@0,1 { sound-name-prefix = "SpkrRight"; vdd-1p8-supply = <&vreg_l15b_1p8>; vdd-io-supply = <&vreg_l3g_1p2>; + qcom,port-mapping = <4 5 6 7 11 13>; }; };