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>; }; };