Re: How to add the "gpio-line-names" property in a PCI gpio expander

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

 



On Thu, Nov 05, 2020 at 02:01:24PM +0000, Flavio Suligoi wrote:
> Hi Mika,
> 
> > > > In one of our boards we have an add-on PCI board, with a PCI serial
> > device
> > > > Exar XR17V352. This device also contains 16 gpios.
> > > > The exar device drivers work good, both the "8250_exar" and the
> > "gpio_exar", and
> > > > I can manage the exar's gpios correctly.
> > > > The problem is how to assign the gpio-line-names property to a PCI
> > gpio
> > > > expanders like this.
> > > >
> > > > I tried adding a new device in my ACPI configuration, as:
> > > >
> > > > Device (EXAR)
> > > > {
> > > >     Name (_HID, "13A80352")
> > 
> > If this is PCI device then you need to have _ADR here instead of _HID.
> 
> the problem is that the parent bus of this device is not declared in any ACPI table.
> The exar chip is on the bus 7 :
> 
> 07:00.0 Serial controller: Exar Corp. XR17V3521 Dual PCIe UART (rev 03)
> 
> and in the _ADR object you can specify device and function only. 
> How can I specify the parent bus? It is not simple …
> The lspci output is the following:

The parent is the root port the device is connected to and I'm pretty
sure it exists in the namespace as this seems to be Intel hardware. If
you run 'lspci -t' it shows you the root port.

The _ADR should be 0 for this one.



[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux