Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3190627pxb; Wed, 13 Oct 2021 00:26:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxvGarPZ8tMsMYd83L8Z7g1D5qg9ah9eaAYi0mfqKelDc5Kr3tQQktPubI5B6OklV2L3aOc X-Received: by 2002:a17:907:75e1:: with SMTP id jz1mr39807243ejc.439.1634109960738; Wed, 13 Oct 2021 00:26:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634109960; cv=none; d=google.com; s=arc-20160816; b=04M2MKZcehcDw2AgyjV3XO/nTE9o6W5laVpaUbERT1d7rMIyfgyCQoM4GcKkeysm2M pnme7GZgpV6Ham1UQVO4ujd0Knfd1lmp/BlEF7DgMRDEffjKHA0y/FbQUeSSHXSEHG9k EO4hymLuRkW+YKkqLLR3DXRWyzEHfcjYT8gP/r4Sox+QALfyXgFYpk7n6+FJgoe0mExz dsEpxxcmAlHFfZ9jrl0DXVk7j68LCMbR27Vue0glCZz+ooXzmZKbzozTiFG25zYSTWlO IjlC8QnKOKyl1E9sAmUCrfZTdUeq8zHBR4sLEKXTC7yAuflXp+744GwvKBjW0kYQM0Kz 2wzw== 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=S0d627GkmYQ3pKWYW7EBaEuTndhBSIBuWFrjhoT8OD0=; b=rjC3RcxahzTbz8J19go7Su/1ulqoJri3EGcXAsRTpJPVAz6znfU+uDydN/jzA1jAaU RgC0ZuBLu3vSVYMxClQOwevq9CKgfFVcuZfLy29JzzbatRPX9GLWNBgkxJTcrTjWvqMv RRxgU73Yy5wXplUnXa5OJsFDe8XKh7l7TGy+lXOYkJqIEkvmCoX5CCOoaQUZZagMNwaD CIt1YGEt7W/kjkhYpGMlOevQYOX1/qDth2an7+mk+Ta/K/GasdhiKtjsZyLHG3VMpbmu v5WMzkBRTh4jsTkjbWpwf4J7yxCadGoqZdTCif+gX4BIu6LCxI9A5o0dEwlDay60celA nH+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ajPZjsQO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id di7si24258340ejc.345.2021.10.13.00.25.37; Wed, 13 Oct 2021 00:26:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ajPZjsQO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232155AbhJMHZ4 (ORCPT + 99 others); Wed, 13 Oct 2021 03:25:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:50338 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229548AbhJMHZz (ORCPT ); Wed, 13 Oct 2021 03:25:55 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 57620604DA; Wed, 13 Oct 2021 07:23:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1634109832; bh=8tW3jrUtGh8D9IU8h+F9Q4KrLn2sM5xgpjJKt7sTuJU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ajPZjsQOgWjU9UI0nm93R3TbZ3+CwaymKKRi5sOwoCNnFUE6AiOPWN9C1kk/PBjNp z8Rz7KnYTpREYRz7yeV2viNAYvG02to5NL46z9RFaCnfseCNL7nC5qh02lVDV7yzI6 tGgXvlSXX6UND33vElSheIYmPKBHXkZFe4ktHNmXHjkJd2i0zjx1aHZmsI01nPFsR3 v2qrrd0tKpfCigGK8phCGe5w73CB1thoE0vy4bTspR+Jq5Fmg7/9F2yR+rHr7P2k7D B7diX5icAa4X1btgKmRvKNiZAyphCNaZx335rQaJ/pQeJOC/Jn8+LE8RtOWSC9JfxE /BZdA79qSTX5Q== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1maYc2-0005xc-SY; Wed, 13 Oct 2021 09:23:43 +0200 Date: Wed, 13 Oct 2021 09:23:42 +0200 From: Johan Hovold To: Drew Fustini Cc: Benoit Cousson , Dave Gerlach , Keerthy , Tony Lindgren , Rob Herring , linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM: dts: am335x: Add rtc node as system-power-controller Message-ID: References: <20211012191311.879838-1-dfustini@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211012191311.879838-1-dfustini@baylibre.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 12, 2021 at 12:13:12PM -0700, Drew Fustini wrote: > From: Keerthy > > PMIC_PWR_EN pin of RTC on am335x-evm, bone, and boneblack is connected to > PMIC on board, so flag rtc node as system-power-controller to allow > software to poweroff boards. The "system-power-controller" property is already set in bone-common.dtsi since 2876cc4a773c ("ARM: dts: Move most of am335x-boneblack.dts to am335x-boneblack-common.dtsi") so this probably only affects am335x-evm and that should be reflected in the commit message. Also, should you now remove the property from boneblack-common? Or just add it to am335x-evm instead? > Signed-off-by: Dave Gerlach > Signed-off-by: Keerthy > Signed-off-by: Drew Fustini > --- > arch/arm/boot/dts/am335x-bone-common.dtsi | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi > index 0ccdc7cd463b..56ae5095a5b8 100644 > --- a/arch/arm/boot/dts/am335x-bone-common.dtsi > +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi > @@ -399,6 +399,7 @@ &sham { > &rtc { > clocks = <&clk_32768_ck>, <&clk_24mhz_clkctrl AM3_CLK_24MHZ_CLKDIV32K_CLKCTRL 0>; > clock-names = "ext-clk", "int-clk"; > + system-power-controller; > }; > > &pruss_tm { Johan