From: Mika Westerberg <mika.westerberg-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
To: Andy Shevchenko
<andy.shevchenko-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Alexander Stein
<alexander.stein-93q1YBGzJSMe9JSWTWOYM3xStJ4P+DSV@public.gmane.org>,
linux-spi <linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: x86: Add SPI slaves to PCIe SPI master?
Date: Thu, 12 Jan 2017 14:01:11 +0200 [thread overview]
Message-ID: <20170112120111.GY2330@lahna.fi.intel.com> (raw)
In-Reply-To: <CAHp75VePTOd9WhkOTxW6GwKE2X3VR39J-7Song-P6iKsi7V6Ww-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
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-93q1YBGzJSMe9JSWTWOYM3xStJ4P+DSV@public.gmane.org> 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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2017-01-12 12:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-11 15:08 x86: Add SPI slaves to PCIe SPI master? Alexander Stein
2017-01-12 11:48 ` Andy Shevchenko
[not found] ` <CAHp75VePTOd9WhkOTxW6GwKE2X3VR39J-7Song-P6iKsi7V6Ww-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-01-12 12:01 ` Mika Westerberg [this message]
[not found] ` <20170112120111.GY2330-3PARRvDOhMZrdx17CPfAsdBPR1lH4CV8@public.gmane.org>
2017-01-12 13:39 ` Alexander Stein
2017-01-12 13:47 ` Mika Westerberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170112120111.GY2330@lahna.fi.intel.com \
--to=mika.westerberg-vuqaysv1563yd54fqh9/ca@public.gmane.org \
--cc=alexander.stein-93q1YBGzJSMe9JSWTWOYM3xStJ4P+DSV@public.gmane.org \
--cc=andy.shevchenko-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.