From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754041AbcAOTW3 (ORCPT ); Fri, 15 Jan 2016 14:22:29 -0500 Received: from muru.com ([72.249.23.125]:55654 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751793AbcAOTW1 (ORCPT ); Fri, 15 Jan 2016 14:22:27 -0500 Date: Fri, 15 Jan 2016 11:22:25 -0800 From: Tony Lindgren To: Suman Anna Cc: Kishon Vijay Abraham I , Bjorn Helgaas , richardcochran@gmail.com, Russell King , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, nsekhar@ti.com Subject: Re: [PATCH v3 2/3] ARM: DRA7: add pdata-quirks to do reset of PCIe Message-ID: <20160115192224.GD3904@atomide.com> References: <1452780672-14339-1-git-send-email-kishon@ti.com> <1452780672-14339-3-git-send-email-kishon@ti.com> <56994640.3090704@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56994640.3090704@ti.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Suman Anna [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? Regards, Tony