Received: by 2002:ab2:1347:0:b0:1f4:ac9d:b246 with SMTP id g7csp363000lqg; Thu, 11 Apr 2024 05:37:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVSAj8alEy8CFepeDTzkUxOQl6VBCMxlpvTKPBOHjnTWaYQhKQBLA4913y9lkn9C5jqkFtOU94F810R3j///1SJ/f4Kqfyd+L79+MMq5w== X-Google-Smtp-Source: AGHT+IEwJt3kZBJ3/erdhzsPU6ldMiBPVo2+SyaBTtfn4LuDa22TkkaQal9h26IxcnwtETXhS8BK X-Received: by 2002:a05:6a00:23d2:b0:6ec:f566:6eb0 with SMTP id g18-20020a056a0023d200b006ecf5666eb0mr6077991pfc.17.1712839044836; Thu, 11 Apr 2024 05:37:24 -0700 (PDT) Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id m2-20020a639402000000b005f4273754e0si1229894pge.461.2024.04.11.05.37.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 05:37:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-140431-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@outlook.com header.s=selector1 header.b=Hs5mLXPZ; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-140431-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140431-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=outlook.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id B204DB2297A for ; Thu, 11 Apr 2024 12:21:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3ACFC14B09C; Thu, 11 Apr 2024 12:21:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b="Hs5mLXPZ" Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12olkn2095.outbound.protection.outlook.com [40.92.21.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8F6CB13DDD6; Thu, 11 Apr 2024 12:21:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.92.21.95 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712838080; cv=fail; b=XwRSUdrFpZ0ArHiih5Fg4mVVbQCAMN8TrlHEkhagjrOi2YJ4VJh54T+RHE6ffdnZoiEVfue1svkWIsNEwG8keYQA6WXP8as/hh31ASRfUY/xp/i7tUMOwqXHc7Tcc4K9Uzh4+qJixpht4G87zsisYIP52fW5JzxM592wT6HVKlE= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712838080; c=relaxed/simple; bh=xvioZmuaZvgXi2QcGpYLDx96ibDulVrNwlvJIeH/Ux0=; h=From:To:Cc:Subject:Date:Message-ID:Content-Type:MIME-Version; b=guZl0RB207oi4aNSR9LEIB754RUVpAKTOzXT4glV6Y8WDi4MBYBjfIzQ1tQMt9fazfKik+N5kIqT0mx/3xfFtInOk2x9DU3gesBKw/Cb+bn/pLjdnaBF64VcouC10ZRKt4M905OyfffgnWJbANph9Iw7BAMOivGH4jNCBZCWuVI= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=outlook.com; spf=pass smtp.mailfrom=outlook.com; dkim=pass (2048-bit key) header.d=outlook.com header.i=@outlook.com header.b=Hs5mLXPZ; arc=fail smtp.client-ip=40.92.21.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=outlook.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=outlook.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GjjKZWXX5A4Y89nz0ZcoADg9AwDNz962JcvHN9d8fy7fYl9QiTWSo5ImHXw8A5nFr8dYNsKCJFXBIuU5wCP/E96a2g1TdEcjfM+4l+v3dJ5LCy3zuWR6l3pCB/TDMJiUxSAqhMTgcm7XmaX5M1XaCjEO1Yn6+mXy0HhKyLF9rAc0cWkdE1bsG6KGwJGsL7jj1bYrSerEL0FFg37uMyWX122LNa6P4+qUFYp/EMEmmJ+ztEIFUa2KE+/F8ayDY0Va9ye8OQGSCas/7pKx0EToBUKti0xmRcsFVFOfir0WBh+mHlTr7+keJ+y5zTNPnK2x38qI2uXfH6pqdIW8O2XdsA== 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=dhKpUZevkYPltCISaDvXBPMAxwJx6OomIJ1ckJTeX98=; b=g27SutoJZvMEvTKJSdtE4wMyiUPM35UTiAYmxClOxms3W9ZR0ottZNZTu+TXWH9YRfs4SQSbnrVu8rKQ84SUl7NIQ0sSiR0j0u0Mem5fQQ2mAR13kdotO91F0kZ5KRaeoatzw0nK8sruCF5mKNuhDE7r52UG4MBWoV+OyHUpHKCYNkpOiowACudSUHjb/yNr+yleCta28vTUMK9g/xmOKL1tTJYKw5cZDwMFzFtQ+nlBJybJxSv2HPu6Y/7KH2vaVReRCVgX7d1npwmeaQEKsHP2fD/jlPbcEn9mLWhHG8OTkVgdWt2nvQNk76Fu97An+lvg03oFIVBKCwU0VxY0pg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dhKpUZevkYPltCISaDvXBPMAxwJx6OomIJ1ckJTeX98=; b=Hs5mLXPZUGaYoDcCPCj1ABVWqpTGxGRp5q5xy4pofpiv2Ug3ay55B5grQ4lXSR4VDf9rNZ4FsJclqTt6+csQAqZatefmEx7YwxFy/uQoh2fVkKUty7nXd+woXgbapl/Zp2/8qvoGBAyZCIBB8/3abdl4z5OZVa9Fx1vEzw3AZQICpJnQOdP5o6WlL+gAxntuPHrNiBS/CbhHoErMWM+UFfzheKwjI3Y8DV0ScMTf5TnriOOPqoUbrVVKVaTT75sNGpQp1Ju7F/YsGCQUvlNkCYarQWeFwAQ/0tLtleQBTbLIbEq2Xz1Z6DWFJOyIVuV+eB9smnaMPmQ9fqx5O+/SYw== Received: from IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) by IA1PR20MB6245.namprd20.prod.outlook.com (2603:10b6:208:3f7::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.55; Thu, 11 Apr 2024 12:21:16 +0000 Received: from IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::182f:841b:6e76:b819]) by IA1PR20MB4953.namprd20.prod.outlook.com ([fe80::182f:841b:6e76:b819%2]) with mapi id 15.20.7409.042; Thu, 11 Apr 2024 12:21:16 +0000 From: Inochi Amaoto To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen Wang , Inochi Amaoto , Paul Walmsley , Palmer Dabbelt , Albert Ou , Jisheng Zhang Cc: devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] riscv: dts: sophgo: use real clock for sdhci Date: Thu, 11 Apr 2024 20:21:35 +0800 Message-ID: X-Mailer: git-send-email 2.44.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-TMN: [Hjz5IfWffUx3hxm4nKiDE1XoRhgcmDzWsQ/YzfUSQQI=] X-ClientProxiedBy: SI1PR02CA0033.apcprd02.prod.outlook.com (2603:1096:4:1f6::14) To IA1PR20MB4953.namprd20.prod.outlook.com (2603:10b6:208:3af::19) X-Microsoft-Original-Message-ID: <20240411122136.793528-1-inochiama@outlook.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: IA1PR20MB4953:EE_|IA1PR20MB6245:EE_ X-MS-Office365-Filtering-Correlation-Id: 0bfb4f37-466a-4655-7a94-08dc5a21e295 X-MS-Exchange-SLBlob-MailProps: dx7TrgQSB6fRphPAZkDOXKiJlf+rSXUByCx+8qhstiUj7tIcA51KpS2vy+RYr2SJtTaMKCoFvvpiBx1+ho1eJ9f1IMrjVvh20KY2k7vU6fWeVtpHAhEvlEMmTTAOGbZZkyMV7RMGCxzj3UjULp1UgePoYHN9SIOGfFTivKyELTj+vdj08VrjLu1q8XM3Uyz1Rvhn4+wQIyTdxX7uK7rsBcfe7VTmL5GojqIvjgXGHynhg7355Gpl9D4wIw/RY/2iHdSg98SRYPYwY1K5i2Py3mSZ7fhxSSeVo5L9TuZqrvLmMX/Wie3E55DyAwYMwHW9uisQXZZz29Pib0mc3ajl/+BoDO3yNl3IoTPkJ0V1/wAgTy4/OEu5FMMRYpXOQ42KhpULqjL7Ts7AAkV80/zP7Y3QBHf0C/r2tU9QhvmTlkaQBsPX/jVWy3+IHhhaXsTs9LM5cFcpPuWVZ0TuIfWEyaK6AkDxJc7VvE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9h8?= =?us-ascii?Q?TnRPt2SeakABwW3gxqH+RKKLRn5xWMFgJrA1wOiGBjgUbqfT5zze6bGo0T0V?= =?us-ascii?Q?rJP3T8/EwBcZOkUfpJgf6angsWOvM3+syUGf/I7ZnprPAZjcCVFqhchTto5B?= =?us-ascii?Q?PD1ua7t8a/BbWRVCHaEW0hWWCySZ/JAHAY2h0z9CR5CcBgKonsdprN0O8oxB?= =?us-ascii?Q?MbOU+WaDN3+I0Tzk/wfo/Kt06fsaGNdCwvuSI2kigqPlWE38ld6Jxi57Vw41?= =?us-ascii?Q?R4V3WhqCZk1NnfmG9A2x39qyHYGto91dkv19cUsb8GAdIhQ0lzc/xVrE3QnS?= =?us-ascii?Q?YvIoV/FIZAIHGWtzWi5zwtLOuoiuApAnJnmut9gtfInZDapzAIenBUvZ/V9R?= =?us-ascii?Q?+/BRgYI4hiMXkvzZ57M6?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0bfb4f37-466a-4655-7a94-08dc5a21e295 X-MS-Exchange-CrossTenant-AuthSource: IA1PR20MB4953.namprd20.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Apr 2024 12:21:16.3195 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR20MB6245 As the clk patch is merged, Use real clocks for sdhci0. Signed-off-by: Inochi Amaoto --- arch/riscv/boot/dts/sophgo/cv18xx.dtsi | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/arch/riscv/boot/dts/sophgo/cv18xx.dtsi b/arch/riscv/boot/dts/sophgo/cv18xx.dtsi index 75d0c57f4ffb..891932ae470f 100644 --- a/arch/riscv/boot/dts/sophgo/cv18xx.dtsi +++ b/arch/riscv/boot/dts/sophgo/cv18xx.dtsi @@ -47,13 +47,6 @@ osc: oscillator { #clock-cells = <0>; }; - sdhci_clk: sdhci-clock { - compatible = "fixed-clock"; - clock-frequency = <375000000>; - clock-output-names = "sdhci_clk"; - #clock-cells = <0>; - }; - soc { compatible = "simple-bus"; interrupt-parent = <&plic>; @@ -298,8 +291,9 @@ sdhci0: mmc@4310000 { compatible = "sophgo,cv1800b-dwcmshc"; reg = <0x4310000 0x1000>; interrupts = <36 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&sdhci_clk>; - clock-names = "core"; + clocks = <&clk CLK_AXI4_SD0>, + <&clk CLK_SD0>; + clock-names = "core", "bus"; status = "disabled"; }; -- 2.44.0