From patchwork Fri Mar 31 14:59:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 668932 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BF877C761A6 for ; Fri, 31 Mar 2023 15:00:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232401AbjCaPAF (ORCPT ); Fri, 31 Mar 2023 11:00:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233114AbjCaO77 (ORCPT ); Fri, 31 Mar 2023 10:59:59 -0400 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4199420609 for ; Fri, 31 Mar 2023 07:59:40 -0700 (PDT) Received: by mail-pj1-x1036.google.com with SMTP id gp15-20020a17090adf0f00b0023d1bbd9f9eso25693691pjb.0 for ; Fri, 31 Mar 2023 07:59:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680274780; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=9NzHj5YNmfV17NjzDcXNm3XqoCp5Q8xNrFkgMu/Sz2E=; b=MURy1nptnSIC9bVRPExXFlM9BrJR8EjvMi0qpfg/x4x3tVHEuRG+z/vtu5BCYYuPdq amAASCWBP/TCAdNwiWg06uqq3S6CHuW0lGHHqnf3VsQDGmzejvxgRZmC+FzC0arwNJQ4 xC1Gqx2g1l5qAril3QBD/1ZIrg7TolxArVjthZldiNisV2MvZEENV52wCjn/2Hi1WbtJ kMS5iIN5r2MPfOoO/By2o9sD6nvkSjLasEDzUz40HnZCqMsVyCDWLTuJEUK3tI94tspc pEs0Af6rE/gGh/7uxuoSlCz/XTt1ah47hA5Xn+V0kWvpt6ciPLpbyviqFOXEN83T/UvJ X7XA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680274780; 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=9NzHj5YNmfV17NjzDcXNm3XqoCp5Q8xNrFkgMu/Sz2E=; b=spwd3I3ysH7zg5pj+NMRrdIEUpq6xZyei9HM4f8k/qd7TiyjJ9Kq6T03oIKyqbeM0y 0wCFNjA6xVErfCtKmuGgaBBSF8l6xoQDcmCGM0dRA4O56HBgxSod6KhKhV5lxkYwj/Ou RLoHSOm0/RzPFZIiMpPKVvQPW7piyRIuPP1D8DMdUBY+ESV5loE61A/MsOu/XxuTHpO9 Sa5DwUhWBhyoDg/cjCNSeEnQ3U6gd6oek8BhPOhauXr7rMRDW1WFx9LxduJaMZ+9WEHB KVfWwwFVUhj3rdD26h5tHVMDpjYm0qJQA6lf7Dy6ElACVLPTKk/okNR2q5CUy9H5yATG j/Jw== X-Gm-Message-State: AAQBX9eZmjAysSFMnDS4LhDnkcDTA4QEnzPw6ffKKzTVZzH5J1BxY7gJ JT2sMVTXSp8L9lQTmkRkR/ES X-Google-Smtp-Source: AKy350YYknMh+4tEYvWzJEoKBk26+WN1OvAn4meY49WI/3zKi0s8J4g/N+wjv8qY8g2F1amWUzJ6/Q== X-Received: by 2002:a17:90b:4b8a:b0:23f:582d:f45f with SMTP id lr10-20020a17090b4b8a00b0023f582df45fmr28438422pjb.1.1680274779637; Fri, 31 Mar 2023 07:59:39 -0700 (PDT) Received: from localhost.localdomain ([59.92.101.186]) by smtp.gmail.com with ESMTPSA id q3-20020a17090a938300b0023b15e61f07sm1617194pjo.12.2023.03.31.07.59.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Mar 2023 07:59:39 -0700 (PDT) From: Manivannan Sadhasivam To: andersson@kernel.org Cc: konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH 1/2] ARM: dts: qcom: sdx55: Move reset and wake gpios to board dts Date: Fri, 31 Mar 2023 20:29:14 +0530 Message-Id: <20230331145915.11653-1-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The reset and wake properties in the PCIe EP node belong to the board dts as they can be customized per board design. So let's move them from SoC dtsi. Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-sdx55-telit-fn980-tlb.dts | 3 +++ arch/arm/boot/dts/qcom-sdx55.dtsi | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/qcom-sdx55-telit-fn980-tlb.dts b/arch/arm/boot/dts/qcom-sdx55-telit-fn980-tlb.dts index 81f33eba39e5..b73b707342af 100644 --- a/arch/arm/boot/dts/qcom-sdx55-telit-fn980-tlb.dts +++ b/arch/arm/boot/dts/qcom-sdx55-telit-fn980-tlb.dts @@ -255,6 +255,9 @@ &pcie_ep { pinctrl-names = "default"; pinctrl-0 = <&pcie_ep_clkreq_default &pcie_ep_perst_default &pcie_ep_wake_default>; + + reset-gpios = <&tlmm 57 GPIO_ACTIVE_LOW>; + wake-gpios = <&tlmm 53 GPIO_ACTIVE_LOW>; }; &qpic_bam { diff --git a/arch/arm/boot/dts/qcom-sdx55.dtsi b/arch/arm/boot/dts/qcom-sdx55.dtsi index 286fa92da428..bc310ed01b40 100644 --- a/arch/arm/boot/dts/qcom-sdx55.dtsi +++ b/arch/arm/boot/dts/qcom-sdx55.dtsi @@ -421,8 +421,6 @@ pcie_ep: pcie-ep@1c00000 { ; interrupt-names = "global", "doorbell"; - reset-gpios = <&tlmm 57 GPIO_ACTIVE_LOW>; - wake-gpios = <&tlmm 53 GPIO_ACTIVE_LOW>; resets = <&gcc GCC_PCIE_BCR>; reset-names = "core"; power-domains = <&gcc PCIE_GDSC>;