Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp386322lqp; Tue, 11 Jun 2024 07:26:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVJZ6BGQn2B2xTBRNuIieJR4ZtoHOzJq8WbP2K2QhzyYVHxh2iw0tAZtyNUuiciQcO8gJ8LbYfTwYODRPjmScDsY8UszhcT0qWrICkv0Q== X-Google-Smtp-Source: AGHT+IF7IG1Kx2i9GKHV7Ck0FIQDhVFDblBl/KYItVtdJAm3aFXJqQhC2ZSwSZsTD36AjrPCwU4d X-Received: by 2002:a17:90b:80b:b0:2c2:d6c8:977 with SMTP id 98e67ed59e1d1-2c2d6c80a9amr8084163a91.24.1718115974737; Tue, 11 Jun 2024 07:26:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718115974; cv=pass; d=google.com; s=arc-20160816; b=eacGQqxJP0XdBrD/Cd0cEpHgY9Vaxf/wFtmfSXXzvvI2Xd8JA+duKNErktXYG+8oJ6 VPYvx+VrbOE5phnZ8v+7WRAxBhkbMcGtVfJaiC7pzu8jTyrxNRUhlDAbiySIbXQNARJR cMRLSPZbKua5JVitFkX0qsQu98FQGI7IHZAFtfV0h5LICOw50QJ9UX+BXGNjvyLl9onO My71T7WmdoSFp3/+tD5mB27sCCCBMJEUxLUiobEBnO1h4vPI9PIDaIqSKDGb0Zhxb/cr TD+9aXrXKyDhxIdMV1vsrvwbFCq8zqQz5XJO/96hepPDDLwQaw6grGWWDn+hJzEIrJ0O jUJw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=lGYTsubStoiFq5pGx2o4ZQKhOTe8oq0dKZ0Pe/wUyLM=; fh=0lUZ/v+iS5eiv9myi9svDh+ium4UF3Bk3JdAkn6e6qA=; b=oYS3Eu5l9f53mjzCAhTyFo2JctXf3LgaSLFUbHhZxTGSvSZSwWMSYj4MBq7R8GH4wU iHHU2mdwn7gO0fZqyuF83rjlfqvfyqKBVk7L1S+g1IDkXLawDKNWN9ofssLI7ByFfZqz GHzrRKJ96E3dov9ZD7kuL93S7JqisWPdupmA0KQl2IDOMraeg8l3tE91jFB7plXvfF/r Ck5aN3Q6qcEteDTfKElmaYEjtEp8ywQYxW0o3pw9AhSoy3HpWVbJEwjHyZQ8SD2/cShp xQAivW1TcXVc4nytatUnUItTPisnuv5HUOj4O8IN0Pl0T1omQTQnXImnec6nzBEgghaO NWEA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=I6MykOi4; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-210060-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210060-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f7095d6d43si44373365ad.15.2024.06.11.07.26.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 07:26:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-210060-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=I6MykOi4; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-210060-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210060-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 55A6D282726 for ; Tue, 11 Jun 2024 14:26:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8800D17DE11; Tue, 11 Jun 2024 14:26:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="I6MykOi4" Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) (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 557581EF01 for ; Tue, 11 Jun 2024 14:26:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718115962; cv=none; b=PNBPRYiFAXXTHNskkeeVtNIle19NW+zPf2Ur5hWepFj7ne4payCl69pBd7x1holGGuvwoXjIQ6PHplgAkha6BgpEUKgVCzUhvLI9tnqYLjpdEhFRzTCsWSodT9OLlvd/3DmODUOZ/AFuoAHcZu7OKSzdzZrt+L/kTXt8FYt+OHw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718115962; c=relaxed/simple; bh=d546c3opKrRNj71ZDNGKC8sFuxRUiIOvbLvsU0IMqgo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Dn/woACw9CrvQHCAm08/Ltok/JF6XAI8SJETlJErZy++emtt3Ifq9SfnxG2MdmTo16/lJq96lAm7T2nzaCmJcbCfxFFxMM/7GHnKvi6nK8T1d36WZWK/kokPVENbRGNgRbbaOSJNJZVmAxfvMBAFtzASDGli2wShx++6h6e0XqY= 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=I6MykOi4; arc=none smtp.client-ip=209.85.218.53 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 Received: by mail-ej1-f53.google.com with SMTP id a640c23a62f3a-a6ef793f4b8so389787166b.1 for ; Tue, 11 Jun 2024 07:26:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718115959; x=1718720759; 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=lGYTsubStoiFq5pGx2o4ZQKhOTe8oq0dKZ0Pe/wUyLM=; b=I6MykOi4k8CNTcRU4vEOo+FL1KSrCPYUFz4tamo2wvwtofeWpLIgEmiwLdd7BDr69T uBugM5NWtXFbeJJ6azgtqNlEkVy1oAeIo1ueX/Ok0GCFsQUtB0XCaLIthceAVWxt4yw8 dMyXQ7lpCMw/e9YPoovi9Z6fN3lrtxhkHnrM0w2MaQDwd9elLhb8+kIj4D1oUvRWKbp7 B7qHMTCWzc0GDI1Gpht4ZxlCdDmdbaKQKrLukolmBymdpa7DkzzPWZDzZVphmm+low8I sxA8gTMTe4QFR1YxxbMWFlXQNllhEAQm8FYzPCFMyfMatYNp89R80fd4QJmT6hHzzoJO LJqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718115959; x=1718720759; 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=lGYTsubStoiFq5pGx2o4ZQKhOTe8oq0dKZ0Pe/wUyLM=; b=lQ9saXyHakSj5lUhA9Sam9bFrauokSFCoxzoLlFXvggfItNzS1oHcijWuOBqYP1yZ5 aLToDWdnnBnkVmLwplo5lb60ZLAIQla+5X95HT8vr/C8sxXerEY/tdby1SjfJSM5vbBT wotYW9jKD5bPWE2XVSpNJMg+Bk+z9nQR1ZvpqlXcGDaknyef0/ZOgw0IjhxkW4KOvBTJ PEkrNQzUuH0hBpn6mDtxGTnu1Ug7LFkqVpAy69Ddwllx3CCQSFwnU/tjwGeR4GD1uOPn otcwuaGMMagryIi7CzSA5y4yFd3IbIHLil/RycY0XXiUS+LpuDMRuQ713WTLHK3y3NJs cdAw== X-Forwarded-Encrypted: i=1; AJvYcCX83oFo3Wpuf/aLxuuy97wDWe39LYCRywNJEJ0UQUZMmZsMlv9DSuMJj0FS5OZH2gqvwdm4w6Dy6RNQLCAJh+vdhyCztbaATj4+P3z4 X-Gm-Message-State: AOJu0YxOqf0xkPFylDFe2+EEs9rdBQ9fohpvCBIjPFjlaIXWDoKfnqcz hNPG5mv+XSbWjyXYOXsc21gsKYnikGAOel/uJitaHIJrkTWeHVI5aT6HbKNxk5o= X-Received: by 2002:a17:906:e0cc:b0:a6f:1872:4e1f with SMTP id a640c23a62f3a-a6f18724f43mr346135966b.77.1718115958517; Tue, 11 Jun 2024 07:25:58 -0700 (PDT) Received: from krzk-bin.. ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6ef83ac0c4sm518070666b.74.2024.06.11.07.25.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 07:25:58 -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 , stable@vger.kernel.org Subject: [PATCH 1/2] arm64: dts: qcom: x1e80100-crd: fix WCD audio codec TX port mapping Date: Tue, 11 Jun 2024 16:25:54 +0200 Message-ID: <20240611142555.994675-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Starting with the LPASS v11 (SM8550 also X1E80100), there is an additional output port on SWR2 Soundwire instance, thus WCD9385 audio codec TX port mapping should be shifted by one. This is a necessary fix for proper audio recording via analogue microphones connected to WCD9385 codec (e.g. headset AMIC2). Fixes: 229c9ce0fd11 ("arm64: dts: qcom: x1e80100-crd: add WCD9385 Audio Codec") Cc: Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/x1e80100-crd.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/x1e80100-crd.dts b/arch/arm64/boot/dts/qcom/x1e80100-crd.dts index f19d89d3d6e1..12a4c4637baf 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-crd.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-crd.dts @@ -775,7 +775,7 @@ &swr2 { wcd_tx: codec@0,3 { compatible = "sdw20217010d00"; reg = <0 3>; - qcom,tx-port-mapping = <1 1 2 3>; + qcom,tx-port-mapping = <2 2 3 4>; }; }; -- 2.43.0