Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757407AbcJGPd5 (ORCPT ); Fri, 7 Oct 2016 11:33:57 -0400 Received: from mail-wm0-f44.google.com ([74.125.82.44]:36551 "EHLO mail-wm0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756930AbcJGPXd (ORCPT ); Fri, 7 Oct 2016 11:23:33 -0400 From: Pantelis Antoniou To: Lee Jones Cc: Linus Walleij , Alexandre Courbot , Rob Herring , Mark Rutland , Frank Rowand , Wolfram Sang , Richard Purdie , Jacek Anaszewski , Jean Delvare , Peter Rosin , Avirup Banerjee , Georgi Vlaev , Guenter Roeck , JawaharBalaji Thirumalaisamy , Pantelis Antoniou , 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: [PATCH 04/10] i2c: i2c-mux-i2cs: Add device tree bindings Date: Fri, 7 Oct 2016 18:21:03 +0300 Message-Id: <1475853669-22480-5-git-send-email-pantelis.antoniou@konsulko.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1475853669-22480-1-git-send-email-pantelis.antoniou@konsulko.com> References: <1475853669-22480-1-git-send-email-pantelis.antoniou@konsulko.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1331 Lines: 47 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. + 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>; + + fpc0i2c0: i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + }; +}; -- 1.9.1