Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1664367rdb; Thu, 7 Dec 2023 05:49:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IG2Ztv++V6NzBGXSdBLnnGsWl9uYUdqXl7zOED2v1RrntlRmfJujeyPJob0zTDdX6t89Oo/ X-Received: by 2002:a17:90a:d18c:b0:286:e66a:4d97 with SMTP id fu12-20020a17090ad18c00b00286e66a4d97mr2282306pjb.29.1701956981818; Thu, 07 Dec 2023 05:49:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701956981; cv=none; d=google.com; s=arc-20160816; b=g2ibiP8irDTQozBpOqhchnvHtQK1L5ru5wZOSWIbFOWdAAk+GlgpBnZhhBoi2ItFNb oIfSl2K1aPDFnaTvHKOTG8WiGfphF2+K2TyzLCcqWNdHRFv4Vzg6rSykADdNRhlugR1h UUqrUoHBV3bRqtEZRUUbE/3O44Ck/uSNTzVRfeEEF3JjpbrWYNO/jPHTox5bMMuFAIEH RExHUbby/291obyHNSDzG+2YS28p1R66nmIAAad1vuXZiHupYp0Xo8eit8ddfVtTJzEd fjeqX9/thNdqq0MgTRuHdNHxaNUaM+wWmwxlKrrz6mjOGr4E38sw5+6ptCBCU68FmHCo 0/kA== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=WfaUI8G9Kw7xD7ihODTl/rr/KLgCLlkJ948Ob9AdpUM=; fh=xHyFEeZzeUP6tTyo96EiP71HrLVO62C63EBhdgoCizE=; b=IEbvf0sZMziwdcg2R6/0kZ78PmstoF23FYCgOm141VTW1y4V7OhSSYmrDM64HLkAvV 2CdgGzAj4ifZofXhp6W5JZDmFmVFRNLl7seUT686Zey7GCQb8Opts0Yi4qSZeUO1+1ZS W1q3RNPtRICIUhghfWbNhl7SnMsVTA8x02HVF5JRJZT2Zn/TqBaa7C1jqLBigfpyBsNZ QJMUoOp5vN2Hcj1EX4KwdvAOpnx5ex9C9mZV1HL0re4Ah/eIHXz3z/cYJrZAJbx56hdv QKZ8kG15wD15N7rqdH/Qg9ZIKJobSAexq5g2u+BO1Hqe4DnzARMMsXZw7PR0ak084dNE 0ykQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=S82R8Hym; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id lw11-20020a17090b180b00b0028658eed319si1114661pjb.180.2023.12.07.05.49.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 05:49:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=S82R8Hym; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (Postfix) with ESMTP id 375C9804A732; Thu, 7 Dec 2023 05:49:39 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1442031AbjLGNtT (ORCPT + 99 others); Thu, 7 Dec 2023 08:49:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232849AbjLGNtS (ORCPT ); Thu, 7 Dec 2023 08:49:18 -0500 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 604DE10C2; Thu, 7 Dec 2023 05:49:24 -0800 (PST) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3B7DnDJu093419; Thu, 7 Dec 2023 07:49:13 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1701956953; bh=WfaUI8G9Kw7xD7ihODTl/rr/KLgCLlkJ948Ob9AdpUM=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=S82R8HymbzabOPl6K5p2XZefLK42I9gmZQg56r+XWlp4KgeFDdGeE14x6s3PNmnER wS0bomgdrW3EHScHeqltr1TR0Ga1muYuJVXRiJBq56xCDj2cglW/OgI5zdXp6NVqe/ Kdx0mluCpWBlWAiRCqwcTbdIHO/2JiDKytyJSh+U= Received: from DFLE101.ent.ti.com (dfle101.ent.ti.com [10.64.6.22]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3B7DnDjM012734 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 7 Dec 2023 07:49:13 -0600 Received: from DFLE113.ent.ti.com (10.64.6.34) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 7 Dec 2023 07:49:12 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE113.ent.ti.com (10.64.6.34) 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, 7 Dec 2023 07:49:12 -0600 Received: from localhost (uda0133052.dhcp.ti.com [128.247.81.232]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3B7DnCf8020264; Thu, 7 Dec 2023 07:49:12 -0600 Date: Thu, 7 Dec 2023 07:49:12 -0600 From: Nishanth Menon To: Neha Malcom Francis CC: "Kumar, Udit" , , , , , , , , , , , , , , , , , , , Subject: Re: [PATCH v9 6/7] arm64: dts: ti: k3-j721e-sk: Add TPS6594 family PMICs Message-ID: <20231207134912.olfhmcz5kkbx47wo@landmine> References: <20231205093439.2298296-1-n-francis@ti.com> <20231205093439.2298296-7-n-francis@ti.com> <20231205151647.vh6rlhro7qlwoerc@knelt> <5e22f8cb-1004-4bcc-9bd0-2c30180ba10e@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.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 (agentk.vger.email [0.0.0.0]); Thu, 07 Dec 2023 05:49:39 -0800 (PST) On 11:01-20231207, Neha Malcom Francis wrote: > Hi Nishanth, Udit, > > On 07/12/23 10:12, Kumar, Udit wrote: > > > > On 12/5/2023 8:46 PM, Nishanth Menon wrote: > > > On 15:04-20231205, Neha Malcom Francis wrote: > > > > This patch adds support for TPS6594 PMIC family on wakeup I2C0 bus. > > > > These devices provide regulators (bucks and LDOs), but also GPIOs, a > > > > RTC, a watchdog, an ESM (Error Signal Monitor) which monitors the SoC > > > > error output signal, and a PFSM (Pre-configurable Finite State Machine) > > > > which manages the operational modes of the PMIC. > > > > > > > > Signed-off-by: Neha Malcom Francis > > > > --- > > > > ? arch/arm64/boot/dts/ti/k3-j721e-sk.dts | 158 +++++++++++++++++++++++++ > > > > ? 1 file changed, 158 insertions(+) > > > > > > > > diff --git a/arch/arm64/boot/dts/ti/k3-j721e-sk.dts > > > > b/arch/arm64/boot/dts/ti/k3-j721e-sk.dts > > > > index 42fe8eee9ec8..e600825f7e78 100644 > > > > --- a/arch/arm64/boot/dts/ti/k3-j721e-sk.dts > > > > +++ b/arch/arm64/boot/dts/ti/k3-j721e-sk.dts > > > > @@ -459,6 +459,13 @@ J721E_IOPAD(0x234, PIN_INPUT, 7) /* (U3) > > > > EXT_REFCLK1.GPIO1_12 */ > > > > ? }; > > > > ? &wkup_pmx0 { > > > > +??? pmic_irq_pins_default: pmic-irq-default-pins { > > > > +??????? bootph-pre-ram; > > > > +??????? pinctrl-single,pins = < > > > > +??????????? J721E_WKUP_IOPAD(0x0cc, PIN_INPUT, 7) /* (G28) WKUP_GPIO0_7 */ > > > > +??????? >; > > > > +??? }; > > > > + > > > > ????? mcu_cpsw_pins_default: mcu-cpsw-default-pins { > > > > ????????? pinctrl-single,pins = < > > > > ????????????? J721E_WKUP_IOPAD(0x84, PIN_INPUT, 0) /* (B24) MCU_RGMII1_RD0 */ > > > > @@ -560,6 +567,157 @@ eeprom@51 { > > > > ????????? compatible = "atmel,24c512"; > > > > ????????? reg = <0x51>; > > > > ????? }; > > > > + > > > > +??? tps659413: pmic@48 { > > > > +??????? bootph-pre-ram; > > > only for the leaf nodes. See > > > https://libera.irclog.whitequark.org/armlinux/2023-10-19 > > > > > > AFAIK, please correct me, u-boot still needs in all nodes ? > > > > That's what I believe as well, is it better to have only the leaf nodes in > kernel and have U-Boot DTSI handle the parent bootph properties? If so I'll > send out v10 making change accordingly. > Yes, u-boot today needs it in all nodes. BUT, u-boot needs to be fixed in line to obey the rules of the schema convention that Rob clarified in the discussion above. The other choice is NOT to introduce new bootph properties till u-boot is fixed up (this is also why I haven't sent out further updates for bootph properties for kernel in this cycle). -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D