From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Date: Mon, 10 Oct 2016 15:25:55 -0500 From: Rob Herring To: Pantelis Antoniou Cc: Lee Jones , Linus Walleij , Alexandre Courbot , Mark Rutland , Frank Rowand , Wolfram Sang , Richard Purdie , Jacek Anaszewski , Jean Delvare , Peter Rosin , Avirup Banerjee , Georgi Vlaev , Guenter Roeck , JawaharBalaji Thirumalaisamy , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-i2c@vger.kernel.org, linux-leds@vger.kernel.org, linux-hwmon@vger.kernel.org Subject: Re: [PATCH 04/10] i2c: i2c-mux-i2cs: Add device tree bindings Message-ID: <20161010202555.GA7182@rob-hp-laptop> References: <1475853669-22480-1-git-send-email-pantelis.antoniou@konsulko.com> <1475853669-22480-5-git-send-email-pantelis.antoniou@konsulko.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1475853669-22480-5-git-send-email-pantelis.antoniou@konsulko.com> List-ID: On Fri, Oct 07, 2016 at 06:21:03PM +0300, Pantelis Antoniou wrote: > From: Georgi Vlaev > > Add binding document for the i2c mux driver of Juniper's I2CS FPGA. > > Signed-off-by: Georgi Vlaev > [Ported from Juniper kernel] > Signed-off-by: Pantelis Antoniou > --- > .../devicetree/bindings/i2c/jnx,i2c-mux-i2cs.txt | 27 ++++++++++++++++++++++ > 1 file changed, 27 insertions(+) > create mode 100644 Documentation/devicetree/bindings/i2c/jnx,i2c-mux-i2cs.txt > > diff --git a/Documentation/devicetree/bindings/i2c/jnx,i2c-mux-i2cs.txt b/Documentation/devicetree/bindings/i2c/jnx,i2c-mux-i2cs.txt > new file mode 100644 > index 0000000..03d917f > --- /dev/null > +++ b/Documentation/devicetree/bindings/i2c/jnx,i2c-mux-i2cs.txt > @@ -0,0 +1,27 @@ > +* Juniper I2C Mux on I2CS > + > + I2C mux driver for switching the RE access to the FPC i2c bus. What is RE? > + Compatible with the FPC variant of the I2CS. > + > +Required properties: > + > + - compatible: "jnx,i2cs-mux-i2cs". > + > +The following required properties are defined externally: > + > + - Standard I2C mux properties. See i2c-mux.txt in this directory. > + - I2C child bus nodes. See i2c-mux.txt in this directory. > + > +Example: > + > +fpc0_mux { > + compatible = "jnx,i2c-mux-i2cs"; > + #address-cells = <1>; > + #size-cells = <0>; Needs some address? > + > + fpc0i2c0: i2c@0 { > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0>; > + }; > +}; > -- > 1.9.1 >