From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Fri, 17 Jul 2020 08:03:34 +0200 Subject: [PATCH v2] gpio: octeon_gpio: Add GPIO controller driver for Octeon In-Reply-To: References: <20200526121932.4121-1-sr@denx.de> Message-ID: <9c783cb4-9168-3a32-1e96-4fa39fe2c8f8@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Daniel, On 16.07.20 20:44, Daniel Schwierzeck wrote: >> +U_BOOT_DRIVER(octeon_gpio) = { >> + .name = "octeon_gpio", >> + .id = UCLASS_GPIO, >> + .of_match = of_match_ptr(octeon_gpio_ids), >> + .probe = octeon_gpio_probe, >> + .priv_auto_alloc_size = sizeof(struct octeon_gpio), >> + .ops = &octeon_gpio_ops, >> + .flags = DM_FLAG_PRE_RELOC, >> +}; >> + >> +static struct pci_device_id octeon_gpio_supported[] = { >> + { PCI_VDEVICE(CAVIUM, PCI_DEVICE_ID_CAVIUM_GPIO), >> + .driver_data = (ulong)&gpio_octeontx_data }, >> + { }, >> +}; > > I can't build that with the Octeon base support because > PCI_VENDOR_ID_CAVIUM and PCI_DEVICE_ID_CAVIUM_GPIO are missing in U- > Boot's include/pci_ids.h. I can only find PCI_VENDOR_ID_CAVIUM in Linux > but not PCI_DEVICE_ID_CAVIUM_GPIO. Ah yes. Sorry, I missed sending this pci_ids.h patch that I have applied in my local branches. Here a link to the patch, which has been updated since the first RFC version: https://www.mail-archive.com/u-boot at lists.denx.de/msg345960.html I'll send the new version in a few minutes. Thanks, Stefan