Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2450282imm; Thu, 16 Aug 2018 09:46:18 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwe493QnkWl5WS3GifywzutBal1AX+AnEabqoqR1zkAkknX4lqkieLn1m7h3eFgHaYOHhI/ X-Received: by 2002:a17:902:1:: with SMTP id 1-v6mr29950184pla.167.1534437977996; Thu, 16 Aug 2018 09:46:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534437977; cv=none; d=google.com; s=arc-20160816; b=1EWPQq/4+Y3ogLGrlbnGLnEHzge6a0HisjYQF724pr0+aGY0CEZmtzCccbFNI69XSD rpRVMVhJSH962NqEtmEsvimZA0Wny0K2DynbMHi9JiLB0NAU7d0TJ3a48gxs1R8KnGB1 A15ashHgFSgUA8zpN/9YOxpCtlsPfqVMbM4kIKwzb3O+C7QLYg54vuJOCDlEXXn1Y0vQ qnYgZ4TG+NnP6mYeW8x7W8minuLFhSkRHwQsOkk7edfogR+Vh1WS4TyZ064qVfpjmVDI U8t4VbWQ94w3bbtt6jkg9jI5o/m7samOuBdOIxoetJKWTu0ZDcBcWAqlOafZnlGftRRA 1ryQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=RL8I7Jzf4rbI96O7RLPpmdG1APTxWC8uZ4RS9NPtWZ4=; b=NMD2Y0c+UoJrF9T4pQ3W7nerKytFjT/gMNnSwMlcTNFTl4K0AXH6viTfX/ZMlwIh+/ nc2Krfq3mFqotOj+tbgsScy5L+Lrl9oFfjvlLnbNHdPyDdGnt7jigFREH5fIINytkP5/ NMm/5iHB8HXGbDhQc1mjl3CmOMz+XttPtXjgyPRsx860ScBv7dJpvo7mVBnua181oJOz G352KfSXFqBdu9FPS/UCvMN02EopA96T6SD5LfPjO1qq6TpxSPfUw+v7jvgQkIGl9U+R iK3Y89Ckf7t0dpkdy+s1dJYjN8lTSk5FIxvfKDx7z9SgTUpHqhdiKCjlaYxitpVHwrDv j2Xg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c2-v6si23759183pfn.212.2018.08.16.09.46.02; Thu, 16 Aug 2018 09:46:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390193AbeHPLmn (ORCPT + 99 others); Thu, 16 Aug 2018 07:42:43 -0400 Received: from mail.bootlin.com ([62.4.15.54]:51607 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731458AbeHPLml (ORCPT ); Thu, 16 Aug 2018 07:42:41 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 5695F20F25; Thu, 16 Aug 2018 10:45:39 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (unknown [78.250.249.73]) by mail.bootlin.com (Postfix) with ESMTPSA id 044FD2079D; Thu, 16 Aug 2018 10:45:28 +0200 (CEST) From: Alexandre Belloni To: Wolfram Sang , Jarkko Nikula , James Hogan Cc: Paul Burton , Andy Shevchenko , Mika Westerberg , linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@linux-mips.org, Thomas Petazzoni , Allan Nielsen , Alexandre Belloni , Rob Herring Subject: [PATCH v4 4/7] i2c: designware: document MSCC Ocelot bindings Date: Thu, 16 Aug 2018 10:45:18 +0200 Message-Id: <20180816084521.16289-5-alexandre.belloni@bootlin.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180816084521.16289-1-alexandre.belloni@bootlin.com> References: <20180816084521.16289-1-alexandre.belloni@bootlin.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document bindings for the Microsemi Ocelot integration of the Designware I2C controller. Cc: Rob Herring Signed-off-by: Alexandre Belloni --- Documentation/devicetree/bindings/i2c/i2c-designware.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/i2c/i2c-designware.txt b/Documentation/devicetree/bindings/i2c/i2c-designware.txt index fbb0a6d8b964..3e4bcc2fb6f7 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-designware.txt +++ b/Documentation/devicetree/bindings/i2c/i2c-designware.txt @@ -3,6 +3,7 @@ Required properties : - compatible : should be "snps,designware-i2c" + or "mscc,ocelot-i2c" with "snps,designware-i2c" for fallback - reg : Offset and length of the register set for the device - interrupts : where IRQ is the interrupt number. @@ -11,8 +12,12 @@ Recommended properties : - clock-frequency : desired I2C bus clock frequency in Hz. Optional properties : + - reg : for "mscc,ocelot-i2c", a second register set to configure the SDA hold + time, named ICPU_CFG:TWI_DELAY in the datasheet. + - i2c-sda-hold-time-ns : should contain the SDA hold time in nanoseconds. - This option is only supported in hardware blocks version 1.11a or newer. + This option is only supported in hardware blocks version 1.11a or newer and + on Microsemi SoCs ("mscc,ocelot-i2c" compatible). - i2c-scl-falling-time-ns : should contain the SCL falling time in nanoseconds. This value which is by default 300ns is used to compute the tLOW period. -- 2.18.0