From patchwork Fri Aug 12 07:46:03 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: 12941986 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D9D55C00140 for ; Fri, 12 Aug 2022 07:46:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; 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=AvX/BTRTsZ5pfLFslVUZyQGryDmA5XZz3mOuH8pU1io=; b=yUJIAUs68SSOD7 J/kpE4Bb+bL2fYulaEifE5g+R2A4zNu45GMIgywuwAwO/pu/C8as7uXmhBxhxOCXNsfVok5Hb39Xx XScBa2NALQFsch4im/jT4ED+o1LzmR9JaLl63EqWRyq2sdFTg+p3wTmmzEfYcKjHJRN/DbEDZb83G XWamtYJl4o6snjoVjrLXCqscJN1R2nq0KHlOQj2TaGoUfLbPWDU6TjvMcAH/ONbagUo7t5k7fBwwb kyGrdXBez6ye1E9IvbgyySMOudIeSKr/Tss04luVsvaUz4LsMy6QCpq13RvC3Jk8fXIuN3VDYFw/l pOBBPfM3fLLnBl4I9Hzw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oMPMD-002378-IA; Fri, 12 Aug 2022 07:45:25 +0000 Received: from mail-eopbgr60078.outbound.protection.outlook.com ([40.107.6.78] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oMPLU-0022DQ-7q for linux-arm-kernel@lists.infradead.org; Fri, 12 Aug 2022 07:44:41 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ixhlzb1o5MulTBXVygT1YbG5RrOcn0kBzgNDbhilgKLgNI9b/l0cUroUaWRB/9jSb3OVt58Rzq0Bcd3UpI4ujo1y2Dm+64bkSybTdlDx6VIgHsm1Ul1CHoKL1tg4BudFmwiN42NwwqLHso+8Fkgv8uYv6JxOZbwoTRsM+dSonwl7LF3R8A04iX3wo7BtUGEs0n6Q8Ie3OiJgZA35jhJlVPJgoyVRc+LdyOKBWgcdXVfi0YurPy8beYidi8a44pGZu5zhHHPrkEAYuf3FsHVY0x7bA6Up7Y7E9lLrx5K4Uf/D+urGhaZ2VZMgj/lZNqonZML69QmiDig0IT+8W4qMKQ== 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=7qedGAawE+bjuLdJAEnylYy5nrgKN0Dzq0qCkr6S76w=; b=TFA3Rv/pro7aWPRJb9zZt8AfiEQ+or4rdFKfphERbXKCTT9SYDzvd8BVbX/ay0QCgmj48/4LVN4GbgEL0A37y4JW3/zl08Q1noyjFoZU2sPk4MMZgSxP+kztCyoQUQaFFtkG0Bz4OQ8ITrBY/qGkTnyjX+DULOvbUN5sRrfvF6e1vDfOYr69dZAieigupLkbiVu9qpVlP26xjKTMX7f9KDgSVGxh6p0IB6fnVwyFco5iqO0rGYoWw37DS3IHQluq28zxGpz/Gxxq1ViLqs0oShz0SN+KxL1qETF/jdbMFbqaC7d3bQxSGEp8CMbdq/yysWN3GgzI3lRfLJ9Ak8L15Q== 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=7qedGAawE+bjuLdJAEnylYy5nrgKN0Dzq0qCkr6S76w=; b=dtEEuMLrgZJJ4ZxXXSa5OJAxG6vgVgIJDJyqea7ecAjWTWpnqfXJa/zDgkYAAIgGPcogzHc6sFY+3MGQZH/Ltf5NRVVpkAaOPecT5syHMwS3q/WOiEtotogK08kwEKDdUxLIXohwwHsXAU8SG3zEMrQLP5xzx2hmL95Be1BFAhA= 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 HE1PR0402MB2922.eurprd04.prod.outlook.com (2603:10a6:3:d6::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.24; Fri, 12 Aug 2022 07:44:35 +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; Fri, 12 Aug 2022 07:44:34 +0000 From: "Peng Fan (OSS)" To: 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, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Peng Fan , Haibo Chen Subject: [PATCH 1/7] arm64: dts: imx93: correct SDHC clk entry Date: Fri, 12 Aug 2022 15:46:03 +0800 Message-Id: <20220812074609.53131-2-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220812074609.53131-1-peng.fan@oss.nxp.com> References: <20220812074609.53131-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI2P153CA0032.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::23) 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: a7560fc0-928f-40e9-c84a-08da7c368013 X-MS-TrafficTypeDiagnostic: HE1PR0402MB2922: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: S3k6rHNbYzYNDHDflOrRfcfNcjey6+pJoExncG1SHfFQ3CtAK0IgZu0NdZcxHt5i8FwbOzaBt/2Jib1RAg0k6jTM0/ZaNVly7v1suWVcHJcwXXu1oSs5+hKZALdL0rR5Udnm6WjSFhZZL73C519tB9FzRk37UK8WLEthz9d0Tnaavuw2oNNLAg8ZchcA4WjhY5OnkjBuVF8Mvk9LafH2r07eUKttiZ9XGEqferkiXmMLB/XoOoHuH8uCg4deiHRgQLe5JVQ5JALCzlECN/2elAf+hdqJDxV6UEoKHH4N0Y3aiHDbwWFOTuq3k3jtMtYPTBP+VQyJn6lTlebhakGRU/nuqptRQWDwuyofU3F5bJue52dOTra41lmQvq99PPEiIY15qBEMcDPul8EMVYIfKZYOPC4dHyKeErQrV7NbPvPC11rUrCShuv+tEeGfR32j/ZunDfYzcOHnR6HTDKNxVorZu5Yh3VCRyaQnsYaXTNb4IPP7QHL/hyC4t/i0NKCxhpC3MXstGN8+pv9FkBmrk6RC2PaBiRla218iy7KaE8d7cStVm6aUrH/UspnhmoPNMgcMKsNhHSlNY09vENAgiZCXL7dMWytOkt0XE4e29Nt1wTISGFsJNZ4cZ1Ts6+YGSmGMMjusSUT2Mmw3pgSVg+yeQhV+PCdnALyVAWgGDxLtX9R9qXU6zJP53AEYJ+7/6mwxEonh4RRIanZJGIzoqxQLvT41schylG6tSbNlIWXhlAClEDo4gB7z5FY+TorakapuINWn35Jl51EUSCXFxckkYCQQEcl5X0B/l32UPw/U0zjXwFQfZqHpm/O1NsTd 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)(136003)(376002)(346002)(366004)(39860400002)(396003)(86362001)(66556008)(8676002)(4326008)(66946007)(2906002)(66476007)(38350700002)(38100700002)(8936002)(316002)(52116002)(54906003)(1076003)(41300700001)(186003)(83380400001)(6506007)(2616005)(478600001)(6666004)(5660300002)(6486002)(6512007)(26005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: wpn+t8XT3Hkqlnmv6jy7Q9KhZ1VEPw5N8O85PYnee8g3yetN2MXgomaKLxNMySYyxmwMjz2HnkC+VCq9WMoKAHmQmkNOdBNMK7kxnwDyouf5f8rCr6r4Q15Usp9K1wVD+WwaFfM7C4N0KD/4981QoBspvuuTs2zSpiAsuZVrh5vpIOY85vbn3dY8eKGuBuinC8QugRvrwcmCjYYXeaghpz56JXvwWEIMLrjsDl9VHrwAK2Ewj3hQzfpkd7RKDGkAeNtrOjzUxx8vwTPPwHjzjmbDTbYfryQfNrXw2ksYxY9I80ESJ2GqdvRLczLTJUK1eig13xbgMBFWvfGGWFm0cdUH3GYb8HWl4vv6n1fywQvQtE1m8TZN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wdXJ7uskCYmjRzYLQEBcFnRrWn2b5Wszg3LT9AUudpdFpjwmcXfoBLa7BYqcSYlDoSGqr+W1aT8wUBobWCgxyGRFot5d5ABgQeKgwoZHMZ/G/uutsNvme8gOUakxVvtHQMtbr6smB3Utz2n0Us6 X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a7560fc0-928f-40e9-c84a-08da7c368013 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Aug 2022 07:44:34.7704 (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: SNZhU4m5NHeNRRfTLaHPdO3LcQIfsm/Ur1jPUNfbbaiqVsXTSoe2DfUETaeGafQhw68wNcEkt075Q90iqZfvvA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0402MB2922 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220812_004440_334487_51BBFFBA X-CRM114-Status: UNSURE ( 8.29 ) X-CRM114-Notice: Please train this message. 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 From: Peng Fan DUMMY clk only works with clk_ignore_unused and bootloader enables those clks that required for SDHC work properly. Correct SDHC clk entry with real clk. Signed-off-by: Haibo Chen Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx93.dtsi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi index f83a07c7c9b1..431dc239631d 100644 --- a/arch/arm64/boot/dts/freescale/imx93.dtsi +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi @@ -248,8 +248,8 @@ usdhc1: mmc@42850000 { compatible = "fsl,imx93-usdhc", "fsl,imx8mm-usdhc"; reg = <0x42850000 0x10000>; interrupts = ; - clocks = <&clk IMX93_CLK_DUMMY>, - <&clk IMX93_CLK_DUMMY>, + clocks = <&clk IMX93_CLK_BUS_WAKEUP>, + <&clk IMX93_CLK_WAKEUP_AXI>, <&clk IMX93_CLK_USDHC1_GATE>; clock-names = "ipg", "ahb", "per"; bus-width = <8>; @@ -262,8 +262,8 @@ usdhc2: mmc@42860000 { compatible = "fsl,imx93-usdhc", "fsl,imx8mm-usdhc"; reg = <0x42860000 0x10000>; interrupts = ; - clocks = <&clk IMX93_CLK_DUMMY>, - <&clk IMX93_CLK_DUMMY>, + clocks = <&clk IMX93_CLK_BUS_WAKEUP>, + <&clk IMX93_CLK_WAKEUP_AXI>, <&clk IMX93_CLK_USDHC2_GATE>; clock-names = "ipg", "ahb", "per"; bus-width = <4>; @@ -276,8 +276,8 @@ usdhc3: mmc@428b0000 { compatible = "fsl,imx93-usdhc", "fsl,imx8mm-usdhc"; reg = <0x428b0000 0x10000>; interrupts = ; - clocks = <&clk IMX93_CLK_DUMMY>, - <&clk IMX93_CLK_DUMMY>, + clocks = <&clk IMX93_CLK_BUS_WAKEUP>, + <&clk IMX93_CLK_WAKEUP_AXI>, <&clk IMX93_CLK_USDHC3_GATE>; clock-names = "ipg", "ahb", "per"; bus-width = <4>;