Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1310416

Re: [PATCH v3 2/3] ARM: DRA7: add pdata-quirks to do reset of PCIe

From Suman Anna <s-anna@ti.com>
Newsgroups linux.kernel
Subject Re: [PATCH v3 2/3] ARM: DRA7: add pdata-quirks to do reset of PCIe
Date 2016-01-15 20:50 +0100
Message-ID <qRixI-2cl-25@gated-at.bofh.it> (permalink)
References <qQQUO-8fS-13@gated-at.bofh.it> <qQQUO-8fS-11@gated-at.bofh.it> <qRiem-23s-23@gated-at.bofh.it> <qRiem-23s-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 01/15/2016 01:22 PM, Tony Lindgren wrote:
> * Suman Anna <s-anna@ti.com> [160115 11:20]:
>> On 01/14/2016 08:11 AM, Kishon Vijay Abraham I wrote:
>>> Create platform data for PCIe and populate it with function
>>> pointers to perform assert and deassert of PCIe reset lines.
>>> The PCIe driver can use the callbacks provided here to
>>> reset the PCIe.
>>> This will be removed once the reset contoller driver is
>>> available to reset PCIe.
> ...
> 
>>> +/**
>>> + * struct pci_dra7xx_platform_data - platform data specific to pci in dra7xx
>>> + * @reset_name: name of the reset line
>>> + * @assert_reset: callback for performing assert reset operation
>>> + * @deassert_reset: callback for performing deassert reset operation
>>> + */
>>> +struct pci_dra7xx_platform_data {
>>> +	const char *reset_name;
>>> +
>>> +	int (*assert_reset)(struct platform_device *pdev, const char *name);
>>> +	int (*deassert_reset)(struct platform_device *pdev, const char *name);
>>> +};
> 
> I doubt this platform_data is dra7 specific. I believe it's
> the same PCI controller that has been in the omap variants for
> years?

AFAIK, this only applies to DRA7. Sekhar/Kishon can confirm. I did take
a quick look at OMAP3/4/5 TRMs, and didn't find any. Neither did a grep
on current hwmod files other than DRA7. There's a DM81xx related PCI
clock domain, but don't see any corresponding driver/device for the same.

regards
Suman

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 2/3] ARM: DRA7: add pdata-quirks to do reset of PCIe Kishon Vijay Abraham I <kishon@ti.com> - 2016-01-14 15:20 +0100
  Re: [PATCH v3 2/3] ARM: DRA7: add pdata-quirks to do reset of PCIe Tony Lindgren <tony@atomide.com> - 2016-01-15 20:30 +0100
    Re: [PATCH v3 2/3] ARM: DRA7: add pdata-quirks to do reset of PCIe Suman Anna <s-anna@ti.com> - 2016-01-15 20:50 +0100
      Re: [PATCH v3 2/3] ARM: DRA7: add pdata-quirks to do reset of PCIe Sekhar Nori <nsekhar@ti.com> - 2016-01-18 10:20 +0100
        Re: [PATCH v3 2/3] ARM: DRA7: add pdata-quirks to do reset of PCIe Tony Lindgren <tony@atomide.com> - 2016-01-27 18:30 +0100
  Re: [PATCH v3 2/3] ARM: DRA7: add pdata-quirks to do reset of PCIe Suman Anna <s-anna@ti.com> - 2016-01-15 20:30 +0100

csiph-web