From: Christopher Bostic <cbostic@linux.vnet.ibm.com>
To: Joel Stanley <joel@jms.id.au>, Peter Rosin <peda@axentia.se>
Cc: Eddie James <eajames@linux.vnet.ibm.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
linux-i2c@vger.kernel.org,
devicetree <devicetree@vger.kernel.org>,
Wolfram Sang <wsa@the-dreams.de>,
Rob Herring <robh+dt@kernel.org>, Jeremy Kerr <jk@ozlabs.org>,
Andrew Jeffery <andrew@aj.id.au>,
"Edward A. James" <eajames@us.ibm.com>
Subject: Re: [PATCH v5 0/6] drivers/i2c: Add FSI-attached I2C master algorithm
Date: Tue, 15 Aug 2017 11:28:50 -0500 [thread overview]
Message-ID: <59175354-07ba-2bbb-962e-ac1de36dfa4a@linux.vnet.ibm.com> (raw)
In-Reply-To: <CACPK8XexFdz63t4y5uO1GzoWrx=wnkqBxbYKGtuFq0JupeLNHQ@mail.gmail.com>
On 8/15/17 3:10 AM, Joel Stanley wrote:
> On Tue, Aug 15, 2017 at 4:06 PM, Peter Rosin <peda@axentia.se> wrote:
>> On 2017-07-26 19:13, Eddie James wrote:
>>> From: "Edward A. James" <eajames@us.ibm.com>
>>>
>>> This series adds an algorithm for an I2C master physically located on an FSI
>>> slave device. The I2C master has multiple ports, each of which may be connected
>>> to an I2C slave. Access to the I2C master registers is achieved over FSI bus.
>>>
>>> Due to the multi-port nature of the I2C master, the driver instantiates a new
>>> I2C adapter for each port connected to a slave. The connected ports should be
>>> defined in the device tree under the I2C master device.
>> Hmmm, AFAIU fsi is a bus, and on this bus you have some "client" device that
>> happens to be an i2c master, and this is a driver for that "client". Is it
>> totally inconceivable to have some other client device in the future that is
>> implementing an i2c master differently, but still using the fsi bus?
>>
>> With that in mind, is it wise to pick the driver name from the bus that the
>> device is connected to, and nothing else without further qualification?
>>
>> I don't see any "i2c-usb" driver, but I think there are a couple of i2c master
>> drivers that communicate via usb.
> You make a fair point. When I did a prototype of this driver I called
> it i2c-cfam, as it is part of the CFAM hardware unit inside of the
> Power8/Power9 processors.
>
> The documentation does call it FSI_I2CM, so that's an argument for the
> current name.
>
> I'm not sure how accurate that name is. Chris, Eddie, do you have any
> other suggestions?
The I2C engine up to now has been always accessed via the FSI bus so
historically I assume that's why its labelled as FSI_I2CM in the p8/p9
specs. There isn't any reason this I2C device couldn't be implemented
in some other topology independent of FSI / CFAMs. In other words there
are no FSI details internal to this I2C engine, an argument for removing
the 'FSI' tag.
Thanks,
Chris
>
> Cheers,
>
> Joel
>
next prev parent reply other threads:[~2017-08-15 16:28 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-26 17:13 [PATCH v5 0/6] drivers/i2c: Add FSI-attached I2C master algorithm Eddie James
2017-07-26 17:13 ` [PATCH v5 2/6] drivers/i2c: Add port structure to FSI algorithm Eddie James
2017-07-26 17:13 ` [PATCH v5 3/6] drivers/i2c: Add transfer implementation for " Eddie James
2017-07-26 17:13 ` [PATCH v5 4/6] drivers/i2c: Add I2C master locking to " Eddie James
2017-07-26 17:13 ` [PATCH v5 5/6] drivers/i2c: Add bus recovery for " Eddie James
[not found] ` <1501089198-10356-1-git-send-email-eajames-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2017-07-26 17:13 ` [PATCH v5 1/6] drivers/i2c: Add FSI-attached I2C master algorithm Eddie James
2017-07-26 17:13 ` [PATCH v5 6/6] dt-bindings: i2c: Add FSI-attached I2C master dt binding documentation Eddie James
2017-08-15 6:36 ` [PATCH v5 0/6] drivers/i2c: Add FSI-attached I2C master algorithm Peter Rosin
2017-08-15 8:10 ` Joel Stanley
2017-08-15 16:28 ` Christopher Bostic [this message]
2017-08-15 17:35 ` Peter Rosin
[not found] ` <538605fe-f109-b84c-cc21-f1b9824ad5d0-koto5C5qi+TLoDKTGw+V6w@public.gmane.org>
2017-08-15 17:53 ` Eddie James
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=59175354-07ba-2bbb-962e-ac1de36dfa4a@linux.vnet.ibm.com \
--to=cbostic@linux.vnet.ibm.com \
--cc=andrew@aj.id.au \
--cc=devicetree@vger.kernel.org \
--cc=eajames@linux.vnet.ibm.com \
--cc=eajames@us.ibm.com \
--cc=jk@ozlabs.org \
--cc=joel@jms.id.au \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peda@axentia.se \
--cc=robh+dt@kernel.org \
--cc=wsa@the-dreams.de \
/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 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).