From patchwork Wed Aug 8 15:42:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alan Tull X-Patchwork-Id: 10560277 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 153E315A6 for ; Wed, 8 Aug 2018 15:43:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 013362B1D1 for ; Wed, 8 Aug 2018 15:43:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F3A552B20F; Wed, 8 Aug 2018 15:43:04 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B3AA42B22F for ; Wed, 8 Aug 2018 15:43:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=yQ2VIQTL0Rj7P1poMGZHaxamckWMDkxewXYplGAdA54=; b=gAM C13juM9VgYBP5lcch+gHdMUmP4nXGeO9QnYnAFDm4GbW1HyO6YVHUisDu/Ni8xi5nuoTs7Vl/b5JT 8eoZr8RxvHGCuk8KJkT6YBsamjprQYJaCY1ZUiGFMwFkwh6sewiy3KvQI0M/RdeL5sA8SplTy04+X R7M28s6C6LPYxX35rHIAIglXmXPoP9KpZ6/lrWznFY+JXuq2M2AQszzq7/MaDXgtol8Skcp9b+yV2 B2gqgZYuRFrY3f3emYMy0tFKUtBYt8YY0WtQXF1yPt4PHOHjlFJB/p9BavEs7EqJfXyQCkl7d7L5y RYKId+KdWo7MC0E7x/6M3qcpPxn3sHg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fnQbz-0005KA-Uz; Wed, 08 Aug 2018 15:42:59 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fnQbw-0005Id-L9 for linux-arm-kernel@lists.infradead.org; Wed, 08 Aug 2018 15:42:57 +0000 Received: from localhost.localdomain (user-0ccsrjt.cable.mindspring.com [24.206.110.125]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 409D821765; Wed, 8 Aug 2018 15:42:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1533742966; bh=x4HpyP6A2oo/rNzLC/EYx2jn1KWMCAsTBzHcosQKYpU=; h=From:To:Cc:Subject:Date:From; b=AabjQK2U/EQ7xVboKhylMPDSqcnq8GbidmUWXhE041EqHGhbOzGO7cGvj8axmsFuV An8OxUgyXxgoRnRi0wRRyogfxxP4zUX+TLNPu0hHLeBuXf68b5jXoCAvxoC5q37Z11 1wnRYJPEsO4qWTl5y8YL5jb7/02/IhPaS2emhm1E= From: Alan Tull To: Dinh Nguyen , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon Subject: [PATCH] arm64: dts: stratix10: i2c clock running out of spec Date: Wed, 8 Aug 2018 10:42:41 -0500 Message-Id: <20180808154241.3760-1-atull@kernel.org> X-Mailer: git-send-email 2.16.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180808_084256_713144_1140A9C9 X-CRM114-Status: GOOD ( 10.49 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Alan Tull MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP DesignWare I2C controller was observed running at 105.93kHz rather than the specified 100kHz. Adjust device tree settings to bring it within spec (a slightly conservative 98 MHz). Signed-off-by: Alan Tull --- arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts index 6edc4fa..53cf195 100644 --- a/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts +++ b/arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts @@ -124,6 +124,8 @@ &i2c1 { status = "okay"; clock-frequency = <100000>; + i2c-sda-falling-time-ns = <890>; /* hcnt */ + i2c-sdl-falling-time-ns = <890>; /* lcnt */ adc@14 { compatible = "lltc,ltc2497";