From patchwork Wed Dec 27 22:28:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 759130 Received: from mail-ed1-f53.google.com (mail-ed1-f53.google.com [209.85.208.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 E0993481A8 for ; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="DJnW3RDc" Received: by mail-ed1-f53.google.com with SMTP id 4fb4d7f45d1cf-554dbe1857dso2970281a12.3 for ; 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=W2aTTJOhD+AhHH60TKdRwjmalGldtes97SZbWLLJJo2tWT36TsB4na+/N92tMggiKc +TbcaVsUMox8EHQhzpsXcYl7r0m59Fb14rxJCKKjEQpGhDItZ9vfoSbZnNCB5NKeb+fu LAav0g3eiH0qESihgfBq7dJDAUOvrXWfuH2Aznti8nn3CMQETAe3CaimJ6Kr4x2b1gJB w3SWwQu2XyLhtNgu594MgdVOpw95koJkrzUID014Z+ZeBg9JyaEg5GLindKQm+XzrjzL 9s1oq3sZ4AomGNVcKK/AL94IntPZ+GQxBZypFetuLoG0NHcr58OLfZX59ZRr1WYCsv9D 1JRg== X-Gm-Message-State: AOJu0YzM4hoXLWPyEE+ety6SZW7UYTX8uvXADe5q7wJGTfo9YzfHBMDI 8u3gX+qw3uPzgnTBEG/D8b99d+MLLHCGOg== X-Google-Smtp-Source: AGHT+IEotLOu15uOB6FJc1lam3uPUtqtPsb2Yi6C3g1dydVP6UGRuS8LK/7dffP1OtWpo4hrgToTGA== 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 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-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAAmljGUC/x2NUQqDMBAFryL73QVdpdpepRSJybMuSAxZWwri3 Rv6OQPDHGTICqN7dVDGR023WKC5VOQXF19gDYVJamkbkZ73LannQYZ6TF4xht24C627dZhxRU+ lnJyBp+yiX0ob3+taZMqY9ftfPZ7n+QNPGHCgegAAAA== To: Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Johan Hovold Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Konrad Dybcio , Konrad Dybcio 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= 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 (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,