Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp313904rdb; Fri, 6 Oct 2023 04:34:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFT9r5I1H13cBIZfTz55Ns9GywgwGZRq751BwEZ+vdreJ5abeRccMCONN7KyD6unQ6f8RhY X-Received: by 2002:a17:90a:6c47:b0:267:f9ab:15bb with SMTP id x65-20020a17090a6c4700b00267f9ab15bbmr7209414pjj.14.1696592087173; Fri, 06 Oct 2023 04:34:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696592087; cv=none; d=google.com; s=arc-20160816; b=tam/WdtFzBF6KbSERl21kODLBJp1UjDYuY6afv9UvrYxt2y3q/8VNVzeNplq18LLAt R+e2k/j1tVr5p01pIgwlvKq+gp9JfLA0nSU1Fd0Gyqst6dYd3pkOgr2kPPxqLZ7nOkqG dGYHtFJXxYitkccXPKxtbGrIBsM2gU7/hV8wvtu/FE61RyUekns957JTGIFlQhSDXKzo URYscWPKzQ+Yko+9KLkIGqsIECa/6uF74Fld2S7wKnguDFWEDFwau+34XBpBpQpFma2D NcxicUEpEfyPgTmfztqNV0+F52ExdYjwRAiPV8726Sfcwbad6K+nXRwnjSvsCZzpQMv9 gBVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=L/qBAZRai9WwR2dMYvfxO/fOppmi703eQAvgBvW19LU=; fh=w+HbCoaJrjGcaAVB0We5jRaCkgkfQ1RlaeCSip+/wa0=; b=MTtsC3VyiQ3fcK7GPnBBBJhe0r+NWLUFWsFAxa+JCvq23/zZiQivbmuGLAz6kQbtEV A4bYi/LPplGWiVvCrvU3fil97eXt/6oCkJZcDScQaCBCZCbjeD5zdydz/FbPSAeAR9++ v+jkWU8yUuX7MxLKnBeAyc63KDv02T01n1f7hcWOrMrxqd6MOl25np0t4dYtQWluhKor ssqYOfR2s7sopGhjJWQ95Oi5zUTXJ3B9sBqz9mP5qxeA6FgSGxa2AQ2POwMD/bQxS4f0 n6xZDwRFTRHoGQWCAJNT/fMy9KRwqSH8kJg7hra7pNMmWMX1Fb+oTvNgR9uevoeb41wY Yzvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=jIINuBiO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id pi4-20020a17090b1e4400b00277636a9e5csi6064277pjb.96.2023.10.06.04.34.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 04:34:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=jIINuBiO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id A616083B00BA; Fri, 6 Oct 2023 04:34:44 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232067AbjJFLe3 (ORCPT + 99 others); Fri, 6 Oct 2023 07:34:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232049AbjJFLe2 (ORCPT ); Fri, 6 Oct 2023 07:34:28 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4B85CE; Fri, 6 Oct 2023 04:34:25 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 396BYAi1067584; Fri, 6 Oct 2023 06:34:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1696592050; bh=L/qBAZRai9WwR2dMYvfxO/fOppmi703eQAvgBvW19LU=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=jIINuBiOF5EPoD7GkfNHSFzXOwb7d8EJYYNw+j68gWbGGeJwXTQpIDw8vJBOSm73M 9YSXxsSkPwBFeKYe0rV2KA2v80wprYnLimES3lNQ+xiVbjzFSgTeDT5UGjnV4mwFxc biRn59B1MwZdczEwnHtW8b8ABOuH4uyZOpna9oVU= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 396BYAIw020690 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 6 Oct 2023 06:34:10 -0500 Received: from DFLE102.ent.ti.com (10.64.6.23) 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; Fri, 6 Oct 2023 06:34:10 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) 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 via Frontend Transport; Fri, 6 Oct 2023 06:34:10 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 396BYAEJ024616; Fri, 6 Oct 2023 06:34:10 -0500 Date: Fri, 6 Oct 2023 06:34:10 -0500 From: Nishanth Menon To: Keerthy CC: , , , , , , , , Subject: Re: [PATCH v7 5/7] arm64: dts: ti: k3-j784s4-mcu: Add the mcu domain watchdog instances Message-ID: <20231006113410.tibvxxkeuujqnbv4@evolution> References: <20231006042901.6474-1-j-keerthy@ti.com> <20231006042901.6474-6-j-keerthy@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20231006042901.6474-6-j-keerthy@ti.com> X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=2.7 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.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 (howler.vger.email [0.0.0.0]); Fri, 06 Oct 2023 04:34:44 -0700 (PDT) X-Spam-Level: ** On 09:58-20231006, Keerthy wrote: > There are totally 2 instances of watchdog module in MCU domain. > These instances are coupled with the MCU domain R5F instances. > Disabling them as they are not used by Linux. Device tree is hardware description - not tied to how Linux uses it. Reason these wdts are disabled by default is because they are tightly coupled with R5Fs. > > Signed-off-by: Keerthy > --- > .../boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi | 24 +++++++++++++++++++ > 1 file changed, 24 insertions(+) > > diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi > index a7b5c4cb7d3e..809a0b1cf038 100644 > --- a/arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi > @@ -714,4 +714,28 @@ > ti,esm-pins = <63>; > bootph-pre-ram; > }; > + > + /* > + * The 2 RTI instances are couple with MCU R5Fs so keeping them > + * disabled as these will be used by their respective firmware > + */ > + mcu_watchdog0: watchdog@40600000 { > + compatible = "ti,j7-rti-wdt"; > + reg = <0x00 0x40600000 0x00 0x100>; > + clocks = <&k3_clks 367 1>; > + power-domains = <&k3_pds 367 TI_SCI_PD_EXCLUSIVE>; > + assigned-clocks = <&k3_clks 367 0>; > + assigned-clock-parents = <&k3_clks 367 4>; > + status = "disabled"; > + }; > + > + mcu_watchdog1: watchdog@40610000 { > + compatible = "ti,j7-rti-wdt"; > + reg = <0x00 0x40610000 0x00 0x100>; > + clocks = <&k3_clks 368 1>; > + power-domains = <&k3_pds 368 TI_SCI_PD_EXCLUSIVE>; > + assigned-clocks = <&k3_clks 368 0>; > + assigned-clock-parents = <&k3_clks 368 4>; Please DONOT ignore the review comments - I did ask the documentation in dts as well. reason being that this is what people will see rather than dig up the commit log. it should be intutive when reading the dts why nodes are disabled by default Vs the standard of leaving it enabled by default. Given esp that these peripherals do not have anything to do with board semantics (pinmux or something similar) to be complete. > + status = "disabled"; > + }; > }; > -- > 2.17.1 > -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D