From patchwork Wed Sep 14 07:53:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 12975730 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 94C6CECAAD8 for ; Wed, 14 Sep 2022 07:54:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230022AbiINHyE (ORCPT ); Wed, 14 Sep 2022 03:54:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229706AbiINHyC (ORCPT ); Wed, 14 Sep 2022 03:54:02 -0400 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44AC272ECD for ; Wed, 14 Sep 2022 00:54:01 -0700 (PDT) Received: by mail-pl1-x629.google.com with SMTP id c2so14324305plo.3 for ; Wed, 14 Sep 2022 00:54:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date; bh=i92P129jwcnuZH816qZJ1IWu3zvfW04AJO+Q2M5LqcQ=; b=hB3UKKDDyW2WRbdD3HlbHciPD2CGHw2rIq6ppt7ntDzNlb1fzUDfwIhrAEvuZmEOFN +T/iwDwyH93yCQb4eWan/BGAmyDvj/btQGAifjtphyr11dTXdVtmwXRTIlQGxoWCYj+t kPFRXBL2zSieVT4f13gkxffw07EjR3E2Yxa3BlUAJoyYIilfyI7uX5ayeIJR05xo4ISs lQshzI0qquUUEZvZDR6+r9c7qVrSwHWIyuh/Y1Vr4QgL9KUHnbOmjsrTPHxq2MDo4CI0 Irutl/Q7aTT2BVK9xBfYuLC0Qt+RKvO7OVOJjkhyU/ZkO2YXbyh9G647yzXNEzyDq+8R UVoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=i92P129jwcnuZH816qZJ1IWu3zvfW04AJO+Q2M5LqcQ=; b=hP+2o5HL/5MhTbSeWM6ILylrXg8LANFRihCzjOZiFVt0p7Se+wKRpft3nNDEMVpuKu C/f4D0s8Tq0jnQ+DK1QiGsiPeSZU6Ys5lem0RhkPc0GjxIc6+fOyZOdE/fBfc5BYyO8n H7wWiBDgWDBdMP10TM2E9LohacM35jqBvKI0FyB4FShbLAyxYmyvI5NKywehW0IUbyIN AKXQblWRtUZmT4g4jCz9fdc8tVDbB7fcSMaJ/pLmrxtTQRNC1PI6gFsNDdeq3UyULX9O eInjXiRKYjNz/vhvFcReiduK3oKQWLP5c6C3iwcE3SLFcba8GquvWiRYy8Icpu1b8B4j W6mQ== X-Gm-Message-State: ACgBeo3SSv0visaNygFRLMdUZ9tv+0lMBAJEFs77EZxbDVG0+c3zP8mF Z2wvhqLVb0aq+ixDdxR5/5ah X-Google-Smtp-Source: AA6agR6YoJex0y5EYdcUci15/PySROE0FYkHTQfY4GRinhXGyDd7mvbTWPskVAxdyehD3vAByV6DZA== X-Received: by 2002:a17:902:b08b:b0:178:48b6:f5a8 with SMTP id p11-20020a170902b08b00b0017848b6f5a8mr6441535plr.3.1663142040732; Wed, 14 Sep 2022 00:54:00 -0700 (PDT) Received: from localhost.localdomain ([117.202.184.122]) by smtp.gmail.com with ESMTPSA id p8-20020a1709027ec800b00174ea015ee2sm10119054plb.38.2022.09.14.00.53.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Sep 2022 00:54:00 -0700 (PDT) From: Manivannan Sadhasivam To: lpieralisi@kernel.org, robh@kernel.org, andersson@kernel.org Cc: kw@linux.com, bhelgaas@google.com, linux-pci@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, konrad.dybcio@somainline.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, devicetree@vger.kernel.org, dmitry.baryshkov@linaro.org, Manivannan Sadhasivam Subject: [PATCH v4 00/12] Improvements to the Qcom PCIe Endpoint driver Date: Wed, 14 Sep 2022 13:23:38 +0530 Message-Id: <20220914075350.7992-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-pci@vger.kernel.org Hello, This series contains improvements to the Qualcomm PCIe Endpoint controller driver. The major improvements are the addition of SM8450 SoC support and debugfs interface for exposing link transition counts. This series has been tested on SM8450 based dev board. NOTE: Since the bindings are ACKed, the whole series could be merged to the PCI tree. Thanks, Mani Changes in v4: * Collected tags for bindings patches * Reworded the subject of patch 2/12 Changes in v3: * Removed the maxItems property from "items" list * Reworded the debugfs patch * Dropped the eDMA patch since that depends on ongoing eDMA series from Sergey * Added two new patches that helps in saving power during idle and low power state Changes in v2: * Fixed the comments on bindings patches * Added Ack from Krzysztof Manivannan Sadhasivam (12): PCI: qcom-ep: Add kernel-doc for qcom_pcie_ep structure PCI: qcom-ep: Rely on the clocks supplied by devicetree PCI: qcom-ep: Make use of the cached dev pointer PCI: qcom-ep: Disable IRQs during driver remove PCI: qcom-ep: Expose link transition counts via debugfs PCI: qcom-ep: Gate Master AXI clock to MHI bus during L1SS PCI: qcom-ep: Disable Master AXI Clock when there is no PCIe traffic dt-bindings: PCI: qcom-ep: Make PERST separation optional PCI: qcom-ep: Make PERST separation optional dt-bindings: PCI: qcom-ep: Define clocks per platform dt-bindings: PCI: qcom-ep: Add support for SM8450 SoC PCI: qcom-ep: Add support for SM8450 SoC .../devicetree/bindings/pci/qcom,pcie-ep.yaml | 86 +++++++--- drivers/pci/controller/dwc/pcie-qcom-ep.c | 154 ++++++++++++++---- 2 files changed, 188 insertions(+), 52 deletions(-)