Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp128441lqa; Fri, 26 Apr 2024 17:27:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXs3yfkQDJPhs4kO8vv6yJbsME6MHzqF4v6322X9dKJ45w7zmUky9AMU3iclcLw4gJ7I6GBxzSMX6UkoQ6OqoqFh8/wrqdBJy2UAtLSJw== X-Google-Smtp-Source: AGHT+IHrgoLRVCiwNJmXoZWB6RcLgPpx4R14Mjzz88nftGP8cyfHEV4L9DY6iRMNwpgWmlLdJWHG X-Received: by 2002:a05:6512:25e:b0:51c:b44a:f6ae with SMTP id b30-20020a056512025e00b0051cb44af6aemr2074484lfo.21.1714177627799; Fri, 26 Apr 2024 17:27:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714177627; cv=pass; d=google.com; s=arc-20160816; b=HRyzNQzKeQg0dKcQoT57IAKC/2njACi3JET6aQjKzGP438iZyBXu6A9GdfKxD5uXW4 8hXf9z3RzwFOiT0dQfJt9G8UUtM6/DFn1Qg9OBk7ck2WwuCnkCzlSujngnlMXv0HiVUc BCwL50EkSmOGeT+hxQTTvia5GD3j3MYIdd2PmhP3mMFig3hPimx6ZnStPM/RXhZwARjX 1sdAFp6C/2Kmhvf1WxYEEzWVFfaNT7dNM1jtEeEHxqmpA7hrlnjD44s1lVHhbbVOYlgs JafoHYj5+RhQpP+vLQFdnXgfpOFBLwWcmIWZ8tRajanhejB5gdj3kPnXDdkjsIc1lpcj dthQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=u/8O6an2WdHxxonYSgEiYeduIeqZHNZdg71uXcAFpLM=; fh=WwHAJpmnzRGDWNS+//AIuIB7Re2xue1NHZZnRLT5VgE=; b=fr+B2t1di/9BhAx1mF9DVtDNRS9fPjTZKPhCiXYzIdDRLmg2s5mrq69VaYdFbJnRUB qYyhj1JzLIVgFLUkphzmAaT0o6X401GHGzRaT3GWiZhmpkYOYr8zcBFccFTsy/xgeNoL WaG8CQ34o9ZYuwJQ8ndLAVY3iIey6YmgTV0lB+6MPjfmU1xM8gNze1ltJ8K1qKH5bMVe HuCrGR82oOaPOj1l8iL/LQlOsy8PwV7yXmSLvtePeK4XzCV+0YoWu5OJSace5LjAaZM4 FP6Md7Quy6ROcFBDPpcGLyEQ0VyHl+VB0duHiY7AWAjxqvLMbSisskhnRs7u7xLHzRl8 pxvg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tenstorrent.com header.s=google header.b=ZEaWsCQO; arc=pass (i=1 spf=pass spfdomain=tenstorrent.com dkim=pass dkdomain=tenstorrent.com dmarc=pass fromdomain=tenstorrent.com); spf=pass (google.com: domain of linux-kernel+bounces-160807-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160807-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tenstorrent.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id dk2-20020a0564021d8200b005725fb06ac1si639788edb.331.2024.04.26.17.27.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 17:27:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-160807-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@tenstorrent.com header.s=google header.b=ZEaWsCQO; arc=pass (i=1 spf=pass spfdomain=tenstorrent.com dkim=pass dkdomain=tenstorrent.com dmarc=pass fromdomain=tenstorrent.com); spf=pass (google.com: domain of linux-kernel+bounces-160807-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160807-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=tenstorrent.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 0381E1F24E06 for ; Sat, 27 Apr 2024 00:11:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6846225757; Sat, 27 Apr 2024 00:11:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tenstorrent.com header.i=@tenstorrent.com header.b="ZEaWsCQO" Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 055218F6B for ; Sat, 27 Apr 2024 00:10:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714176661; cv=none; b=ACXkA9spDkoMWPDPlJ57WPKXaEY/Dz2a5Kw+Qju9G47FQvUck/qE7IlSye7KHgTrZ/iyIvY+H+TBAmmqMZd8JbumcxE9joPcCGCbjy8zn3bP45Ikc7FDD7Enqinf7GdCyvAECqnMzema1W8ldBYkVdOvwAuE8eYGpkvg07R4aHs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714176661; c=relaxed/simple; bh=Tkyi4QZD3iXRNC9I3Th5GPUlpVYoVqpI8o+66sXr35M=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=lwzQR76REAEwmG3c7tUNaV69tFUrFFxybCRxnE3l+GhNGP8LwI88z5a33keAYMrbU+uEoSrGMpPQxCCaVqAvSrmqsDg9XhMNIeJbpU2osfISjbRaq1k0MMqdwwJ61GCDvTXs7m77RmqpAxaXLgBXnGZ9XADZaRAlodbLCNRIRW0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=tenstorrent.com; spf=pass smtp.mailfrom=tenstorrent.com; dkim=pass (2048-bit key) header.d=tenstorrent.com header.i=@tenstorrent.com header.b=ZEaWsCQO; arc=none smtp.client-ip=209.85.210.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=tenstorrent.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tenstorrent.com Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-6ecff9df447so2725297b3a.1 for ; Fri, 26 Apr 2024 17:10:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tenstorrent.com; s=google; t=1714176659; x=1714781459; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=u/8O6an2WdHxxonYSgEiYeduIeqZHNZdg71uXcAFpLM=; b=ZEaWsCQOKbQrHKEahRxNjkAw4POlRtwAg5WzveZXle1mzvVjAFFx8ypeWEnULdLPkK vMPZRgg3R3eDWlf58X2wWy1BgMfAHgosmBq7/FPse8tB9NOFGPFxIHvgckdRQWl/iEk4 9chfebcre6ViKpJ9ZTmZsEoHjijNkoDMLiXs9ZSQpUP53dpZY+UEPnRexqxlPPUyxDYC dwtkLdN9glE4s95b3M0Z8XhPHFSRW/8snwVQaZF5rkH9Gv9RpNSY4DZREWi46UQ0diTt uzgyL38cSiCca3Mprw0qule2MyvGmp7GJUJ6906Vl8HNMDe/PNHm/wIpjWrIfKzTXLa5 dqeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714176659; x=1714781459; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=u/8O6an2WdHxxonYSgEiYeduIeqZHNZdg71uXcAFpLM=; b=X7VNPfTVQYkFyXK4S35Ry6PUKdCB7FzUzmQlF/2bkxOjqaZWKZkxQclxO3aE9EGYfr U5vQra9iy1eyGTDBp7EYrgQTGFtHRSiAiWCXkxcQT4MGNtx4yJjiVIQhKF4+/tM7kr9m E8Z544TxnciBPTkl91FZZ+5alfDQYiLMB9WYPYv5XUWRFgrTEpNQLBUj0Kov4TT7ApnP SXc9a5fNXFYngrMw0nzj3IlBFe2/k2EI/mntK/Nz4eeJkzmPYJZGWpb3hSKWCCI/yspO cpMpU6r8t9qG8rzH4HoeqnGkOIS/EEaknHPGttqsldiutdA/+fu2n8q84UaSLqhG3VWs cnxA== X-Forwarded-Encrypted: i=1; AJvYcCU5zz8XX2/0HjHqrmWk2iOWEWTU1juLfLz3E5BcqopnZ6t1WJr4WVHTrr6HPQtqWNbEW/Kdf7LsjlYrO38rsksYRsC7lYoNnGsbbZi7 X-Gm-Message-State: AOJu0YxFKSgkNGf0mi8XPqyQf2AaaHRufLx7knM/NRibL6QuObLIRAZh d6JflTtkzsRP+kHAagFW5HtZQ1N+qYVrXRUw9CFPLXJ7KL2Tc2znWQ1xjQO/gqsSnjVST2UhAMz 4Wgk= X-Received: by 2002:a05:6a00:174a:b0:6ec:fdcc:40b9 with SMTP id j10-20020a056a00174a00b006ecfdcc40b9mr6286127pfc.9.1714176659410; Fri, 26 Apr 2024 17:10:59 -0700 (PDT) Received: from [127.0.1.1] ([2601:1c2:1802:170:3569:7ce4:94b8:1691]) by smtp.gmail.com with ESMTPSA id w1-20020a6556c1000000b005f3d54c0a57sm6061883pgs.49.2024.04.26.17.10.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 17:10:59 -0700 (PDT) From: Drew Fustini Date: Fri, 26 Apr 2024 17:10:37 -0700 Subject: [PATCH RFC v2 4/4] riscv: dts: thead: Add clock to TH1520 mmc controllers Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240426-th1520-clk-v2-v2-4-96b829e6fcee@tenstorrent.com> References: <20240426-th1520-clk-v2-v2-0-96b829e6fcee@tenstorrent.com> In-Reply-To: <20240426-th1520-clk-v2-v2-0-96b829e6fcee@tenstorrent.com> To: Jisheng Zhang , Guo Ren , Fu Wei , Yangtao Li , Thomas Bonnefille , Emil Renner Berthing , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Drew Fustini , Paul Walmsley , Palmer Dabbelt , Albert Ou Cc: linux-riscv@lists.infradead.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1714176654; l=1420; i=dfustini@tenstorrent.com; s=20230430; h=from:subject:message-id; bh=Tkyi4QZD3iXRNC9I3Th5GPUlpVYoVqpI8o+66sXr35M=; b=i3zE1I6IyMOXFj1bKYUcSwl0Q+FnHv6uXONEvzmZvhfqQFzAPv6ylEPDFIVtUnS30Bx/yo+p2 EZ3wEbt1Ps4A+ZnwPmEdb/PCw8a64vl7uB541tl7Q8wYln+VeouGe4d X-Developer-Key: i=dfustini@tenstorrent.com; a=ed25519; pk=p3GKE9XFmjhwAayAHG4U108yag7V8xQVd4zJLdW0g7g= Change the clock property in the T-Head TH1520 mmc controller nodes to a real clock provided by the AP_SUBSYS clock driver. Signed-off-by: Drew Fustini --- arch/riscv/boot/dts/thead/th1520.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/riscv/boot/dts/thead/th1520.dtsi b/arch/riscv/boot/dts/thead/th1520.dtsi index 6285cdf91bd6..a6f51ec9fb55 100644 --- a/arch/riscv/boot/dts/thead/th1520.dtsi +++ b/arch/riscv/boot/dts/thead/th1520.dtsi @@ -324,7 +324,7 @@ emmc: mmc@ffe7080000 { compatible = "thead,th1520-dwcmshc"; reg = <0xff 0xe7080000 0x0 0x10000>; interrupts = <62 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&sdhci_clk>; + clocks = <&clk CLK_EMMC_SDIO>; clock-names = "core"; status = "disabled"; }; @@ -333,7 +333,7 @@ sdio0: mmc@ffe7090000 { compatible = "thead,th1520-dwcmshc"; reg = <0xff 0xe7090000 0x0 0x10000>; interrupts = <64 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&sdhci_clk>; + clocks = <&clk CLK_EMMC_SDIO>; clock-names = "core"; status = "disabled"; }; @@ -342,7 +342,7 @@ sdio1: mmc@ffe70a0000 { compatible = "thead,th1520-dwcmshc"; reg = <0xff 0xe70a0000 0x0 0x10000>; interrupts = <71 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&sdhci_clk>; + clocks = <&clk CLK_EMMC_SDIO>; clock-names = "core"; status = "disabled"; }; -- 2.34.1