Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp648938imm; Fri, 31 Aug 2018 09:31:06 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbzWHx5EIXVEyt1eFaPrC7wvepEZFXgJ8as+FpGT757d5RvX9Njy92tqR5ZShsoJdzgXG7/ X-Received: by 2002:a63:d613:: with SMTP id q19-v6mr15216702pgg.327.1535733066519; Fri, 31 Aug 2018 09:31:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535733066; cv=none; d=google.com; s=arc-20160816; b=RV0f8VjLE4GdctLtJSjMzvBZv5JCueyOml4j4uFGM3RIMHFXOJ3RBnztMdfVcGQQOR oZ2KbTGDAm6kkp45CGTLMACel8L+CsZw6vMqs7qiom5OkuQ47fUKeORxds8xZB1DA72j D5JXTdYSJ9V9btv/BntRg9d3dxhtSEWz5bBUIW1x8AYY3WSyqKnhx4pNvyXM9HjMrJFu 3V+BBruWdglljN864+IDpwf1jtzPIpBH9xNUtY1Uj7LEvIWHKLTutrygiKglxA9oRH6D geRiK3o69ImteDCDDd/404YICHsjTv/9q1cnr6xnFgU9mufpZAoNs6WF0yff/uHC8pyR PjRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=jgm090V5zna0p4T1GrrZgyZeohPrm1UMvws3gk8r/7c=; b=TxVKPkwgI7CUu10eucAMdeb4+QafvEmcwUO5yNOECG5TeznXHt9YNaDwYnQ2UUOdSt vxL1pGrMBNXmd2h+DjlxvUGtFaZ4qm0QIV4HY1J082vFxm46pfWcPKPds4sMSeI78nBm IMSxH4jc6BhAx5Bx6o4MY2RRYElSK9MO10jPfODsfIgSEz5RT8y4EKLb/qPfwyKO6HtX JVvQ/eFpiDGR2XEHbMvKdcpQI2QO+r9ZA1OrZl/zJZY4LS9tzs+tm1ylNl7xvKqKmIBL 45nrLA6q0FOk97BHHyK+ScSMAMFYXOfodqrMafM4L3FA5sOTtBn7BMx74DT37TU/TGsg DimA== 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 d128-v6si11072271pfc.211.2018.08.31.09.30.52; Fri, 31 Aug 2018 09:31:06 -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 S1728858AbeHaTTx (ORCPT + 99 others); Fri, 31 Aug 2018 15:19:53 -0400 Received: from mail.bootlin.com ([62.4.15.54]:47004 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728772AbeHaTTw (ORCPT ); Fri, 31 Aug 2018 15:19:52 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 6E5D02072D; Fri, 31 Aug 2018 17:11:55 +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 (242.171.71.37.rev.sfr.net [37.71.171.242]) by mail.bootlin.com (Postfix) with ESMTPSA id 9958722A3A; Fri, 31 Aug 2018 17:11:28 +0200 (CEST) From: Alexandre Belloni To: Wolfram Sang , Jarkko Nikula , James Hogan , Paul Burton Cc: 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 Subject: [PATCH v5 4/7] dt-bindings: i2c: designware: document MSCC Ocelot bindings Date: Fri, 31 Aug 2018 17:11:11 +0200 Message-Id: <20180831151114.25739-5-alexandre.belloni@bootlin.com> X-Mailer: git-send-email 2.19.0.rc1 In-Reply-To: <20180831151114.25739-1-alexandre.belloni@bootlin.com> References: <20180831151114.25739-1-alexandre.belloni@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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. Reviewed-by: 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.19.0.rc1