From mboxrd@z Thu Jan 1 00:00:00 1970 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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D598AEB64DD for ; Thu, 13 Jul 2023 07:20:58 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0276F86BCC; Thu, 13 Jul 2023 09:20:40 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.b="JNojxpD0"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9893886BA3; Thu, 13 Jul 2023 09:20:35 +0200 (CEST) Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id DAA9586BB7 for ; Thu, 13 Jul 2023 09:20:30 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=nm@ti.com Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 36D7KL9e076017; Thu, 13 Jul 2023 02:20:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1689232821; bh=oHI6IcY4IiuapGvyd5H7HxRK90ad2QWT2OGMlLRM0XQ=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=JNojxpD0kx1L1E9BW5AUxmgn2arMJMH7D8CD/ucDOYVRrIRLNZ/YK9mwNnGYEUwWV GsizwBVjzGj1uyGr9jArSncqS/1lmJXl/GDRylZfI750ln0dy4Wty3nhHhS8G1MuDs DM/xh681D9a8UiUNzahSIIQLXAWNiiXOVwiNe6UE= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 36D7KL4K093280 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 13 Jul 2023 02:20:21 -0500 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 13 Jul 2023 02:20:21 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 13 Jul 2023 02:20:21 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 36D7KLiO117977; Thu, 13 Jul 2023 02:20:21 -0500 From: Nishanth Menon To: , Tom Rini CC: Wadim Egorov , Francesco Dolcini , Sjoerd Simons , Neha Malcom Francis , Bryan Brattlof , Vignesh Raghavendra , Nitin Yadav , Ravi Gunasekaran , Mattijs Korpershoek , Nishanth Menon Subject: [RFC PATCH 2/4] arm: mach-k3: am62: Add timer0 id to the dev list Date: Thu, 13 Jul 2023 02:20:17 -0500 Message-ID: <20230713072019.3153871-3-nm@ti.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230713072019.3153871-1-nm@ti.com> References: <20230713072019.3153871-1-nm@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean From: Sjoerd Simons Timer0 is used by u-boot as the tick timer; Add it to the soc devices list so it can be enabled via the k3 power controller. Signed-off-by: Sjoerd Simons Reviewed-by: Tom Rini Tested-by: Ravi Gunasekaran Tested-by: Mattijs Korpershoek Cc: Francesco Dolcini Cc: Wadim Egorov [nm@ti.com: Fixup num_devices] Signed-off-by: Nishanth Menon --- Changes since Sjoerd's revision: I fixed up the num_devs to be 22. V1: https://lore.kernel.org/r/20230406185542.1179073-3-sjoerd@collabora.com arch/arm/mach-k3/am62x/dev-data.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-k3/am62x/dev-data.c b/arch/arm/mach-k3/am62x/dev-data.c index 616d0650b9c0..c747769cf05c 100644 --- a/arch/arm/mach-k3/am62x/dev-data.c +++ b/arch/arm/mach-k3/am62x/dev-data.c @@ -58,6 +58,7 @@ static struct ti_dev soc_dev_list[] = { PSC_DEV(161, &soc_lpsc_list[8]), PSC_DEV(162, &soc_lpsc_list[9]), PSC_DEV(75, &soc_lpsc_list[10]), + PSC_DEV(36, &soc_lpsc_list[11]), PSC_DEV(102, &soc_lpsc_list[11]), PSC_DEV(146, &soc_lpsc_list[11]), PSC_DEV(13, &soc_lpsc_list[12]), @@ -74,5 +75,5 @@ const struct ti_k3_pd_platdata am62x_pd_platdata = { .num_psc = 2, .num_pd = 5, .num_lpsc = 16, - .num_devs = 21, + .num_devs = 22, }; -- 2.40.0