Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2354662rdh; Tue, 26 Sep 2023 23:09:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGLof0z552PUSXWThgSnFfuPV97dv05aRjIAX8cac8NJK/P0qH4TywswLv+4Bm5W8q2vOJi X-Received: by 2002:a05:6358:341a:b0:143:3845:e6fb with SMTP id h26-20020a056358341a00b001433845e6fbmr1367101rwd.27.1695794953800; Tue, 26 Sep 2023 23:09:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695794953; cv=none; d=google.com; s=arc-20160816; b=O1IDhf8tD7EEW2PC522N0c6Gle3SPH7UKR7qpTrm3BP3oBQfxYAajuTb7jSwoF00X0 kKhnf0Utnh4sn5UPQryxU36j27yjMt4WxmA5CkxhGQQ1TZPKFFPUBPdN1WhBiwZqd8Za wSs0AYWX1uzkYvmCezh2R65x/n3J1pLJJdKamJPg3b9dSkdl4gmB8GPkC+AUJPUvBYpA Fsayg9gwQ2H5WFa1fykXBHTqoIO3fM4t/gOuCnMWeRGpq7bXsIU1WLVnODKeLPhcjeiK slVhBd36/N0OlkDdw5kNZRmjbqJhsZRcrr257/OS8hO1E0fMXY4CHF/1H+t5yM1ee2Cm W0xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=7AKkCUIIjXosndBxlHmGTWyhZDiPu05U+B4Tu8+KOIU=; fh=+zAiEsr0CDZRQ5BOrW6D/jcaTslRwO/L5Wwo4UlV6ug=; b=U1P+Xlfg9jslDBMSRq5CWXdb4sVAechqVCiRt12skCt303+A9Tf4WyVRF3/a19Mjgn PAVvuVzZOTX/qod1t4rLCQztkJz1SztHCBwTKdfvxMcc58mo/xKRNTmH8/gO4pCvPZC7 EJMp+vpUZ3BjvPWe6JqOxMajH6eWU4PLXDEF/8Ozr/lipkiwZtLJ8ww6blGJhskSOe0z BcJNglamnkNw2uuOFxFBiYXa78VjsdPSdm5oxqA/xdKPe3YGkmQdprI125Pp9qOXWVlF qG2WQJaaBs6wemg9oGRt2AS+F7Nc5cHWM2l0HavYLtYqilpqygl3ApGUgkHVZkijEoLQ jc/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=FWMWOdL2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id a62-20020a639041000000b00578cc82870asi14491098pge.344.2023.09.26.23.09.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 23:09:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=FWMWOdL2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id F0E3F828C4BD; Tue, 26 Sep 2023 20:59:42 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229720AbjI0D7g (ORCPT + 99 others); Tue, 26 Sep 2023 23:59:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229740AbjI0D6K (ORCPT ); Tue, 26 Sep 2023 23:58:10 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E54D7AA5; Tue, 26 Sep 2023 19:33:23 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 38R2XHfP013973; Tue, 26 Sep 2023 21:33:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1695781997; bh=7AKkCUIIjXosndBxlHmGTWyhZDiPu05U+B4Tu8+KOIU=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=FWMWOdL2282Hn15OJHg+R6Uj7jQasuCdJja0grMRBeDFTpEXYnWsw8CNVWmM67gjZ b6iDwjdMup+0C1bGqzzqWf/K/I1VMGjYwWJ+ctBGIrvOJx6UpG3qBTLqTEKE3BJVWL BAws93Y4/9W+wuNcuJFZV8nE1ILXNI+X/W44ewDs= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 38R2XHmO023481 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 26 Sep 2023 21:33:17 -0500 Received: from DFLE109.ent.ti.com (10.64.6.30) 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; Tue, 26 Sep 2023 21:33:16 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE109.ent.ti.com (10.64.6.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; Tue, 26 Sep 2023 21:33:17 -0500 Received: from [10.249.131.134] (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 38R2XDGJ096415; Tue, 26 Sep 2023 21:33:13 -0500 Message-ID: <2f9d2c67-a056-3422-baff-9398a4c6b147@ti.com> Date: Wed, 27 Sep 2023 08:03:12 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH v5 4/7] arm64: dts: ti: k3-j784s4-main: Add the main domain watchdog instances Content-Language: en-US To: Nishanth Menon CC: , , , , , , , , References: <20230926132805.6518-1-j-keerthy@ti.com> <20230926132805.6518-5-j-keerthy@ti.com> <20230926171213.nihjj2nsnnvnxhel@gradation> From: "J, KEERTHY" In-Reply-To: <20230926171213.nihjj2nsnnvnxhel@gradation> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-2.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 26 Sep 2023 20:59:43 -0700 (PDT) On 9/26/2023 10:42 PM, Nishanth Menon wrote: > On 18:58-20230926, Keerthy wrote: >> There are totally 19 instances of watchdog module. One each for the >> 8 A72 cores, one each for the 4 C7x cores, 1 for the GPU, 1 each >> for the 6 R5F cores in the main domain. Keeping only the A72 instances >> enabled and disabling the rest by default. >> >> Signed-off-by: Keerthy >> --- >> arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi | 182 +++++++++++++++++++++ >> 1 file changed, 182 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi >> index 26dc3776f911..8c3efe066803 100644 >> --- a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi >> +++ b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi >> @@ -1576,4 +1576,186 @@ >> <695>; >> bootph-pre-ram; >> }; >> + >> + watchdog0: watchdog@2200000 { >> + compatible = "ti,j7-rti-wdt"; >> + reg = <0x00 0x2200000 0x00 0x100>; >> + clocks = <&k3_clks 348 1>; >> + power-domains = <&k3_pds 348 TI_SCI_PD_EXCLUSIVE>; >> + assigned-clocks = <&k3_clks 348 0>; >> + assigned-clock-parents = <&k3_clks 348 4>; >> + }; >> + >> + watchdog1: watchdog@2210000 { >> + compatible = "ti,j7-rti-wdt"; >> + reg = <0x00 0x2210000 0x00 0x100>; >> + clocks = <&k3_clks 349 1>; >> + power-domains = <&k3_pds 349 TI_SCI_PD_EXCLUSIVE>; >> + assigned-clocks = <&k3_clks 349 0>; >> + assigned-clock-parents = <&k3_clks 349 4>; >> + }; >> + >> + watchdog2: watchdog@2220000 { >> + compatible = "ti,j7-rti-wdt"; >> + reg = <0x00 0x2220000 0x00 0x100>; >> + clocks = <&k3_clks 350 1>; >> + power-domains = <&k3_pds 350 TI_SCI_PD_EXCLUSIVE>; >> + assigned-clocks = <&k3_clks 350 0>; >> + assigned-clock-parents = <&k3_clks 350 4>; >> + }; >> + >> + watchdog3: watchdog@2230000 { >> + compatible = "ti,j7-rti-wdt"; >> + reg = <0x00 0x2230000 0x00 0x100>; >> + clocks = <&k3_clks 351 1>; >> + power-domains = <&k3_pds 351 TI_SCI_PD_EXCLUSIVE>; >> + assigned-clocks = <&k3_clks 351 0>; >> + assigned-clock-parents = <&k3_clks 351 4>; >> + }; >> + >> + watchdog4: watchdog@2240000 { >> + compatible = "ti,j7-rti-wdt"; >> + reg = <0x00 0x2240000 0x00 0x100>; >> + clocks = <&k3_clks 352 1>; >> + power-domains = <&k3_pds 352 TI_SCI_PD_EXCLUSIVE>; >> + assigned-clocks = <&k3_clks 352 0>; >> + assigned-clock-parents = <&k3_clks 352 4>; >> + }; >> + >> + watchdog5: watchdog@2250000 { >> + compatible = "ti,j7-rti-wdt"; >> + reg = <0x00 0x2250000 0x00 0x100>; >> + clocks = <&k3_clks 353 1>; >> + power-domains = <&k3_pds 353 TI_SCI_PD_EXCLUSIVE>; >> + assigned-clocks = <&k3_clks 353 0>; >> + assigned-clock-parents = <&k3_clks 353 4>; >> + }; >> + >> + watchdog6: watchdog@2260000 { >> + compatible = "ti,j7-rti-wdt"; >> + reg = <0x00 0x2260000 0x00 0x100>; >> + clocks = <&k3_clks 354 1>; >> + power-domains = <&k3_pds 354 TI_SCI_PD_EXCLUSIVE>; >> + assigned-clocks = <&k3_clks 354 0>; >> + assigned-clock-parents = <&k3_clks 354 4>; >> + }; >> + >> + watchdog7: watchdog@2270000 { >> + compatible = "ti,j7-rti-wdt"; >> + reg = <0x00 0x2270000 0x00 0x100>; >> + clocks = <&k3_clks 355 1>; >> + power-domains = <&k3_pds 355 TI_SCI_PD_EXCLUSIVE>; >> + assigned-clocks = <&k3_clks 355 0>; >> + assigned-clock-parents = <&k3_clks 355 4>; >> + }; >> + >> + watchdog16: watchdog@2300000 { >> + status = "disabled"; > > wow.. lots of watchdogs.. but you seem to have missed the document why > disabled comment here AND missed the comment about using status > as the last property. > https://lore.kernel.org/all/5187c590-ee9a-4c46-b326-655f4c371aaf@linaro.org/ I will fix it in v6. > >> + compatible = "ti,j7-rti-wdt"; >> + reg = <0x00 0x2300000 0x00 0x100>; >> + clocks = <&k3_clks 356 1>; >> + power-domains = <&k3_pds 356 TI_SCI_PD_EXCLUSIVE>; >> + assigned-clocks = <&k3_clks 356 0>; >> + assigned-clock-parents = <&k3_clks 356 4>; >> + }; >> + >> + watchdog17: watchdog@2310000 { >> + status = "disabled"; >> + compatible = "ti,j7-rti-wdt"; >> + reg = <0x00 0x2310000 0x00 0x100>; >> + clocks = <&k3_clks 357 1>; >> + power-domains = <&k3_pds 357 TI_SCI_PD_EXCLUSIVE>; >> + assigned-clocks = <&k3_clks 357 0>; >> + assigned-clock-parents = <&k3_clks 357 4>; >> + }; >> + >> + watchdog18: watchdog@2320000 { >> + status = "disabled"; >> + compatible = "ti,j7-rti-wdt"; >> + reg = <0x00 0x2320000 0x00 0x100>; >> + clocks = <&k3_clks 358 1>; >> + power-domains = <&k3_pds 358 TI_SCI_PD_EXCLUSIVE>; >> + assigned-clocks = <&k3_clks 358 0>; >> + assigned-clock-parents = <&k3_clks 358 4>; >> + }; >> + >> + watchdog19: watchdog@2330000 { >> + status = "disabled"; >> + compatible = "ti,j7-rti-wdt"; >> + reg = <0x00 0x2330000 0x00 0x100>; >> + clocks = <&k3_clks 359 1>; >> + power-domains = <&k3_pds 359 TI_SCI_PD_EXCLUSIVE>; >> + assigned-clocks = <&k3_clks 359 0>; >> + assigned-clock-parents = <&k3_clks 359 4>; >> + }; >> + >> + watchdog15: watchdog@22f0000 { >> + status = "disabled"; >> + compatible = "ti,j7-rti-wdt"; >> + reg = <0x00 0x22f0000 0x00 0x100>; >> + clocks = <&k3_clks 360 1>; >> + power-domains = <&k3_pds 360 TI_SCI_PD_EXCLUSIVE>; >> + assigned-clocks = <&k3_clks 360 0>; >> + assigned-clock-parents = <&k3_clks 360 4>; >> + }; >> + >> + watchdog28: watchdog@23c0000 { >> + status = "disabled"; >> + compatible = "ti,j7-rti-wdt"; >> + reg = <0x00 0x23c0000 0x00 0x100>; >> + clocks = <&k3_clks 361 1>; >> + power-domains = <&k3_pds 361 TI_SCI_PD_EXCLUSIVE>; >> + assigned-clocks = <&k3_clks 361 0>; >> + assigned-clock-parents = <&k3_clks 361 4>; >> + }; >> + >> + watchdog29: watchdog@23d0000 { >> + status = "disabled"; >> + compatible = "ti,j7-rti-wdt"; >> + reg = <0x00 0x23d0000 0x00 0x100>; >> + clocks = <&k3_clks 362 1>; >> + power-domains = <&k3_pds 362 TI_SCI_PD_EXCLUSIVE>; >> + assigned-clocks = <&k3_clks 362 0>; >> + assigned-clock-parents = <&k3_clks 362 4>; >> + }; >> + >> + watchdog30: watchdog@23e0000 { >> + status = "disabled"; >> + compatible = "ti,j7-rti-wdt"; >> + reg = <0x00 0x23e0000 0x00 0x100>; >> + clocks = <&k3_clks 363 1>; >> + power-domains = <&k3_pds 363 TI_SCI_PD_EXCLUSIVE>; >> + assigned-clocks = <&k3_clks 363 0>; >> + assigned-clock-parents = <&k3_clks 363 4>; >> + }; >> + >> + watchdog31: watchdog@23f0000 { >> + status = "disabled"; >> + compatible = "ti,j7-rti-wdt"; >> + reg = <0x00 0x23f0000 0x00 0x100>; >> + clocks = <&k3_clks 364 1>; >> + power-domains = <&k3_pds 364 TI_SCI_PD_EXCLUSIVE>; >> + assigned-clocks = <&k3_clks 364 0>; >> + assigned-clock-parents = <&k3_clks 364 4>; >> + }; >> + >> + watchdog32: watchdog@2540000 { >> + status = "disabled"; >> + compatible = "ti,j7-rti-wdt"; >> + reg = <0x00 0x2540000 0x00 0x100>; >> + clocks = <&k3_clks 365 1>; >> + power-domains = <&k3_pds 365 TI_SCI_PD_EXCLUSIVE>; >> + assigned-clocks = <&k3_clks 365 0>; >> + assigned-clock-parents = <&k3_clks 366 4>; >> + }; >> + >> + watchdog33: watchdog@2550000 { >> + status = "disabled"; >> + compatible = "ti,j7-rti-wdt"; >> + reg = <0x00 0x2550000 0x00 0x100>; >> + clocks = <&k3_clks 366 1>; >> + power-domains = <&k3_pds 366 TI_SCI_PD_EXCLUSIVE>; >> + assigned-clocks = <&k3_clks 366 0>; >> + assigned-clock-parents = <&k3_clks 366 4>; >> + }; >> }; >> -- >> 2.17.1 >> >