From patchwork Tue Oct 12 19:13:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Drew Fustini X-Patchwork-Id: 12553583 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 099E1C433F5 for ; Tue, 12 Oct 2021 19:18:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E74A5610CF for ; Tue, 12 Oct 2021 19:18:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233467AbhJLTUT (ORCPT ); Tue, 12 Oct 2021 15:20:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231586AbhJLTUT (ORCPT ); Tue, 12 Oct 2021 15:20:19 -0400 Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8FD63C061745 for ; Tue, 12 Oct 2021 12:18:17 -0700 (PDT) Received: by mail-pl1-x62d.google.com with SMTP id t11so189114plq.11 for ; Tue, 12 Oct 2021 12:18:17 -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:mime-version :content-transfer-encoding; bh=rZojLxNHDG9L7+3rBw8GD2erwwT1gR6rCpMitvc63e0=; b=tmFO6TcJoOdc9Uwt0V6Q6OIdANSPgpyKyYXF68sVhVU4R0xAQhislD8qKjtIimIDVa zdFb5nn6ehNoAp4vHMoIT9Mji+vLVRlE/PIAUQ3i0zhd+4+vxVkRLfSJ/yY3nb3aRZuC Kz4LQbD5By/aHvLScYZSZdZ6E4hK2Afy0xjW6q7WRBvZVy6J0UfEIAYi7MiL4pHW7oN4 trkuplyZLAmeGJ8euR1Wavrd64RTePolxHvyxaNX+Rs9J5D0jKQk06opNsDrm24eVPnn ZpvqzLelSDG8dBOoyW8OYxYLXaq+Sm+AzvoonVkLFAd4ZLhxAUVQZQWiRZTgEEpCcHxg etbA== 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:mime-version :content-transfer-encoding; bh=rZojLxNHDG9L7+3rBw8GD2erwwT1gR6rCpMitvc63e0=; b=iFVbRaoyRcQUBUZUpK3g90z4GteS/O8O5BsalqwLAsl1R2mNffKjnkXyr4+9WfGae1 dulMocg8QOysEgenTtxZL7qNW9aggbkAjt+YE6WYNIzg4SIpp2DwGIsJEzBcFiJYqWcA Ld1yZcRpYJhq73+gGlABgtI6wP8Gg8RFjJy52xTwUtyUAdq+h/sMrrmZsl77cx9t9MGm 2u6U6fSlEG0ruGGAYEcB5z9kpdMFhGoYDxtYU2WAmeRoKwTW/9fbmpLskSZTwFAqzch+ 0z6uhcIENpIo0ImlG68Gvuxhx1s1dWIOevQsyoJ9+iyGdWKhbn5O8b5qwnMrIyQDOSeq Vc9w== X-Gm-Message-State: AOAM533SNB4zFwfn0pzKD5W8AXbFgbhtwNqqIjTOgCbtp0cmhOgnHbLG LS5Om2WJngLJTjroTEMie1/IKQ== X-Google-Smtp-Source: ABdhPJxLhhrR7V1Yrp1Bh/N/xYlCfPjHADDWFcDrI1Nm4TmYW4ilTk5/Ck9mf1567yZUtUrCDO9JhQ== X-Received: by 2002:a17:903:1207:b0:13d:b9b1:ead7 with SMTP id l7-20020a170903120700b0013db9b1ead7mr31653976plh.63.1634066297097; Tue, 12 Oct 2021 12:18:17 -0700 (PDT) Received: from x1.hsd1.or.comcast.net ([2601:1c2:1000:35e0:e8e2:9471:3c5b:c7c4]) by smtp.gmail.com with ESMTPSA id z11sm11586812pfk.204.2021.10.12.12.18.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Oct 2021 12:18:16 -0700 (PDT) From: Drew Fustini To: Benoit Cousson , Dave Gerlach , Keerthy , Tony Lindgren , Rob Herring , linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Drew Fustini Subject: [PATCH] ARM: dts: am335x: Add rtc node as system-power-controller Date: Tue, 12 Oct 2021 12:13:12 -0700 Message-Id: <20211012191311.879838-1-dfustini@baylibre.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org 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. 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 {