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 01:48:13PM +0200, Andy Shevchenko wrote:
> On Wed, Jan 11, 2017 at 5:08 PM, Alexander Stein
> <alexander.stein@xxxxxxxxxxxxxxxxxxxxx> wrote:
> > Hi,
> >
> > I have a customer board using Baytrail E3805 CPU. I want to access a chip
> > attached to SPI using spidev.
> 
> First of all, this is wrong approach. Do you have a driver for the
> chip? Are going to develop one?
> Elaborate, please.
> 
> > but for this the slave has to be attached.
> > This is the corresponding lspci entry:
> >> 00:1e.5 Serial bus controller [0c80]: Intel Corporation Atom Processor
> > Z36xxx/Z37xxx Series LPIO1 SPI Controller (rev 11)
> > PCIe vendor and product ID is 8086:0f0e
> 
> It's not what we are interested to see :-)
> 
> Basically you need
> a) not ancient kernel (what's version of yours?);
> b) check proper ACPI node for the PCIe device (something like _SB.PCI0.SPI1).

You can find the node by running following command

 # cat /sys/bus/pci/devices/0000:00:1e.5/firmware_node/path
--
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