Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3423073pxb; Mon, 18 Oct 2021 15:07:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwssyd87AvnC88L05iG+RDNlKKBztpYMgsxrdKCXKSOMamXVKoier8q5siUiGzc6eCtQP2M X-Received: by 2002:a50:e108:: with SMTP id h8mr48622109edl.42.1634594861038; Mon, 18 Oct 2021 15:07:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634594861; cv=none; d=google.com; s=arc-20160816; b=xDyo9l33cbUOa6YHww6xbaQ2065up86wCN054phM+2USYrz6aUW9JJWKxXgYkxBZY/ 8kEQhmWN7Lwo3bE0ge8jz1ggTTZCEBE2TM9eik9y0e+i5HyLRVWuN3zv0GV6aYFELO1e TtThlWbYU+UT2V0kQum36Stswij5oeEj/RbpmoOl9MBHV3YsgtwORNBVMACsM8SlnQym 7+Eo1SFN0j+PC6KzXJgxobyJGVFp66dZ18JWd2LQHI+SkVoIMmp7GzbHarAw1HH8vkjL mnmDBMZqYb4/AsExqBxYqg9yMMBS+VhXsjzTgDwVpc5i2Lt6wdWhheLjDqLaAQ9c46q5 cs8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=OU+IfE9McKgAt+oFo4Os7dUp/C7AkJcAgVog/W2QeCs=; b=wScOG4LSZ/hMqaO6F+YSxrbS/oWnRDuIcEuZ+/DNnFTDz/ZqyuYnAtlISUYEOQ3rGd Pf/l/sedzvfpQjAWent4BFAGV+bSGMyBBcrfdjrKgZOozP+ew13wJhOMTbfgFyJpePLq TtAgoX+agkWRA8tybOmMgJIaVMgN42SmnIEo2Wg9tLNiP6CtjFj4sgcsutGqpsSD0gix MYK5/l2izOQwYTHeD7msAyaMjSAa+3jp9OegNFLkgeYkFqC6lRP91vdwQ5QVN0uflPQP uguSALcff4ZsQTOrrJoioD/A/WNdgucd3QgEaJksk+ULO5NrFNqusM5z2r5eft2lIk1l MQtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=FEEwzlxf; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u1si25894719edp.348.2021.10.18.15.06.24; Mon, 18 Oct 2021 15:07:41 -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=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=FEEwzlxf; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230070AbhJRWGN (ORCPT + 99 others); Mon, 18 Oct 2021 18:06:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233423AbhJRWGM (ORCPT ); Mon, 18 Oct 2021 18:06:12 -0400 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39A1EC061765 for ; Mon, 18 Oct 2021 15:04:01 -0700 (PDT) Received: by mail-pl1-x634.google.com with SMTP id g5so12264527plg.1 for ; Mon, 18 Oct 2021 15:04:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=OU+IfE9McKgAt+oFo4Os7dUp/C7AkJcAgVog/W2QeCs=; b=FEEwzlxflKjOi9J0V9GZi9d/UdrrzBlvFxxp69+sMqXMLN4e8FfHj6faM0d+03WYdc SwWQIS3TPCnsKaXI44a9e3QFUHyShdGthl+Mo10mpFoPfwAmX6pfY4sh8NTuziWA1QYm 2g4YoxsBkL4X9RJl1ZrwHUHqch7ExZFu99W5ZKJbCd38rdB3bJUnNhg7rnL5puAGAWMS hJFdnKqNTrFGNC95ylbs3UmkZklkoHwnBufXC+atS+2U6dZ3i2yUuQkq8ivOxorzVavp jg8JIfbgl56qMPoM6PaJcJNivn23OMlEAAY6n0Yelf4k2GITiA6PmQ8uuAy9pfSjl2+i OmUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=OU+IfE9McKgAt+oFo4Os7dUp/C7AkJcAgVog/W2QeCs=; b=hLZqk1rkWoAB6hQe/4vKj0mHq7lhrLxWWZE5pNXOYeA5SBOxMELyOSWqCapxTbJmJP WdxDAW8Wb29CLc3LxhXhBMXhzYCyftjScAMMBT66z8xv/Wbi2MfXiwBvy1ri/AND6MRX R/57gqq+lghmOOJXDKMWzv3ZBO1S6/ExRxweEhVZcaGYu5YKQ3yvHo7LdAX4Nf5pwcV7 Wio8vuifP4t5dIjPPdaSLPl1tLEGSvQduWcGpSfwuY8azl+nKkkGRZAHmRjNrUV0k3mE lN45b7po/iG/P/ML4jQEgC88htQlyxjf3ieO6Se6LRLKvIMDpqfa99+csDToNBfW1OlX 61gA== X-Gm-Message-State: AOAM531ajpyFVls6SLEiOHnugoZgwjmMetR8zp0SI4VpHINbnEmSol9/ CQL+0Or3EQvt1XL8r7Q2xtsgkg== X-Received: by 2002:a17:902:edc8:b0:13f:be3a:caa6 with SMTP id q8-20020a170902edc800b0013fbe3acaa6mr7697924plk.27.1634594640755; Mon, 18 Oct 2021 15:04:00 -0700 (PDT) Received: from x1.lan ([2607:fb90:3273:95f2:c715:2287:eaad:f905]) by smtp.gmail.com with ESMTPSA id f33sm386796pjk.42.2021.10.18.15.03.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Oct 2021 15:04:00 -0700 (PDT) From: Drew Fustini To: Dave Gerlach , Keerthy , Johan Hovold , Jason Kridner , Benoit Cousson , Tony Lindgren , Rob Herring , linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Drew Fustini Subject: [PATCH 1/2] ARM: dts: am335x-boneblack-common: move system-power-controller Date: Mon, 18 Oct 2021 15:00:19 -0700 Message-Id: <20211018220018.1514652-2-dfustini@baylibre.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20211018220018.1514652-1-dfustini@baylibre.com> References: <20211018220018.1514652-1-dfustini@baylibre.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Move the rtc node system-power-controller property from am335x-boneblack-common.dtsi to am335x-bone-common.dtsi. am335x-boneblack-common.dtsi is included by am335x-boneblack.dts, am335x-boneblack-wireless.dts, am335x-sancloud-bbe.dts and am335x-sancloud-bbe-lite.dts. All of these dts files also include am335x-bone-common.dtsi and thus will retain the rtc node system-power-controller property. am335x-bone-common.dtsi is also included by am335x-bone.dts [1], am335x-bonegreen.dts [2] and am335x-bonegreen-wireless.dts [3]. These boards will now have the rtc node system-power-controller property too. This is valid as they also have PMIC_POWR_EN (ZCZ C6) connected to PWR_EN on the TPS65217B PMIC. Based on 15c7be47fb7c ("ARM: dts: am335x: Add rtc node as system-power-controller") by Keerthy in ti-linux-5.4.y branch [4]. [1] https://beagleboard.org/static/beaglebone/BEAGLEBONE_SCHEM_A3.pdf [2] https://github.com/SeeedDocument/BeagleBone_Green/blob/master/resources/BEAGLEBONE_GREEN_V1.pdf [3] https://github.com/SeeedDocument/BeagleBone_Green_Wireless/blob/master/resources/BeagleBone_Green%20Wireless_V1.0_SCH_20160314.pdf [4] git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git Cc: Jason Kridner Cc: Dave Gerlach Cc: Keerthy Link: https://lore.kernel.org/linux-omap/20211012191311.879838-1-dfustini@baylibre.com/ Suggested-by: Johan Hovold Signed-off-by: Drew Fustini --- arch/arm/boot/dts/am335x-bone-common.dtsi | 1 + arch/arm/boot/dts/am335x-boneblack-common.dtsi | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) 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 { diff --git a/arch/arm/boot/dts/am335x-boneblack-common.dtsi b/arch/arm/boot/dts/am335x-boneblack-common.dtsi index 10494c4431b9..a7a8c61ef9b2 100644 --- a/arch/arm/boot/dts/am335x-boneblack-common.dtsi +++ b/arch/arm/boot/dts/am335x-boneblack-common.dtsi @@ -22,10 +22,6 @@ &mmc2 { non-removable; }; -&rtc { - system-power-controller; -}; - / { memory@80000000 { device_type = "memory"; -- 2.27.0