From patchwork Tue Dec 2 10:05:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Harini Katakam X-Patchwork-Id: 5419031 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 12D0ABEEA8 for ; Tue, 2 Dec 2014 10:09:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 379182028D for ; Tue, 2 Dec 2014 10:09:11 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 65E452018E for ; Tue, 2 Dec 2014 10:09:10 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XvkMd-0006K7-Bg; Tue, 02 Dec 2014 10:07:23 +0000 Received: from mail-oi0-x236.google.com ([2607:f8b0:4003:c06::236]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XvkMR-0005xq-Pz for linux-arm-kernel@lists.infradead.org; Tue, 02 Dec 2014 10:07:12 +0000 Received: by mail-oi0-f54.google.com with SMTP id u20so8825559oif.13 for ; Tue, 02 Dec 2014 02:06:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=0HHRax6xYheGr5tdDLptBsqIBxCLO591LYYpjOon8DM=; b=TOp2PBnzi9Ikmy7UPrM0ppkhSTRUkwuP+uw7CRfYpT4BQW6Uyq75XQqgcrgkrEg8gu Pp6eYuVZHwrowOCSmlN5+EbmPHImHw1v9bsKxE/ftHuzHIdWB+kj8xstlsTiOQDjVBx9 lkLMg+MaiE6XJgmEdPVnUyuhum/iWljUhN17oLsuy4MRi5a2IDXW779ZTiVmwQm4uFFR lY/3d/xzOJQ1aXBqu6cJTr8iDMa3bKrx0o5xZ/1stCF5unlxI82Ybg/glyMULLIoO8vQ Fo1xWRLiQawIAJloF55ruLPFCAbvDAyreRDdqlD6+U6BWRieCPw5ZWCemI9BJ1spF8nh QjSg== X-Received: by 10.182.81.10 with SMTP id v10mr38841450obx.72.1417514811184; Tue, 02 Dec 2014 02:06:51 -0800 (PST) Received: from localhost ([149.199.62.254]) by mx.google.com with ESMTPSA id wk3sm9798745obc.3.2014.12.02.02.06.48 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 02 Dec 2014 02:06:50 -0800 (PST) From: Harini Katakam To: wsa@the-dreams.de, grant.likely@linaro.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org Subject: [PATCH 3/4] devicetree: bindings: Add defeature-repeated-start property for Cadence I2C Date: Tue, 2 Dec 2014 15:35:48 +0530 Message-Id: <1417514749-24319-4-git-send-email-harinik@xilinx.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1417514749-24319-1-git-send-email-harinik@xilinx.com> References: <1417514749-24319-1-git-send-email-harinik@xilinx.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141202_020711_933950_0341E7CE X-CRM114-Status: UNSURE ( 9.88 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: devicetree@vger.kernel.org, harinik@xilinx.com, vishnum@xilinx.com, linux-kernel@vger.kernel.org, michal.simek@xilinx.com, soren.brinkmann@xilinx.com, linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Vishnu Motghare This patch adds "defeature-repeated-start" property in i2c-cadence.txt. Signed-off-by: Vishnu Motghare Signed-off-by: Harini Katakam --- .../devicetree/bindings/i2c/i2c-cadence.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/i2c/i2c-cadence.txt b/Documentation/devicetree/bindings/i2c/i2c-cadence.txt index 7cb0b56..9d417a7 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-cadence.txt +++ b/Documentation/devicetree/bindings/i2c/i2c-cadence.txt @@ -11,6 +11,17 @@ Required properties: Optional properties: - clock-frequency: Desired operating frequency, in Hz, of the bus. - clock-names: Input clock name, should be 'pclk'. + - defeature-repeated-start: Include this property to defeature repeated start + This defeature is due to a few bugs in the + I2C controller. + Completion interrupt after a read/receive + operation is NOT obtained if HOLD bit is set + at that time. Because of this bug, repeated start + will only work if there are no transfers following + a read/receive transfer. + If HOLD is held for long without a transfer, + invalid read transactions are generated by the + controller due to a HW timeout related bug. Example: i2c@e0004000 {