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 27D42C001DC for ; Thu, 27 Jul 2023 09:04:22 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1CD5A8677D; Thu, 27 Jul 2023 11:04:20 +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="DsCG1/kj"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6C373867DB; Thu, 27 Jul 2023 11:03:56 +0200 (CEST) Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (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 B3058867E4 for ; Thu, 27 Jul 2023 11:03:49 +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 lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 36R93YJ5088003; Thu, 27 Jul 2023 04:03:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1690448614; bh=llq427Rip9KL0F4G//fbtILtkzklQBozK50iscORdWE=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=DsCG1/kj3ZC6nBXv57H35gN2eqwPR7o44FBcOjq5Fbpbg0RkYKOYfECT1hM2LRJA1 SZCinXt1EV7MhB2nVE+VuXQHdQvFjJ8NUFjMUMu/5hqO4DFWdxeX0PynwFQ4lMZPN1 HgKuGTO9q8SQPeQU4JbTEgAaKf47thqXNONt+auM= Received: from DLEE106.ent.ti.com (dlee106.ent.ti.com [157.170.170.36]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 36R93Yxw004765 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 27 Jul 2023 04:03:34 -0500 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 27 Jul 2023 04:03:33 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE100.ent.ti.com (157.170.170.30) 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, 27 Jul 2023 04:03:33 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 36R93Xtt099655; Thu, 27 Jul 2023 04:03:33 -0500 From: Nishanth Menon To: , Tom Rini CC: Wadim Egorov , Francesco Dolcini , Sjoerd Simons , Neha Malcom Francis , Bryan Brattlof , Vignesh Raghavendra , Mattijs Korpershoek , Marcel Ziswiler , Maxime Ripard , Roger Quadros , Nikhil Jain , Andrew Davis , Ravi Gunasekaran , Nishanth Menon Subject: [PATCH V3 2/3] arm: mach-k3: am62: Add timer0 id to the dev list Date: Thu, 27 Jul 2023 04:03:30 -0500 Message-ID: <20230727090331.2834463-3-nm@ti.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230727090331.2834463-1-nm@ti.com> References: <20230727090331.2834463-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 Reviewed-by: Roger Quadros Tested-by: Ravi Gunasekaran Tested-by: Mattijs Korpershoek Cc: Francesco Dolcini Cc: Wadim Egorov Signed-off-by: Nishanth Menon --- Changes since V2: - Added Roger's reviewed-by V2: https://lore.kernel.org/all/20230726151027.2517151-3-nm@ti.com/ V1: https://lore.kernel.org/all/20230725125856.1807742-3-nm@ti.com/ Original patch: https://lore.kernel.org/r/20230406185542.1179073-3-sjoerd@collabora.com arch/arm/mach-k3/am62x/dev-data.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-k3/am62x/dev-data.c b/arch/arm/mach-k3/am62x/dev-data.c index 1a6f9e2ca03e..59c95df2a887 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]), -- 2.40.0