From patchwork Tue Feb 27 14:27:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 207239 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp2730643dyb; Tue, 27 Feb 2024 06:28:05 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXBdM7/cKrAVdldYD0gj/nmjH6SVpJ0CqHWT+DBKDrPt2kC702JtRWZZKCSYkh1MIpNfCt6bCThj9Bn27r5b+HQq3NPEg== X-Google-Smtp-Source: AGHT+IGF7gOINa8v7Ir9wi+WpI2n0AGbA1MMJiTerGKIAvP/5zTBCqdZLuwwbnrWyi4/VO7eCw5+ X-Received: by 2002:ac8:4e56:0:b0:42e:84aa:f0c2 with SMTP id e22-20020ac84e56000000b0042e84aaf0c2mr6923338qtw.21.1709044085697; Tue, 27 Feb 2024 06:28:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709044085; cv=pass; d=google.com; s=arc-20160816; b=igXMdtVmKt6eBhKI7LZ6AiN8kxUdImiG1iZ+dj4HsmqxjxD7JlcOM7U7CdXcA8Hd0Z NViThO8rjqYfPs4KLr1msa+ZeOIyrHUnUUqGuSWq9yFq3QE9egfCo4ywmvnvGGg92IUw sshtwZmCeJgsiUIAKauBTOUL/ILCl9LhK1jaJTBFd/Bid0uGg2w0sQwUUVl4tsvgF6qJ pLzBRPEF7ACKeT7R/9bXjTVfcu1rOwijmcvx9TVzUNj51/K4Q2BV618NOO+1RyhRBeZu 4UcSy2T1EInu+aynq1wg5NdlyM8cWc27whyaADscwWUH6ZUfstQRxNyv5KlByv60O/6D KSbw== 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=kD3E49r73xF3oSKYiHLwdSLYHlLARjZJlqpTBrcFb9U=; fh=xyfYXFzGcvknd1STEIQ9IoA+NtVkMdswUWhkiU1Z9P0=; b=y3ve5epnmaM60Mm2C2H7Ble4lw6Zr/Yzw9dsZJ8IGWv/auKk2hPyt+UO8zfJWxxI3L 9y92u8wubPyZijg1qda8vJmsJGwImClQf8oECn/54FiF4DE8eOKhoAhQ27u6DSkZmCdA N0RsOn00rZ5NWhCMPVsSY8kxFhixCvNFhJQMnOY0MOGvrvqOV3VizXRHF7BEfjcqqzGl FM9DZQ+NdoFjD2YlpeFmmZV1MjqcR62aOj7hG7+F1CvxlhojruaBcGyKBy1gCKRU30yd 6eZ2UDy93whK2QtgNHz1ZgYfxc+gRExiGxda2Roqijwnj3q89lTs6o8IktKgWey8enT4 Cdnw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fCBXkvLk; 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-83395-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83395-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id e1-20020a0562140d8100b0068f0801d70asi7440308qve.115.2024.02.27.06.28.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 06:28:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-83395-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fCBXkvLk; 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-83395-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83395-ouuuleilei=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 5DF141C236B7 for ; Tue, 27 Feb 2024 14:28:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C1EE5145B16; Tue, 27 Feb 2024 14:27:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="fCBXkvLk" Received: from mail-ed1-f49.google.com (mail-ed1-f49.google.com [209.85.208.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 0CE5513B2B4 for ; Tue, 27 Feb 2024 14:27:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709044051; cv=none; b=II6Ft8fHMaQQURsbwwOLrXMNPBV9F2gNZondq2PkPUzbryum0YlIGeedEaalWX+ZYgaUAPAx2N+Ikqh44kXd8nq6YM2i4mFq6Yx9EG/BDztkMRABt7CZEz7hai62V6XYm8GKu9duR6nXfqCBrQV3rp0PYVOMjKmSvMM4hu29Lzs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709044051; c=relaxed/simple; bh=roGU0rn07H+CN0BM1sUoDiaaO7W9Oh8V2PP/kib7geI=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=MPAkCurOTneD2oYvOEFtw54ZXHXT32X+rxR4GwsMlqPBjCXrSe4eCtHEDf2mBjlryWCUPkajOXscxPxqfpXzqrLc9JZgVXAyunU537x7OU9xQFuncnbLpUK9T0tBGcOmhtnYM+yYZv6tLR5iGtR8wjL/6uI9LU57jmA1jlYniHA= 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=fCBXkvLk; arc=none smtp.client-ip=209.85.208.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 Received: by mail-ed1-f49.google.com with SMTP id 4fb4d7f45d1cf-56454c695e6so7562046a12.0 for ; Tue, 27 Feb 2024 06:27:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709044048; x=1709648848; 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=kD3E49r73xF3oSKYiHLwdSLYHlLARjZJlqpTBrcFb9U=; b=fCBXkvLk+hm+MKUbNugqE6LE7woJFLfgTUylpeSfToQcXyiK/F8cYx4+IrS8eSwwws pIql7z50wvZ3mLhApQVvDObSRfJIn/A2grnDFxcPVa/rU58Q97L8ZnN8jNvB0XjuVtjj slJnH6TvH/GWPi1tvyAXvBNVBQy2bfyJklVnw/vuH5nIpeXYUPM0v/BC0SK6rT8WZYAr Q1S5rkNYFwO78J7167TdJj5Y9WbSOBFQcWp/T6QFXjAaud/bE+1D8EC8B8s+SQ3zTKv1 AuUjQnBi8UjNVH7yPwyNuvMw3pLPmlDK63ruIHOR8GHDZYA/vw0kImlWSPX2FLNHv5mi 8Wxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709044048; x=1709648848; 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=kD3E49r73xF3oSKYiHLwdSLYHlLARjZJlqpTBrcFb9U=; b=NmeeUAiTwPLoufaZq6hJDrehbvii8O242xPmlwiMEBRM1HTwBy2dhSNZRc6BGxP1lK 9cQt0Fp9nc5twFvRcyK4Zvfz+wvJvij/lZSB3eUQ7Pzse9ftjd/NkxqPRI8VMvPl7Xr5 0OCG3k7xwtez4bwSc7NIDQftYN9vNcUEQKI7hbR32MqWcfMy4BzEP0abvS0p6wO4C/3M fxSwgCW+ZiQujol2A9g7Iak+2j9twshJkHWhB65Tlkwdv5HYtRkibMSAcBe2QL+VyLg8 edLGWUUF7ajaIbO21093xaD6HBnAy2JbXZQwGR2qhkyUt6t2SHqdShlwAMbbAOzt8VAF Xtfw== X-Forwarded-Encrypted: i=1; AJvYcCXYTDAs5LH8boXNjS3U6VmqYI73YktqmHTn8x3VP07DHV4+xhIsUqhpkjWx+KYAF/hH+lUOknJ4wJN80lyoRTNRKHEIINm+83/JZWaL X-Gm-Message-State: AOJu0YwHTy/7cWmMjOFUVI1nM2wDrbrxSv74sb0qIWpa5JpcDWU8/lQ/ VzSCztLNOIH+o9XuI/jBZnVseVTwiGsDUCUCNnlSkn+zGEfmK6Ky8vy0bLhwF6E= X-Received: by 2002:a05:6402:448e:b0:566:3d1a:92f with SMTP id er14-20020a056402448e00b005663d1a092fmr1391251edb.16.1709044048533; Tue, 27 Feb 2024 06:27:28 -0800 (PST) Received: from krzk-bin.. ([178.197.222.116]) by smtp.gmail.com with ESMTPSA id u16-20020aa7d550000000b00564c7454bf3sm813689edr.8.2024.02.27.06.27.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 06:27:28 -0800 (PST) From: Krzysztof Kozlowski To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/3] arm64: dts: qcom: x1e80100: correct SWR1 pack mode Date: Tue, 27 Feb 2024 15:27:23 +0100 Message-Id: <20240227142725.625561-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792062611041095734 X-GMAIL-MSGID: 1792062611041095734 Correct the SWR1 Soundwire controller port block pack mode to match reference code. Not sure if this has any impact. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/x1e80100.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/x1e80100.dtsi b/arch/arm64/boot/dts/qcom/x1e80100.dtsi index c6b025503f4f..be4d2674151a 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100.dtsi +++ b/arch/arm64/boot/dts/qcom/x1e80100.dtsi @@ -3430,7 +3430,7 @@ swr1: soundwire@6ad0000 { qcom,ports-hstart = /bits/ 8 <0xff 0x03 0x00 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>; qcom,ports-hstop = /bits/ 8 <0xff 0x06 0x0f 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>; qcom,ports-word-length = /bits/ 8 <0x01 0x07 0x04 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>; - qcom,ports-block-pack-mode = /bits/ 8 <0xff 0x00 0x01 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>; + qcom,ports-block-pack-mode = /bits/ 8 <0xff 0xff 0x01 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>; qcom,ports-block-group-count = /bits/ 8 <0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff>; qcom,ports-lane-control = /bits/ 8 <0x01 0x00 0x00 0x00 0x00 0xff 0xff 0xff 0xff 0xff 0xff 0xff>; From patchwork Tue Feb 27 14:27:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 207255 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp2746893dyb; Tue, 27 Feb 2024 06:55:37 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUcmC9IlouuDoe9oP4MMSfLY6qIOJsxcWHt48hXdMiR4acUN0hHgD/sy447zborCCpiFgkMQqEpsqceBNp/nq8+kdX/jQ== X-Google-Smtp-Source: AGHT+IEdO2X8PbiDF751GZA9qL+1RRfBuPq5b69kZF9f8w8WAftQ5FuuzbM6dS22Y8o2/46zqlsN X-Received: by 2002:a05:6a00:2d02:b0:6e5:4956:998 with SMTP id fa2-20020a056a002d0200b006e549560998mr2276206pfb.2.1709045737534; Tue, 27 Feb 2024 06:55:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709045737; cv=pass; d=google.com; s=arc-20160816; b=w8Oic3zc2XC+dvmpGIjUxopvOJnbom4u6I5fwKcgm1lpM4Sv4eGOBWpvkrhkdYoMT5 d5x16fD40DIt/Hm/1yxIv5c6axI+XPjlfsFOMmgjm0HQEoZST6NvY7mrcpcgEoPljxW+ SaI4XSlKbLddn1pmfMOv16vasSzdmyNT9ZdYHo/+NhYsK+V7WrI2Zl3YumaZtSAhYK0P DI5URPOe2tN+o9PQqsKSAepX2zEXK335wO4puhFRoZEx58/gOPk1AyQqrzGkFjYARQpg AGeK3KoMIvltdynPEN/Hkth1e5ciESmNpl6mB9L5JaNGU8xDO9/EGIFX8dlexhM4uBpX 5uWQ== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=33B8gJG0ZgTkJiJm72SjJZHXMoaZN/mFMW+Qqrnw2t8=; fh=zOUnC2yYK50fbClkkmEVEd7eQzCpZKhkU+vO6ontBPI=; b=r+rVbQ7GJsKKDs7HRrFPvNqp06RE7f1KCPUS1kUrH1QkZeVtPdaT8zC2TNEQvZbjdn zRKzlSDc/Sd9sg8GTxih5uJ5ZIi5YuRASuHz+KQtTSEyUC7gezDUT2rvlObd+kTdBvMR amIn0CyhzeTHVopbe1qB5fhh190Mulianw+JEEjXnk7/4PQQewOMdYbwrVRG3PaSWDCn +rDFREcOljnb42fAl+frX2sWoHdZCxwg6cs+yx3n3lLKlK3WXTYlj8k7k030fHypZafv o+6JYHImooXUasjgkorlImryPPiihnAQmzhQR82RfZKCwVoscPVeumCRgT8HWx3FyGHm JinA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IVaU9pZj; 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-83396-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83396-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id ln7-20020a056a003cc700b006e0f5035435si5662255pfb.126.2024.02.27.06.55.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 06:55:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-83396-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IVaU9pZj; 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-83396-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83396-ouuuleilei=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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 0D7DFB228C0 for ; Tue, 27 Feb 2024 14:28:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B35481420DA; Tue, 27 Feb 2024 14:27:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="IVaU9pZj" Received: from mail-ed1-f46.google.com (mail-ed1-f46.google.com [209.85.208.46]) (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 A6C9613EFF4 for ; Tue, 27 Feb 2024 14:27:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709044053; cv=none; b=EK+vtZukc4hxJ/utkna+xf99CkfDZ0K1N1ZaSm/i3WmOEw8Gwi4uJKnsGeDDHGDh86Y/SrlFnwBWLtqqCT/pTwIV3z4noGmnWul1kZWaYXoG0l5FDEmblkYPhT+ojRB9vb9wv+mULkM0/iMgZ1IxcshiopsonO6KP7SH38GGvW8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709044053; c=relaxed/simple; bh=bsf32Y7coVxxTSmKbLEaQtO9FBe/PteLHrHMoCJPWNs=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=duWnYz6W9yDE4k4NovFlEVO6M6ShtBSgnafJliH3UeygwUhLPzcCJLAALm5JwSwVlamA0JwDGINLCeiBWhoptD1Zu8xrHY6sN+h/RbtCICGPzw151n3RNYcT3RHrxtj/NA8g5ZwQ7h8+w4bFWJvqGNysAcFCvWKeF6yn7/jdAu4= 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=IVaU9pZj; arc=none smtp.client-ip=209.85.208.46 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-ed1-f46.google.com with SMTP id 4fb4d7f45d1cf-563f675be29so4644737a12.0 for ; Tue, 27 Feb 2024 06:27:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709044050; x=1709648850; 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=33B8gJG0ZgTkJiJm72SjJZHXMoaZN/mFMW+Qqrnw2t8=; b=IVaU9pZjuhsJ1zFdWoQuozQa/7/tNS0nLICblbHILCW1ry233EHzqkgoT8YUpqGBKt rhGoXZvL6bWtUWfYfK/cfnuSiA+/a0Ocw/1a1qQB58Y44jTpiNZDEI5WLHIVSghsn3ZM 0iSlcEIYdi1HSh+YUO9uhlrwIGCluVz3B+9V4nOV2ypHMuOgxyeH1sWBxs6soA0ogbhV fc5ivc8DFjr18AAdn3ALiLJmZia244q7SzOQgREktIAFyqHkN98yqIr87QF6mIZdgM7l QAYMcWfOJbdsmurYm4L3MHu1HqAdrSFQMwCps1oSGgYT4+Mj75PwD6YKuQIuuOdeq81K fz0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709044050; x=1709648850; 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=33B8gJG0ZgTkJiJm72SjJZHXMoaZN/mFMW+Qqrnw2t8=; b=nP2rfii781XP4NUHPDwW+TfmOO9g6yzetwxxraxymUrXlTm9rfnaVoYjR8kncyAAfE jMVj8OIhhM/J9OlGYRI1RMwBWXgHxr/giwXszdwTbWYSMs62yuMokz38RAOslHSOh58Q rAJtISx+kUftXWmCyVBrvK4xTIC6c8vYKRKwugIyuZAzJrCiLqp3RZzIAY2jiorzR73i P5tDBTO2PalE7dGSj+8tml68++MKKa/O7xOC4yhXzYxWmy5CX8Ict1HCXDp3LM44aW3l dBvWk92gdswLjvdRcV62IZ+uXncjqpj6iI42tT3/DDvhK8K/NjoJTJOJOORcbZGAht4T Xxzw== X-Forwarded-Encrypted: i=1; AJvYcCVJ5qr+iVE6+7h98hjAYztSI+vUXeAwooZn8Rlu69mDWKtcxZlSKA+bPNEt0S+u8w5iEbKHlUc9BVHKuRBB02CUtzcovCfxI0U5fGwc X-Gm-Message-State: AOJu0YznOO58IC8Wi8FYfAE1NHHRFiVkTcKGuEssdRg7LKYlq7uSmSUK jFInfj/qPtx+Qet+nRmahOijP7ejYPhKbYqZMTnglub0ASYY+uXob900kU4N3wA= X-Received: by 2002:a05:6402:3456:b0:565:7116:d533 with SMTP id l22-20020a056402345600b005657116d533mr7046605edc.6.1709044050058; Tue, 27 Feb 2024 06:27:30 -0800 (PST) Received: from krzk-bin.. ([178.197.222.116]) by smtp.gmail.com with ESMTPSA id u16-20020aa7d550000000b00564c7454bf3sm813689edr.8.2024.02.27.06.27.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 06:27:29 -0800 (PST) From: Krzysztof Kozlowski To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/3] arm64: dts: qcom: x1e80100-crd: switch WSA8845 speakers to shared reset-gpio Date: Tue, 27 Feb 2024 15:27:24 +0100 Message-Id: <20240227142725.625561-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240227142725.625561-1-krzysztof.kozlowski@linaro.org> References: <20240227142725.625561-1-krzysztof.kozlowski@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792064343385599427 X-GMAIL-MSGID: 1792064343385599427 Each pair of WSA8845 speakers share the powerdown SD_N GPIO, thus this GPIO is specified twice in each WSA8845 device node. Such DTS was added hoping non-exclusive GPIO usage would be accepted, but it turned out otherwise: it is not supported by the Linux kernel. Linux kernel however supports sharing reset GPIOs, when used bia the reset controller framework as implemented in commit 26c8a435fce6 ("ASoC: dt-bindings: qcom,wsa8840: Add reset-gpios for shared line") and commit c721f189e89c ("reset: Instantiate reset GPIO controller for shared reset-gpios"). Convert the property with shutdown GPIO to "reset-gpios" to use mentioned Linux kernel feature. This allows to bring all four speakers out of reset. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio --- Dependencies merged by respective maintainers for next release: 1. ASoC: commit 26c8a435fce6 ("ASoC: dt-bindings: qcom,wsa8840: Add reset-gpios for shared line") 2. reset: commit c721f189e89c ("reset: Instantiate reset GPIO controller for shared reset-gpios"). --- arch/arm64/boot/dts/qcom/x1e80100-crd.dts | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/x1e80100-crd.dts b/arch/arm64/boot/dts/qcom/x1e80100-crd.dts index d7ba45953277..266a461f4882 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-crd.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-crd.dts @@ -802,13 +802,14 @@ &smb2360_2_eusb2_repeater { &swr0 { status = "okay"; + pinctrl-0 = <&wsa_swr_active>, <&spkr_01_sd_n_active>; + pinctrl-names = "default"; + /* WSA8845, Left Woofer */ left_woofer: speaker@0,0 { compatible = "sdw20217020400"; reg = <0 0>; - pinctrl-0 = <&spkr_01_sd_n_active>; - pinctrl-names = "default"; - powerdown-gpios = <&lpass_tlmm 12 GPIO_ACTIVE_LOW>; + reset-gpios = <&lpass_tlmm 12 GPIO_ACTIVE_LOW>; #sound-dai-cells = <0>; sound-name-prefix = "WooferLeft"; vdd-1p8-supply = <&vreg_l15b_1p8>; @@ -819,8 +820,7 @@ left_woofer: speaker@0,0 { left_tweeter: speaker@0,1 { compatible = "sdw20217020400"; reg = <0 1>; - /* pinctrl in left_woofer node because of sharing the GPIO*/ - powerdown-gpios = <&lpass_tlmm 12 GPIO_ACTIVE_LOW>; + reset-gpios = <&lpass_tlmm 12 GPIO_ACTIVE_LOW>; #sound-dai-cells = <0>; sound-name-prefix = "TwitterLeft"; vdd-1p8-supply = <&vreg_l15b_1p8>; @@ -853,13 +853,14 @@ wcd_tx: codec@0,3 { &swr3 { status = "okay"; + pinctrl-0 = <&wsa2_swr_active>, <&spkr_23_sd_n_active>; + pinctrl-names = "default"; + /* WSA8845, Right Woofer */ right_woofer: speaker@0,0 { compatible = "sdw20217020400"; reg = <0 0>; - pinctrl-0 = <&spkr_23_sd_n_active>; - pinctrl-names = "default"; - powerdown-gpios = <&lpass_tlmm 13 GPIO_ACTIVE_LOW>; + reset-gpios = <&lpass_tlmm 13 GPIO_ACTIVE_LOW>; #sound-dai-cells = <0>; sound-name-prefix = "WooferRight"; vdd-1p8-supply = <&vreg_l15b_1p8>; @@ -870,8 +871,7 @@ right_woofer: speaker@0,0 { right_tweeter: speaker@0,1 { compatible = "sdw20217020400"; reg = <0 1>; - /* pinctrl in right_woofer node because of sharing the GPIO*/ - powerdown-gpios = <&lpass_tlmm 13 GPIO_ACTIVE_LOW>; + reset-gpios = <&lpass_tlmm 13 GPIO_ACTIVE_LOW>; #sound-dai-cells = <0>; sound-name-prefix = "TwitterRight"; vdd-1p8-supply = <&vreg_l15b_1p8>; From patchwork Tue Feb 27 14:27:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 207242 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp2736369dyb; Tue, 27 Feb 2024 06:36:48 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX/YxiAUSO59Tq/s3LBq/8mGjVQS93kIIGxhkPioSnod7MjI412L4Sj5I55RTfvMR2NafoK/WraKknUO8z7S0DQ2IbBPA== X-Google-Smtp-Source: AGHT+IFbPveuxxYWR2nmAIlCjQ4c1P57jkh8oun2LBViAz6UmU1PtMN/uYPaj2X4w4QknmcfiVUn X-Received: by 2002:a17:906:12d0:b0:a43:3066:ef13 with SMTP id l16-20020a17090612d000b00a433066ef13mr5452092ejb.37.1709044607969; Tue, 27 Feb 2024 06:36:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709044607; cv=pass; d=google.com; s=arc-20160816; b=jNkpJZnDdsrF79fpv5tp4o8Azr+r8+vLOUUw+4LBDFxRPXcmxkbNLRWVXTvlxnVdol 8+w3Im7N/uDVUT4AZBr0D4z7oMMWfIPnMAYDdfpZB4Y4gCaDox7QYCSZE/eUYP0F9EXy /ES350kedHURDwSMofYZ4yhrTN53CgX6kgFgmSgMOb/cj7KvqTyS3A3k9LhJ8hq1miuN t6jK8AcLNGyJQ6qGORPwOZDbpPy6svimyXydEgxqqotkyjqtYPv6t9gEW2VzJVDnzTM2 +LVrrdR+Gq6cCV+HOkcRKf5dtxNvDojTyAeyo4BeSoxDOdEwQMltFl6LPEDBRp0ShSRv E93g== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=nsr/AiI0N0LjdjI2GsJqDjqyT+l1PI1B8gFeuYj95io=; fh=SjalsRfXaMEzNT7frZps0VvWxn3HlWkxKPlHdxIUjoY=; b=h9qvhGRmCbRwrX0bzW+eLuDukZGy65KEPjhRuJrbdmhG5oGk+6NT4jX/HOA6mNBCWk Jo9yPOXPETliSTy09kQWmo5aoA3fwDi3WXiV2Vo2js2Eooyf/UwCxo0bT4sGCdl0dKlg VxroNVbgo1Sdf9F80r8hAr2vtaWpMr7ZK38LjZpz1unshRuhsoaYDwasVpyVaAvtcfyR vcbjKyo3SKaHcBPkKfRl1Eo3kUx7PVEXL/H/9GvJuosTNKy6UAlUrBNLnNuS9dM/O52H tHVDtMMD0sXh/DSVCtvh2D/NLXIYQSd+XaXrz9XTLWeLxdmUSMhr239k8pI8gPHRthtw np+Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pevypelx; 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-83397-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83397-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id k10-20020a17090646ca00b00a43c5d2a3eesi285327ejs.608.2024.02.27.06.36.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 06:36:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-83397-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pevypelx; 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-83397-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83397-ouuuleilei=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 am.mirrors.kernel.org (Postfix) with ESMTPS id BF38B1F2CE61 for ; Tue, 27 Feb 2024 14:28:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 94F641420DC; Tue, 27 Feb 2024 14:27:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="pevypelx" Received: from mail-ed1-f49.google.com (mail-ed1-f49.google.com [209.85.208.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 312D814534D for ; Tue, 27 Feb 2024 14:27:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709044054; cv=none; b=NvwatIlRqeezf4Y4Y3U4yIi8ARIDh72C4bTlH/vx9Pg+yPnGmPwoqzU3qhvjCRGJN4KYP5H1QnQ/CzYQp04ChD4BDpXSl50654OpgSt5AexKUUBPhyJKOan992AW7/5/eaAHfiXP7P8v9DWsj0aJyALVHtrVtdcA2NaeC2caYeA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709044054; c=relaxed/simple; bh=ab6q27R3QlFLFfpy8puelAUfdFCANtrxW82g4p7AAaY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=LfTJmbkbsUU+e56hGNPLHPou+Q8K6CaEsGBZeaKpMnrIEl3ZJUpsXkX85PIneC3wJ+Q48fg6nfe8vwUKQIZWMtm+Y6hreXIMFmEuQHisGa7APWt9zGV70OD2wHTp7oie4zMv5QwUDsuYpJ9E8Dqy0ZFEtISNY8Et+cp75Thn/yU= 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=pevypelx; arc=none smtp.client-ip=209.85.208.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 Received: by mail-ed1-f49.google.com with SMTP id 4fb4d7f45d1cf-565d1656c12so4568993a12.1 for ; Tue, 27 Feb 2024 06:27:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709044051; x=1709648851; 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=nsr/AiI0N0LjdjI2GsJqDjqyT+l1PI1B8gFeuYj95io=; b=pevypelxVUn9u8BZ9ayxMCkHazDRu/0KV1ltZNr6QC6TF+DKYXYNbiNCdWz0CV7Ytk pDNKsZbWYo1T9qlU3kLhHy3OhocuuEYZHWYr5V6wZX1rJnNbAZLK7sZXbBtGCpe17mdI n8GAnZeS1dSXTPRiuKfC0Zb1895kjxDIEOT4bWhdHouH4iLjNYSLXVshaeg5El7M8/1f qeodq3OJUYRPgfX7ZDx1isbsZzrY+obvujDE2PGPWfq0kv8GHcop32XibVs6YWxpw595 INzVjT0xNoAI2v1TJ1aejGpNQc1jrJlgb/LaBSWRhrXEzEAs9cZ8EIK5kt2AMH/gUeQ1 TdqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709044051; x=1709648851; 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=nsr/AiI0N0LjdjI2GsJqDjqyT+l1PI1B8gFeuYj95io=; b=IQjpqRlw0VPZPL2wWbqGh1PO+CcOoTUgljtiWh2dd/vNRbduTO7Iy6NFC+EHWDeHuj iiJN0qujwPGiKouRZHq2OuXn5lbfhk8BJncbK6iFG9IYIKVYbj5XBhvmlaDGr3OWLOwA tcVBrg0YpkgTaC5JaydZYq+FvmZCG8CV2Jbe+obXsu1PNw4WXfJcBxiHx8YwY36h0fni 6YM4TgnfbRs/7rBn1lLRVklchE5P/vUZzS1gmv3jt64mJayBOqm6a7OUJQIpJJV3LymQ warmHpQVuXesO/eNK7KGSuua4YFDmdamtjME7IBcPR4rgGt6vGV7lbeQcspo15c7ICpS tYOw== X-Forwarded-Encrypted: i=1; AJvYcCWLXRvDm+vOsse0NN34Z4Cwq4i/Gc1TfR0l7rZvUkwY5wRZPTDQjFv00qB7rFwO2P2rCVMZBQ52T08HArZO7IvtaJQH0KV18ULayvTl X-Gm-Message-State: AOJu0YxOkryDxguW2KH3Xn0YotJAI0LF1LcKpir3EyDPxqEfZkTY4a7R PM76dTNBG9U0QG2DLH+xHlM5lsAw6hadjg0dV+7Hi895Frxevfd848Uh1z5HPLs= X-Received: by 2002:aa7:ccd4:0:b0:565:f077:d872 with SMTP id y20-20020aa7ccd4000000b00565f077d872mr4712627edt.15.1709044051484; Tue, 27 Feb 2024 06:27:31 -0800 (PST) Received: from krzk-bin.. ([178.197.222.116]) by smtp.gmail.com with ESMTPSA id u16-20020aa7d550000000b00564c7454bf3sm813689edr.8.2024.02.27.06.27.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 06:27:31 -0800 (PST) From: Krzysztof Kozlowski To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Krzysztof Kozlowski Subject: [PATCH 3/3] arm64: defconfig: enable reset-gpio driver as module Date: Tue, 27 Feb 2024 15:27:25 +0100 Message-Id: <20240227142725.625561-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240227142725.625561-1-krzysztof.kozlowski@linaro.org> References: <20240227142725.625561-1-krzysztof.kozlowski@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792063158447733245 X-GMAIL-MSGID: 1792063158447733245 Qualcomm X1E80100-CRD board uses shared reset GPIOs for speakers: each pair out of four speakers share the GPIO. Enable the reset-gpio driver which handles such case seamlessly. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 3f44aebafda8..746ea4499e72 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -1473,6 +1473,7 @@ CONFIG_PWM_VISCONTI=m CONFIG_SL28CPLD_INTC=y CONFIG_QCOM_PDC=y CONFIG_QCOM_MPM=y +CONFIG_RESET_GPIO=m CONFIG_RESET_IMX7=y CONFIG_RESET_QCOM_AOSS=y CONFIG_RESET_QCOM_PDC=m