From patchwork Mon Oct 18 22:00:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Drew Fustini X-Patchwork-Id: 12568169 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 85719C433EF for ; Mon, 18 Oct 2021 22:04:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6B55F6112D for ; Mon, 18 Oct 2021 22:04:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233054AbhJRWGL (ORCPT ); Mon, 18 Oct 2021 18:06:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232200AbhJRWGK (ORCPT ); Mon, 18 Oct 2021 18:06:10 -0400 Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 328FDC06161C for ; Mon, 18 Oct 2021 15:03:59 -0700 (PDT) Received: by mail-pl1-x62f.google.com with SMTP id n11so12251231plf.4 for ; Mon, 18 Oct 2021 15:03:59 -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=EWLOc8/hfNY9oAs9EE0iuyf6SIeHv8bSlieQBFSOAOY=; b=kjeS4CRP3HqOok9cHASbD8OP2Rk+FZtDj2dK3MPYTeuxKxNfgivsdx04Gk1h+fpZUr xuqFpOZpnsTtlcooONuW0qfYwLy8xzqovlH3362rtDHZq8EXGCTowxVZg47lZYRlI/Sk 3wrB54xgVnrwNbDbb41K+Ro2Dto124F+vb1knnYBkghJP63yUcpHt1SAmOZbyMVZ/WU2 Eye0HGAd3ZhWNK/SJtsMNqt5KBrWEekab7XEaYfCLnHTJLX1SHsynL3M88ojYKPXUE7C wty8zKbdSpvEG2KyXQqnh57zX2zVGhlu6nfLjSlMv3X0DiAoE+2uWtSBO+5gc8YVR56u pH2w== 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=EWLOc8/hfNY9oAs9EE0iuyf6SIeHv8bSlieQBFSOAOY=; b=O0izQf++hXTcjwg+lAwO5bfGpPipOUGCG+eSGrnz1z+UJYszGXnt5chVeqYUq5JS4R UiIAjvCWrZHmzgG+66gP1CnzY85oggBDbrw3eoWX/PrafDH9n6GQ5JrBDlInWJ68Dsx2 Q79feKqosA48+L77PHzzQ8M0u6efnagE9obWUBs553zOlMYmoHyAY/KYFa/koRCSu9sm 9fhHMkX1ECnyUQgtCq0t2fKhbtT2jtSSIsxeuU2qAA0P/XJOhBfBaIbfLRGyFTDlmjku WbQh6d+a6mbQRveUCf3MdPB7NsqAY/v6YUG354ui86Grhpf32Bb7+yaK4nhmlQIZjKij 7FIA== X-Gm-Message-State: AOAM530dn+OkNcEtNwONv3iN69MQevK0EpH1jxeCuRqEVeeukmgXenNr PHbj89C9SFjsx5b1SvLPVCGpqA== X-Google-Smtp-Source: ABdhPJxf95LjSvvxphK4iCsAo9dgNJ1DZmUuLtM2CwL3Xh5sF77F8T232vNVIz6Lk6Scu8cdr2lO5g== X-Received: by 2002:a17:90b:1196:: with SMTP id gk22mr1812237pjb.126.1634594638734; Mon, 18 Oct 2021 15:03:58 -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.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Oct 2021 15:03:58 -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 0/2] ARM: dts: am335x: add rtc system-power-controller Date: Mon, 18 Oct 2021 15:00:18 -0700 Message-Id: <20211018220018.1514652-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 Johan pointed out when I submitted "ARM: dts: am335x: Add rtc node as system-power-controller" [1] that mentioning am335x-evm and boneblack in the commit message was incorrect. system-power-controller is already present in am335x-boneblack-common.dtsi and am335x-evm would need the property added directly to the dts file. These are the dts files that currently include either am335x-bone-common.dtsi or am335x-boneblack-common.dtsi: am335x-bone.dts am335x-bone-common.dtsi am335x-boneblack.dts am335x-bone-common.dtsi am335x-boneblack-common.dtsi am335x-boneblack-wireless.dts am335x-bone-common.dtsi am335x-boneblack-common.dtsi am335x-bonegreen.dts am335x-bone-common.dtsi am335x-bonegreen-wireless.dts am335x-bone-common.dtsi am335x-sancloud-bbe.dts am335x-bone-common.dtsi am335x-boneblack-common.dtsi am335x-sancloud-bbe-lite.dts am335x-bone-common.dtsi am335x-boneblack-common.dtsi am335x-boneblack, am335x-boneblack-wireless, am335x-sancloud-bbe and am335x-sancloud-bbe-lite currently get the system-power-controller property from am335x-boneblack-common.dtsi. Moving that property to am335x-bone-common.dtsi would have no change for these boards as they include that dtsi file too. This change would result in the addition of system-power-controller to bone, bonegreen and bonegreen-wireless. These boards all have PMIC_POWR_EN (ZCZ ball C6) connected to PWR_EN on the TPS65217B PMIC. Thus system-power-controller is a valid property for them too. In addition to BeagleBone, I have reviewed the TI AM335x eval boards: am335x-evm.dts should _not_ have the system-power-controller property as the PMIC_POWER_EN is not connected on the TMDXEVM3358 board [2]. The ball would be connected to SLEEP (pin 37) on the TPS65910A3 PMIC but R65 is marked as do not populate. am335x-evmsk.dts should _not_ have system-power-controller property as PMIC_POWER_EN is not connected on the TMDSSK3358 board [3]. am335x-icev2.dts should have the system-power-controller property as the PMIC_POWER_EN (ZCZ ball C6) is connected to PWRHOLD (pin 1) of the TPS65910A3 PMIC on the TMDSICE3359 board [4]. Cc: Jason Kridner Cc: Dave Gerlach Cc: Keerthy Cc: Johan Hovold [1] https://lore.kernel.org/linux-omap/20211012191311.879838-1-dfustini@baylibre.com/ [2] https://www.ti.com/tool/TMDXEVM3358 [3] https://www.ti.com/tool/TMDSSK3358 [4] https://www.ti.com/tool/TMDSICE3359 Drew Fustini (2): ARM: dts: am335x-boneblack-common: move system-power-controller ARM: dts: am335x-icev2: Add system-power-controller to RTC node arch/arm/boot/dts/am335x-bone-common.dtsi | 1 + arch/arm/boot/dts/am335x-boneblack-common.dtsi | 4 ---- arch/arm/boot/dts/am335x-icev2.dts | 4 ++++ 3 files changed, 5 insertions(+), 4 deletions(-) Reviewed-by: Johan Hovold