From patchwork Mon Nov 27 16:31:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Rosin X-Patchwork-Id: 10077219 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 DE2EF6028E for ; Mon, 27 Nov 2017 16:31:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D023628FAC for ; Mon, 27 Nov 2017 16:31:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C44C528FBA; Mon, 27 Nov 2017 16:31:33 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 49F3928FAC for ; Mon, 27 Nov 2017 16:31:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753569AbdK0QbV (ORCPT ); Mon, 27 Nov 2017 11:31:21 -0500 Received: from mail-eopbgr20108.outbound.protection.outlook.com ([40.107.2.108]:19521 "EHLO EUR02-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753549AbdK0QbR (ORCPT ); Mon, 27 Nov 2017 11:31:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axentiatech.onmicrosoft.com; s=selector1-axentia-se; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=p1yFfPcXCwhMcf9UGdXfaTFomC75SP3ojCRQP7ptBQQ=; b=m1WI/+IGZsNDtFALo1E3msYb7oRvYOsdOCZdX0aCFyGuB9/xPjAIxABDKDF0RvnEDpuDNm0pVBh+PBykzWUO/HcLKjj7iYoCd2ealJBYXOnmK8wauXkXDSiuCISxHWOlhnnm7ZIqZXXidEfijPtX6Phb0ZYeIlf8tpzH+lydb0g= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=peda@axentia.se; Received: from orc.pedanet (85.226.244.23) by AM5PR0202MB2546.eurprd02.prod.outlook.com (2603:10a6:203:6d::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.260.4; Mon, 27 Nov 2017 16:31:12 +0000 From: Peter Rosin To: linux-kernel@vger.kernel.org Cc: Peter Rosin , Rob Herring , Mark Rutland , Nicolas Ferre , Alexandre Belloni , Russell King , Guenter Roeck , Jean Delvare , Ludovic Desroches , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-hwmon@vger.kernel.org Subject: [PATCH v2 2/2] ARM: dts: at91: disable the nxp, se97b SMBUS timeout on the TSE-850 Date: Mon, 27 Nov 2017 17:31:01 +0100 Message-Id: <20171127163101.27859-3-peda@axentia.se> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171127163101.27859-1-peda@axentia.se> References: <20171127163101.27859-1-peda@axentia.se> MIME-Version: 1.0 X-Originating-IP: [85.226.244.23] X-ClientProxiedBy: DB6P18901CA0019.EURP189.PROD.OUTLOOK.COM (2603:10a6:4:16::29) To AM5PR0202MB2546.eurprd02.prod.outlook.com (2603:10a6:203:6d::7) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a6b730f9-02cf-494a-1244-08d535b44644 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4602075)(4603075)(4627115)(201702281549075)(5600026)(4604075)(2017052603199); SRVR:AM5PR0202MB2546; X-Microsoft-Exchange-Diagnostics: 1; AM5PR0202MB2546; 3:vnlQAZC0gRco1oNJTWc0TdHf2UtxB0p/uHyzG8KuEQW/4fIrizkGB3b8Btx9CV9CgLHROuaDILc8uPd5fJEEz+BaIF+QvDBaU7NvSAARdWQXYot5yXOZ2ulj9hlGunfamhG3NOwgt5RuZPjFTQgzRDg+KFiCgNWr/J8S8UUWv3FeQNR8IsliSzibhdb0Xm7cf4SX5SADHEGQmFNDB9yQ28+2XQfqtc2+gkje8a0rezPtSntOn/ef1LobDYGH9yvR; 25:D7pKoYVil1SCCZrk8T0vNhFgetewigIxcem0FcsnX9p9eusUyn+m8OLNEbokOtrwP8Ckttqh+uHegJdumr/atFVwmwLCQAVVhbPiLYJqjGGu+F8460KoyDLrao9aAxqvyqdelo96FlMQTk75cBEF0dBNF9501TMl19rSS9CyC+Cbbpl36kTq1NVUAo7kuApx1J3Rh7SgLdSFL+Up1O9eRzsxaUgH3XPqWDIRHDN92Nelb2bvAzs5+YX41UUKHfMMAm0l9JanhfEPd8+SA5+VZgtEv1JLd3/iOJhzLO2d8nlYBFbEzmaZo5ec3mryCnWQj1y0IYr/rRhYuISmYssdgA==; 31:TsWfM/SZv92yOIY0KzRqAuCYMVJdTRhFiC5JrHT05a8+IitEtAtVl61FVgvqvaiGz/1o4xqxpshLKIPpN7ikZF+rAV1KMkK6x991MkZ2oGcjN7m927zP28ED2sK40lvmVaTlllcsmX6YWE4TwF3jFQkEFky9WOr171a7PV+4E9KW3r4nZSn3PKGODHuRotetAvp98mvoZkPND4RHYlLBgOs2RZtGvaze1jJ4fDkBWuk= X-MS-TrafficTypeDiagnostic: AM5PR0202MB2546: X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(2401047)(5005006)(8121501046)(3002001)(3231022)(10201501046)(93006095)(93001095)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123558100)(20161123564025)(20161123562025)(20161123555025)(2016111802025)(6072148)(6043046)(201708071742011); SRVR:AM5PR0202MB2546; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:AM5PR0202MB2546; X-Microsoft-Exchange-Diagnostics: 1; AM5PR0202MB2546; 4:5MMo63VWpCCrB7998hQse5oz2A1qz+DTAjU16u4Z9pUsA7Vuz65/NY5UIGzFXW+eZtHHFcq4ffdKSD25dwLDFpMqUu6ET+nfZpb1YCZow9blp3Dov8YLca/IjynrIOKVUPQvQB/0a5ksPdy0FSsodhEI4aEGrtQ6CShTbmfa3+GK9zhB1ZPy4hppBZ6wS24ecwpR6YYfmrUACSFxpOHpe0OZew6kwMmZnTY9btMZDzsWIeE/lcdmUl0GNxL44EN6duIjbM7F8FkBgRqvCM6ulg== X-Forefront-PRVS: 0504F29D72 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(979002)(6009001)(376002)(346002)(366004)(39830400002)(199003)(189002)(101416001)(50226002)(8936002)(68736007)(97736004)(1076002)(6506006)(50986999)(16526018)(3846002)(81156014)(54906003)(53936002)(4326008)(52116002)(478600001)(7416002)(7736002)(189998001)(16586007)(76176999)(81166006)(6116002)(8676002)(305945005)(6486002)(48376002)(47776003)(5660300001)(86362001)(25786009)(74482002)(51416003)(316002)(36756003)(2906002)(2351001)(6916009)(2361001)(6512007)(6666003)(106356001)(2950100002)(33646002)(66066001)(105586002)(50466002)(142933001)(42262002)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1102; SCL:1; SRVR:AM5PR0202MB2546; H:orc.pedanet; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: axentia.se does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM5PR0202MB2546; 23:rxxBPCvXJK7v2UahCtZsHtifFFzCJCHoMfIYKD/?= =?us-ascii?Q?qFtCe+Ptn15NCO092vkp5N6jvDUjV8Z8g++w/0zqVyHUaoVDKhrfzrm0cUfR?= =?us-ascii?Q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Wehf399DhM=; 24:dmKkoxVYMlWoBUbiS1uXx1T8tV+lEPa8jU/x8x5/xS+M9iufe/6aPAzFKRdkKqwl31QVeorVzDG/mDEuFIcO407sXKU8u8msXeMUI/GGNc4=; 7:DAtiVqLifJ0pMaybPYOcPj71e84jBoUk574JmjNaUWwYzWTJocaWL8MCtua7zgkWMJQCWHzm1Shl9n0zMNcFcAZF7gDGF/KCYMzP1slaCbYMINcbi25w1+Ep8hq1BZhKEWe5KElTR/MFmnFYuOoa7Z3sbBXs93+RCrKTv3KmUkZpp+IU9w7mRj51xwnXHVncQqW94Ob4KYyu11vkkJ9XLnVwcXH/nfni8Wj4zmMpqe5htv7VYV5++pslG4vOacph SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Nov 2017 16:31:12.1419 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a6b730f9-02cf-494a-1244-08d535b44644 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4ee68585-03e1-4785-942a-df9c1871a234 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0202MB2546 Sender: linux-hwmon-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The I2C adapter driver is sometimes slow, causing the SCL line to be stuck low for more than the stipulated SMBUS timeout of 25-35 ms. This causes the client device to give up which in turn causes silent corruption of data. So, disable the SMBUS timeout in the client device. Signed-off-by: Peter Rosin Acked-by: Guenter Roeck --- arch/arm/boot/dts/at91-tse850-3.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/at91-tse850-3.dts b/arch/arm/boot/dts/at91-tse850-3.dts index 5f29010cdbd8..9b82cc8843e1 100644 --- a/arch/arm/boot/dts/at91-tse850-3.dts +++ b/arch/arm/boot/dts/at91-tse850-3.dts @@ -221,6 +221,7 @@ jc42@18 { compatible = "nxp,se97b", "jedec,jc-42.4-temp"; reg = <0x18>; + smbus-timeout-disable; }; dpot: mcp4651-104@28 {