From patchwork Tue Apr 6 11:32:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Clark Wang X-Patchwork-Id: 12184959 Return-Path: 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=unavailable 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 53C99C433B4 for ; Tue, 6 Apr 2021 11:36:34 +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 299BE61396 for ; Tue, 6 Apr 2021 11:36:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 299BE61396 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=GMJtZGZql4eZeyltbGnlU01m+OqjCEer1XfbvsPyDLk=; b=HHrDkpm0uH1Ws96rFaFEMvt1x E5VhG5Gilw16aq8hXjA1D383wx1w0dYdCFzYgE/Tg0+KBPyMoBG8tdMrbJi7S//Uw+hiGyUI0zAPb qGHCCQbNBn5+IjnDwH5SLeGzg0wD6gus7yUDzuTVXOeL6d0XYPqZaMceOM8Rw9KMLNS1SaUjftmaF OiHgFMMeF3uimqLY1UDEA2de/heTNlYLiKZODLKF2xpq+0JdiG31lAnjnXqMTRxSE4CYs13yqPnhb 3yS0YwRIw7KkapjUW+TFZpo/8yWdORcsH2GfQjU1BqrNLcBMCNq46EypCRTmCOcvdtjkeqiws/MrU IP2hGKvcw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lTjyk-002LOi-9m; Tue, 06 Apr 2021 11:34:43 +0000 Received: from mail-db8eur05on2071.outbound.protection.outlook.com ([40.107.20.71] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lTjxN-002KnI-5C for linux-arm-kernel@lists.infradead.org; Tue, 06 Apr 2021 11:33:19 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hQO151/Strx4/a+48DrbJdmsp7wrdnOCBt47NBRRk0A+NwRd91gHnV81pZO9p3BfnxdTP81XgzKEKr+tLatxrRPvUOjtl+4bG3oTA23Kkqv7RZbHnSG1t7LVmc3gdlXrx+rhR/638zQNdwyMq4XIiSyx0lzthjmheZ9YeUZ50l4LvkyWpXZE4PGWrUahGwZ5nvWV9bWotjLyYINMr4nUqYcPZwkyNNt92pvt7b9THpxQcL4L9PnQbLFqXsFP+TDmtOeLwm19xpjlagawqc1H3m3QpK43EAvCVHQx4iNZDnSKHUdaVLk5K6pUNDT1fyWTfwtOYz8KcJLOz8KNNrbaXQ== 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=CILmh6SUfQdYNkpp3k7X05hN6ybufc/pGlh6OBBbDY0=; b=MgqJK7YJ5aZHF0z1uKbWgtkJ35Ev7JcL2kF9bFWRt727y3AnikN9MmxuBEJe1Et22jwyr8iZtCgnUrUY4Y8Tfr57vbnuUgCQm3UjUIPBO6bOCd5bk5xtSqByOw5x9HqJADRviFa8UFoOiLc+QUOX+1m9MQ6mcreVt2Vfn7gVscZGYjMJob940ktPxbq2/IdgiZagTdXtMcP1P+yC2leXOArkCHePDuENDQCppHpRT1VYohELYTVr7zZacIuJNT1eBa/3l8bPowk1QWIuQweX+FxhrQ7lPErstnGF8uD3aOk5/BECMrs1/tYfc7feFboggZ5MQOR0GO1RvAx3cwRhrw== 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=CILmh6SUfQdYNkpp3k7X05hN6ybufc/pGlh6OBBbDY0=; b=rqsRHhr1ygghZMxmBDDZzYyT6yS4LvzuEHvQW5xNOgyP2DuBJEPRkPk8cfPnbbpRu9oME8W+PEAAXnEjFAwpKBaOK1a8CZnDtIkY7MJdfnWt1ZvNZUEsZjhzYCMI4pPNXfqqn2U54dtm3hDIX+yaSqlieua8jxU2ipOZsuaU2iU= 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 AM6PR0402MB3765.eurprd04.prod.outlook.com (2603:10a6:209:19::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.32; Tue, 6 Apr 2021 11:33:14 +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:14 +0000 From: Clark Wang 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 05/18] ARM64: dts: imx8: add the missing lpi2c ipg clock Date: Tue, 6 Apr 2021 19:32:53 +0800 Message-Id: <20210406113306.2633595-6-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:11 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7dae9f5c-f9e4-4f75-c586-08d8f8efc43f X-MS-TrafficTypeDiagnostic: AM6PR0402MB3765: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3826; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: t0jyRl75Vk1pXLOchmQMLRZEGN1VrMMlwykwHzeBbrtRN8ILrTrr7de5JMu8M+KMohYEikBN9HgbRG0aVbWGC+VvjMO8DT1HN+XgE1PUSbY1DyIsZtmYNMUl76dr2q2U5oPpcUbN9+2b6W4Ey1QrmRsIQY8g+F1dmKBq2lxDU9qVT47y388osyEDurRcaf/dr90XvLr1fA4lp5emIeuYqPO47m41+nlcZPaQb3nG2uHXLi9/1L0N8vhvZTwdeRX0OAZhTE44B4b6uK3I9bLIHXnJhi6VEx5T3lFLgy8wTtZrseJapox8Sui4/ma+CcYSxb6fG1pg/gaSPoypIXSQZnLlmi8n5kpT5h4GOfuzBxzRab3mp0ZSIJJvJ3MmYAJv1RbyB1GwNx/Sqpa0aPTvoLQVY+yWn27c3qpZWQPRlGht4L5cIi3NuEvlCPnwdzbfH/8iWIWvElVRuCtcEMsEGXhrn2fR7J9IV9QJHkT9Sag7lSaZ5gxMf9DVK7vYDWXipXCyMmcecBzRdAQ/NTH2vWSEsZ7ZcW+ipuheemplAN9EwXFshMYjGbJfDZWvFypzQZ+DDvMvVBWUMcyeVsXorVoplaY+vt3l/kAxBBFFb1zmP6mFT4eLlCGxh7VZTvcHIYXhgRuOgn8XqTUgCRd+kLBYoRvA4ohWtx/E3E7K8czN8rb3NDM7qmQxWpChkhoFF3TKQrp66W3bURNd3b4SKA== 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)(69590400012)(66946007)(36756003)(6666004)(38350700001)(66476007)(66556008)(498600001)(83380400001)(52116002)(1076003)(26005)(38100700001)(4326008)(956004)(16526019)(2616005)(186003)(86362001)(6506007)(6512007)(2906002)(6486002)(8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6tHoLucG46+pdyHkaHYHCXGtuntviVOqCXOs8wkMm8EAW8QU2tysYjcIFPe/C617c5TQUwj2PJmKra5HGkynUOkUNMg86q+CkRXOlc3brCS43kTAHQIFgNz4sN8agLUeWq91a5vU2HwM7H51tl5I0GJk4q52xDNxmFAceDt9nfMeufV/N3X+aE0VXqfjVWIYgPQ6YmlvHoIyXvyBZblX2yiKmL3iHi3NUPxq4sdqPeHIkze1AA6dwfVajl9+HDZgBHDZDlGTxEplXW2KAg5gz/pqdzQ2lbHKhGL6Jazv8ZsmcnjHus/CRVdC+tjcAt X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7dae9f5c-f9e4-4f75-c586-08d8f8efc43f 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:14.8319 (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: KIFRwyyNUXQxnwb0Eimi7VnvtixohctDi2CyRX1+aBp3UuO1E4EhIJEC21sKvY5X1dc5qgaSb73mdfZHD01gvw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR0402MB3765 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210406_123317_322929_39FCAB6B X-CRM114-Status: GOOD ( 10.30 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The lpi2c driver has add the missing ipg clock. So add the ipg clock here for all lpi2c nodes. Signed-off-by: Clark Wang --- V2 changes: - New patch added in V2 --- .../arm64/boot/dts/freescale/imx8-ss-dma.dtsi | 24 ++++++++++++------- 1 file changed, 16 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..b5ed12a06538 100644 --- a/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi @@ -111,8 +111,10 @@ uart3_lpcg: clock-controller@5a490000 { i2c0: i2c@5a800000 { reg = <0x5a800000 0x4000>; interrupts = ; - clocks = <&i2c0_lpcg IMX_LPCG_CLK_0>; - clock-names = "per"; + interrupt-parent = <&gic>; + 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 +124,10 @@ i2c0: i2c@5a800000 { i2c1: i2c@5a810000 { reg = <0x5a810000 0x4000>; interrupts = ; - clocks = <&i2c1_lpcg IMX_LPCG_CLK_0>; - clock-names = "per"; + interrupt-parent = <&gic>; + 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 +137,10 @@ i2c1: i2c@5a810000 { i2c2: i2c@5a820000 { reg = <0x5a820000 0x4000>; interrupts = ; - clocks = <&i2c2_lpcg IMX_LPCG_CLK_0>; - clock-names = "per"; + interrupt-parent = <&gic>; + 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 +150,10 @@ i2c2: i2c@5a820000 { i2c3: i2c@5a830000 { reg = <0x5a830000 0x4000>; interrupts = ; - clocks = <&i2c3_lpcg IMX_LPCG_CLK_0>; - clock-names = "per"; + interrupt-parent = <&gic>; + 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>;