Received: by 2002:ab2:687:0:b0:1f4:6588:b3a7 with SMTP id s7csp227653lqe; Tue, 9 Apr 2024 23:15:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV7ce2ZlN62YbIRiTLJTdXaWgaowjjY+CRZAg6nzEyb6TjgBbVXtpqrUHEZw83b+qxS9IF5pUplRwdekbOkk2nEsT5qp9navU71esvWWg== X-Google-Smtp-Source: AGHT+IFdL6zSt6AyzelBaUwR2z1/xBffD4c9gutwhi+HVnD7FvfzfCCke0sTRBCKqbGIZ+e0V08e X-Received: by 2002:a17:90a:a516:b0:2a2:50ef:ece2 with SMTP id a22-20020a17090aa51600b002a250efece2mr1717801pjq.17.1712729719235; Tue, 09 Apr 2024 23:15:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712729719; cv=pass; d=google.com; s=arc-20160816; b=JXU8wyO1vc/3a9NN280GOacwyc/8DdEJgXDZDel5j3xbA1uB2Ce3CV+oy57zCVCdB2 wldxWF5r5Lzm7DMfRO0zdeEF+G9Hf7VjOKRZGFi7EE1wAfQ8pVJdX9XNkDBDVVp0JMJ2 rDEUkYoNUx+nG7Md/Mi7ltVaRJE3h6EZjCHROTRuq8w/USR1fp3fI+LrEbb4PYxBEBqX 0zcKLg6D0PEHloxLuCYhBtvm6Z1fi9V886mEDGYTNSuE44bv+DsIn4kZmttQCc+Gl4Y1 cguxEHMmGsWPyzbM6n5MefyXC6loXuQpdTn9ioQ2NT2qiLqdU0rNuynWLz6a+3oNh/XR AVxg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=LOHKtXEiE3d6AuJ2L8rr+IMyqwcKlUeg9Up/wDw6oeg=; fh=NXqc/afqRV8rXV4be2Di7mpxjgZTiax6YmMcLyEXiQk=; b=hZACgyKHYFRXPwruY0z/KCAn9ctJzWh8VmHU+tZwWAxScn1IXPwVRSAYRZUEs0Y683 f2ZOFh0XhTTJHxsyA5Afj66YLETuANW1SeYLn1kdPAE355A389ZDXXFpCCd71g9TmSVo Gro3nhw+ma3bfja6HKB/nZpqImy25MEpRd/H6X9zwZd2A25SijiQVKwOtXO8qZxHS7gg /f9vVESYJWt2J2K8yS7kvWlggKdrOJGvo54lZC4vIWuutKfhrRZ2Kxbdt8P+EOYseX65 DgfrLAHctCE1nmEDqBEJWNt7T1nluSQCC8wly+TmQW0p5rUCT6XAGK6Tp/5fnCElAufS eLdQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=K8Sgwi6f; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-137958-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137958-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id j8-20020a17090aeb0800b002a0726b07dasi884818pjz.118.2024.04.09.23.15.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Apr 2024 23:15:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-137958-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=K8Sgwi6f; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-137958-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-137958-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id C3BE928672F for ; Wed, 10 Apr 2024 06:06:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 41A5120B27; Wed, 10 Apr 2024 06:05:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="K8Sgwi6f" Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) (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 B2317C129; Wed, 10 Apr 2024 06:05:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.248 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712729158; cv=none; b=h+4MeiSxLFE9NZ+UYMmLsk8DAvk0/lmvaheOnnmN3j1mzcLt9lfQkbVOFVcIvYoi87gDsfNeKfrIlFcFsj0zddejrYYRf7XB919KkedH1fNHtcxQf6IlujixI29uotvM0etKuOF6gAqtiThrUfjJMNRkwaoSTx7VQcMQZJ7Z3Yc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712729158; c=relaxed/simple; bh=DVHB2q2GJovhxPFwVciTSpWQoweRjR50YuTmJuOXzoQ=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=cE2D3ncF69EcO66DZQn0d8jNCUh+ch8bs0eY4qVmTTau2wDVtuo1epDVoAa4gMWh4Bdvw/UeoIyiTafmxB6Z1PXoef+gosnL6LaLqwFHi3wYDNT18Y14Flye0vcTVCnYaGZV8aMGU0W8n+cWgQW32FIlzw/03W1L8kYVMpjuAw4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=K8Sgwi6f; arc=none smtp.client-ip=198.47.23.248 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 43A65i81084426; Wed, 10 Apr 2024 01:05:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1712729144; bh=LOHKtXEiE3d6AuJ2L8rr+IMyqwcKlUeg9Up/wDw6oeg=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=K8Sgwi6fBQ0zTyropujuPdrOfaQV2UUmZE2PBKyf+cZHsxXJ5CFmHItPBVpxyqu2e fDqG5Ab0d3bMNSDwQIcwiEwBrLOxeswWYUy0FLBdIAV2Rstqd5r+AcL9R3eHhZm7Sg a5/fC2cmDVNobSorivWJsFZ4653gSEtKe5XpWg3A= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 43A65iSi007048 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 10 Apr 2024 01:05:44 -0500 Received: from DFLE108.ent.ti.com (10.64.6.29) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 10 Apr 2024 01:05:43 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE108.ent.ti.com (10.64.6.29) 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; Wed, 10 Apr 2024 01:05:43 -0500 Received: from [172.24.20.156] (lt5cd2489kgj.dhcp.ti.com [172.24.20.156]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 43A65eI9070155; Wed, 10 Apr 2024 01:05:40 -0500 Message-ID: Date: Wed, 10 Apr 2024 11:35:39 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 4/4] arm64: dts: ti: k3-j7200-main: Add the MAIN domain watchdog instances To: Neha Malcom Francis , , , , , CC: , , , , References: <20240326122723.2329402-1-n-francis@ti.com> <20240326122723.2329402-5-n-francis@ti.com> Content-Language: en-US From: "Kumar, Udit" In-Reply-To: <20240326122723.2329402-5-n-francis@ti.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Hi Neha On 3/26/2024 5:57 PM, Neha Malcom Francis wrote: > There are 4 watchdog instances in the MAIN domain: > * one each for the 2 A72 cores > * one each for the 2 R5F cores > > Currently, the devicetree only describes watchdog instances for the A72 > cores and enables them. Describe the remaining but reserve them as they > will be used by their respective firmware. > > Signed-off-by: Neha Malcom Francis > --- > arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 27 +++++++++++++++++++++++ > 1 file changed, 27 insertions(+) > > diff --git a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi > index 657f9cc9f4ea..c448c2218e23 100644 > --- a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi > @@ -1254,6 +1254,33 @@ watchdog1: watchdog@2210000 { > assigned-clock-parents = <&k3_clks 253 5>; > }; > > + /* > + * The following RTI instances are coupled with MCU R5Fs so > + * keeping them reserved as these will be used by their respective > + * firmware > + */ > + watchdog2: watchdog@23c0000 { > + compatible = "ti,j7-rti-wdt"; > + reg = <0x00 0x23c0000 0x00 0x100>; > + clocks = <&k3_clks 258 1>; > + power-domains = <&k3_pds 258 TI_SCI_PD_EXCLUSIVE>; > + assigned-clocks = <&k3_clks 258 1>; > + assigned-clock-parents = <&k3_clks 258 5>; > + /* reserved for MAIN_R5F0_0 */ > + status = "reserved"; > + }; > + > + watchdog3: watchdog@23d0000 { > + compatible = "ti,j7-rti-wdt"; > + reg = <0x00 0x23d0000 0x00 0x100>; > + clocks = <&k3_clks 259 1>; > + power-domains = <&k3_pds 259 TI_SCI_PD_EXCLUSIVE>; > + assigned-clocks = <&k3_clks 259 1>; > + assigned-clock-parents = <&k3_clks 259 5>; > + /* reserved for MAIN_R5F0_1 */ > + status = "reserved"; > + }; > + Please see, if this make more sense to have label as watchdog28 and watchdog29, to align with TRM. Also request to add mcu domain 2 watchdog as well. > main_timer0: timer@2400000 { > compatible = "ti,am654-timer"; > reg = <0x00 0x2400000 0x00 0x400>;