From patchwork Tue Aug 16 12:55:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 598325 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 13F2FC3F6B0 for ; Tue, 16 Aug 2022 12:54:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231594AbiHPMyD (ORCPT ); Tue, 16 Aug 2022 08:54:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232715AbiHPMyB (ORCPT ); Tue, 16 Aug 2022 08:54:01 -0400 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2088.outbound.protection.outlook.com [40.107.104.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ADC8365573; Tue, 16 Aug 2022 05:53:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=e+qNcTra/V175NXdymZrQgEI0CegwZF1Guz3ZdkmA+KIe3/iI/Tq3j2+tLC1rLofGN3iIVe74F3AgNCTc05SM/A1YnpcYnxeEIxzd3raHEqDnyOdtmfNNjP+qZEqfX+tBK96ozgdtU5woVrkz7/PzsmB2yTUayoHAsQ6JerXdyJ7TETXV0XMDUCs4v2oACrw2igDnwBmTLv9xDKICNognGweZhco+whOWHmQsn8lVinfoRtKZ0BDmgd+fHK3OE7A9MC78O3LrucIctr1ZvKsBJax1/diJ7OjeeMi06jsjVRJ8bbzDki6pnMm2lEqzINmI91Bwx0i0bGYYV4ydYkwvw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=C8eTydxdoRwxOFJUSFvvBci3+3nZv9fB7mVmD7I5Yvo=; b=hKv4s9MhOIz+jmK6qaEH2iwGSRT4eeqg79Z74wFd2K2sIvIMBerBdBZY+qKnPyEeSa7vGqg/0twV0RCPjsO9B9CKWyruPSnHamOC5iqyAN6ZDcnLPNYhTYI4CkU2soj2JHiAwsqaXG0XrdVSx+ZrruF2PVgpRSGjJeJOEpSEca2QgylbQ2CYEiqtEnTU5/YpHQgQPLgGNQqJvPgAO7LjepaJEhMJW2tFPd0NDuUjUMSYa6Rs/OLJXFaL07uljnUrl24B1sabeiO3UeBhRqUhCuJCzBdmDhqGB35VWQuK58YDS2Cnknyvhoj/l2n1l3Ybm91vDck1iDh/j1jB9peW2Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=C8eTydxdoRwxOFJUSFvvBci3+3nZv9fB7mVmD7I5Yvo=; b=hVDWfau7YlgXs03XrDkRd6LHv7LL9w4OOoSvBi6SXS5CMrdImecS8j7H8ltBMxxM2bAZX2gW+6YH0EYge8YkZcYTZL1vkVXW+ogX5B7sCqo7WqC/phBOISfpfwcwFJmS2vTRMkG9feceJv9sc1zFHW8MQHZpfal1p1v4Q22WRjk= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by DB7PR04MB4060.eurprd04.prod.outlook.com (2603:10a6:5:23::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.28; Tue, 16 Aug 2022 12:53:55 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::3c6c:b7e6:a93d:d442]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::3c6c:b7e6:a93d:d442%4]) with mapi id 15.20.5525.011; Tue, 16 Aug 2022 12:53:55 +0000 From: "Peng Fan (OSS)" To: aisheng.dong@nxp.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, xiaoning.wang@nxp.com, Peng Fan Subject: [PATCH V2 1/7] ARM: dts: imx7ulp: update the LPI2C clock-names Date: Tue, 16 Aug 2022 20:55:20 +0800 Message-Id: <20220816125526.2978895-2-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220816125526.2978895-1-peng.fan@oss.nxp.com> References: <20220816125526.2978895-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SG2PR01CA0128.apcprd01.prod.exchangelabs.com (2603:1096:4:40::32) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: be8b79aa-a5b1-4ec7-2a6d-08da7f8660d4 X-MS-TrafficTypeDiagnostic: DB7PR04MB4060:EE_ X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: z5jtqvBy/oEW2xm5ecWBMB1eTrUrA1GzpQpMGVk+eZ5LmsPxopiPYse3Bp6Z/umVgZS/gVKiusmwsNctEkXDtYWsLVcZ7lkE5odq1v6M91uvl0Nqz2xGfaR7GB0zcf6nYvXNGDZpSLBKjnKTlhOXZmV4BTXiX30hKNtohlbAolNHShK4gMsIR5jrRXzW8ba0Cy26ymLdba7GEnDTiZFosQuUxVMRrsRAgw/RJhx7UY5MGLyKFeQboPDPMExM2FW/nDU4aEPllbPiiBDwmjK9uSqeXsHbcdjFC8rO6wSgEhe90zNV+ocGYFLKbNb9RAt52FE9dCR+spB+UW1s2CE8GGlr97HtYNwr0CAZc5+TmYRpjjATG6beBfK/BB3oeVRtT5eVjT5y1QfHndVFMrxxOpngEgcNgtggmZYUhTmg7wDB7gwu9jW9LHrPx5wa6aqhmzkfIIixw3ogrNRk+09ku2yrrgJphS0ccOryvyztlD1rPxr/d2sQHxEcYLHrAkJk4naieL/GlgbYYq/kYdunX/YJbaWmOAftIo9ccZQZJ2/5KmazNmhYRvuunxwcHHUqw1aKHFzck3n7tsh1uFodganW7Vmjd6sKuHf9tjnnDmu4m830aLjZwyU3kuAgSTWnxz+4WK4cQkeMHG9Bj1xLvEIhjj6rQugijODdH8iWicfnf4uekGLpggGEWDq5XFIeOioQgRB5l8UEqWtDTgDrFicTbBRxJdAPjW5O4rSl0OS16bT9k++1IlEH8VLtL5Ujuj0pWPnyajQo3tES68vPptar/gJb4h5uO9Lw7iMGpTgxHXfpefLLVVgfslzI1l7e X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU0PR04MB9417.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(366004)(346002)(376002)(136003)(39860400002)(396003)(26005)(52116002)(186003)(1076003)(2616005)(5660300002)(7416002)(8936002)(6506007)(6512007)(6666004)(41300700001)(6486002)(478600001)(86362001)(83380400001)(316002)(2906002)(38100700002)(38350700002)(66476007)(4326008)(66556008)(66946007)(8676002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: hU4LkHKA/ggufv2bu5P6bHAww+WPX0sbrsT37JRFOku5EGrMi6CsbU8yIfqXAEvlxKMKWEiBwVXngeAfB2D1F03Cg+6JmOpslXw+vG4jtQrFwphMg0KkWxbuYnQPqLZQgYTXVra1RekXezz5AfuSz9xlfP+HjIxKeXQB0NF/woybLE/Ci0nCTk/uINHmzm6tZW2ygRcddmM/Ty0jVMhKvmucX+V1D8jky51JT6QoQBmxhr7aPgOp6I80vAlPDD1tAwEFypCrx2zQhhS6oGjllsnwBX7SCx6B2L9Iv75NP++71ms98qlWEaPZSu8X17zYxBnV69uRHBETKiz4a+kdDcCdUGx083UJLLRPByJnBuWyLD81t/JbDWZTS+ui0OO/PlAnhROS6npIInGYV6oIxIvqic/oixYPSfL1D78Nf3QyNiVOGC4OhxnAmcPPjfOLxdzT1La3VtL0NK6tCJnTchkqOUkrvBrzX/xgacvXoyRpngaE6TytU/V3xIGZc8gqHeFFMpnGBN0yRXHvLyPR/2hKH4ZecXLZkvNtVNEkBBnhqV5t4LwlbutVWk3hfMgdOarmZjUKiyA9Q4qyjt9pejFmxRUGAvxGStSmTNGWhhjyd10GIyLJ1elBfd6Io4smKgLRWiaOBIkyx1FmZdwaFCkCWv21ZQ9urskQMrxRGb0CqoIF4VPpI6d4qNiD+nNg7MasIelVP+bp0OncCAFm12O2XD9P+7Jmbwg5tcErZ/sAiG/bYeS1gb9jLwtAMfSLlLlu0UF3RNBEpbYL7OUxOmrHizI20eIrmgE4XDoEQAY09i0HV93XuONu2jjeUm4ZLtOIMWLmFh356V/imAueTGw42Eg0lti7g780V0Zw8Iov5Na/uonPlmZ6lYA4iUigxtRv5SoHnXIO6EUsKZ66K07EMHPXzJJ3mIRBDjUycQ+P4Ud5Rm2McP8gy2LQVY+CTBGkWsK4KV/K+ciPPy9TRPALz4UBBoekrJMyY1R1HhgZs0rCFDCQ3Lauf9aj74G+SHqqehDsS8VQfG1VRwHMc77xetR+wHqVzxnXEGoemtF6os6nI1F5KUPXG4fcRi+R/FmYDUBbBFp6cnoFDXoMh3ocIaMTKdPOK/bXZIqN1zVy4OZlaV9lwPuqZ9cmwR+l+xKhuGD8X9TrJHxz/OH7G/evDaXz9re3sV5duBCFc24beII4uAEdhH1B+Ie9K6vCNPB0bPB162B1dHWgeNXbqv6lZAracEiMFp2PBtgzbIhrjCG1lftVIgJv8BG00JWV5GjKP8GebHvhbL8UddcbQ3EVpWtNGQ7htY3QnJ8GpXodJyQwAHEx7CZ++KDFt3UQ2f9rbAnQMhKZlb/17tMA8YyUyzwFYZf1RQIxDodR08nduQ6CrAHLauMzdMvZ3BdjlN5CFbGyxfnhafO9UissbJBXP/9k3CqLuQLb/+CF5ySZOGKRYI/xW/F/wFPRdSuCcfTY0mpGUCQkkxWuF/lp2g/yR2Bm9HCR0w8dyvsdbmDB2q6k6Toz3cTkn01eV4+8c44dpQuBkL7UozPwiaBN8ew+xR7y0cgPdxMVSjbRFkkC87h12UAJLXa2QRZD6lAu X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: be8b79aa-a5b1-4ec7-2a6d-08da7f8660d4 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Aug 2022 12:53:55.7117 (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: Qr+HQKbIk5A4DBIvx6iR3fnxD4q63N1jb5kqdCKdftnAz1p9Kd/P8tz6GUGSbMH2iHuL0cuMyaBUYaCBKXtOgg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4060 Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org From: Peng Fan The clock name should be per clock, not ipg clock. Signed-off-by: Peng Fan --- arch/arm/boot/dts/imx7ulp.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/imx7ulp.dtsi b/arch/arm/boot/dts/imx7ulp.dtsi index bcec98b96411..9c7abec90a89 100644 --- a/arch/arm/boot/dts/imx7ulp.dtsi +++ b/arch/arm/boot/dts/imx7ulp.dtsi @@ -329,7 +329,7 @@ lpi2c6: i2c@40a40000 { reg = <0x40a40000 0x10000>; interrupts = ; clocks = <&pcc3 IMX7ULP_CLK_LPI2C6>; - clock-names = "ipg"; + clock-names = "per"; assigned-clocks = <&pcc3 IMX7ULP_CLK_LPI2C6>; assigned-clock-parents = <&scg1 IMX7ULP_CLK_FIRC>; assigned-clock-rates = <48000000>; @@ -341,7 +341,7 @@ lpi2c7: i2c@40a50000 { reg = <0x40a50000 0x10000>; interrupts = ; clocks = <&pcc3 IMX7ULP_CLK_LPI2C7>; - clock-names = "ipg"; + clock-names = "per"; assigned-clocks = <&pcc3 IMX7ULP_CLK_LPI2C7>; assigned-clock-parents = <&scg1 IMX7ULP_CLK_FIRC>; assigned-clock-rates = <48000000>; From patchwork Tue Aug 16 12:55:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 597726 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BE683C25B0E for ; Tue, 16 Aug 2022 12:54:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232888AbiHPMyL (ORCPT ); Tue, 16 Aug 2022 08:54:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233076AbiHPMyG (ORCPT ); Tue, 16 Aug 2022 08:54:06 -0400 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2084.outbound.protection.outlook.com [40.107.22.84]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09B43696D3; Tue, 16 Aug 2022 05:54:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YIFlE2HrT3Gkf3S13I/KTr+HMVx1m30fxby4oa21kBQIUfFXM0YyjcoFBQ+aVMh9SaHCKc0SEfMLqem/lk1Zn92TXrk0NsOYQV3OnzD26xXegJRRIlMD5/Gou5Z5rB2gYzXM8zt38wSKTtzm2ekZ+MSZhn30FNGD8FobuKT8+gAAjFU2U3S9woniHusxFizXLpU1+lteFwOTRcK3BE0EfSuMG+WWcx/g/Jwji4mT5DBcaDCOC0ldmhcQCQqIKOsZdQa6tRxiyP64ai4zOsARkTG0ythoT1Ma1jPO8B6Wo7HByqdQlTSh9Oe6L+jXT0FLgRwvBrJ57ZSylZYmMNefdQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=LdaY/RqM3w3mSUnvQiRuCC2mLKvTQN8CuYVnhKckT84=; b=eBL37KaTHVRxjNACmTkpm+VJjizWn/+aH6ZlpcB7eEINcIqDrpyk7aVJbrzSkY4rOH33VwQ27R5wZd/4DX4G7jOTykRohcWejXjcM3Um7n13JB48zNTC8GPN0E67v6Ppcz/DABmrY22S8jjQeNNc2Q3y2pdyEGneQGfUHHge0C/E19r+MbOzRetWMQNnJqt8alPj2jV5rYJQCnDDpNKB0ajIL7wkwES+btjkR4zOT8j3BjP+nq/oUH5uKfMOrgLzkRPLsW7uJQ/d7nlkidqi5gMYuiTN3RexjkkjhDwVpw9tuUg+cwbHS3ybj4pALOZK3DxQInRWKGhD3mfhrbus9A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LdaY/RqM3w3mSUnvQiRuCC2mLKvTQN8CuYVnhKckT84=; b=XdPwrlVllWhozTv/tEtwBBrCl3sni0TFfnJ7OiU0IXz+RKVGODuO8WEExAGC3hVeqVytPOM+XI1K/2eKzq+4QcEi4hzDJGNRkk39M5INHeM+6TeohDPghVo65RfWCIOyuIjtX6jj2YkD+PGTVnCxTOuZkzIMYPof31MCLbVTsDY= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by DB8PR04MB6666.eurprd04.prod.outlook.com (2603:10a6:10:108::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.27; Tue, 16 Aug 2022 12:54:00 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::3c6c:b7e6:a93d:d442]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::3c6c:b7e6:a93d:d442%4]) with mapi id 15.20.5525.011; Tue, 16 Aug 2022 12:54:00 +0000 From: "Peng Fan (OSS)" To: aisheng.dong@nxp.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, xiaoning.wang@nxp.com, Peng Fan , Krzysztof Kozlowski Subject: [PATCH V2 2/7] dt-bindings: i2c: i2c-imx-lpi2c: add ipg clk Date: Tue, 16 Aug 2022 20:55:21 +0800 Message-Id: <20220816125526.2978895-3-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220816125526.2978895-1-peng.fan@oss.nxp.com> References: <20220816125526.2978895-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SG2PR01CA0128.apcprd01.prod.exchangelabs.com (2603:1096:4:40::32) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e8a69695-8a7d-4db6-de19-08da7f8663ca X-MS-TrafficTypeDiagnostic: DB8PR04MB6666:EE_ X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: lB4oPSmSae+fclMqyxKs0xa6oX6IjtukZKK/XRQ8vG8l6fv78MWfs2Uli1i0Qu0LaBl/ncQtOrlYXrGxnWXL/3HKf9AI+Ou70q4kWbZcbEWQyJ6ZcEgmeJeP+hF/0KCv8ozJHw4+vjsk5DAJhypx+siE3RoJdpSWZnH16Uj8uH8Sb8NnXsUfXYBPIWwZR7CYlt4Bq/wwPAx5Ex6wwbYgTbR8QbneWNGRGZYd3s5zcW2rPAl8gtX2x798cpyBw4nXATh+4dCmC19ZxXYFXV0s7NIS4EN0KLZ1eYXn8fgaGNaDDA/SwLZXoaVjC7s8/1QdGR57GQqCoSWq4VAA7Yg45v3mJOSDFs9CbUoTArspK0pSUITrtfhUKLAlluTHGbJSd9p5uWG10H/Id6UtGPI6hfqcyqRgZGeHSe36dAIR74Fm3SW6oxpCyHyx4JyfEvKsA6Lgl2LSvSo/cMD8dWXB40TmfO4WufXwDwwuaV/mEcGua4GruUjhrplVeELetHAKlj/j1prI6tvH1BKekAEhefw7JhUZmwpNx/g/jgHTXY7+tBV+YzjAEiK4EHjiNV5NlZcO52rR7o+gdH1Gfh8fznwZeWOjFJl/i8BLcPiqg19TdKBzuM6yr/M1JyktJtT4ZqyficBwvjW7gHv6vwUySEkz7lSzgXdjyvClUNzumMRZTpjIEuieZOxe5QfAxYJzP19Jx3aU7B2mQwu/knrl+9AnZ+F5qH0cyO3DtOQvFhXaPFZeYgjwMQtv91YhyUrgDophe65zCm8ryULkgYuPzcNyr0QRMBWsBISoDI0TVvlVxXaUFqaTYC148nrkHnuw X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU0PR04MB9417.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(376002)(346002)(136003)(39860400002)(366004)(396003)(8676002)(316002)(66476007)(54906003)(66556008)(66946007)(8936002)(38350700002)(5660300002)(7416002)(38100700002)(4326008)(2906002)(86362001)(478600001)(6666004)(6506007)(52116002)(41300700001)(6486002)(83380400001)(6512007)(2616005)(26005)(1076003)(186003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: UCqCs+3b9pggWvu7emL8Zn+gvq2d7OAbJcXXYOwQa+Ed9gvBhPxECqGacGgcBUjuNdco9wD8N6LooaxPSl736jGhaUcHNHltcab2bUARFtB3QAsIyNA80S9YXN9iweqBs+NniiaNPJqAt05BtNwUWMLsmunSEaGGvX7Y5PQ3CNijGEhseLZw7EwpAL8f3tELQmVdieyPfXneRSJOApL+tR9fghaxfwzi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yZSdyDiINIjHNoOnLLblBtz4H9TlreYWrj/c35KVZoLq2nva3zMmNpI216NGRHJfT9Va0EJO3lXHzuFmCCF5SgkkTlFI6LhuyRhQhm+1dq0tXf3RNUl1pNOhcE3W2Q3VPN6EHozcggcGgIeo7+qlGLRHpVCXAirb10NKqyjgeuNARgrAlI8xbZb+/jeM/DOW6qG+hHGCU10tUvAjvxJbhMwMo40uTw/pG7RXrPftLgjQdpTQwoV6QMAT8t9JVcMrCKxREs1jUc7glWLKCzX2ziu38/Gus0mZn02CAL9tHHHasIAt0mbqDu X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e8a69695-8a7d-4db6-de19-08da7f8663ca X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Aug 2022 12:54:00.6050 (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: AO6Z+ObySA2ubCYT06gPaU6Y4rFIY4b5+dikW+9vZtFCQGD2cB4RdQ7CxYR2Ol3XULxCxn0DEU0k0u+JACpmYw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6666 Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org From: Peng Fan i.MX LPI2C actually requires dual clock: per clock and ipg clock, so add both. Signed-off-by: Peng Fan Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml b/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml index 529bea56d324..e42e35003eae 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml +++ b/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml @@ -37,10 +37,12 @@ properties: clock-frequency: true clock-names: - maxItems: 1 + items: + - const: per + - const: ipg clocks: - maxItems: 1 + maxItems: 2 power-domains: maxItems: 1 @@ -63,5 +65,6 @@ examples: reg = <0x40A50000 0x10000>; interrupt-parent = <&intc>; interrupts = ; - clocks = <&clks IMX7ULP_CLK_LPI2C7>; + clocks = <&clks IMX7ULP_CLK_LPI2C7>, + <&clks IMX7ULP_CLK_NIC1_BUS_DIV>; }; From patchwork Tue Aug 16 12:55:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 598324 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A36E5C25B0E for ; Tue, 16 Aug 2022 12:54:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234592AbiHPMyT (ORCPT ); Tue, 16 Aug 2022 08:54:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46080 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233603AbiHPMyK (ORCPT ); Tue, 16 Aug 2022 08:54:10 -0400 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2051.outbound.protection.outlook.com [40.107.22.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 02ACC6BD6D; Tue, 16 Aug 2022 05:54:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PLiMfBZMRmH0lstYSLO1n8We0o1o5a+vhMj7kCA7cQkKsMpR3f1yrzgIViMzsEzUJsCnHcQsZgz7TasQFMnT+lLR8mRZTRXzo4OvdpDCAhij1M3jwUs0AJqXO6qQORddy405RYMhquk6w13B7Ruk2zgXh5d+IINp5+bzD77XNhxJRlpePY/4sQSDmvkcY9aAJbpqPi8kE0ejfF8gksVjoTvnamg9A8OttP7OpNIPzscahRj0Jxbv5iRz6xlTdIznhbCQcai/2X9GMALZvE9kFjfqWumNt6b7Ba0WeUGjaa+BUgNrE3/o0DDQz4i0fIf71Ro0wzoa8dmbB4N88TA2iA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Ge8zQOxDQYMyAVbh0ZG2JEIz09zJuFV0DI6I8ZSoz84=; b=BV9jSTks5vgzv0MosKmovLA7aA/VXOCuhX5WKroxFAMH37LTx6FdLmkJYpyhSNyUmM28qQgYc+lDTQ4EKiFw3tHn212GTZkaMdyOR8n3MhEkLtXk02E8Ruy8II5/2FnorTmjhwS/0v5HP/GRFyFmBIKi682jG43R+bVaUiAhwmeAXEAUksn5Lc5VM7DzLqDWohYwMpmWwmZ7DfBi5Q5g94hNPqcOqc5RHEpCz8xicn5dtrop5mrgBtlr4wxIiWxwjItCKTDz9PTSV5iee3CWQjZF9ebvmX9eK7DVMt8i3ibYAUNIVTuK5D2AbLgpfIhNDqkIoQChH76wS8jhgiJesw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ge8zQOxDQYMyAVbh0ZG2JEIz09zJuFV0DI6I8ZSoz84=; b=Fjrt4V1x9ks7H2Sh+B4eqY/0Gss+QhIYz7f22TVLVqB2KzhicoaBPlhc5THWyQoVyiHt8O6FZAAOggWeVexK/wnVdLXsWZaybWFIVBCRJuGww3Gl7ipP0q7h8d0zN2zmzcHkvKymIfBzCB+k9ByNWNxeL/sUJoCSeJa/CLgr9eI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by DB8PR04MB6666.eurprd04.prod.outlook.com (2603:10a6:10:108::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.27; Tue, 16 Aug 2022 12:54:05 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::3c6c:b7e6:a93d:d442]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::3c6c:b7e6:a93d:d442%4]) with mapi id 15.20.5525.011; Tue, 16 Aug 2022 12:54:05 +0000 From: "Peng Fan (OSS)" To: aisheng.dong@nxp.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, xiaoning.wang@nxp.com, Peng Fan , Krzysztof Kozlowski Subject: [PATCH V2 3/7] dt-bindings: i2c: i2c-imx-lpi2c: add dmas property Date: Tue, 16 Aug 2022 20:55:22 +0800 Message-Id: <20220816125526.2978895-4-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220816125526.2978895-1-peng.fan@oss.nxp.com> References: <20220816125526.2978895-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SG2PR01CA0128.apcprd01.prod.exchangelabs.com (2603:1096:4:40::32) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 74bbf523-ed77-4f27-b402-08da7f866688 X-MS-TrafficTypeDiagnostic: DB8PR04MB6666:EE_ X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: AvZDmfrZqeOKDuTZietnUmZ5Aa+mD2KIcpZM67wDg07DyG+9KgGL5J3E8cdRpFoCJQ00GLrcQP/F0qLUwRuJ7JJqXfkXKmVCorl5wB5PdxwGlb4bGEu5Ag71HJVq+85KlzHeBnluGbfsGHtkZ6gk85rFPJ4Km2BZeY498Icw7Fi2Ascwgz+pNbl6ow1n1ojAYb8zJ0uDNcgPNgj5Z/HqbAs/RqKurxzvEgfgu31Jbzx0naxK96CFEBCM0nOWNR/eW1RuhTbTargl0zQwxGSPJgy8ZN+xsKFIBxvUaUHr4SkGgiZkptIgYKWK1DGiQdQcyh4SPDPkt5frRhF5DGVviBJA653lHii3S3mUmMpp5DmG80DA4LYHt/n62m3AWLbQQWNerTGhny3DL4nogtAJq9rz72IpAqvMTS0vFaYXawlK/qHYRjOy3IcEVgUQ6FJdSALdeSF2AG+Lm3m0BJ13XPkFtQxdqyMo15dELOYaBh6Mv7lumC2KL8OkmZzhzzsUJLkYeb7D/MaO35XbfSk4UD0vp95wxZomXEXJ/pExqggPHmlrgZhHiT2AMPpsFdYblXp4w0Y86g599n6kFSGNbKkAxuW6Fx2FtvvIb7y0mmnQHfCp1bMMhSa/8Fwbj5d5APf2TrMd72fA9kU5L9jz2appkJjKopDkXYtEFsf+2xDXxKgkvIfB8Z7GUQzpjUbzqbs3QVl+uSMPYwa4qrS49q7uKrSVWz5GiK2RsQKuBfqTJfAYfmysHZTtBaxjXlBEoi6jXhgxWzymfrfwxcmOSxwkCtPWTt7FR/b5+cyFrXopqDAmV0W2H2uWd/hwzHaU X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU0PR04MB9417.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(376002)(346002)(136003)(39860400002)(366004)(396003)(8676002)(316002)(66476007)(54906003)(66556008)(66946007)(4744005)(8936002)(38350700002)(5660300002)(7416002)(38100700002)(4326008)(2906002)(86362001)(478600001)(6666004)(6506007)(52116002)(41300700001)(6486002)(83380400001)(6512007)(2616005)(26005)(1076003)(186003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: kbVuaZM3Z60gwgvIc8xahdH4elHemvCtHHnePmBNPI52HLYKLr6x5HfPkwk6ClKXih7dgd5l0LYYPDJTaF44iBSNRrhgN44y83huvk23v7C4BDNkRhJzDqDlXLSdZbxXl83eIZgCLqnZfAttEpaqKns2QF9GJK7+6lBvaLLj6VrCVm6biQDGZuX07nIWnveW70ADhOVYChbIBLo45TzvXqmZuyMdGTXR1kEzEM/zyLnJOVJun6mhKID4s1JVV7zISbXvrRpghQxCQvuh3wl9XPg5Mc+UPAHWC8HySoM9+a1tO4WRlZBdVJ105fXe9jxSxd3Se9JlpVw50KEBa3lXYk+43zKaJLAH1pUcPsnNqMrh3A5eLw9SfDjGrfbcn0VuTBkAai48S8pAynKlavLFvbsVgRgDNkA9TWjkwm2NWXt7P8mU6KBx5hMjngFnsyLZrqhBfdZR+PNhPjbR4iCEp4lMRbjbPO/67ARM5u/GgoQFxT4LtPWS6rZtrORbIVXBp/dfLV0T6ya6+BVp2YAXhV2Q9RNPYhi1Ov2mQjxyjOsclwmFPlgExxFAk4edd0EOzUNVB1FS6NZJmW+PIGGN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77-4f27-b402-08da7f866688 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Aug 2022 12:54:05.2051 (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: mm1TTO47sPVHi6rzjj3U6zRr8Xgl12csRAQQYpqpaub3XZ8j3yEU7DMs9vZ94ScSCXrmn36Uv1AGkXq7ZkIWvA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6666 Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org From: Peng Fan i.MX LPI2C has dma capability, so add dmas property Signed-off-by: Peng Fan Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/i2c/i2c-imx-lpi2c.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml b/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml index e42e35003eae..08b81d57d7e1 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml +++ b/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml @@ -44,6 +44,16 @@ properties: clocks: maxItems: 2 + dmas: + items: + - description: DMA controller phandle and request line for TX + - description: DMA controller phandle and request line for RX + + dma-names: + items: + - const: tx + - const: rx + power-domains: maxItems: 1 From patchwork Tue Aug 16 12:55:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 597725 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E33F7C28B2B for ; Tue, 16 Aug 2022 12:54:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229875AbiHPMye (ORCPT ); Tue, 16 Aug 2022 08:54:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234512AbiHPMyT (ORCPT ); Tue, 16 Aug 2022 08:54:19 -0400 Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140075.outbound.protection.outlook.com [40.107.14.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3ED6A6DACD; Tue, 16 Aug 2022 05:54:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=k7njoR/h9aQzg5xqs1HmLAEjX51PZGyPfxxkUBNSk73h68VHrHHG+kJQy/m+H3EAhmqHiAt1kzNL/NuA9zsmVIpKJdZYIAvErH6zPPAq8mIg31urnoGBzzvfW9P3xcTzQGKUacOMuuHlt+fgKN8Sp8g4Iw6CU9sVjAW4/YqUd5Ds82XtSJ+JSKS2mPoTNlNizsHdycvcyFZyLdJQbpsmNgnU4z93F/yLorym2l7b1iZfPDNtBtFA/2m9fIw2dIspLJ0n0tAnpPJSzOvih6epFYh2E+HuCVCJyq2HGjQWdw0yf1QWhFJADcabFJ2JBMnITgRTyIrcMmLZ3007L7MSYg== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=6jK6yDfbBOXjQ7MvI5RQGilV9dgA+/QW6aWhrOz8b08=; b=BnM9BSJDDuQrOoZsrz+IOIgf23Jpg91nd61cUnd+VfTAcr9HEB4tqkalS0NVEoNu440c+ggaegUSnfZ9HXVxtUGC7QlGxQYXIvir90GuCGCK8U0y5Ny3DVhF9aTV0L0VwXx6MDufxveC2iYN4n6TZmxEadNPjKhxfY/Gq9a8CGbIWWZy51A0DY/73oN+BhDtdJV0ensgBIa+b9beVtsq/3i9ooWaZL148G6WsHIXg/GTstiGpRQsw2Oz7rVUwKfOfEJLMg2gLjl2YhEtoWrPi98rfkqefmyRQsXcbxTrM7jHISrllPQvQ/3nmhm7QaEUN9GCmO5naSPZFshTY/SB/w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6jK6yDfbBOXjQ7MvI5RQGilV9dgA+/QW6aWhrOz8b08=; b=P7jQ+YhZgsm0DVM8MJQLUWDnRpo0i0PxztACs06wv9r1Tmzy8AsXBWZe2Y0lmIkSP92VUUrxpmVv243FH+jVUKf6g4/bzuXJ39z6H4yfwECUEru9RPwROZ70QvoLCT+lNmxWGjNoLiktCum3LL/G/ouXiqAHIjQ8LGXM07LJXDg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by DB8PR04MB6666.eurprd04.prod.outlook.com (2603:10a6:10:108::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.27; Tue, 16 Aug 2022 12:54:09 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::3c6c:b7e6:a93d:d442]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::3c6c:b7e6:a93d:d442%4]) with mapi id 15.20.5525.011; Tue, 16 Aug 2022 12:54:09 +0000 From: "Peng Fan (OSS)" To: aisheng.dong@nxp.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, xiaoning.wang@nxp.com, Peng Fan , Krzysztof Kozlowski Subject: [PATCH V2 4/7] dt-bindings: i2c: i2c-imx-lpi2c: add i.MX93 Date: Tue, 16 Aug 2022 20:55:23 +0800 Message-Id: <20220816125526.2978895-5-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220816125526.2978895-1-peng.fan@oss.nxp.com> References: <20220816125526.2978895-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SG2PR01CA0128.apcprd01.prod.exchangelabs.com (2603:1096:4:40::32) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0fa5a625-273e-4836-5be9-08da7f86694d X-MS-TrafficTypeDiagnostic: DB8PR04MB6666:EE_ X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: z4/rDdpkNx/BIu5tvtwMa05D53x+0eHYDW3vpOXo1TnMsmpO8dV8y8uqDKz/vw2GdOgDLOEcSy9+cpRPEOKp7RXAFwAAsqzZju3GBgLImE5ZVQBZyxiCrFY5nsgzGv0MAZmY0wYI8jvc8YjxZJztVNfPLd9XN9Tf5G+ORkgjrbtZN9751QDfFotB2lkLI+UPzf75sy3TakX7YGekNrYucdBvGLtv39TxZPYx67n/JyH7H9kLna1++ZxuiKijXBmy6JSRn/XxIYrIOoWHS98eaQthPM/2aHLxqsPfGBR3dya/jb2OiYgPZzUz8Id0TIp1qhSOamRrkuedttF/ocVh3xnpjZj9ebMekj/94cBD6pUz0WpudjCbOCCvF2JPRG3DKZkOc/PGS2MiGNvavfEjVrH3Lsuh7+GbFUjq9WTUjDzENknn6WAQaonEvB3M0HarV3rz7i8Y8aas+BFUQ/kVD0UA3LKX4peaa3hiPzifg1uFUlGFD8fEwuMigMdHFN9c/XomFlj3EloKI2rPPFfvXF6880bT3G8kKA1LC0zzzAg87S3LZxOnAOCnI8Ql47SKR73VKnC+aAzDDhoQSg+KSN3vuWaOOJteT0JwI0ZancJ7uwZVcn0mhYwvQXzGhzo4PhS+MSGTdQ69wFXKthvMp0vFVgy/9vBByui3l+ONZoNzJYNpZwbRKjMmlzJ49N+5f2NAaaer9tLLh9fy4wib01cEC0eFRlWjx9589DWXsnaaEzqunQLRO+pgRIvXQxJIDpCSceXC1l8U0Ic3zT13T/ehXniMtIgYrlc7q1JeGYtny+rpJQgwJH/Ux1dUSfyT X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU0PR04MB9417.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(376002)(346002)(136003)(39860400002)(366004)(396003)(8676002)(316002)(66476007)(54906003)(66556008)(66946007)(4744005)(8936002)(38350700002)(5660300002)(7416002)(38100700002)(4326008)(2906002)(86362001)(478600001)(6666004)(6506007)(52116002)(41300700001)(6486002)(6512007)(2616005)(26005)(1076003)(186003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: MTILR3xwEorX6GAnsD2tigpNU6HMIkohkeyXv4tiEdxa7VH0Ebd38xe/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v9wBphpgx35ISJC9LHAz9UZo1Rxwb9GmNkDAKTZqQ7qbtIay30euNiouKWuQJgoYNFErLc87FfgKXnHk+GHKOjRh1nlevuqXGOharJ7KYVbY7HK8INUpxCjrE1vRqvhA81V0aEwcaSt3ceZlEegq0wjLtu3kUECUf3QxvVvzhUGyAxxd4qSzSWpaNjdF1gEh0/AXtA+KvBkIdgO2iSQ5KREBikI1Ewqy7LeOFVztMfWmiHx3AT0iMbX0PJNYVQtpbwkHPoxU/ttsF+qoDJmBTGDECGh+sZrxuwNV6RG3nINnQwbn/cPktcAuOLFk9hjCBtIB21EpDm3GgywsuX5VUL7x8wM5MYmcol6VfV/k081B08FKUYHAXv1xpXscBfy8ZZnQ+dG8l0mdaJbioLK2C+kQlT7byOUYPkkjbKB1JlbIcNLDTdPp5us3BV5UwW4KuXaxDplHk6PgmmW13gURUNRQuAcv X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0fa5a625-273e-4836-5be9-08da7f86694d X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Aug 2022 12:54:09.8337 (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: jNn+pIVpvbDGL+SOTZqoiC+nFfrjd9LRyjp9lnIHbCZL5g8gqCNBrFJkR/LdOz/2CsE3zad1NEqepob6VHjf9Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6666 Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org From: Peng Fan Add i.MX93 LPI2C compatible string. Signed-off-by: Peng Fan Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml b/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml index 08b81d57d7e1..4656f5112b84 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml +++ b/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml @@ -23,6 +23,7 @@ properties: - fsl,imx8dxl-lpi2c - fsl,imx8qm-lpi2c - fsl,imx8ulp-lpi2c + - fsl,imx93-lpi2c - const: fsl,imx7ulp-lpi2c reg: From patchwork Tue Aug 16 12:55:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 598323 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6374DC3F6B0 for ; Tue, 16 Aug 2022 12:54:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234850AbiHPMyu (ORCPT ); Tue, 16 Aug 2022 08:54:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234976AbiHPMy1 (ORCPT ); Tue, 16 Aug 2022 08:54:27 -0400 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2046.outbound.protection.outlook.com [40.107.104.46]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 15B8672B5D; Tue, 16 Aug 2022 05:54:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WmA3bAKf2FqgVRDchXhPTvxGSEQFpdSFvBUTVoIvT+S5CCzGtOQ8U14YkHIadqJcXs7jSuQZCr2N0PdmlhzsAQuP83z53cKUb/Wh1nXktqfUpbJ9dg2ahM3GXPjV55zkLD3/tx3YrDss6b8KjcuhVKmVCgqDzj02/ZHDf66psu6j+yQSlwLY6W4gu8rz3Xd2QVNWMOty2i4JVv9mQJ6v2LdWkQMuwV9ab3efoL42+5uw1mlR3xjiqWfJZpP8VARpJWgEo6JnHAm5hNASmdmSd3vSts07HJ3G4ZXQu/hx699sd0LyJxIT83/PQLi82vXQINnFE1jJNt+rdhry8i/1+Q== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=FNgSPifPVT3FOihHeEgcJJztqpzDyRC7Vp2xf41BsLM=; b=EtSa3Qh40BqGkCT97iVWWwngPrsNDZsEzUYN0s5X9oj5ma1wKTeFHTyO0f0CFT8hnjnalRFfgMrYmQMRhuGvuokMXK6uhCX04eiDACOoUyLuni6pDPEqlUCdrrFC1r4+yR8cgU1NrF7Bmb9uTXYZXgrlXKpByLbHFmQgFQGLHqfByq3Fb2npeIv5RAK7GeXV99pwLF+AuPPQutxv7KlWPonJR7pt495mppaUcE8kim+wS9oNfBhwBG+vqNMSS+dmKekOutpAvlXb8DOyvMDqK5BkNA7TDpFcaiNk2P6EQ+LDWxnvRAXa+4Kgop89gF3leUC6vreBumx8EdcO4SgKhg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FNgSPifPVT3FOihHeEgcJJztqpzDyRC7Vp2xf41BsLM=; b=hIXVO1Kiz5Dl+ftBS98xbHnE08236fHW/6GDB63gAk7y1y9ElixdYtiz7COS1PaADJbI1h/lhP3jsRl8xbobS9Xer031fyj1zmcoh3p1LYfsDQw1qo54nrg9E1GVmOhefOQ+cLYZ4Jd/ZThAUKHX1rYjLK7XztWvWbb6laRBmTQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by DB7PR04MB4060.eurprd04.prod.outlook.com (2603:10a6:5:23::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.28; Tue, 16 Aug 2022 12:54:14 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::3c6c:b7e6:a93d:d442]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::3c6c:b7e6:a93d:d442%4]) with mapi id 15.20.5525.011; Tue, 16 Aug 2022 12:54:14 +0000 From: "Peng Fan (OSS)" To: aisheng.dong@nxp.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, xiaoning.wang@nxp.com, Peng Fan Subject: [PATCH V2 5/7] arm64: dts: imx8-ss-dma: add IPG clock for i2c Date: Tue, 16 Aug 2022 20:55:24 +0800 Message-Id: <20220816125526.2978895-6-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220816125526.2978895-1-peng.fan@oss.nxp.com> References: <20220816125526.2978895-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SG2PR01CA0128.apcprd01.prod.exchangelabs.com (2603:1096:4:40::32) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e5f175f8-7a0e-453a-33a5-08da7f866bed X-MS-TrafficTypeDiagnostic: DB7PR04MB4060:EE_ X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: iHYFxd31K+qfoYaCKbrUDNFVKa9CgLxklWppw2PS6AiqgEl+JzIPsH5m6+bFQ9UeEYcZRSgrdkrq5gWx8VibnB1nC5p1yK12DgZRTdhpNxWAKhdm4bKKVPH/t2DODb3A+KXE0oEE81bRmZb7WJF/29YYDWqdWL6Yqgu9zsEoH+O73BcRmN6w/zhM/Nmv6LWgiXhKppb/USzXKZIx3hXIgeWluKgkqzx2etXPayf/qRAhLEOicOaRoKiLh0/z4EXyJ4XwEpBvRvhvgu658GmGsvO3bD5vL2VTHaDErUHlDxIpiE9/C7gTUMOeoXzMIV/kPWv2V0Amsyc6NSMnj5TSb9qTkM3UFTT4/RuX+z4mOTI+1adLZNhByichqgj+CRvK5UiLtzGYm5/ptwmI99C0DYIsIRVj71uY9gHUy8UA04npK3cX0qxuCffy4qMk/dEXoI9a4gG81oRBgAbxlpeFtc2jmEpisuuhnuGK0jSxEznGmJyzGB7cklPypqEW3f1FnoAqP9F3aT7VFzaYKDXZ4a0VKz0mF+O7hZSwxL+POpWfBsf13h/pbeLkhngBFPxmSt6r8vEuokiqJ9893wZNMnhR04B9WVR6DS0lfwgyrSNBegWCFhpzyYAIOVVWY19ShNbINvIJG/KWHLCYlVYZqxqMeMV8O2iP6/gOjx/MHnbD1BsgLaXsiMmlKAzvjRKmn4073a4ZiCGml5tEQP5S0u4B6OcvEbcEVm6te3T9bFXy7wDqV0L3vEcSfXr+tVCKpEY0rWIQxRHzxfJoCRfGI4bj3ZZdAZLa/bvr/pMTV6pVceuKUR2ZpYYqvhDGoV2b X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU0PR04MB9417.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(366004)(346002)(376002)(136003)(39860400002)(396003)(26005)(52116002)(186003)(1076003)(2616005)(5660300002)(7416002)(8936002)(6506007)(6512007)(6666004)(41300700001)(6486002)(478600001)(86362001)(83380400001)(316002)(2906002)(38100700002)(38350700002)(66476007)(4326008)(66556008)(66946007)(8676002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: /8JmsBYqNwvJVflWxcJVX48lG7CdwmqPUQt4sTikj4YynO1Fvs+Fznd6mUgHoxxPM7chCro56Tq273rPrka3ewJR7N87uEFMo+Lw8XxP8nCu97k92/eSsPk2rKQljWejYcdIth72i7nwsLvJZQwJhdtz7OWw/YSuxHZnyxuxmjDA3EFx5jSHNZ3r6F+m8sCRESyE4a7i3xM4L2YNGRSM/arw4uEbFzK2mI/xpDfhCqSXecqGQbapvQoUGrvpYx1TnD2r+OhKzshX2rW8rCpgweial45dopNoIsL1nNxmwHldVsAcXnplm21YLEZPZJA9o/C2x9D5sj1kPa1ywqkaGAcIvu9j8ikq46GM8myu40cm49gWiuJfRyupF6EPT6CsI/l7hRQOs3vSPFS7mmfzh/oblWG9GHv+tMKL68B3gEg42tkzlkBrybCZSLHkraE7fTkgO61KsGJlUFAaDf6go/N0Efml7vs/ZratlSuuBPj7ZSEAWAOArSyFDOFTwBk5k6RzKBHh6m8lT2te+65xZf8pLAhWKPgVyB/9OTJ1reFUYhEIPo0zX+Msq9C2m9SCxBoBW1nAm5Hyl7tLFdvL7MUQt0JoLGi3IZG3D38B5RlsH8/RRek4xND95SHJNSQhebATYxlImi5nswgQsJ4PT+Objxoeiex9jKLOxOhltIS8bDqiq+KsYsJP+DolTZ4eIIHq1NP+11xDlqfir/Vu5K+RISCwbJo5KZG9G5Ds2yrAUCs61cR/eN31VPsZGsURtskrNMLDury7Cpk42F4DkfSOcok//+QI8nvjCTa+FLS/rKCcwGWNJEvL3iPDKP0O4e+EiW7P7sYNW5MgI8dmMqfYrEmCO1h/p9gidR0Nk9Kax0f30D8md8NkR0c6RR4DekTNHELqoHbhsWpUdHwb/9B/69MIkmz9/nNfZYEvDIvqaWIXdNpdaSBuo7v+oUAuJT45otoMwcqxIOtqXfvXONMgtsv25vjUfvVh3RN8fjMT/N6InXC1aL075bMsIjVx5/RALNVTTHWTRZt8RL7Yfr4kAoebI52SJfyFS9jg84QvpSs97StG4egTd4KdH4xLuQdmeTAUDkb8LgtBxxBvjxxaVow04jPrxsys69D24NUDNae6hItJ9/FfknOVFBz2wB+2LHveF61VXZ6VBv9lwZVsR49RBLpVYkXOdxXTr1gwo0mYlGyfUWxGpAoppAGf6MBm5JO+cOkxWMGeYzCm17EBGrDK8/xLQP/wxw1nUyGPnKjpIRcurSe2AXa2BK0cI6A6b8FLYFeoYVO+l/SItOzXo46yd8V50e2EjSDQF7KDbJM02PkGvssCPKEvRfG9VGvMev7/v/Ezo3B3rKJSEJvN7i1uQb0KB19nHHzIMVJGxpOtzvRbUlgZZgHCWvWWEM9EUeC4Q+RGSh5eLYqLvxf7EtnWJsXXiMraKIgWI0dU8u1+XMLzTuJ3PY8cOSz9AYeQ1NDE1DPJ/hQ3fkAHPyOYwVATojkOfUnKxRUNFa2gjY+GZ6c029JtayQTJU4Xyn4qDaAzOZsITRhmUggxIOxdFJiQc6ZX3BaCvQQliuZJslQpEXacYmC3JzbEgKKX X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e5f175f8-7a0e-453a-33a5-08da7f866bed X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Aug 2022 12:54:14.2523 (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: s4j4Pn6awbrYJ+Np/RfuzBpT99FQJCPZQl89ZYF/k7htwDIieRSTazEMBUeVYvTkwyiNLvmC0hRIjaVaWAu0tA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4060 Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org From: Peng Fan i.MX8 LPI2C requires both PER and IPG clock, so add the missed IPG clk. Signed-off-by: Peng Fan --- .../arm64/boot/dts/freescale/imx8-ss-dma.dtsi | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi b/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi index 960a802b8b6e..d7b4229bb4a2 100644 --- a/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi @@ -111,8 +111,9 @@ uart3_lpcg: clock-controller@5a490000 { i2c0: i2c@5a800000 { reg = <0x5a800000 0x4000>; interrupts = ; - clocks = <&i2c0_lpcg IMX_LPCG_CLK_0>; - clock-names = "per"; + clocks = <&i2c0_lpcg IMX_LPCG_CLK_0>, + <&i2c0_lpcg IMX_LPCG_CLK_4>; + clock-names = "per", "ipg"; assigned-clocks = <&clk IMX_SC_R_I2C_0 IMX_SC_PM_CLK_PER>; assigned-clock-rates = <24000000>; power-domains = <&pd IMX_SC_R_I2C_0>; @@ -122,8 +123,9 @@ i2c0: i2c@5a800000 { i2c1: i2c@5a810000 { reg = <0x5a810000 0x4000>; interrupts = ; - clocks = <&i2c1_lpcg IMX_LPCG_CLK_0>; - clock-names = "per"; + clocks = <&i2c1_lpcg IMX_LPCG_CLK_0>, + <&i2c1_lpcg IMX_LPCG_CLK_4>; + clock-names = "per", "ipg"; assigned-clocks = <&clk IMX_SC_R_I2C_1 IMX_SC_PM_CLK_PER>; assigned-clock-rates = <24000000>; power-domains = <&pd IMX_SC_R_I2C_1>; @@ -133,8 +135,9 @@ i2c1: i2c@5a810000 { i2c2: i2c@5a820000 { reg = <0x5a820000 0x4000>; interrupts = ; - clocks = <&i2c2_lpcg IMX_LPCG_CLK_0>; - clock-names = "per"; + clocks = <&i2c2_lpcg IMX_LPCG_CLK_0>, + <&i2c2_lpcg IMX_LPCG_CLK_4>; + clock-names = "per", "ipg"; assigned-clocks = <&clk IMX_SC_R_I2C_2 IMX_SC_PM_CLK_PER>; assigned-clock-rates = <24000000>; power-domains = <&pd IMX_SC_R_I2C_2>; @@ -144,8 +147,9 @@ i2c2: i2c@5a820000 { i2c3: i2c@5a830000 { reg = <0x5a830000 0x4000>; interrupts = ; - clocks = <&i2c3_lpcg IMX_LPCG_CLK_0>; - clock-names = "per"; + clocks = <&i2c3_lpcg IMX_LPCG_CLK_0>, + <&i2c3_lpcg IMX_LPCG_CLK_4>; + clock-names = "per", "ipg"; assigned-clocks = <&clk IMX_SC_R_I2C_3 IMX_SC_PM_CLK_PER>; assigned-clock-rates = <24000000>; power-domains = <&pd IMX_SC_R_I2C_3>; From patchwork Tue Aug 16 12:55:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 597724 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 83933C25B0E for ; Tue, 16 Aug 2022 12:54:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233448AbiHPMyx (ORCPT ); Tue, 16 Aug 2022 08:54:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232353AbiHPMyd (ORCPT ); Tue, 16 Aug 2022 08:54:33 -0400 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2046.outbound.protection.outlook.com [40.107.104.46]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7A6274CF7; Tue, 16 Aug 2022 05:54:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=E0A10yGGHWw2weUptY2rTUDeBdVPTpnfWqYcHX/GIKbv4Rx5uOjczK74rh677+Vvy1zeMtq4WKpfXmjH2MS08EDSkxIdxFE4BSfgE6f6MAn8d6aHnSS5pdALxE7b5ZodnPUMpLCgsw7nkGCbnLHbhHN/osW6zCNW/a+YMh43OBQcMbmv2ti35gf9bZQm0GGyHFoyueiLtqwJEknY2YI0aqTNMTnYR/i/mRQmAZRFinnBW7kiHfooaJGLAmTn7dlRfP+MgJFkYISbVv9EOv4iSGzMsNcGcen0MqeTTAaYyFXzCqzs2OYKOynEiYOiJc1qFJr106u+nUM2ll6XSZXBLQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=IaIWqxWtiremPooqsfwC4PFoBs05rrYbVpTN2pUdpWU=; b=k+0YCmovF+rd+8zz9l/i2yfesrDa8A7t9GFeK5oxt3nW3+D/1E8ga3GJhgE/i3MrCCIRHAE00tH3tTDVDQYDKUO6n38h90WM85HFehub+5eXLo1PIzrUBOz8GKobjU3mDhG5smfOsulAfop/efH0YakHivyxpHBTFPwwX8sTwVNrozK68Ue1bz1ZGHQAphXAeU21mry00FhXEVdHm7EF7xLab+oCouVeKTa1a0m3sNXHbnPTxlr5nuCgKH91dr85+K9HGZCa6ImQRG1phWmMSwwwOa25ZFUVpTiBIY2MzVqiN9UKOZV6FRXJnQzwaMZdoJvlL5KzAPFQK7yACGGOzw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IaIWqxWtiremPooqsfwC4PFoBs05rrYbVpTN2pUdpWU=; b=e5R0ZQbRyiWcGnE1+R5R46LipdIfyVLVQxN7xr+5sNlGKJsJlLE6Pa5j1trGZSENEeUy8FBxvExf9nevo9GJJ+BTWwycof7aHobrzaEq/sEDBFg3DvXCW4cZlYbEo/uNuvOtWmau+e9lvCcP3cQhDep06QmJY3o5mCCpaGETQ9c= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by DB7PR04MB4060.eurprd04.prod.outlook.com (2603:10a6:5:23::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.28; Tue, 16 Aug 2022 12:54:18 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::3c6c:b7e6:a93d:d442]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::3c6c:b7e6:a93d:d442%4]) with mapi id 15.20.5525.011; Tue, 16 Aug 2022 12:54:18 +0000 From: "Peng Fan (OSS)" To: aisheng.dong@nxp.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, xiaoning.wang@nxp.com, Peng Fan Subject: [PATCH V2 6/7] ARM: dts: imx7ulp: Add IPG clock for lpi2c Date: Tue, 16 Aug 2022 20:55:25 +0800 Message-Id: <20220816125526.2978895-7-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220816125526.2978895-1-peng.fan@oss.nxp.com> References: <20220816125526.2978895-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SG2PR01CA0128.apcprd01.prod.exchangelabs.com (2603:1096:4:40::32) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3be4539b-d190-466b-bc5a-08da7f866e86 X-MS-TrafficTypeDiagnostic: DB7PR04MB4060:EE_ X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 00aH/gG2Ixfjs607EEwRFR2LVe3extQtsgAjejhWGmPUaeA1buSergqnvLnPdXSjzeXRjHoQq+vx6PZQOwFr7PPAHuNdHvrHUnAbnleO08ztgbvxe+FxTGDCfpYSltKgsP2Uj+RiEhGkODRg/OPLc2fxTexIe5cX1m0OEV5xix61Rz3g0YYMDnax+5ksvl8XzAmWPZS8PQvBZBiQcss/u/CJQIuRExdfAfRp+ulQam2DG832sy56uYrfDQCA+doZtJ6rW3wCfUp5t5bMKokLbdkdKwZWBTcSdb3p6MRbtZbcgxCRc0+1Qr8ZCB7iYAHiFQ2cLnlnERO0Lyt4uKKRKyQ3g8Pu8piabq9P3wUAK42hHGahYeSykP9z2nlYxJv1XrK6jzQKqAgVT4BXwoHEYn4mvhdHJ5ycWaKSSUOZIouAb7cHvWNLW1WT25Mhg14YI3VHSTsMTxqpFwol6iu23gYzlhVZlqLVJ1kASGpj703uT3ba7wwoVHpv9TZryZUpiMLuGHKQw/eEsW7Yxc6bsH4VRm6b7qKDxhQ9g1QuG57Lc5t1sAc5KJ5WyfopDdUrhurmHLZYBjrxXzsicWlDUjYKffO+0RDhuE6MfN48uElJuI69Qxt3P2X/18iSda337CDn5PX+w++xGT2H4Wi3SOeNeAVJP12A5C1tbMKoqLx+pbxllu29p+09urJ6ZGLe3uHsTZBJdRR2sBBHTQNjSHK4eqQsCSj1HCqKaqKj3Vvx6L4Eg7tWMygKk9bZNm6KoQv+n1JTOzeLOv9kRGkXhAibTat9tsZAdMF7qtLpIUBAcWF1eyjcavBKx5WOv0jP X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU0PR04MB9417.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(366004)(346002)(376002)(136003)(39860400002)(396003)(26005)(52116002)(186003)(1076003)(2616005)(5660300002)(7416002)(8936002)(6506007)(6512007)(6666004)(41300700001)(6486002)(478600001)(86362001)(83380400001)(316002)(2906002)(38100700002)(38350700002)(66476007)(4326008)(66556008)(66946007)(8676002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: PkIFiJ6Aipr7WNlGDVXYlonofIlRC2sMsQ99MkhtZoQwyV4+YgoFrMyVwkFT77JuvwuUZFiFrsfnfpchfJUnvJZSui2xPuyQi044CMIuS2l6xNzqopeQNPaXQSljW722O6E6A6LZHrLtlnG601iFCPr5woyqOb6eL7JbwQ+1I0IOUp+Lk4U1hoCvwETTRKaP8OPvOuBEmry4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7gP7Mdo0jFtpjLS7hcpkgDljl4PNbKJR9hrwjF4+O8XFVwLhk8/sH9/B9gb5Hq6H+nP0PNHbC0g6plA9EjRCQ+gZGwmGMxt83GfFrc5vjDstRD3bU2Rw+5zOU4+tNtFCNEV/qQfGCw/wb/Yx80iRsyZPem6AnFntImLSQYr9gchJl8mFCO0UkvR2xvl+fa4CKcMuHJLheHjTKWEqkCjA9SYGQqvABHnyDJOdfk9xJDVaHcQke57Vgo/tK27ERWVtVBVVMpva1XmZt7loq89wvSpEvRDcKQxnqfzdwKTZyDwGUdlNYyXxS6wUNAiEqRCgCCtDLilg X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3be4539b-d190-466b-bc5a-08da7f866e86 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Aug 2022 12:54:18.4890 (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: Fz7Zy1E2BKlghuIUOToTAgwE9hLO/EcNG1SnTD9CnitnefIFCV8fWnQvjRLSLF9YViKjPcuRP21Z5dSMzDur7g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4060 Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org From: Peng Fan LPI2C requires two clocks, add the missed IPG clock. Signed-off-by: Peng Fan --- arch/arm/boot/dts/imx7ulp.dtsi | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/imx7ulp.dtsi b/arch/arm/boot/dts/imx7ulp.dtsi index 9c7abec90a89..7f7d2d5122fb 100644 --- a/arch/arm/boot/dts/imx7ulp.dtsi +++ b/arch/arm/boot/dts/imx7ulp.dtsi @@ -328,8 +328,9 @@ lpi2c6: i2c@40a40000 { compatible = "fsl,imx7ulp-lpi2c"; reg = <0x40a40000 0x10000>; interrupts = ; - clocks = <&pcc3 IMX7ULP_CLK_LPI2C6>; - clock-names = "per"; + clocks = <&pcc3 IMX7ULP_CLK_LPI2C6>, + <&scg1 IMX7ULP_CLK_NIC1_BUS_DIV>; + clock-names = "per", "ipg"; assigned-clocks = <&pcc3 IMX7ULP_CLK_LPI2C6>; assigned-clock-parents = <&scg1 IMX7ULP_CLK_FIRC>; assigned-clock-rates = <48000000>; @@ -340,8 +341,9 @@ lpi2c7: i2c@40a50000 { compatible = "fsl,imx7ulp-lpi2c"; reg = <0x40a50000 0x10000>; interrupts = ; - clocks = <&pcc3 IMX7ULP_CLK_LPI2C7>; - clock-names = "per"; + clocks = <&pcc3 IMX7ULP_CLK_LPI2C7>, + <&scg1 IMX7ULP_CLK_NIC1_BUS_DIV>; + clock-names = "per", "ipg"; assigned-clocks = <&pcc3 IMX7ULP_CLK_LPI2C7>; assigned-clock-parents = <&scg1 IMX7ULP_CLK_FIRC>; assigned-clock-rates = <48000000>; From patchwork Tue Aug 16 12:55:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 598322 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7832CC2BB41 for ; Tue, 16 Aug 2022 12:55:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233906AbiHPMzR (ORCPT ); Tue, 16 Aug 2022 08:55:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234897AbiHPMyt (ORCPT ); Tue, 16 Aug 2022 08:54:49 -0400 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2043.outbound.protection.outlook.com [40.107.104.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27D8379686; Tue, 16 Aug 2022 05:54:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O765fRT0zzLLzK45Cpn6GWnR8u8Ga/Jb7pO6ZBuyYvnnbfMY9utLfYeANyjMM8gALP6gIamIEgKy4RasNQje5fVennD4byw6or+iaO6hTeE21dPCK4jqpYSeU/5RxeWIyp1IVF6BqGgjUjtUmWgk0q/2F/mKi2GpB/kb714Zyypm/GWcafiidnlg6OAYRQBS5uHChxbTwHfhfRmMAA8nh9noQbp5GCXaSHOkvFrrOeMwGlX32/gla9AF8Z5fapBYTx6uuJlB0uFwFUeiIPusGKHv7M0vvrV3N33RvD7PkiFUWv96V4tHwbtZD5CRksgwnmDEUDVlSlZhGGN5ssPSQg== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=13xC/FLAgjMG4RnHFo4wqFkUuoylu9YQ8xGdgGpvQCc=; b=XzqelBnAGnEksFiw/DQZuAPyJr/dupveA/zWD313PrjkJrgltxx4EQh9IVoMIfWQTz32h0b41ZUSF8UtgTXEhDpVd/jWmNgV7Dw/XshsJ9b7qJEsKQEdI3s0N1RYjofeyxFUFlC4vsEmDHES3AHv5q0M8DXYDb1DcKvBQp5fr7gGpLBL5dLg9Y5HVMHu0js/xbHctLVfeM8Y+J9ZYZKgnpA8WSNY6ZkJQKozEH0gLx/CCdiIxQ7pXZ7+77ip8hkJ09GeIVidqpeifW4Lhdb/9eHFmNiT6Q/SVxTWb95wL4I/8/ScdSt5poUP9/OGGyq1tlSatAHzjiNrZe6CSs6x3Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=13xC/FLAgjMG4RnHFo4wqFkUuoylu9YQ8xGdgGpvQCc=; b=gTwW7QMl2A0zSdgut6PFGX/K2lXpO2VhH31Jy5h9dhzzvgp6c1PWBS+pbxCMkbB3spTl/dDwtjaxcv0cYK91bA2FWUOY9tre76f7kG/az1bSbUox2XgfwIUyiDMpISOEtJgRUvyyBN2hUF82H9kLN6wZbMcZt+W+Yex+2l1gKTY= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by DB7PR04MB4060.eurprd04.prod.outlook.com (2603:10a6:5:23::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.28; Tue, 16 Aug 2022 12:54:22 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::3c6c:b7e6:a93d:d442]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::3c6c:b7e6:a93d:d442%4]) with mapi id 15.20.5525.011; Tue, 16 Aug 2022 12:54:22 +0000 From: "Peng Fan (OSS)" To: aisheng.dong@nxp.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, xiaoning.wang@nxp.com, Peng Fan Subject: [PATCH V2 7/7] i2c: imx-lpi2c: use bulk clk API Date: Tue, 16 Aug 2022 20:55:26 +0800 Message-Id: <20220816125526.2978895-8-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220816125526.2978895-1-peng.fan@oss.nxp.com> References: <20220816125526.2978895-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SG2PR01CA0128.apcprd01.prod.exchangelabs.com (2603:1096:4:40::32) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 527366ed-cb97-47cf-5c62-08da7f86710f X-MS-TrafficTypeDiagnostic: DB7PR04MB4060:EE_ X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yhsIcccT+sSNZ5k24PAAyjX3Jovx30AxA1ejZzX8uoscYkx9dDvFTyKyR6rEo9Aed92JgudAHXfFxbdFvs2MGrlS9fQuqAM0kfWje7XHwhCHy5gvKeJ2f+fL0iprFMkcnPZBFOAXBZnD6fG/w/K9GaNIgbsIZ/YKwIg/RCg7Z4AxNXbKGjv9J8Kii0NMp3qpAAumAG7RKMEdE9At9L59nRJNheRJ5TBpsVoEQbURwHtL0cvJVlBayNQS59AR6HhxpyyFm3W09n81kXqFN1G2beIeiVtCf0Dj4P30HgzvrYrdTMB49wDD6pGdIpCF6XLb+f/JyQzJi39LLHHazxnZoXxUdmjKGke5xzFftlllgYLlkoMDTjLYXmTkV5A6GNNpCRnY0lNlceZoMk4ShHkTyTg0fgIME5YSS+R0+zm2a44l59KnRpXwuVLzEUjrqomZU1TTkOS0ctu8kSecXVDiwHIDw76OnhDtKvjp9N8RT5qh25WPkrWZEDj6RvRRGHkRlkqAnu3qxFEmZ8DTmKl8El6CLczBY+N3o5KvpQYHHpy7sPyIySnNhx2YD+4VQOwSNmVljeycZ0PzKK0L1QkzlnFDSKuYHzw2TNAOh4Ow0wp2CYhnsuHXnv+vGK2xK9BKhRDvi7peWfBKNth3n7dxKRkC2UVbXaYRZ+eJmPKWTTbkAd6SVI5YPeNc9q3HuuG5+F4BUdcsCOc3QA/WLH/h3HFjZ7JJ2ypeFpuek63MyUjQ7UuD/NEHF9h2dI+NQqUzc8Tlk8wEIJf0xFrkm3MGCRgl43pY8+/wGGPSXeHZdRZ5L35srE6hz+niQQp84xlB X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU0PR04MB9417.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(366004)(346002)(376002)(136003)(39860400002)(396003)(26005)(52116002)(186003)(1076003)(2616005)(5660300002)(7416002)(8936002)(6506007)(6512007)(41300700001)(6486002)(478600001)(86362001)(83380400001)(316002)(2906002)(38100700002)(38350700002)(66476007)(4326008)(66556008)(66946007)(8676002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Jd88vxQKZ8lqgdgOToGetHqwNReerEJ8KVWhs83Qv5CZ1PxXhUsDBj7vGEOhxbfShfI34E8qZ8WdGKjtP/tqWeQ/rXX8BgDlfwyvFH1kYFuShDcKv9JFnFuHBVYqkxJGbo5HaoEST3z4Yxkg2Vp5djWDq6NxpIg4oj9Lf5cib5m52CqqAJhb/07zJsvyb2FnAOXb1Pg/ekgnI71kp+3U5RYSfS6bw7GcAeF2wPRofpHSH8GPTBr1Ivf4u/0TvxOujgGQuInLZGeU+Z1vdAQiwooG1O36/Nk+FnJykbtc1RM9dsbliOY0BqC6JBL3irufQDFCz6t4GN9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NtfRAyY+RiaczhC+hDls+P/Cu0eIudi9IpsRyi5x5PbqBvLOV9wNw+5z4JRDRQpqmaL5MMMMBcGCGpPV2tqhl59F/M4mv5Tp+rtI9kDMVfZvOXkkx+Kg+RsluzHMNsmNz24eSw35LOyEcDUA3D2WlVMtH0QzPsS7ThLMVwSzm3YAGI/a1V9D+sSMcE9UvhUhaaDLwmXbb X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 527366ed-cb97-47cf-5c62-08da7f86710f X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Aug 2022 12:54:22.8335 (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: nnWSAwdOvwQdonEPOqX9D0GluO5H96Mq0MkIdQw74aIo4YBV17lOoXkJz3hWy23T2UK7yHGchBKkMGQP9EfxnQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4060 Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org From: Peng Fan The current driver only support one clock, however LPI2C requires two clocks: PER and IPG. To make sure old dts could work with newer kernel, use bulk clk API. Signed-off-by: Peng Fan --- drivers/i2c/busses/i2c-imx-lpi2c.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/i2c/busses/i2c-imx-lpi2c.c b/drivers/i2c/busses/i2c-imx-lpi2c.c index b51ab3cad2b1..159c2dc792b1 100644 --- a/drivers/i2c/busses/i2c-imx-lpi2c.c +++ b/drivers/i2c/busses/i2c-imx-lpi2c.c @@ -94,7 +94,8 @@ enum lpi2c_imx_pincfg { struct lpi2c_imx_struct { struct i2c_adapter adapter; - struct clk *clk; + int num_clks; + struct clk_bulk_data *clks; void __iomem *base; __u8 *rx_buf; __u8 *tx_buf; @@ -207,7 +208,7 @@ static int lpi2c_imx_config(struct lpi2c_imx_struct *lpi2c_imx) lpi2c_imx_set_mode(lpi2c_imx); - clk_rate = clk_get_rate(lpi2c_imx->clk); + clk_rate = clk_get_rate(lpi2c_imx->clks[0].clk); if (lpi2c_imx->mode == HS || lpi2c_imx->mode == ULTRA_FAST) filt = 0; else @@ -561,11 +562,12 @@ static int lpi2c_imx_probe(struct platform_device *pdev) strscpy(lpi2c_imx->adapter.name, pdev->name, sizeof(lpi2c_imx->adapter.name)); - lpi2c_imx->clk = devm_clk_get(&pdev->dev, NULL); - if (IS_ERR(lpi2c_imx->clk)) { - dev_err(&pdev->dev, "can't get I2C peripheral clock\n"); - return PTR_ERR(lpi2c_imx->clk); + ret = devm_clk_bulk_get_all(&pdev->dev, &lpi2c_imx->clks); + if (ret < 0) { + dev_err(&pdev->dev, "can't get I2C peripheral clock, ret=%d\n", ret); + return ret; } + lpi2c_imx->num_clks = ret; ret = of_property_read_u32(pdev->dev.of_node, "clock-frequency", &lpi2c_imx->bitrate); @@ -582,11 +584,9 @@ static int lpi2c_imx_probe(struct platform_device *pdev) i2c_set_adapdata(&lpi2c_imx->adapter, lpi2c_imx); platform_set_drvdata(pdev, lpi2c_imx); - ret = clk_prepare_enable(lpi2c_imx->clk); - if (ret) { - dev_err(&pdev->dev, "clk enable failed %d\n", ret); + ret = clk_bulk_prepare_enable(lpi2c_imx->num_clks, lpi2c_imx->clks); + if (ret) return ret; - } pm_runtime_set_autosuspend_delay(&pdev->dev, I2C_PM_TIMEOUT); pm_runtime_use_autosuspend(&pdev->dev); @@ -633,7 +633,7 @@ static int __maybe_unused lpi2c_runtime_suspend(struct device *dev) { struct lpi2c_imx_struct *lpi2c_imx = dev_get_drvdata(dev); - clk_disable_unprepare(lpi2c_imx->clk); + clk_bulk_disable(lpi2c_imx->num_clks, lpi2c_imx->clks); pinctrl_pm_select_sleep_state(dev); return 0; @@ -645,7 +645,7 @@ static int __maybe_unused lpi2c_runtime_resume(struct device *dev) int ret; pinctrl_pm_select_default_state(dev); - ret = clk_prepare_enable(lpi2c_imx->clk); + ret = clk_bulk_prepare_enable(lpi2c_imx->num_clks, lpi2c_imx->clks); if (ret) { dev_err(dev, "failed to enable I2C clock, ret=%d\n", ret); return ret;