From patchwork Fri Oct 13 09:27:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Rosin X-Patchwork-Id: 10003945 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 1DA7D602B3 for ; Fri, 13 Oct 2017 09:28:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1209B28FA7 for ; Fri, 13 Oct 2017 09:28:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0696E28FB3; Fri, 13 Oct 2017 09:28:03 +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 7FF9E28FA7 for ; Fri, 13 Oct 2017 09:28:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751585AbdJMJ1b (ORCPT ); Fri, 13 Oct 2017 05:27:31 -0400 Received: from mail-he1eur01on0139.outbound.protection.outlook.com ([104.47.0.139]:64377 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757859AbdJMJ11 (ORCPT ); Fri, 13 Oct 2017 05:27:27 -0400 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=LI6DZYbO71lF0CG6TRoDhHbbW+jZy+P+Upfy/t1hQOP4bXFPUbZCCjsQb3PYZWNS1BFBZwSD/vZPQWRQauSZHlVQs+XESqaYG2HL12CvVske83AWu9L725UTy23U/YsJomUIlAl6Kc8AMuaHe/bi2F9VeVAsKHGXgNfdhcOzHFY= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=peda@axentia.se; Received: from orc.pedanet (213.112.203.125) by HE1PR0202MB2553.eurprd02.prod.outlook.com (2603:10a6:3:8f::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Fri, 13 Oct 2017 09:27:18 +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 , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-hwmon@vger.kernel.org Subject: [PATCH 2/2] ARM: dts: at91: disable the nxp, se97b SMBUS timeout on the TSE-850 Date: Fri, 13 Oct 2017 11:27:05 +0200 Message-Id: <20171013092705.7038-3-peda@axentia.se> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171013092705.7038-1-peda@axentia.se> References: <20171013092705.7038-1-peda@axentia.se> MIME-Version: 1.0 X-Originating-IP: [213.112.203.125] X-ClientProxiedBy: HE1PR05CA0156.eurprd05.prod.outlook.com (2603:10a6:7:28::43) To HE1PR0202MB2553.eurprd02.prod.outlook.com (2603:10a6:3:8f::23) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 071d4ed7-7dfd-46c6-6836-08d5121c99c0 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254152)(2017082002075)(2017052603199)(201703131423075)(201702281549075); SRVR:HE1PR0202MB2553; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0202MB2553; 3:5RPzAm7XsR39ZAuB2IS55W1A27QahMKv+lcsZ8prhoZiVS+3+wOh0X4Z23M1cQG5FDEXbvQTKbXsMKcw1fVEViiF0Qyzb6VAiI1P/0tx+P56Pe5Bv8NUAak9LImPSy/N/2Ynch+58XI7aJO1EfppnwLtrgwgmRwRI7WT7W1+IDK2Fskbd4SRuPptoNJ+jOZLp82LnJ/YWqSzl1YHGDEHM4G84S2wCZOKd6rFZrAqsUrvoJ80A2kL9pg0DZ5Heym1; 25:dBgpV9iM5mbNRwXmKGwNHv+RJmTH98jBBnWJC5Dk9wyMRfOOwWTxpPCHBEo0RStpYuqzeF23xX0cVotfJY4+pdtMqLmMs67TRCW7UvZfy7Ib7K4gHZTej2fJikszmy1iqQSJW3i35CwE2ucbt7gJV2ntQnOvFhSHvFXeJrwQpYRU982pu/pveD7aVLsVQj43iKkDYpPub4zdFLOjeE6gnuF5vUduLFSGT+Pi8C1eZYO1yEhsUT8+gJxahriPva1ev3W1gfpGXjtBw7nCbkmpol9fi9kK/v9RXwgX2KLWOjhgbBb/44ZhS9o60qMyPN6WRmBiKdwH1cjunfpGCVVo4Q==; 31:kHXLr2r2x9OT9voBWyO255zKmacT1iZTG+IU0l9GGXMvf0RAp6bAXa58wnYXuMRvf+9XAH300okaZs1PXjSAtQtPGWQDFK6KqdPYOQYMuI8t7Uucj0NupEO32Fyy+UanA1G25Jfwxgwr7GGgpBJNhwvxMUgbVbdy1ToKdxMM4IsnhOrkcCOxrpeKl6q+FADBmXNrA02m3b9aF2/ia8K5GUlBn3Ji8iQJJRr5f7UeKZM= X-MS-TrafficTypeDiagnostic: HE1PR0202MB2553: X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(93006095)(93001095)(100000703101)(100105400095)(3002001)(10201501046)(6041248)(20161123560025)(2016111802025)(20161123558100)(20161123564025)(20161123562025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6043046)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:HE1PR0202MB2553; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:HE1PR0202MB2553; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0202MB2553; 4:H7F5zo0bXOVntD9S14zTPtVPS3ZdTgVuKqMaJubBS2VTu01lcfoebj6JYK7tSEnIpKDE1V2jdFEyOBaIpqVS2CHdwveKGGE3OqY4/rfIyFVUrH5zvhHDxiZtVAYEcobHEoHoAYyKApSr1FDlecC3x1aJDgeJmGKlhicEBPt7H7Q8BmhQ6LebPyqrwb3LY3UL7QY4R1RUhakQCUmkDBScjo0iH9OXCfHN+Nbnts8uZvKUgM3Zvs2ilXpHHp2j0lja X-Forefront-PRVS: 04599F3534 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(39830400002)(346002)(376002)(199003)(189002)(97736004)(66066001)(25786009)(47776003)(36756003)(101416001)(68736007)(305945005)(189998001)(7736002)(76176999)(50986999)(2906002)(5003940100001)(48376002)(50466002)(53936002)(6916009)(4326008)(7416002)(5660300001)(1076002)(3846002)(8936002)(6116002)(2950100002)(16586007)(316002)(16526018)(2361001)(6506006)(106356001)(2351001)(54906003)(105586002)(6666003)(6512007)(478600001)(86362001)(50226002)(33646002)(6486002)(81166006)(74482002)(81156014)(8676002)(142933001)(42262002); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1PR0202MB2553; 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; HE1PR0202MB2553; 23:FtC/SIP8YJgGzykZZ4/QVznNksuGqV94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+Uff4KeEp9d/Bx78+4MZJPdcGCJTSWXc=; 7:LMygSNS9jvAIgua4CAkEJ6CFL0uQFwpXQUznk4cj3OX/oEqAMYFfniWcru65y4mOFAmbUBJbufMFTEIvXIsLTWAgYXj+7cP5wiwhYGR12zg0Jnfet0iOMNdYb2bRI1I8W9pxQKv1uYW1CHOE1D7TeFxaWDkLN8q77YH69Nn+YwgsGpwop+fv2SDRSsUNaqjNU86eBlA794Obagd4AOxGG+et6dlhDFrwfbx6z4Uxp0I= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Oct 2017 09:27:18.4294 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4ee68585-03e1-4785-942a-df9c1871a234 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0202MB2553 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 --- 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 {