LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Maxime Coquelin <maxime.coquelin@st.com>
To: Arnd Bergmann <arnd@arndb.de>, Lee Jones <lee.jones@linaro.org>
Cc: <devicetree@vger.kernel.org>, <kernel@stlinux.com>,
<linux-kernel@vger.kernel.org>, <linux-spi@vger.kernel.org>,
<broonie@kernel.org>, <linux-arm-kernel@lists.infradead.org>
Subject: Re: [STLinux Kernel] [PATCH v3 0/4] spi: st: New driver for ST's SPI Controller
Date: Mon, 8 Dec 2014 14:53:39 +0100 [thread overview]
Message-ID: <5485AD63.6090308@st.com> (raw)
In-Reply-To: <11694915.sCOqLZA7N1@wuerfel>
On 12/08/2014 02:22 PM, Arnd Bergmann wrote:
> On Monday 08 December 2014 12:53:30 Lee Jones wrote:
>> This is a new driver which controls the SPI component of ST's
>> Synchronous Serial Controller (SSC).
>>
> How does this related to the i2c driver for drivers/i2c/busses/i2c-st.c?
> Could you have the same piece of hardware do one or the other mode
> depending on pin configuration, or is each instance hardwired to
> a particular mode?
This is the same IP, that can be configured either in SPI or I2C.
>
> Is there any code worth sharing between the two drivers?
No, except a couple of registers, they are managed in a ways.
The way it is used, a single SSC instance can only be used either in SPI
or I2C mode on a board,
so I think it wouldn't make sense to create a MFD driver to manage it.
Kr,
Maxime
>
> Arnd
>
> _______________________________________________
> Kernel mailing list
> Kernel@stlinux.com
> http://www.stlinux.com/mailman/listinfo/kernel
prev parent reply other threads:[~2014-12-08 13:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-08 12:53 Lee Jones
2014-12-08 12:53 ` [PATCH v3 1/4] spi: Add new driver for STMicroelectronics' " Lee Jones
2014-12-08 13:12 ` [STLinux Kernel] " Patrice Chotard
2014-12-08 12:53 ` [PATCH v3 2/4] spi: st: Provide Device Tree binding documentation Lee Jones
2014-12-08 12:53 ` [PATCH v3 3/4] ARM: sti: Provide DT nodes for SSC[0..4] Lee Jones
2014-12-08 12:53 ` [PATCH v3 4/4] ARM: sti: Provide DT nodes for SBC SSC[0..2] Lee Jones
2014-12-08 13:15 ` [STLinux Kernel] " Peter Griffin
2014-12-08 13:22 ` [PATCH v3 0/4] spi: st: New driver for ST's SPI Controller Arnd Bergmann
2014-12-08 13:53 ` Maxime Coquelin [this message]
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=5485AD63.6090308@st.com \
--to=maxime.coquelin@st.com \
--cc=arnd@arndb.de \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=kernel@stlinux.com \
--cc=lee.jones@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
--subject='Re: [STLinux Kernel] [PATCH v3 0/4] spi: st: New driver for ST'\''s SPI Controller' \
/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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).