From patchwork Fri Sep 6 21:21:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Halaney X-Patchwork-Id: 13794766 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DED0BE6FE4A for ; Fri, 6 Sep 2024 21:24:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:Cc:To:In-Reply-To:References:Message-Id:MIME-Version:Subject: Date:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=1XgNokhgnZLHJ9w6Dbtf7+kicJZjf+p4lRARIcV93io=; b=Pcev7ng8yIICIkBvy8rnbK3ZtD NSEHhSyhd9UGtlUoa8gHuJj9ic0Ljj/BgNZFxUTeT+NXtMPWOir4wx/O2mKi3BgjqBoA9GHxEVTKl XUfpzw8LcnnLxNZja92Cxo2RjjWBfleCdrCEc+4DNZ2A+n1MDXKI2ZI+0nVvW9fCS4HANHduvtCQF 6vor21L5cQjeiKOKHhGoRKHLedFVefGPpGcwgMQfukfaQbXujTsT2sa8AMS55jhP2iQs4D2n9TJAG cBPCmI7zJPuN9H1AGO78s0p2wQBcIp0bIRlKPwG/JL1nLwSwDI/Jdj6x/OegHMX6iGXUbc5QDxcTT EaMZIvCQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1smgRT-0000000Dee4-1btB; Fri, 06 Sep 2024 21:24:31 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1smgOZ-0000000DeAG-3lDM for linux-arm-kernel@lists.infradead.org; Fri, 06 Sep 2024 21:21:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1725657691; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1XgNokhgnZLHJ9w6Dbtf7+kicJZjf+p4lRARIcV93io=; b=CexYIvISrg4qMpWfrfGMjZ+rJ5NEu4Dzbq90l+el3CwXx6+d6Y4mk0syqYcI8Gikwd5xRX BVZ/Q00qkGwhQxbWN3vEAwuOLhc7llY4asIAi+w5gPESQp7H8omQCwxu3fWcW/uZVTqcmp 24bH94/jcoQnYgk14NJFTLSFNUCvKus= Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-635-ZfVzXD1BNr-sgqrSm1Y-1A-1; Fri, 06 Sep 2024 17:21:30 -0400 X-MC-Unique: ZfVzXD1BNr-sgqrSm1Y-1A-1 Received: by mail-qt1-f199.google.com with SMTP id d75a77b69052e-457de9445f2so34084091cf.0 for ; Fri, 06 Sep 2024 14:21:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725657689; x=1726262489; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1XgNokhgnZLHJ9w6Dbtf7+kicJZjf+p4lRARIcV93io=; b=j/IQvkw4z5SgZcDeU5MeRQDiqVpZaHXkn+o3mzWOZNrP6mmWfoqgXLPeyoF73NV+mP WU2bHZ3Kh/ebbUPLHAoSnbBocoElivHDV/3Kkl+cWGToyA2EpjTiZ7p/7rwWbQg2HO4L CKxYe4no11a1haxg9kWlsypim+vsPGnYdkNkfaJFTYvP1gEimk0pCJ4xsLjh6OUp1VJg A2HDuJp1XsNMz6DygE3kKkIsVsafwHBEDkWkU+sB42jPuNe9ZirmhhwRMOQilyukaD18 IwGSojxuAYuuhv3srvu9chEG/h4E3ALMtErgCmKSVAa4+iiRpTY7Iei+fV2nLWKtOdvP WlEA== X-Forwarded-Encrypted: i=1; AJvYcCUCKney7rRrj54iROc4kdYRRaN9nNNGJ3PeJHo/i9hCV2yqKxAaNYChmOZX+MIvR1OS0329v+WmsssCmLoFwfy5@lists.infradead.org X-Gm-Message-State: AOJu0YzoFtCEDkjgi2tDJwO8RNOCDXSxsPLCMPmwece5/ZWNqJ1Wcgll o9oKRbr+0YACGOF1uPjhmUFIKP5kHydQ0U1NRT7qVDF6fpgi39unqHN2sgFJvw6QWrMyTfA+7Sx +nZrMBahk56HAT4xeuRN4C1kXu4VGGIQVm85XuJBVO/xD8cQLaIA9WVjBQ9syvWJUx8ZhBP8h X-Received: by 2002:a05:622a:487:b0:458:12cf:f2e4 with SMTP id d75a77b69052e-4582010218emr4829711cf.18.1725657689402; Fri, 06 Sep 2024 14:21:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE+qg/hx1oZqble1rXfDY8x3LrozBiErF38CIyhlgPt4o5J3PrazDcXHzLPX/zsQJCR1magsA== X-Received: by 2002:a05:622a:487:b0:458:12cf:f2e4 with SMTP id d75a77b69052e-4582010218emr4829421cf.18.1725657689052; Fri, 06 Sep 2024 14:21:29 -0700 (PDT) Received: from x1gen2nano.local ([2600:1700:1ff0:d0e0::40]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-4581add3a5esm4554791cf.74.2024.09.06.14.21.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Sep 2024 14:21:28 -0700 (PDT) From: Andrew Halaney Date: Fri, 06 Sep 2024 16:21:03 -0500 Subject: [PATCH RFC/RFT 2/2] arm64: dts: ti: k3-am69-sk: Mark tps659413 and children as bootph-all MIME-Version: 1.0 Message-Id: <20240906-j784s4-tps6594-bootph-v1-2-c5b58d43bf04@redhat.com> References: <20240906-j784s4-tps6594-bootph-v1-0-c5b58d43bf04@redhat.com> In-Reply-To: <20240906-j784s4-tps6594-bootph-v1-0-c5b58d43bf04@redhat.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Keerthy , Neha Malcom Francis , Eric Chanudet , Enric Balletbo , Udit Kumar , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Halaney X-Mailer: b4 0.14.1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240906_142132_194347_91556DF0 X-CRM114-Status: GOOD ( 11.16 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org In order for the MCU domain to access this PMIC and its children in u-boot SPL, the nodes need to be marked appropriately otherwise they are not seen by SPL. This is necessary if the MCU domain is to program the TPS6594 MCU ESM state machine, which is required to wire up the watchdog in a manner that will reset the board. Signed-off-by: Andrew Halaney --- arch/arm64/boot/dts/ti/k3-am69-sk.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am69-sk.dts b/arch/arm64/boot/dts/ti/k3-am69-sk.dts index 1e36965a1403..1c3427856982 100644 --- a/arch/arm64/boot/dts/ti/k3-am69-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am69-sk.dts @@ -729,6 +729,7 @@ eeprom@51 { }; tps659413: pmic@48 { + bootph-all; compatible = "ti,tps6594-q1"; reg = <0x48>; system-power-controller; @@ -749,7 +750,10 @@ tps659413: pmic@48 { ldo4-supply = <&vsys_3v3>; regulators { + bootph-all; + bucka12: buck12 { + bootph-all; regulator-name = "vdd_ddr_1v1"; regulator-min-microvolt = <1100000>; regulator-max-microvolt = <1100000>; @@ -758,6 +762,7 @@ bucka12: buck12 { }; bucka3: buck3 { + bootph-all; regulator-name = "vdd_ram_0v85"; regulator-min-microvolt = <850000>; regulator-max-microvolt = <850000>; @@ -766,6 +771,7 @@ bucka3: buck3 { }; bucka4: buck4 { + bootph-all; regulator-name = "vdd_io_1v8"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; @@ -774,6 +780,7 @@ bucka4: buck4 { }; bucka5: buck5 { + bootph-all; regulator-name = "vdd_mcu_0v85"; regulator-min-microvolt = <850000>; regulator-max-microvolt = <850000>; @@ -782,6 +789,7 @@ bucka5: buck5 { }; ldoa1: ldo1 { + bootph-all; regulator-name = "vdd_mcuio_1v8"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; @@ -790,6 +798,7 @@ ldoa1: ldo1 { }; ldoa2: ldo2 { + bootph-all; regulator-name = "vdd_mcuio_3v3"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; @@ -798,6 +807,7 @@ ldoa2: ldo2 { }; ldoa3: ldo3 { + bootph-all; regulator-name = "vds_dll_0v8"; regulator-min-microvolt = <800000>; regulator-max-microvolt = <800000>; @@ -806,6 +816,7 @@ ldoa3: ldo3 { }; ldoa4: ldo4 { + bootph-all; regulator-name = "vda_mcu_1v8"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>;