Re: x86: Add SPI slaves to PCIe SPI master?

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

 



On Thu, Jan 12, 2017 at 02:39:04PM +0100, Alexander Stein wrote:
> result: \_SB_.PCI0.D023
> 
> The node itself is just:
> > Device (D023)
> > {
> >     Name (_ADR, 0x001E0005)  // _ADR: Address
> > }
> 
> Well, I'm not experienced with ACPI tables at all, but adding a device like in 
> the 1st post I got my spi slave device, to my surprise I have to admit.
> 
> Thanks for that hint about the, kinda dummy, node for the PCIe device node. I 
> didn't expect adding a slave device there would result in having a linux 
> device too.

That node is needed because it provides _ADR that ACPI core uses to bind
the PCI device to the ACPI node. This further allows the SPI core ACPI
enumeration code to find your slave device under \_SB_.PCI0.D023.
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux