]> www.infradead.org Git - users/jedix/linux-maple.git/commit
PCI: Add T_PERST_CLK_US macro
authorThomas Richard <thomas.richard@bootlin.com>
Wed, 19 Jun 2024 10:15:13 +0000 (12:15 +0200)
committerKrzysztof Wilczyński <kwilczynski@kernel.org>
Wed, 4 Sep 2024 14:09:29 +0000 (14:09 +0000)
commit6aa9c09f1bcd339749b249830c604871740df268
tree8350df6599e52bb97bba4ba48014048e7d87121c
parentb8600b8791cb2b7c8be894846b1ecddba7291680
PCI: Add T_PERST_CLK_US macro

The "Power Sequencing and Reset Signal Timings" table of the PCI
Express Card Electromechanical Specification, Revision 5.1, Section
2.9.2, indicates PERST# should be deasserted after minimum of 100us
once REFCLK is stable (symbol T_PERST-CLK).

Add a macro so that PCIe controller drivers can use it.

Link: https://lore.kernel.org/linux-pci/20240102-j7200-pcie-s2r-v7-5-a2f9156da6c3@bootlin.com
Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
[kwilczynski: commit log, update sleep interval macros code comments]
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
drivers/pci/pci.h