From patchwork Mon Oct 18 22:00:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Drew Fustini X-Patchwork-Id: 12568173 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0625DC433EF for ; Mon, 18 Oct 2021 22:04:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E315661165 for ; Mon, 18 Oct 2021 22:04:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230466AbhJRWGP (ORCPT ); Mon, 18 Oct 2021 18:06:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229991AbhJRWGP (ORCPT ); Mon, 18 Oct 2021 18:06:15 -0400 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66937C06161C for ; Mon, 18 Oct 2021 15:04:03 -0700 (PDT) Received: by mail-pl1-x629.google.com with SMTP id n11so12251343plf.4 for ; Mon, 18 Oct 2021 15:04:03 -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=wVk5yD+PSi8ucg8AJyWuZQNAEZaSAnXc3EBZDpnorZg=; b=h8RxE+sleFIIIi9+GM8T2hHJAXb+ITeMu16ORqv199ebFSTKNdCfY5m3jdXRMgLp82 cXl4UctkCwWjI+Ck3YlTu2QXNJsu49lBCEGvqIckVm7tt50Ddt3rb65gWSDDbB5pBznt uDIJznM3Oe9Osldm/cP2C66U6d0x0E8xOUzy736fBmmGBVKV26CP8BvuG9xYZ8jpfdLg lFoc3Q0sPMFNhQtwLjXHFw7+HYcj7NltJKFMLqmzrpXJtmsRSQkPO/5IsdzL9BK7x8XR X6+gpTuFFjaCM1WYb2eymhxyWgDjWtxbBQXEbacBhYulAbijNX/qKsaqgfJuiPwgoXLZ VJIg== 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=wVk5yD+PSi8ucg8AJyWuZQNAEZaSAnXc3EBZDpnorZg=; b=zsktcUOojiakQ9RHRCGHsOu6DLn4lyZBST90tqLmQ3A6mIJiZ5GqNKo52YHvQoDG8m 1DzZqeSZMZQgz9LvrF1+wZWwMXc9mz+bbnJfjuyicP7lwYqVLWiuhTDO7vw+L9ulzkRf RrKku7UBEYJn3iJXE5X4GknbH+IVd8aAqQ8WI1Akr4uw6tQmJvtBUGdzD3NYfAFO3Ma+ RjMc1AYwx3Wbg1FBMUngmvEZ57sPZUPl2IfP69yR64/x4IHcKZiSpZ13cgAu/Dgnn9KP ixeJUo6ekWDGsrhkXhSls0rBhJcxvmb23qJ1mLwm8jtnERcHUmxJ57eyZzEdnLYcS+Xb idTg== X-Gm-Message-State: AOAM533svOY+MnCmO8qyg4p5bsww8eb6C1b2SmCr7nRcxmo7Jp4/qwsQ Jg7SbUP5agVkeXbqBiTo5vkrqw== X-Google-Smtp-Source: ABdhPJwPsYtJw8pT0uukx1WutHu6glhwiN0vfKwZnWeQTAGQ1H0i5QPdYGaNZTWES3zvVMxwDF67mg== X-Received: by 2002:a17:902:edcf:b0:13f:165e:f485 with SMTP id q15-20020a170902edcf00b0013f165ef485mr29763759plk.58.1634594642968; Mon, 18 Oct 2021 15:04:02 -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.04.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Oct 2021 15:04:02 -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 2/2] ARM: dts: am335x-icev2: Add system-power-controller to RTC node Date: Mon, 18 Oct 2021 15:00:20 -0700 Message-Id: <20211018220018.1514652-3-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 Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org On the am335x-icev2 board [1], AM3359 PMIC_PWR_EN (ZCZ ball C6) is connected to PWRHOLD (pin 1) on the TPS65910A3 PMIC. The addition of system-power-controller to the rtc node will enable the capability of the RTC driver to poweroff the board. Based on 15c7be47fb7c ("ARM: dts: am335x: Add rtc node as system-power-controller") by Keerthy in ti-linux-5.4.y branch [2]. [1] https://www.ti.com/tool/TMDSICE3359 [2] git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git 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-icev2.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/am335x-icev2.dts b/arch/arm/boot/dts/am335x-icev2.dts index e5ce89c8f54d..5835c0cdda50 100644 --- a/arch/arm/boot/dts/am335x-icev2.dts +++ b/arch/arm/boot/dts/am335x-icev2.dts @@ -512,3 +512,7 @@ ethphy1: ethernet-phy@3 { &pruss_tm { status = "okay"; }; + +&rtc { + system-power-controller; +};