From patchwork Fri Oct 7 15:21:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pantelis Antoniou X-Patchwork-Id: 9366389 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CDB3A6075E for ; Fri, 7 Oct 2016 15:33:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BF575296FD for ; Fri, 7 Oct 2016 15:33:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B39CB296FF; Fri, 7 Oct 2016 15:33:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 27D35296FD for ; Fri, 7 Oct 2016 15:33:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757245AbcJGPda (ORCPT ); Fri, 7 Oct 2016 11:33:30 -0400 Received: from mail-wm0-f41.google.com ([74.125.82.41]:37530 "EHLO mail-wm0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756929AbcJGPXd (ORCPT ); Fri, 7 Oct 2016 11:23:33 -0400 Received: by mail-wm0-f41.google.com with SMTP id b201so46098891wmb.0 for ; Fri, 07 Oct 2016 08:23:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=C9TIoe2NcM/in/QqJgWAUqU8tnbbA/EIuP9f81Wr8O4=; b=WSnvEBHg8nJDIXKEA8vSwsuYs1zLT6UJuO9U9sO/Z8IZC1l9Drt1M+PwMKZU09Ni4T 5/FCu4KCES6q9F9mCbnWN/3dCVczOlRPIYIBT9XX8bGwZYwtGg1AusEyK5v1E2L3HfC1 XUySSAM5sSuQIgZNPIcG/wUc3IWqjS0iqaih8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=C9TIoe2NcM/in/QqJgWAUqU8tnbbA/EIuP9f81Wr8O4=; b=g0qnCXW4jvymYO3iVsJeRY4cJ265kys/OxrGdfzACRQvkPr0qZmQHQjwBlq+AMqTjm EkV7akeZ7Jn+OU6I2BQWET/f7UZ38MEUbzT+0ZDamLpo8ZZsczyrdhuodySwSTQSembv lwSKIHSijPf2zygqx/lR/3+nQ6+V53YTGmx5kbkFTpFnYzF/wXm2km2BRgM4eRPYsk0u /rMNZGgmDZ5JBaRJaMEiq3dm8TsDh2+osLeUG7mpNsSap5UOkjI8aPWhgMUEv71CHU2U OTTBNcw0N+GHtz9nxfsIQW5RjC3MFcoYlbm/QYQ5N39opJroBPt47LGJQFNg7gZ/STLr MEZg== X-Gm-Message-State: AA6/9RknG601N4xsLay4FZJbCmhyRwcaWHm8zfvMZJQ40Xet8RWzPsv9nADqFYmOuNTT1Q== X-Received: by 10.28.99.70 with SMTP id x67mr20040174wmb.72.1475853812087; Fri, 07 Oct 2016 08:23:32 -0700 (PDT) Received: from localhost.localdomain ([195.97.110.117]) by smtp.gmail.com with ESMTPSA id n5sm20048269wjv.35.2016.10.07.08.23.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 07 Oct 2016 08:23:31 -0700 (PDT) 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-hwmon-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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>; + }; +};