Message ID | 20231227-topic-8280_pcie_dts-v1-0-13d12b1698ff@linaro.org |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-12294-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp1695563dyb; Wed, 27 Dec 2023 14:29:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IGxtG/s8R2XQGmShMyebEM/ODDP2rlVP+aqbjhKgVHirIvylI5z3HKAKEkKZBGeWuwsdg5b X-Received: by 2002:a05:6870:7013:b0:204:1590:2044 with SMTP id u19-20020a056870701300b0020415902044mr11906953oae.5.1703716140209; Wed, 27 Dec 2023 14:29:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703716140; cv=none; d=google.com; s=arc-20160816; b=kC7fmHg+OfNtu5U5Dz0/hcpSn/tGeUceg/UJMW1ZswULa2SZ791TCgwlhm+qiunT8B LYzGq4/2Xkmevt4lNR0AZrr8oHzqaJAoKKvL44+DM2rRf2snDbz3BenlueZsYn4K3NYU V3WHB4zHVMF8mqt5zPGfAPyojSwscmCPXd5OQSuE2sSQxOJ5dXMOAYtxNivPecmQ5mud Fawb3YEfZQohST+dXMPv6Trz/afd+mLmKHUz9SQtOCqSlv7uG4s9GtHnnBwtCxfyX1TL jcDxDiN+gWX8fjY9yxgmU8rZsAO6TuRLW17jkROhrv5/tO/bxoB+H/IeD3kmb8EO4ics 8EmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=xErI1idyMhC4npl+ml9xzJRore9ZzchIfnM4qro4CLs=; fh=KLeS/c16yOJ1FS6Ho4w0J6IIxO2ziXCSDgX2W9R+at0=; b=xWICYZzhg7EgSXPwymMLwvZGFiNMc2YwDDbKX9VpAVQN1quUx4EDqBcE5RJrb11J2z KdueV+Qi+FzX9NogfSRIW6ZWPpEHTFZv+fxNF0qoTyQjROHK8BJ56y9Un7oVNDOWub9c WbcUC9647YrwGpHOZzkkxo5wFwlPh02780fAQL+0szxgt/sUqmX/Bul1aAaYJrkU4LWI vmXZj0ZdZRYou8hkfTIzzuiM4roWtaq0XLNqLb28lhg/xncuRiDFMauZ3uIayX9IJpj/ DzC3HzFKy4urnVhZNW0gTKLeS7VENucCM788/DjBxBSku3wAeZh33GplVE7xpxpq2yaf U4QQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DJnW3RDc; spf=pass (google.com: domain of linux-kernel+bounces-12294-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12294-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id a13-20020a65418d000000b0058986c61bb6si11883756pgq.706.2023.12.27.14.29.00 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Dec 2023 14:29:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-12294-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DJnW3RDc; spf=pass (google.com: domain of linux-kernel+bounces-12294-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-12294-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id E7B59282460 for <ouuuleilei@gmail.com>; Wed, 27 Dec 2023 22:28:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2713149F6B; Wed, 27 Dec 2023 22:28:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="DJnW3RDc" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) (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 E8C1B48CDD for <linux-kernel@vger.kernel.org>; Wed, 27 Dec 2023 22:28:32 +0000 (UTC) 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-f51.google.com with SMTP id 4fb4d7f45d1cf-555526a060aso1225868a12.1 for <linux-kernel@vger.kernel.org>; Wed, 27 Dec 2023 14:28:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703716111; x=1704320911; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=xErI1idyMhC4npl+ml9xzJRore9ZzchIfnM4qro4CLs=; b=DJnW3RDcH9RvuejC5wHMfAjRnD0iuCVXAVq2Lhf/dEqQEk9aaVnHxfmEg124RukGVN VNoVGbvVc7ZvXtFlaOZAkwMGcRdgC6YCCNzl/MuzbWzPbyTkKQ6S+dBafx5Iu/+r6nCd jvPXlIPFbmvCdznzvr1Kh1lg79ijFbLeHeWWZd8cpmgBxfzlclpDNzW1p80c0F7E6Vfw Oxy01a0H3NhxYMixViRCDhI7DzPjAVXVzoF7uiwrMa/hkKTDCzUzI51AkCQPG2F8kYjJ ZvffLcYPgYwKjzTuSRSVBos7d950m2rCcC54+KtJVHrEWa+BnnvJ/mwbc3cH1i6L9BYY Tg6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703716111; x=1704320911; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=xErI1idyMhC4npl+ml9xzJRore9ZzchIfnM4qro4CLs=; b=eVLGMrwUOyVkaA2/XN7bChgoxHxBWdYboi1RB0qelboz96Ew1wIkECAmcpz4TRMHnv DvufxZjfFC0as7qH1DDD3wAiLbhULKF7iQ5bR/knT36/hs3aDjYK3MqAxdjoyLC58iHd OTZ8NSW0elpREev7EcgNUhJhPFPJrsR2OY+VgxSsL7UM7+gooci9+MXomMqxgGw1W91M wCf0nHwS8OgOoZSNQ/BmWJ7zyzcuCWCvA70pT41/mLgUEacH8Bso8PKUbKZ7ep7/68Y7 pCVr/ufAzXWkQ6C2YjvsPVmQ9iSmISMye+M/rdeedXkSNuYL1xsntgCkGLfJV+4xiOZz x0UA== X-Gm-Message-State: AOJu0YzVqb9JlOaBKL69sU4GSqzMu7X80/y5bj3tJq8ksQmv+D99dK1s DKwmtS3cw0PvQN/qETrQ6bTfAIr725eckQ== X-Received: by 2002:a17:906:9889:b0:a26:f057:974 with SMTP id zc9-20020a170906988900b00a26f0570974mr2058680ejb.152.1703716111204; Wed, 27 Dec 2023 14:28:31 -0800 (PST) Received: from [10.167.154.1] (178235179028.dynamic-4-waw-k-1-3-0.vectranet.pl. [178.235.179.28]) by smtp.gmail.com with ESMTPSA id fb20-20020a1709073a1400b00a26a061ae1esm6854252ejc.97.2023.12.27.14.28.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Dec 2023 14:28:30 -0800 (PST) From: Konrad Dybcio <konrad.dybcio@linaro.org> Subject: [PATCH 0/3] SC8280XP preparatory PCIe fixes Date: Wed, 27 Dec 2023 23:28:25 +0100 Message-Id: <20231227-topic-8280_pcie_dts-v1-0-13d12b1698ff@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAAmljGUC/x2NUQqDMBAFryL73QVdpdpepRSJybMuSAxZWwri3 Rv6OQPDHGTICqN7dVDGR023WKC5VOQXF19gDYVJamkbkZ73LannQYZ6TF4xht24C627dZhxRU+ lnJyBp+yiX0ob3+taZMqY9ftfPZ7n+QNPGHCgegAAAA== To: Bjorn Andersson <andersson@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Johan Hovold <johan+linaro@kernel.org> Cc: Marijn Suijten <marijn.suijten@somainline.org>, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, Konrad Dybcio <konrad.dybcio@somainline.org>, Konrad Dybcio <konrad.dybcio@linaro.org> X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1703716109; l=1303; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=TvdiqAHru5oeCjCbrETFjc4fDC2d8OWDHOt1FQxey70=; b=1EFxOHYqsKSlwuXEfrIWVwuh+CbG1eqYiFoB4eKRHYP1Bg/eDJfglIcsxfuCxa9p6MNNeqvS1 YdmonVaqhjDDdYIVhIbN8EuiWA2lMgL5r6xugoFVmGPP6ECKRWaRTWn X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1786475855360805651 X-GMAIL-MSGID: 1786475855360805651 |
Series | SC8280XP preparatory PCIe fixes | |
Message
Konrad Dybcio
Dec. 27, 2023, 10:28 p.m. UTC
Just a couple of minor fixes in preparation for PCIe shutdown (and by
extension CX, AOSD and DDR power collapse - anybody here a fan of
suspend?).
If you want to test this on your machine, you're gonna need:
- https://lore.kernel.org/all/20231227-topic-pmdomain_sync_cleanup-v1-1-5f36769d538b@linaro.org/
- https://lore.kernel.org/all/20231227-topic-psci_fw_sus-v1-0-6910add70bf3@linaro.org/
- https://lore.kernel.org/all/20231227-topic-8280_pcie-v1-0-095491baf9e4@linaro.org/
- All PCIe devices that require fw must be fully booted (so that they can be suspended)
- You must not have any dangling resource votes (not the case on 8280-crd)
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
Konrad Dybcio (3):
arm64: dts: qcom: sc8280xp: Fix PCIe PHY power-domains
arm64: dts: qcom: sc8280xp: Correct USB PHY power domains
arm64: dts: qcom: sc8280xp-crd: Add PCIe CLKREQ# sleep state
arch/arm64/boot/dts/qcom/sc8280xp-crd.dts | 78 ++++++++++++++++++++-----------
arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 18 +++----
2 files changed, 60 insertions(+), 36 deletions(-)
---
base-commit: 39676dfe52331dba909c617f213fdb21015c8d10
change-id: 20231227-topic-8280_pcie_dts-4d3a94efe6e7
Best regards,