From: Eddie James <eajames-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
To: Jeremy Kerr <jk-mnsaURCQ41sdnm+yROfE0A@public.gmane.org>,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org,
robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org,
joel-U3u1mxZcP9KHXe+LvDLADg@public.gmane.org,
andrew-zrmu5oMJ5Fs@public.gmane.org,
"Edward A. James"
<eajames-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Subject: Re: [PATCH 6/6] Documentation/devicetree: Add FSI-attached I2C master dt bindings
Date: Tue, 27 Jun 2017 12:28:14 -0500 [thread overview]
Message-ID: <901bb9e4-a7b1-ce24-c68b-d96b61e1b274@linux.vnet.ibm.com> (raw)
In-Reply-To: <ec4a5fec-fea0-09a7-8559-99d8eb071093-mnsaURCQ41sdnm+yROfE0A@public.gmane.org>
On 06/26/2017 08:06 PM, Jeremy Kerr wrote:
> Hi Eddie,
>
>> +Required properties:
>> + - compatible = "ibm,i2cm-fsi";
>> + - reg = < address size >; : The FSI CFAM address and address space
>> + size.
>> + - #address-cells = <1>; : Number of address cells in child nodes
>> + - #size-cells = <0>; : Number of size cells in child nodes.
>> + - child nodes : Nodes to describe ports off the I2C
>> + master.
>> +
>> +Child node required properties:
>> + - reg = < port number > : The port number on the I2C master.
>> +
>> +Examples:
>> +
>> + i2cm@1800 {
>> + compatible = "ibm,i2cm-fsi";
>> + reg = < 0x1800 0x400 >;
>> + #address-cells = <1>;
>> + #size-cells = <0>;
>> +
>> + port@0 {
>> + reg = <0>;
>> + };
>> +
>> + port@1 {
>> + reg = <1>;
>> + };
>> + };
> Those child nodes represent the downstream i2c buses, and so also
> contain the i2c slave devices, right? If so, you may want to document
> that, and/or add a simple device to that example (say, an EEPROM).
Yes, good point, but the driver currently wouldn't do anything with that
device information. It doesn't keep a list of populated devices on the
bus or anything. Still worth adding them to the device tree?
Thanks,
Eddie
>
> Cheers,
>
>
> Jeremy
>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" 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-06-27 17:28 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-26 19:29 [PATCH 0/6] drivers/i2c: Add FSI-attached I2C master algorithm Eddie James
2017-06-26 19:29 ` [PATCH 2/6] drivers/i2c: Add port structure to FSI algorithm Eddie James
2017-06-26 19:29 ` [PATCH 3/6] drivers/i2c: Add transfer implementation for " Eddie James
[not found] ` <1498505375-1454-1-git-send-email-eajames-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2017-06-26 19:29 ` [PATCH 1/6] drivers/i2c: Add FSI-attached I2C master algorithm Eddie James
2017-06-26 19:29 ` [PATCH 4/6] drivers/i2c: Add I2C master locking to FSI algorithm Eddie James
2017-06-26 19:29 ` [PATCH 5/6] drivers/i2c: Add bus recovery for " Eddie James
2017-06-26 19:29 ` [PATCH 6/6] Documentation/devicetree: Add FSI-attached I2C master dt bindings Eddie James
[not found] ` <1498505375-1454-7-git-send-email-eajames-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2017-06-27 1:06 ` Jeremy Kerr
[not found] ` <ec4a5fec-fea0-09a7-8559-99d8eb071093-mnsaURCQ41sdnm+yROfE0A@public.gmane.org>
2017-06-27 17:28 ` Eddie James [this message]
2017-06-28 3:08 ` Jeremy Kerr
2017-06-28 23:21 ` Rob Herring
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=901bb9e4-a7b1-ce24-c68b-d96b61e1b274@linux.vnet.ibm.com \
--to=eajames-23vcf4htsmix0ybbhkvfkdbpr1lh4cv8@public.gmane.org \
--cc=andrew-zrmu5oMJ5Fs@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=eajames-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org \
--cc=gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org \
--cc=jk-mnsaURCQ41sdnm+yROfE0A@public.gmane.org \
--cc=joel-U3u1mxZcP9KHXe+LvDLADg@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=wsa-z923LK4zBo2bacvFa/9K2g@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 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).