GPIO Driver for Skylake-Y PCH
Alexander Ivanov
amivanov at fastmail.com
Fri Jun 14 15:01:28 EDT 2019
Valdis,
Thanks for quick response!
On Fri, 14 Jun 2019 11:46 -07:00, Valdis Klētnieks <valdis.kletnieks at vt.edu> wrote:
> On Fri, 14 Jun 2019 10:58:53 -0700, "Alexander Ivanov" said:
>
> > I have a hardware platform with Skylake i7-6500 CPU and Skylake-Y PCH
> > southbridge, running 4.8.5 kernel fc25. The platform has 12 GPIO pins, however,
> > none are available. gpio-pch driver does not support D31:F2 device that manages
> > GPIO.
>
> > Am I missing something here?
>
> Well.. my copy of drivers/gpio/gpio-pch.c has this near line 440:
>
> static const struct pci_device_id pch_gpio_pcidev_id[] = {
> { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x8803) },
> { PCI_DEVICE(PCI_VENDOR_ID_ROHM, 0x8014) },
> { PCI_DEVICE(PCI_VENDOR_ID_ROHM, 0x8043) },
> { PCI_DEVICE(PCI_VENDOR_ID_ROHM, 0x8803) },
> { 0, }
> };
> MODULE_DEVICE_TABLE(pci, pch_gpio_pcidev_id);
>
> Though I'm having a hard time aligning that with "D31:F2". Are you confusing
> a PCI address with a PCI ID, or is this on a non-PCI bus?
No, I believe I am not. This borrowed from Intel doc (https://lab.whitequark.org/files/gpioke/Intel-332690-004EN.pdf, see Ch 2)
It is a PCI device with 8086/9d20 IDs.
--Alex
ps. I apologize, I mistyped "D31:F2" it's supposed to be D31:F1.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20190614/a8b38347/attachment.html>
More information about the Kernelnewbies
mailing list