Re: GPIO Driver for Skylake-Y PCH

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Valdis,

Thanks for quick response!

On Fri, 14 Jun 2019 11:46 -07:00, Valdis Klētnieks <valdis.kletnieks@xxxxxx> 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.


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux