From: Bjorn Helgaas <helgaas@kernel.org>
To: srikanth.thokala@intel.com
Cc: bhelgaas@google.com, robh+dt@kernel.org,
lorenzo.pieralisi@arm.com, linux-pci@vger.kernel.org,
devicetree@vger.kernel.org, andriy.shevchenko@linux.intel.com,
mgross@linux.intel.com, lakshmi.bai.raja.subramanian@intel.com,
mallikarjunappa.sangannavar@intel.com
Subject: Re: [PATCH v6 2/2] PCI: keembay: Add support for Intel Keem Bay
Date: Thu, 21 Jan 2021 13:52:06 -0600 [thread overview]
Message-ID: <20210121195206.GA2678455@bjorn-Precision-5520> (raw)
In-Reply-To: <20210122032610.4958-3-srikanth.thokala@intel.com>
On Fri, Jan 22, 2021 at 08:56:10AM +0530, srikanth.thokala@intel.com wrote:
> From: Srikanth Thokala <srikanth.thokala@intel.com>
>
> Add driver for Intel Keem Bay SoC PCIe controller. This controller
> is based on DesignWare PCIe core.
>
> In root complex mode, only internal reference clock is possible for
> Keem Bay A0. For Keem Bay B0, external reference clock can be used
> and will be the default configuration. Currently, keembay_pcie_of_data
> structure has one member. It will be expanded later to handle this
> difference.
>
> Endpoint mode link initialization is handled by the boot firmware.
>
> Signed-off-by: Wan Ahmad Zainie <wan.ahmad.zainie.wan.mohamad@intel.com>
> Signed-off-by: Srikanth Thokala <srikanth.thokala@intel.com>
> Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
> MAINTAINERS | 7 +
> drivers/pci/controller/dwc/Kconfig | 28 ++
> drivers/pci/controller/dwc/Makefile | 1 +
> drivers/pci/controller/dwc/pcie-keembay.c | 446 ++++++++++++++++++++++
> 4 files changed, 482 insertions(+)
> create mode 100644 drivers/pci/controller/dwc/pcie-keembay.c
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 00836f6452f0..2fc0fb03c430 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -13852,6 +13852,13 @@ L: linux-pci@vger.kernel.org
> S: Maintained
> F: drivers/pci/controller/dwc/*spear*
>
> +PCI DRIVER FOR INTEL KEEM BAY
> +M: Srikanth Thokala <srikanth.thokala@intel.com>
> +L: linux-pci@vger.kernel.org
> +S: Maintained
> +F: Documentation/devicetree/bindings/pci/intel,keembay-pcie*
> +F: drivers/pci/controller/dwc/pcie-keembay.c
<checks MAINTAINERS> ... yep, all previous entries are in alphabetical
order. This new one just got dropped at the end.
I feel like a broken record, but please, please, take a look at the
surrounding code/text/whatever, and MAKE YOUR NEW STUFF MATCH THE
EXISTING STYLE. We want the whole thing to be reasonably consistent
so readers can make sense of it without being confused by the
idiosyncrasies of every contributor.
Also, probably s/PCI DRIVER/PCIE DRIVER/. We have both (an existing
inconsistency), but pick one, put it in the section that matches, and
alphabetize.
> +
> PCMCIA SUBSYSTEM
> M: Dominik Brodowski <linux@dominikbrodowski.net>
> S: Odd Fixes
> +static void keembay_ep_reset_deassert(struct keembay_pcie *pcie)
> +{
> + msleep(100);
Please note the spec section that requires this sleep. Otherwise it's
just an unmaintainable magic number.
> + gpiod_set_value_cansleep(pcie->reset, 0);
> + usleep_range(PERST_DELAY_US, PERST_DELAY_US + 500);
> +}
next prev parent reply other threads:[~2021-01-21 20:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-22 3:26 [PATCH v6 0/2] PCI: keembay: Add support for Intel Keem Bay srikanth.thokala
2021-01-22 3:26 ` [PATCH v6 1/2] dt-bindings: PCI: Add Intel Keem Bay PCIe controller srikanth.thokala
2021-01-22 3:26 ` [PATCH v6 2/2] PCI: keembay: Add support for Intel Keem Bay srikanth.thokala
2021-01-21 19:52 ` Bjorn Helgaas [this message]
2021-01-21 20:41 ` Andy Shevchenko
2021-01-21 21:11 ` Bjorn Helgaas
2021-01-22 20:08 ` Thokala, Srikanth
2021-01-22 19:20 ` Thokala, Srikanth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210121195206.GA2678455@bjorn-Precision-5520 \
--to=helgaas@kernel.org \
--cc=andriy.shevchenko@linux.intel.com \
--cc=bhelgaas@google.com \
--cc=devicetree@vger.kernel.org \
--cc=lakshmi.bai.raja.subramanian@intel.com \
--cc=linux-pci@vger.kernel.org \
--cc=lorenzo.pieralisi@arm.com \
--cc=mallikarjunappa.sangannavar@intel.com \
--cc=mgross@linux.intel.com \
--cc=robh+dt@kernel.org \
--cc=srikanth.thokala@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox