From patchwork Mon Aug 31 17:36:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robin Gong X-Patchwork-Id: 11746001 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1421F618 for ; Mon, 31 Aug 2020 09:24:17 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 DE5042073A for ; Mon, 31 Aug 2020 09:24:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="nHgaVExM"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="A6oW0X4k" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DE5042073A 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+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=zzLE3qYWeJucJJJLA3TBifSn21Qn8kwTX0MawihkVHk=; b=nHgaVExMPQ/CvwtCm9A9NNaScd Ab4HVKqUI7FtIfoF2qJQh/yaivGkDaC7Bp3hYwFspOTUZGyy+tRQIQbC+BOkeqNuOCRQ6vKhXCxHb qDDfX2pNfu/oetqajfoZZOC5PNuWwSDXUV9AvB7Ew80URFuFkLayutIw+N0prNMlMnUMbGn3Crvjt Fayk+ErVdDXk8QG8zD4JhPItlTqkFPBj0RBySZHkwWNWaNVZAY/lQUyV8tSktSiEafe0cATpfJJAU aRr3t7GvHWptuZ8DQ5B23bE8ETvTrhG/q3DIvFnPXbASN/9Ga/jnLJ2Qc81Lnn7Y78LK0z7FrI4yt O0Z3cSMA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kCg1W-0005cG-Jk; Mon, 31 Aug 2020 09:22:46 +0000 Received: from mail-eopbgr20049.outbound.protection.outlook.com ([40.107.2.49] helo=EUR02-VE1-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kCg1T-0005bX-SE for linux-arm-kernel@lists.infradead.org; Mon, 31 Aug 2020 09:22:45 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YVKT+XcDmufnXy+9suW4BDLfqI58oqfVxrru9sfJJ55piR2H0BxHl6ubCAmwk9tz72Ioc9ZT+gGPYvx+hRrU6SuQ3i+moFRLiSYeZSHoBgMQXrVOevTVtpBBm/rSbCydWm5L5orqon5yUy0FeaY6Y6NKsLG92Wqy3PF9vZcB69iBONxSYO8S/HYdsGk0rqZwIwFC3E9148aT5Gl7X1pKC7uMroZG4ipNl1NJJ5ZMKZP+ltT325HU8GgE6Xo/mavS+FBQE+dWae64khpPg7Zm4FA5LelWJNUINM05jp4x5duF/nMJBy14OkeXFH6Yqsguj3c1/y5j+DBCQ2+ab0KKPA== 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=dAwAaiiwn28UJE5V3/saYfJk0q1YVYoYUqHCQsu5k6Y=; b=TOZ5YdM5m0ntRq4eParWE0v8KpsTBlawkLaImX89N6dn4DyfOf19FYBtLgMFUlRmVesdGa6I+v1+WhcCCSZgnx0pndz4o2b/Ngs9EF5kGqPMC55bPxmBQnz+AyccAiveobDQYe+VyuFwWVV+gi1ZnWHiitUzGI9UzVMxm2OvD+puilLPZiyUYo+nFobBvQa81e6tVCxSnS/ClsKaE/aMBolo0Av0iyQR1oKk47Ib5ku6ejtrYYypI4nPX+YJ06gPiZCya0B9ZNvrh5lzDwa7f8wSQcdoSavp/ygDpCt326vVkAo1h9bYnWx3SNKqYA/Ii0JfujNRdTc+G3DWIELxDQ== 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=dAwAaiiwn28UJE5V3/saYfJk0q1YVYoYUqHCQsu5k6Y=; b=A6oW0X4kcBbtZemAlZH9lZyl5OVTg/q68FFhqiCa8ITjX0LQseBK9OxhPrXnGLcuKu6+J+i/wIz8idsfQ/GSLnY7NVI5APLvWYy+i8hOe+rt2CaA72FA21hj6cvzKJC/xZZ0HU1lUkgkbQQVFECWJdMPr7Wd4/OGDKokcu6xnbE= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=nxp.com; Received: from VE1PR04MB6638.eurprd04.prod.outlook.com (2603:10a6:803:119::15) by VI1PR04MB5696.eurprd04.prod.outlook.com (2603:10a6:803:e7::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3326.19; Mon, 31 Aug 2020 09:22:39 +0000 Received: from VE1PR04MB6638.eurprd04.prod.outlook.com ([fe80::ad7f:d95a:5413:a950]) by VE1PR04MB6638.eurprd04.prod.outlook.com ([fe80::ad7f:d95a:5413:a950%3]) with mapi id 15.20.3326.025; Mon, 31 Aug 2020 09:22:39 +0000 From: Robin Gong To: robh+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, festevam@gmail.com, Anson.Huang@nxp.com Subject: [PATCH v1] ARM64: dts: imx8mp: correct sdma1 clk setting Date: Tue, 1 Sep 2020 01:36:27 +0800 Message-Id: <1598895387-22313-1-git-send-email-yibin.gong@nxp.com> X-Mailer: git-send-email 2.7.4 X-ClientProxiedBy: SG2PR04CA0152.apcprd04.prod.outlook.com (2603:1096:4::14) To VE1PR04MB6638.eurprd04.prod.outlook.com (2603:10a6:803:119::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from robin-OptiPlex-790.ap.freescale.net (119.31.174.67) by SG2PR04CA0152.apcprd04.prod.outlook.com (2603:1096:4::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3326.19 via Frontend Transport; Mon, 31 Aug 2020 09:22:31 +0000 X-Mailer: git-send-email 2.7.4 X-Originating-IP: [119.31.174.67] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: d7ae3770-4260-48e1-b34c-08d84d8f6806 X-MS-TrafficTypeDiagnostic: VI1PR04MB5696: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:378; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6s52sPWhoS5Zm35GCdlNr7fiKSObyprhZnHDhMkRVNoFNaN5D5EDkO9gTnb8uVB7gd2ZlfzQ9wAM96MU6ffoBPj3gjsAC+W1oETmenWiT32FDsX+qW27OqyfP443VtHLoxwXn4JZ20eLLqtL0Bzt2TUOCdsVD2rQ7pxXsXU2wNXbvD4wqL9VU7WGHU6DwKgWB54KFBpqVqHFDS6V8GjJ7dk6lOjKoGSSaZ/Uuhq246HpfPmOIgyr22Xr3bBVSiIHhcJfaB/JMg28weqhPLrrHS963GrR1qfwOV+PDdsLmEX1t8b57WQarmRdBF+ySrFn3nyJBiALJC3oHnEii4szEiAS6sNSPmCyrMgimkpDZYetd8s1b6f2DNj9wJSluOOi X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VE1PR04MB6638.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(366004)(346002)(136003)(39860400002)(376002)(6636002)(4744005)(6666004)(52116002)(956004)(2616005)(4326008)(6512007)(5660300002)(83380400001)(66946007)(8676002)(36756003)(478600001)(26005)(66476007)(66556008)(186003)(16526019)(6486002)(86362001)(8936002)(6506007)(316002)(2906002)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: Us5PLhp9WuklyX3kvLiSXjtFO1xpha4JnCCJVFenBKXrOfQXxrtPRwUh3KtNqG7C34Uaw1RRN3jJbcD/sm0w37GpZxgxasNwdU+RKGzd4iTFYHxJbmLsZ3GES0YuF1uKhgd9AwnSBF4UXvouJaakGXGOOpslUH9yEL2UxVFhJ34Sk2PQvOvVKJJ79csEpAT5SjWvML/dfDQcrGyZzGLU8hPSP5II4q1Ed+5j1/2OI5du5nEgegGYk6jbvyVb7wmM38fQv6naTefyOaIOqt1sv5LBvhYmS6r3cqSD4iMzudSzYTvRJ3DUB5lhQYhX8dnQuUAB9+AP6zsHGQSTLZcwR8PxRKw1gy1gXazMw+KCN923nLZiGit5CedZo5Wrrf687P6RXdNS9wHlhWsCRaaO563/nTs9sdVeyBTeS0XO+OwIqPIwdtlpFcWv5u2keRCVyTZUC5zHTAZ68dYoc/SSkESAOgLuU1r9sUT8NATthD8e08lXMA3klGK2dir/WUZZ3aygV5xEIg9ttzWVeK9pGt8b/ZN6isjIbok8H1oy5zgyXt55q5RQx1wkW3N/0M+Q4rslpwZfwqL8eO6pz6rynz+jWy0ze48rx9V4s6D9UQVnYvqy/tF12B9UdknmZLiBo6L1y1rK36ucIqj75Ghp/w== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d7ae3770-4260-48e1-b34c-08d84d8f6806 X-MS-Exchange-CrossTenant-AuthSource: VE1PR04MB6638.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Aug 2020 09:22:39.8304 (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: cbToilVEGiG4plTzvOOUxCRzUI4WCblw/LEsBYG4zBZG7ElXuG6OvRVg5a6dGc/jkCPwZExUZmX5VhCISV9l7w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5696 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200831_052243_978525_4C4ECBC6 X-CRM114-Status: GOOD ( 12.95 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [40.107.2.49 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [40.107.2.49 listed in wl.mailspike.net] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 DATE_IN_FUTURE_06_12 Date: is 6 to 12 hours after Received: date -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 0.0 MSGID_FROM_MTA_HEADER Message-Id was added by a relay X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-imx@nxp.com, kernel@pengutronix.de, linux-kernel@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Correct sdma1 ahb clk, otherwise wrong 1:1 clk ratio will be chosed so that sdma1 function broken. sdma1 should use 1:2 clk, while sdma2/3 use 1:1. Signed-off-by: Robin Gong --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index cad2dd7..6038f66 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -702,7 +702,7 @@ reg = <0x30bd0000 0x10000>; interrupts = ; clocks = <&clk IMX8MP_CLK_SDMA1_ROOT>, - <&clk IMX8MP_CLK_SDMA1_ROOT>; + <&clk IMX8MP_CLK_AHB>; clock-names = "ipg", "ahb"; #dma-cells = <3>; fsl,sdma-ram-script-name = "imx/sdma/sdma-imx7d.bin";