Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1486890
| From | Rob Herring <robh@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 2/2] i2c: aspeed: added documentation for Aspeed I2C driver |
| Date | 2016-09-19 23:40 +0200 |
| Message-ID | <sjesa-2tY-33@gated-at.bofh.it> (permalink) |
| References | <sfEOe-1DB-3@gated-at.bofh.it> <sfFKh-2aV-9@gated-at.bofh.it> <sfFKh-2aV-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, Sep 09, 2016 at 06:55:51PM -0700, Brendan Higgins wrote: > Added device tree binding documentation for Aspeed I2C controller and > busses. > > Signed-off-by: Brendan Higgins <brendanhiggins@google.com> > --- > Changes for v2: > - None > --- > .../devicetree/bindings/i2c/i2c-aspeed.txt | 63 ++++++++++++++++++++++ > 1 file changed, 63 insertions(+) > create mode 100644 Documentation/devicetree/bindings/i2c/i2c-aspeed.txt > > diff --git a/Documentation/devicetree/bindings/i2c/i2c-aspeed.txt b/Documentation/devicetree/bindings/i2c/i2c-aspeed.txt > new file mode 100644 > index 0000000..df68f2a > --- /dev/null > +++ b/Documentation/devicetree/bindings/i2c/i2c-aspeed.txt > @@ -0,0 +1,63 @@ > +Device tree configuration for the I2C controller and busses on the AST24XX > +and AST25XX SoCs. > + > +Controller: > + > + Required Properties: > + - #address-cells : should be 1 > + - #size-cells : should be 1 > + - #interrupt-cells : should be 1 > + - compatible : should be "aspeed,ast2400-i2c-controller" > + or "aspeed,ast2500-i2c-controller" > + - reg : address start and range of controller > + - ranges : defines address offset and range for busses > + - interrupts : interrupt number > + - clocks : root clock of bus, should reference the APB > + clock > + - clock-ranges : specifies that child busses can inherit clocks > + - interrupt-controller : denotes that the controller receives and fires > + new interrupts for child busses > + > +Bus: > + > + Required Properties: > + - #address-cells : should be 1 > + - #size-cells : should be 0 > + - reg : address offset and range of bus > + - compatible : should be "aspeed,ast2400-i2c-bus" > + or "aspeed,ast2500-i2c-bus" > + - bus : the bus's number Don't use indexes. The reg property is enough to id which bus is which.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2 2/2] i2c: aspeed: added documentation for Aspeed I2C driver Brendan Higgins <brendanhiggins@google.com> - 2016-09-10 04:00 +0200
Re: [PATCH v2 2/2] i2c: aspeed: added documentation for Aspeed I2C driver Rob Herring <robh@kernel.org> - 2016-09-19 23:40 +0200
Re: [PATCH v2 2/2] i2c: aspeed: added documentation for Aspeed I2C driver Brendan Higgins <brendanhiggins@google.com> - 2016-09-20 01:30 +0200
Re: [PATCH v2 2/2] i2c: aspeed: added documentation for Aspeed I2C driver Brendan Higgins <brendanhiggins@google.com> - 2016-09-20 20:10 +0200
Re: [PATCH v2 2/2] i2c: aspeed: added documentation for Aspeed I2C driver Brendan Higgins <brendanhiggins@google.com> - 2016-09-21 01:10 +0200
Re: [PATCH v2 2/2] i2c: aspeed: added documentation for Aspeed I2C driver Joel Stanley <joel@jms.id.au> - 2016-09-23 08:10 +0200
csiph-web