From patchwork Thu May 30 15:43:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 13680572 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 1FE22182D3C for ; Thu, 30 May 2024 15:43:52 +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=1717083834; cv=none; b=BEJdB6gjGjPgcvVTvFcAsBrKcQECmMAW4/VgDewcfLmFvuk/JLAduHS1ZX9CQfNE5Iiq8zMy8AmKXaPhEg4ncqwRlUBkb7oGwqRxJeV3U1WwJj5/e3Hdra/0F9GRJSK0aE57inrqLNl12GMFgI8siEAI0/YWS05ua+uIa0hauFs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717083834; c=relaxed/simple; bh=qmJIXyM7/wHrVyCsOdJnI+O4pbP6RnjnbPTi1vx5E6Q=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=RaKmiawrupCauMlpuf/a4k0ZBrX2RZslVzI8Pl/Hn7fgxg0WwU8gTngmhCsbmydwSOtmu5Z/8h0PnsUdc2bZHqCSltO2UXJ8vmdS8s9Okwzhpk1poBcD4C8VGMWUlehH5s9aJbZ8pc4s4c/K4y096rVTWZ1Woy1VJAJVX8NMF60= 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=fli5DU5H; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="fli5DU5H" Received: by mail-ed1-f49.google.com with SMTP id 4fb4d7f45d1cf-57a1fe63a98so71425a12.1 for ; Thu, 30 May 2024 08:43:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717083831; x=1717688631; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=VmSucYhI9HNOgY+VlCp1HTsFHOsiYveasc8JOEnQnrU=; b=fli5DU5H6xbxfmm2EGZ5dQ5+PXGnK2YB3OyYVd7YkGQBxieH7torL6TBaeraGBZ3zW ypmnbwEnzNvgiX2tGHzOVsiX0KJXiImCLEJtmda+I9iSJ3pPLWtH5p98a1+4Kfl3UN9Q VaBEffFjwkjeLEjNhYZr/w1suGy4j4aBs7Un8CxDTjXIO5dacctiN9egO13+Q0hM/up/ 2FE4aOE9Op1rSDgjmU5g3zyaRaEOQkeDOVog4ZW+falfjV6GhZ5KcrYw8klJbAG8aIva bX+KMPhTnkWaBCz7JNGXosqP+nxh84AK0dq3HQisfqKY6Un0qhO9jA0pm2tKWfARi1DD hfLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717083831; x=1717688631; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VmSucYhI9HNOgY+VlCp1HTsFHOsiYveasc8JOEnQnrU=; b=V+eCT7V3OfG61HmI9R/ARs54H8MsLxQkEsHdMh1Tk/DEic9tyCCF2O8IJRgXIVa7gK 7DrIxywsEqVle6jgu0FOvcf6QQlppVZnNkPB/Z8mTj0GiZOkiaMLttVCEycUtc7DbI0W LkZkvuwI+Vr46qEU4l0e4a9xS6WfVY/F97zNGC5SJ+Dn0SmieA5r+f8F0pyXmfEjXjp3 4XxSDhsNPTo3O3nxrWaw3xHNFhaXJrLlpPoB9Lrt21qUpe7FhG1PcgyOdwCDbEPut0Ag RcAWH0ixpaK5g25SsVANhGXIR5DPEYIrvbKALxzSaeBsx8H7lQqb6Mkrjaq8qtG3/v/r ORmQ== X-Gm-Message-State: AOJu0YwGQgRTHMp7efmw+idfCEa9IPq9+tMbNy8cUzr05c2t1arw3xx3 VDKK46lyusvrZggQ81HstKrnSgYOfnZ41gN+KuDf+rrl40mGgHCFALQS2yOnoO0d7cTfIyWTNdc x X-Google-Smtp-Source: AGHT+IHMwWZwKTQfr6A0OX1rp8tqjDfRdb9EbAjD6c6Us+jt6ZXOdY+x+wiR5fr0HpAcyM8cMFsWAA== X-Received: by 2002:a50:d5ce:0:b0:578:676e:324 with SMTP id 4fb4d7f45d1cf-57a177af706mr1615948a12.17.1717083831323; Thu, 30 May 2024 08:43:51 -0700 (PDT) Received: from [127.0.1.1] ([188.27.161.69]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-579deb8f406sm4879700a12.34.2024.05.30.08.43.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 08:43:50 -0700 (PDT) From: Abel Vesa Date: Thu, 30 May 2024 18:43:39 +0300 Subject: [PATCH 1/3] arm64: dts: qcom: x1e80100-crd: Fix the PHY regulator for PCIe 6a Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240530-x1e80100-dts-pcie6a-v1-1-ee17a9939ba5@linaro.org> References: <20240530-x1e80100-dts-pcie6a-v1-0-ee17a9939ba5@linaro.org> In-Reply-To: <20240530-x1e80100-dts-pcie6a-v1-0-ee17a9939ba5@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sibi Sankar , Rajendra Nayak Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Abel Vesa X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=752; i=abel.vesa@linaro.org; h=from:subject:message-id; bh=qmJIXyM7/wHrVyCsOdJnI+O4pbP6RnjnbPTi1vx5E6Q=; b=owEBbQKS/ZANAwAKARtfRMkAlRVWAcsmYgBmWJ6xGKvMcN17P3209dnOhkO5t2k1wYWwK4oyR TtUdM2xHomJAjMEAAEKAB0WIQRO8+4RTnqPKsqn0bgbX0TJAJUVVgUCZliesQAKCRAbX0TJAJUV VmDEEACJlyAGGAqzO8F6R9VX/YbYErOndAQPIghSUTs+BjMeWR2X7WWRzfKnEKIX3SWzOTsdY1V sIhHkqRSuB0a5Ftv4eUgQQqfQcCIRwAytVNOmJtzdau1oGIGL9qzPni7WAIyuIki/4tg7JxZ5QN y4vpQttlG504zY22TrJ9HV53kTbQ78IFrhUmc59smBUnwjjIt81QZu3qeS6rvfgcguEPffFN6i/ c0sP7gQ3K9C5kpn9v6/qf3kThnZy/yGQycKw7/cUJZBcgNWjz6arDiYoC0QSMs5SD5HIVGaSUAT ApSsbLA7DKMhnMqDId25AFxsxSuMF5y5Je2+qIRzubUq14libFuCU6tLmeHjPoZqEBO7BiGJZmj ip3gUwzbi1wIGOYJv1doIYMx0ke+dFAgtgl5WW2Nnlw+PYpmcWYslVea/hQLC73zhPy2XPbbHBT foAfq92RuKusE3s7CawEuUklSYA2O9sylSGTdFFc0utD7CQIadC0FnZUdkwifsIhhzWj2rxB93Q UHQsrJZwMvfU2R1OftMbsjm7Fjz1xKAZsej04HCmQ+THujU/O8fOIKybF2NxBOe9AAQ/lR++XNo hXlR1+es3MM6nhccBQAOM2tPC4UDTYJccFN33BdBVNV6hbzWxGYc9oe43R27iFcQHq34kEtWLD8 j0XSm47FSBKKGeA== X-Developer-Key: i=abel.vesa@linaro.org; a=openpgp; fpr=6AFF162D57F4223A8770EF5AF7BF214136F41FAE The actual PHY regulator is L1d instead of L3j, so fix it accordingly. Fixes: d7e03cce0400 ("arm64: dts: qcom: x1e80100-crd: Enable more support") Signed-off-by: Abel Vesa Reviewed-by: Dmitry Baryshkov --- 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 ed8b80627534..3ce2c8a841ec 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-crd.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-crd.dts @@ -659,7 +659,7 @@ &pcie6a { }; &pcie6a_phy { - vdda-phy-supply = <&vreg_l3j_0p8>; + vdda-phy-supply = <&vreg_l1d_0p8>; vdda-pll-supply = <&vreg_l2j_1p2>; status = "okay"; From patchwork Thu May 30 15:43:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 13680573 Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) (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 6D8C3183974 for ; Thu, 30 May 2024 15:43:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717083836; cv=none; b=d1u01G+M5E8lQ60Ic/vqs4Wbt/vQ16bQ9TYbAfcMaL4qzMqgPlKydw2+TVZhZv0NsLyIOrQGgSCQF/TuBUpC+XvCB66Hy7yoqIShwexAYZGEzCEMV9Vw9YZ3cqEvOsYhu7QxDFA+53GPaOI1bSqe8tnqfCPpNlu/6P82sQ1zG9s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717083836; c=relaxed/simple; bh=GyiMM+dAIAnQ+06S/bZkT8QMDDiz6YgGkXyHGZZYv8A=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=dLK1eCFk3snfN+TtZ8sdy7ezgiaNiolqS+cTQRoU+mSwSYRdYFDqJtFSuZ+n03mAanjDqtyYlNSA8pj7UT8PT3AN/5AGClSb1kq2VKz43rhlM41fIltCsyOK/cQac08asj2eFMAqfh6abhgJz6FUGD+3Nc5ZhsrbeltOtxN0xks= 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=srWMMuT5; arc=none smtp.client-ip=209.85.208.54 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="srWMMuT5" Received: by mail-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-57a033c2ec2so1093648a12.2 for ; Thu, 30 May 2024 08:43:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717083833; x=1717688633; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=o/EitmxAsyzTzEzD4CEr43TovKYsnsXlvhYZYAkIRko=; b=srWMMuT5t+6jNO0SbYW4vFZDjWmOAHF824qY4lbfdYg8fkkCDJzgekcGuF9GDgO+5O 4KzotA/IWeFSrlOhD+Vl5h/p6pFc9MHHqPw4ffNdKaWayyudUnk7fZG6Qdr2n4okMLWw 2qRIsavFRUv7JDiKhFVdKlh9If8758NAtn+dWLjC8pMKPxBA8cQZiyoV+YR+Ss6QOWvS EcSnDtdxHZsCJnOn746YLmOi7mpQrzFTrgWsgpOV9/n7HgEIvPlzJn6o1dlBVblnzh/E r2LMEgmfk89ggcXLVaK3J25B42HABmxi918TgHGPKkfyb0j5AqN2u07li3iTAD+YOTVd W/Iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717083833; x=1717688633; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=o/EitmxAsyzTzEzD4CEr43TovKYsnsXlvhYZYAkIRko=; b=WXB27QqvAguXtUyz8o1BqavcQHlBicuprtxhXEjAbSD0vaZHH+jt8n1bd4mE031Or7 ymePrD7s6aVpf6oKwaoOIdOfYT5oKv+66xEG9fcrPTryB8+rRNTSEloU8P+hDhhsgUj5 3yhiCkA11lEOoqVeWGsDMMUXlVaW+a3RfEVE5sKnGu9Osr/wi77dCnu4PNfkOQwWVuu8 62rS3ncXI5XD4cc9DARwi/VMGnV3GIn71LSMp9/8GYpsPAlZEkgBOftbMMaKij6Kenci oUNvLsbdh6JsDVlDu1cSFcPZUDEH3XSHYdmAbBGYZfsMbsOs/xY9PSqXfV8Jqg86cllr wiyQ== X-Gm-Message-State: AOJu0Yxgc6NayfJRNVQ7N1zaOoKOngixFaQHv3zzmawSurboOfOR/r46 J9zmKgmWbYsmWLzo3gaxog3Y/IsdxDrTuyH3UtQvlDOr4caBxh6MMO4vK/hq+yc= X-Google-Smtp-Source: AGHT+IFcgDEc2SQAN6dKOstr+NgbiOD1TO3PqsGm+H1JUaIEdhg8fPRbH1J6Ksgrt+PPLpOGCC7kmg== X-Received: by 2002:a50:ba8e:0:b0:572:3bcc:8370 with SMTP id 4fb4d7f45d1cf-57a17716475mr1588856a12.0.1717083832574; Thu, 30 May 2024 08:43:52 -0700 (PDT) Received: from [127.0.1.1] ([188.27.161.69]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-579deb8f406sm4879700a12.34.2024.05.30.08.43.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 08:43:52 -0700 (PDT) From: Abel Vesa Date: Thu, 30 May 2024 18:43:40 +0300 Subject: [PATCH 2/3] arm64: dts: qcom: x1e80100-qcp: Fix the PHY regulator for PCIe 6a Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240530-x1e80100-dts-pcie6a-v1-2-ee17a9939ba5@linaro.org> References: <20240530-x1e80100-dts-pcie6a-v1-0-ee17a9939ba5@linaro.org> In-Reply-To: <20240530-x1e80100-dts-pcie6a-v1-0-ee17a9939ba5@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sibi Sankar , Rajendra Nayak Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Abel Vesa X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=752; i=abel.vesa@linaro.org; h=from:subject:message-id; bh=GyiMM+dAIAnQ+06S/bZkT8QMDDiz6YgGkXyHGZZYv8A=; b=owEBbQKS/ZANAwAKARtfRMkAlRVWAcsmYgBmWJ6yezLieSjidJtP53yUudxkcU/pV1tOfM8Vq Q7XzPe2oCaJAjMEAAEKAB0WIQRO8+4RTnqPKsqn0bgbX0TJAJUVVgUCZliesgAKCRAbX0TJAJUV VgkOD/9Y38gXEr/nOrKtw+zdUYCLp3JxBDf1xit1O0CwUggv4D+B+33J1yckVoatDoNEuTJptMA eqpkTmk/m1SDPQRn/VGVAxr5xDF3NCz1+GwLrpE83+oYOybhHDwZQjsu7hoOAX9g09Wl0mQ8qpR zbmM/aw7r0+2ni0pgkzjP1XiogF30hJVROzNyDHDjt/1O4G3xxs+56vklgQF1f2c8aRQleczRnd XLBPRFbMTSJXXmqGKJzOi9P7fvtYWC24AKQeTF5WcGzWH0mGghcYnkfHSY9cijJ/bLfp8WooHKm n0fIBB4Tv/s9zvm6mg7kcxRwX1b123XUdSQcZYfZZLTn/s/pCYwyw/E7NHe1EZb11EqoYrbjdyr MsJQqHyUr0WzVFM0/gIG0D58+mB58bxFdo4FNZ/4jr57a0U118E9XmXUdWvp9FrDTFbfCRubeO/ 4DJmEjTL5E3IJmnbb855O8g+8LKE3g2B1cgosxvfLjh3GCGUbchdaad+7aeR8FegLbZmOWFEP9f D/dzG3n5t64VbCJ5OczzGmEmBRDC6uxV8D21+fsdokQSfC9yvcJAwSDwZoHk/SEvrL9ria+mynd HQOFQDmsB4hAYnqDuSK0bbPNN2SozUm/AXrD0mJhMrjKRmm3/JA8sM4rDi9OmPaLeayd0LKvbzg 3Q3z6GKbfZex7Mg== X-Developer-Key: i=abel.vesa@linaro.org; a=openpgp; fpr=6AFF162D57F4223A8770EF5AF7BF214136F41FAE The actual PHY regulator is L1d instead of L3j, so fix it accordingly. Fixes: f9a9c11471da ("arm64: dts: qcom: x1e80100-qcp: Enable more support") Signed-off-by: Abel Vesa Reviewed-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/x1e80100-qcp.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts b/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts index 3de7565dda19..e1b19177523f 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts @@ -470,7 +470,7 @@ &pcie6a { }; &pcie6a_phy { - vdda-phy-supply = <&vreg_l3j_0p8>; + vdda-phy-supply = <&vreg_l1d_0p8>; vdda-pll-supply = <&vreg_l2j_1p2>; status = "okay"; From patchwork Thu May 30 15:43:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 13680574 Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com [209.85.208.170]) (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 2A9F6186293 for ; Thu, 30 May 2024 15:43:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717083837; cv=none; b=I5xQgbNHeVgvvs9+DllySRNQ+p01rxnAqi+IzvOGuyRIepuar1ygvP4aUJT+mCUVWj5vT9iNBzpkN0TSIaOtAWmX9HCnwUuZQmbDtZxfjngIQec3lb6OcQLcTXwxVFqSfKXsqQXu7aASUwSnAyKkJSyDojJXaBZo7YJh/WjnR64= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717083837; c=relaxed/simple; bh=1LTJ1ZbHYVIiunTosxnkif5rOzcNdAVdISpvTDGmP+4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=s3DF+Iwvp1KwgIEroJP12Bf+mWKvIcqk79zaJq5oIv43RRbQ7OWmZD+6E9LbnD3eifJOmOmT3Ed/n/voYpCL+kjxLO2zNKekVjiEePu7I0F3pKUv1pn3xk66ALWtLuZlh6bHlK1pRhdod0+L79ERl83u/YyRcDGgP1ccy/e0S+E= 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=MOSw0XBF; arc=none smtp.client-ip=209.85.208.170 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="MOSw0XBF" Received: by mail-lj1-f170.google.com with SMTP id 38308e7fff4ca-2e9819a6327so12186931fa.1 for ; Thu, 30 May 2024 08:43:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717083834; x=1717688634; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=EB2qCn5UGV9aqEQdkg+7453N3Kl73IeR9N5SJgjDlZA=; b=MOSw0XBFxKosNI7CmEuiyqnisXNwCoPWoY1+ypwgQg5f6RwCvGAiEsBPzLc9SnMHyW 3UXC+SEeXmM9/g19zIMVF06tfj22G2/XJEEkc/bKUkjejGJXk3gto0winJ+1t/NYVEH9 ushOzckZQOnkDqbRBAWMQbNMecuIIwsPx3FreQqigppjCHumdOcbVubVdjb1Rv3psZQf lhcb4U8La6NZA99YXK2KtdvOObN5dGxSWRkmHI6Alw+G1nHZL6ZctKJI5wxokeLFTV+y Th4OWaQzjn3E4z2s5kEWKLc5BrzwMcieQ4x69SX4rOXLhjLQoNTYFjVa71EyVslLztme +SGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717083834; x=1717688634; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EB2qCn5UGV9aqEQdkg+7453N3Kl73IeR9N5SJgjDlZA=; b=WC/2rJMgl1EZ2/YZWrQa5XuFbrjjKpDLrKcshUwp66+rxRwQzTDMU1mliSZxMso8+o l3rwJftVtoPRaG2x/07SmkK4ZEe8HYOkJ7nx2pqbvSWBbwbn7hXz1BTzRjy2E76XTpSN Yki06faRiI/lljgsDb3PPJFyBqjHb7A67ykdeQ5LtOVXgeyAFiA4Au2+3zKo/6D1ll8q nUX6O1JIfc0vPB/brTkdg61Rm5AgRyll+e+aUUzs0CtddMudSqveCPNbgR9tOF8ZL0aN ueJOSA/OZ3GcyBUo3IcBRMe1PNN2RTw+ylxtS2zqBWCoPWrTyMWzO41kgT39VcQ3jP7L 9b4Q== X-Gm-Message-State: AOJu0Yx657n3hHZ7/Pkk/ewNA8pZpv+unIoSAKwf452uJXZbXTfDqOF/ Qc/YT/cJSZYsPYkTv4LGMjsNFOV9J0FLLhRIFe2FnxeIRJ3uA9ZDwDkCSs9SEnQ= X-Google-Smtp-Source: AGHT+IE9RqDBgAa9w5lbGC/woJK3bS0VJZz4UwnYIRaetdKK7Bsv/24VfWtedXzFLf8LE6feJRopIA== X-Received: by 2002:a19:9107:0:b0:52b:8435:8f22 with SMTP id 2adb3069b0e04-52b84358fb1mr159455e87.36.1717083833902; Thu, 30 May 2024 08:43:53 -0700 (PDT) Received: from [127.0.1.1] ([188.27.161.69]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-579deb8f406sm4879700a12.34.2024.05.30.08.43.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 08:43:53 -0700 (PDT) From: Abel Vesa Date: Thu, 30 May 2024 18:43:41 +0300 Subject: [PATCH 3/3] arm64: dts: qcom: x1e80100: Describe the PCIe 6a resources Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240530-x1e80100-dts-pcie6a-v1-3-ee17a9939ba5@linaro.org> References: <20240530-x1e80100-dts-pcie6a-v1-0-ee17a9939ba5@linaro.org> In-Reply-To: <20240530-x1e80100-dts-pcie6a-v1-0-ee17a9939ba5@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sibi Sankar , Rajendra Nayak Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Abel Vesa X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3861; i=abel.vesa@linaro.org; h=from:subject:message-id; bh=1LTJ1ZbHYVIiunTosxnkif5rOzcNdAVdISpvTDGmP+4=; b=owEBbQKS/ZANAwAKARtfRMkAlRVWAcsmYgBmWJ6zBz/myBiTnzwAi5HLTb6p8fI3Q7PU4Wm4R KK7hJ76asSJAjMEAAEKAB0WIQRO8+4RTnqPKsqn0bgbX0TJAJUVVgUCZlieswAKCRAbX0TJAJUV VnGaD/9Ia2Vi5BnGohM0XdArqmAz+X5XQeQ0Mqd3Cljv5YYfZVhAwscEanXwSYbDMZf2ZXpnHrs suNKoS3MtEgCLYxirTIMG427DOxCk1EVlzj8gv1I8EY9/4hQ6LfYSoK59w4033YiVHZw+Ay0RKN IoOhPP5bEu/gM17W5nY5fMY9boFYSWIEM53WyCyzz6HmirklhjzBJW5ouIG16hAyE5jBKo6E7G4 siFPLQWqEfcFiSENAu1qqvH0hOfWDxBsvcDVXxGbyRETIRNbOVMVyiMIttbwYSUvUTC5bvTnft2 Pgv1AVP3DtxxHkCyF/205qNUe1TsA6JtuYOAUCXkE5YIjysucznE5ARODt8ZlKvpP8jbIDQco3r 36QZ3vdEX8+jPllbll934E8PcYHkG++DsyhMG26VOZLoCexx3nM7SoGQyAnKH8/zD8Si1p3ZThE 1E2/86D2unl3PmduOSPy3QeYX4gy2UH7QmZ5W27k8yL6o+LDuRpvESpwvt1zTsIwztOVIHM9ODS yqGXYGKJzB/3ZPSOPDcuuNRuxVI0bbkkFuzZKzgDfYp6sUOVFpq/KmPq4TqT+5yL4FTB8Hc8JIJ 5vc6P7zvIFN7F2WeYA3QTrCfclVvt309NxKcEbOiNMmrL3Kppdi1mIn2vEiTlgfkIKZQlojIg2W LW3uIDxWnIQ4k1Q== X-Developer-Key: i=abel.vesa@linaro.org; a=openpgp; fpr=6AFF162D57F4223A8770EF5AF7BF214136F41FAE On both the CRD and QCP, on PCIe 6a sits the NVMe. Add the 3.3V gpio-controlled regulator and the clkreq, perst and wake gpios as resources for the PCIe 6a. Signed-off-by: Abel Vesa Reviewed-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/x1e80100-crd.dts | 52 +++++++++++++++++++++++++++++++ arch/arm64/boot/dts/qcom/x1e80100-qcp.dts | 52 +++++++++++++++++++++++++++++++ 2 files changed, 104 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1e80100-crd.dts b/arch/arm64/boot/dts/qcom/x1e80100-crd.dts index 3ce2c8a841ec..10ec40a193fb 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-crd.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-crd.dts @@ -173,6 +173,20 @@ vreg_edp_3p3: regulator-edp-3p3 { regulator-always-on; regulator-boot-on; }; + + vreg_nvme: regulator-nvme { + compatible = "regulator-fixed"; + + regulator-name = "VREG_NVME_3P3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + + gpio = <&tlmm 18 GPIO_ACTIVE_HIGH>; + enable-active-high; + + pinctrl-names = "default"; + pinctrl-0 = <&nvme_reg_en>; + }; }; &apps_rsc { @@ -655,6 +669,14 @@ &pcie4_phy { }; &pcie6a { + perst-gpios = <&tlmm 152 GPIO_ACTIVE_LOW>; + wake-gpios = <&tlmm 154 GPIO_ACTIVE_LOW>; + + vddpe-3v3-supply = <&vreg_nvme>; + + pinctrl-names = "default"; + pinctrl-0 = <&pcie6a_default>; + status = "okay"; }; @@ -804,6 +826,36 @@ kybd_default: kybd-default-state { bias-disable; }; + nvme_reg_en: nvme-reg-en-state { + pins = "gpio18"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + + pcie6a_default: pcie2a-default-state { + clkreq-n-pins { + pins = "gpio153"; + function = "pcie6a_clk"; + drive-strength = <2>; + bias-pull-up; + }; + + perst-n-pins { + pins = "gpio152"; + function = "gpio"; + drive-strength = <2>; + bias-pull-down; + }; + + wake-n-pins { + pins = "gpio154"; + function = "gpio"; + drive-strength = <2>; + bias-pull-up; + }; + }; + tpad_default: tpad-default-state { pins = "gpio3"; function = "gpio"; diff --git a/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts b/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts index e1b19177523f..ab02a6e35eb6 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts @@ -59,6 +59,20 @@ vreg_edp_3p3: regulator-edp-3p3 { regulator-always-on; regulator-boot-on; }; + + vreg_nvme: regulator-nvme { + compatible = "regulator-fixed"; + + regulator-name = "VREG_NVME_3P3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + + gpio = <&tlmm 18 GPIO_ACTIVE_HIGH>; + enable-active-high; + + pinctrl-names = "default"; + pinctrl-0 = <&nvme_reg_en>; + }; }; &apps_rsc { @@ -466,6 +480,14 @@ &pcie4_phy { }; &pcie6a { + perst-gpios = <&tlmm 152 GPIO_ACTIVE_LOW>; + wake-gpios = <&tlmm 154 GPIO_ACTIVE_LOW>; + + vddpe-3v3-supply = <&vreg_nvme>; + + pinctrl-names = "default"; + pinctrl-0 = <&pcie6a_default>; + status = "okay"; }; @@ -528,6 +550,36 @@ edp_reg_en: edp-reg-en-state { drive-strength = <16>; bias-disable; }; + + nvme_reg_en: nvme-reg-en-state { + pins = "gpio18"; + function = "gpio"; + drive-strength = <2>; + bias-disable; + }; + + pcie6a_default: pcie2a-default-state { + clkreq-n-pins { + pins = "gpio153"; + function = "pcie6a_clk"; + drive-strength = <2>; + bias-pull-up; + }; + + perst-n-pins { + pins = "gpio152"; + function = "gpio"; + drive-strength = <2>; + bias-pull-down; + }; + + wake-n-pins { + pins = "gpio154"; + function = "gpio"; + drive-strength = <2>; + bias-pull-up; + }; + }; }; &uart21 {