From patchwork Thu Sep 28 04:04:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kalyan Kinthada X-Patchwork-Id: 9975297 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 99CDC60365 for ; Thu, 28 Sep 2017 04:05:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8903C2943C for ; Thu, 28 Sep 2017 04:05:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7DB182943E; Thu, 28 Sep 2017 04:05:10 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 1D3C22943C for ; Thu, 28 Sep 2017 04:05:09 +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:References: In-Reply-To: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:List-Owner; bh=O2ke0p6B+pJVjAixh+I3ZjApzR2FEA0pstO9n7QMVhY=; b=jku/+I/wmdwV2wbpqIr8xGknEO EOYbb806b+ef7pUFNIOUg/YgQ7BH7LBbUfSEJDmtTFEeWTOOUbbnRUGBw7RIJGwTrxyqzvy0cfVv3 bhLPYMD9VsIs5hL0v9JtSVWHndKCIisRWdDxtMoWbmkZvtQ9px5uNCxcYXfQwJw3xAb5/OIOHhT+4 k9H/QfnxeqaYpr3P9AnHyMYASO3Xe9MczZhfm6g4wrrJJEX5BWqbbDPxjH7llwntxH7SIJ7RfOsU/ YwBpGXDz6sQMHJdeKfpr4gzquP2vJgDbbkgGAhoQqV1eLIcyKtiTylSSpG2BKDU0yEvp3uNMGkUfu m5S2VdIg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dxQ4N-0006Wt-4W; Thu, 28 Sep 2017 04:05:03 +0000 Received: from gate2.alliedtelesis.co.nz ([2001:df5:b000:5::4]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dxQ40-0005Ru-Hk for linux-arm-kernel@lists.infradead.org; Thu, 28 Sep 2017 04:04:42 +0000 Received: from mmarshal3.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id 123268365F; Thu, 28 Sep 2017 17:04:10 +1300 (NZDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail; t=1506571450; bh=InaAEPHoi0Gb63PKTS6zupqlQd8KD987LtG/Dq/ZpYE=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=zmG9hbXtRo/QXxB2ZVDD3h7DNzzj/ig4uGOUvaGuLxAhFqnn6W7cFP2Al2ux90FQW fC7opxltpiCF+4ZvjVQcYhhGYsGqyVQKJu9sJoMfrYDoGD8TcYNtb/2WrTiKKAblZ2 4+11nx44Lt/khHnCAGeEObXl7ivCDh5Iop8GfqdM= Received: from smtp (Not Verified[10.32.16.33]) by mmarshal3.atlnz.lc with Trustwave SEG (v7, 5, 8, 10121) id ; Thu, 28 Sep 2017 17:04:10 +1300 Received: from kalyank-dl.ws.atlnz.lc (kalyank-dl.ws.atlnz.lc [10.33.14.14]) by smtp (Postfix) with ESMTP id 61DCD13EECE; Thu, 28 Sep 2017 17:04:21 +1300 (NZDT) Received: by kalyank-dl.ws.atlnz.lc (Postfix, from userid 1628) id D1514C032B; Thu, 28 Sep 2017 17:04:09 +1300 (NZDT) From: Kalyan Kinthada To: jason@lakedaemon.net, andrew@lunn.ch, gregory.clement@free-electrons.com, sebastian.hesselbarth@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, wsa@the-dreams.de, devicetree@vger.kernel.org Subject: [PATCH 1/2] ARM: dts: Fix I2C repeated start issue on Armada-38x Date: Thu, 28 Sep 2017 17:04:06 +1300 Message-Id: <20170928040407.8933-2-kalyan.kinthada@alliedtelesis.co.nz> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170928040407.8933-1-kalyan.kinthada@alliedtelesis.co.nz> References: <20170928040407.8933-1-kalyan.kinthada@alliedtelesis.co.nz> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170927_210440_790398_FCE5EE57 X-CRM114-Status: GOOD ( 10.02 ) 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: Kalyan Kinthada , Chris Packham , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org 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 All the Armada 38x(380, 385, 388) have a silicon issue in the I2C controller which violates the I2C repeated start timing (errata FE-8471889). i2c-mv64xxx driver handles this errata based on the compatible string "marvell,mv78230-a0-i2c". This patch activates the "marvell,mv78230-a0-i2c" compatible string for the I2C controller on armada-38x SoC based devices. Signed-off-by: Kalyan Kinthada --- arch/arm/boot/dts/armada-38x.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/armada-38x.dtsi b/arch/arm/boot/dts/armada-38x.dtsi index 7ff0811e61db..4960722aab32 100644 --- a/arch/arm/boot/dts/armada-38x.dtsi +++ b/arch/arm/boot/dts/armada-38x.dtsi @@ -178,7 +178,7 @@ }; i2c0: i2c@11000 { - compatible = "marvell,mv64xxx-i2c"; + compatible = "marvell,mv78230-a0-i2c", "marvell,mv64xxx-i2c"; reg = <0x11000 0x20>; #address-cells = <1>; #size-cells = <0>; @@ -189,7 +189,7 @@ }; i2c1: i2c@11100 { - compatible = "marvell,mv64xxx-i2c"; + compatible = "marvell,mv78230-a0-i2c", "marvell,mv64xxx-i2c"; reg = <0x11100 0x20>; #address-cells = <1>; #size-cells = <0>;