Message ID | 20210406113306.2633595-10-xiaoning.wang@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=1rdH=JD=lists.infradead.org=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A686DC433ED for <linux-arm-kernel@archiver.kernel.org>; Tue, 6 Apr 2021 11:38:21 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E1B1F61394 for <linux-arm-kernel@archiver.kernel.org>; Tue, 6 Apr 2021 11:38:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E1B1F61394 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=cURJ332vM6MezzjxrJtzmWc+ljwRaqZy+fcGxW3vUnQ=; b=VvXCb5fd93WLtzHeemUaV+jAB Na7gRxgD9JnfJSbwt6Jfy7BNYhbFzhuAUEFEkttuLeBrWjd2CjDiUBMh56HEGbR4rXXTWjDVSEfsz OCcZonbeX0s80QkzYS6ISVr7inrXhCMuiivDvst3F6T8tNzf4/sHklP2EnmdP2hUDVTJfdxA9KbgM S3j2TzFYEYtdpt+BABY6LLYb4nDHKh/e8DYNA/6l+3ry6ubUNbNG3ReRiPmCS5bhxg2lAnDy/wf7J aLk1blZc6R/qMRnH5hqU1P6xwXOIEVYYsv+ZCnV1TPBx8gCggI9y6eidLLEcS4Mdi2YU/xklXeJYU zmJ0MbKRQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lTk0T-002Mp3-1H; Tue, 06 Apr 2021 11:36:29 +0000 Received: from mail-db8eur05on2050.outbound.protection.outlook.com ([40.107.20.50] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lTjxa-002KsZ-Gf for linux-arm-kernel@lists.infradead.org; Tue, 06 Apr 2021 11:33:34 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nuIZ/ClPR/1qTwy0RRgOVOK/lJrTPAxTZxHLDEl0WRvdkOGYls2GxYodM5Vw/PQBKU9soAhYkcALsO6Ap5xV0YsKp865fWsocaFLtooGEkb5jrXCgrSIlgV9CFc5zEc+q3IEq7BbsnboTEhALhoNxXqzo+XLzvIZn468CQ0BMWTVDKRhzGgfjfokcig6pP73KudsqAxZPMgWXErNorMOXEA16BZcIwwYDL0ahBZGFwra0dly8i6Zz08/q7O36Q9AfeSywD15nMZykSFFG88uDzr7OYbTcN99AcW0KgvOhM+v2aMTcRV/f2Xq7WgHpFAoAtGeVQped7xqtWiNmwkhbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4JSppjieFHxMsU8F7jhZqMFlfT3NPEnAN6j+6fUDx6A=; b=R5z4PdSU7U3Pm8q/anILa9kynE5WirC7HiIMLQ+9NlsDI/4vlXXymVoWThQCC0VxIyJC6piDkOQIBjIteoO42xw2KL+5dtBSkylRzDZj/Q3NqOBLGdGh3uu838L12iqxYFme8JCFuSkavdb5OgXjbWiV24eKkTxJn2IVktSkTCrBTCoe8oqR3yViphKZ8kjCclDuhkHd4jIz1e/rAOuCugdIs/ALzU0yWCcAEdzrIentf1r6vuHvMXVD8C3w2vbe6GfnnPmLtgExJ+nr9MFnXvPkprP0dAiSy7op+TguK6WRTqP6Ay1VK9s/hiQtAqLmNUWcjWMt8RUIMd0isRd2IA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4JSppjieFHxMsU8F7jhZqMFlfT3NPEnAN6j+6fUDx6A=; b=qPHPJKMec3AuHHulHpMFMv8LeC4D8dcMC7ebwPCKOkNpBIwsQCQy9pngELgcJwblFtMXx+KIUgAGSkot6DhCyvgWtXuQ2bswaf+9yfjqjpAUUn8/JaW5/C3PQQt+LMhhwNJFjKg7y6YcVbJB81xgbHiBa57n4dYOgnF9+h9j6AI= Authentication-Results: nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=none action=none header.from=nxp.com; Received: from AM6PR04MB5623.eurprd04.prod.outlook.com (2603:10a6:20b:a9::13) by AM7PR04MB7142.eurprd04.prod.outlook.com (2603:10a6:20b:113::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.27; Tue, 6 Apr 2021 11:33:29 +0000 Received: from AM6PR04MB5623.eurprd04.prod.outlook.com ([fe80::5cd9:3da7:144f:36f9]) by AM6PR04MB5623.eurprd04.prod.outlook.com ([fe80::5cd9:3da7:144f:36f9%3]) with mapi id 15.20.3999.032; Tue, 6 Apr 2021 11:33:29 +0000 From: Clark Wang <xiaoning.wang@nxp.com> To: aisheng.dong@nxp.com, robh+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, festevam@gmail.com Cc: kernel@pengutronix.de, linux-imx@nxp.com, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH V2 09/18] i2c: imx-lpi2c: increase PM timeout to avoid operate clk frequently Date: Tue, 6 Apr 2021 19:32:57 +0800 Message-Id: <20210406113306.2633595-10-xiaoning.wang@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210406113306.2633595-1-xiaoning.wang@nxp.com> References: <20210406113306.2633595-1-xiaoning.wang@nxp.com> X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: HK2PR0401CA0010.apcprd04.prod.outlook.com (2603:1096:202:2::20) To AM6PR04MB5623.eurprd04.prod.outlook.com (2603:10a6:20b:a9::13) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.71) by HK2PR0401CA0010.apcprd04.prod.outlook.com (2603:1096:202:2::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.27 via Frontend Transport; Tue, 6 Apr 2021 11:33:26 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 10be54ff-f995-4eb3-d2c7-08d8f8efcce8 X-MS-TrafficTypeDiagnostic: AM7PR04MB7142: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <AM7PR04MB71422A8B3CF30890C1D7AE74F3769@AM7PR04MB7142.eurprd04.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:4714; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kgMD5QwbHV7ddR66OIyzhEmPMbj124tE9iQxrKmyWEEsfy5rA/6d5h/5BCGtCZsLZP4lDZFUXcPVSVb7b0pFA5MWRy+oY8mEhJ9FmW/AWlB89cK85RWrzR8GrFh199/91jN/WA16tmn6STycK0JR6SpeFO03AcjD2Xi/95QrEwo+tPrz4HkCokm8LlrAVp96kOWIc63eNAHxbC7lS9XbhqtRBzCYL4FudgZS9Xxvai2OrgLFU7Pdt50tAR4oWZQ7Ka44qhl7epjFG3tclwBR2PpW1XQ9UHrLpXXzqO7lDujoxEpSBcju8Zb/ahhgYPOhmeahALwLt99ZFG4Isq5emGkkxR4pCVZr+UHJL3Mf3wGRAAf+16G3fthUjlW2ml7cKkmxCJYcNNXlNUeio03bRLgEihc61hUqqLYZyLkgfLmXbK8T0nKy+HF+2Q7Jm2v0ZNWMlvZgUrgHigs1YDcGko7iw+ZHTEWEX84ZPf9CHxzVuktFnziqVs2BoSN3WAUwBEc9ZlTrPNhCoDRfxN7yGFdDgWA+lP02rttTcz+YQPQm7FuWt5rkaaS6X8l4pnR383uy20zgSmsl0BrfD7i8priQDIjnjYyl9VsXcVen3E5AAGI9bhyhchOo16ExN0YvJjyP4Co7N14NoRmoL+9Wa01fbmr88u7zt/KaT8rv3qZ3P3/K6B2Gp/VLH0ktLxIUmCNEzOjxZM3blUz6cwVJ6Q== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR04MB5623.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(52116002)(186003)(16526019)(86362001)(36756003)(26005)(66946007)(6486002)(6506007)(2906002)(66556008)(38100700001)(38350700001)(498600001)(69590400012)(8676002)(8936002)(2616005)(83380400001)(956004)(6666004)(4744005)(5660300002)(1076003)(4326008)(6512007)(66476007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: UMov8cucExiWdelhcgHBKeV0iOhp2lNO0xm/f8D0UGRc2iHVf6MahAXf1ziPTqrTpHWtJm4W9TfJAbm2zb6F/gZSG66ysRRQmciGGoGEiOkz0KHCzza5dmR/iFcSiCw10JASiAcIqBaqiU7cdywGgXzBSmLtu7qz12f7sPjFtHmhVUqrLE0dEDpUQzi2LxIVu0fwFVZJ+xV7I2eCIk64xQ7Z4Fu07RHn5PSAgj8kUoQbvAtET+zeqhQtNnPxIvpyvfVvkFcA/RJ4GkJCmB7WZi3Wk40pr0jYnzJMSaDUjZL+3RlDQJWWeq5E4WpC9wF/Td1ZbZDs0nVijDKTSgagydN17J0ZllT1+FuLzkuiYcZrUiE9W694AfhI56p80uLNGlARHyanv4if3nqzbp/d2GtPeKF9ajvYqB4FtAdEkAhcVV94NS7K0Om/n1Sqb/S61kPCr/zIQhNnYJGFyyfEa3I9y/hJR2YikVobzTJtNnX/fB66J553OwSNnZEtaKrcQ8waIAAr9USUc8camWFMXpN2qzPDlRR3vikci96FD5vbcnLH6/PgFC0JuEtiIDsKzUbPumKB9qvAFYO10bLYcR89MHOe7O8bmpoTAw1MtssiyZk2HJQLTYMe3oQjUIXjICwq7tYRlaI7Gg98hJhNMIUe4l1FQzD/F6/Jw4wo5pocazN2YJhSeIdEPinsPMi2gSpZmdTWXd8LYwEtw5tXyZLrUyO32zSeGdvHcJM+QpKOLT8YG4lbJXzqU6HdVMfmUtHKwaJYWuqJwPEC63pA9oimBcS1Ti63TJ0d0xpWyVqVsHeybfUkn+d+FxdWniZhv+d2pOCtF9LLNJbUEofxRGKGjNzYwy2KlfO9ze9llB+nZWyCPwllIbWmB84SFxXO+aI5WdYwY4n8S+qaX+ZHnB0kycQX46qXOANplsr18sHfOHXIg6pLWb2NV4KuX7/GDRn8eBMKpF6oXGiINhkPK0vSQVVCbDyv9THhsOa+QWduvrWy5TvjM7tJx+KrMg0olPX8EoVwOa3MuAKBIeBBSdWAYXZJ3Wjwc3/kcz9xauRTqS6JketGljJPNc5PnlU5wTMj75qrlDRpwkvf/bYkTrNBBxGLBmwfgjgxvM9bHPRlUlwRWKLWAGPvAmIdvMe+ek+vqmLL5tC+NevPeG/TQfVkuCum8gxInKxYbuJ/e6cpN44xNGmvzPc53LRFjs0pFfca8rvpVv4Qz7BolLzE8ahiIv6BYjVQQmwI+e2DjRudofAaeteDU5hdWM3sZu0pvKlwUzxPYNWrA+CuhP7EGujNeWILgq4huMTxCTj8DRwDWfrWfZ4v4lLjGJz8iWye X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 10be54ff-f995-4eb3-d2c7-08d8f8efcce8 X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB5623.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Apr 2021 11:33:29.4885 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 9buxdUVzh7C1JeE2LTzquWKGQSOEmhUAC1CNrp3JlzwzZDQqFE8bMl/kfhQ657pyrzpsxr4ePlX67YPeXDrKVQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB7142 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210406_123332_796809_E9CF8F62 X-CRM114-Status: GOOD ( 12.18 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
i2c: imx-lpi2c: New features and bug fixes
|
expand
|
diff --git a/drivers/i2c/busses/i2c-imx-lpi2c.c b/drivers/i2c/busses/i2c-imx-lpi2c.c index dfec334712c2..77ceb743b282 100644 --- a/drivers/i2c/busses/i2c-imx-lpi2c.c +++ b/drivers/i2c/busses/i2c-imx-lpi2c.c @@ -75,7 +75,7 @@ #define I2C_CLK_RATIO 2 #define CHUNK_DATA 256 -#define I2C_PM_TIMEOUT 10 /* ms */ +#define I2C_PM_TIMEOUT 1000 /* ms */ enum lpi2c_imx_mode { STANDARD, /* 100+Kbps */