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]

 



Hi Andy,

> > >
> > > Unfortunately there is bridge in the middle:
> > >
> > > root@debian:~# lspci -t
> > > -[0000:00]-+-00.0
> > >            +-02.0
> > >            +-0e.0
> > >            +-0f.0
> > >            +-12.0
> > >            +-13.0-[01]----00.0
> > >            +-13.1-[02]----00.0
> > >            +-13.2-[03]--
> > >            +-14.0-[04]----00.0
> > >            +-14.1-[05-09]----00.0-[06-09]--+-01.0-[07]----00.0 <--
> Exar (bus 7, dev 0, funct 0)
> > >            |                               +-02.0-[08]----00.0
> > >            |                               \-03.0-[09]--
> > >            +-15.0
> > >            +-16.0
> > >            +-16.1
> > >            +-19.0
> > >            +-19.1
> > >            +-19.2
> > >            +-1f.0
> > >            \-1f.1
> > > root@debian:~#
> > >
> > > My changes in the ACPI:
> > >
> > > Scope (_SB.PCI0) {
> > >     Device (EXAR)
> > > 		{
> > > 			Name (_ADR, 0x0000)
> >
> > _ADR should represent BDF (Bus:Device.Function)
> >
> > Something like 0x07000000
> 
> Per documentation:
> "High word–Device #, Low word–Function #. (for example, device 3, function
> 2 is
> 0x00030002). To refer to all the functions on a device #, use a function
> number of FFFF)."
> 

exactly, with the _ADR object we can specify only device and function. 
The bus is implicit, that's way I used the:

Scope (_SB.PCI0) { ...

But it is the wrong bus, because of a bridge in the middle.

Best regards,

Flavio




[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