From patchwork Wed Sep 11 17:19: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: 13800931 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 847BEEE0208 for ; Wed, 11 Sep 2024 17:21:44 +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=28X9ofa4FVqd/RIfjVnu92zTF8CwDhdmgTu8lcrYQV0=; b=JpQkCPfVS0vjDyeF9QCuBZMape HMY9z0cOdVZI3FEr3bXq2/iTIolfgBs4l7xfgLM4GXwTi79tnDt2fjKCwOwui8ShIsiEAQpGNYiyF zu9AcIve9PsTekdwKDkPy82SFhpv1vGYkhAsOc2qdEXUfkpKA25AFU/UgPKB8soehg7zTOngKZsrK syQTfkYxNS41xjP9VNKwoeq9HSZaFwkKOdV0quj7GIwqOHQugpWTnbuhKtx+ixXaRxR698is7JRWi PKScysaTQhcq01LYwxoohITxii3GVBOU3ZO3GsFTPRf8Xv4G5lGe9UTOXFIujgOMkGrLn0uMMhWqu i+PwnSWA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1soR23-0000000AU7p-0vHz; Wed, 11 Sep 2024 17:21:31 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1soQzy-0000000ATiq-3tyg for linux-arm-kernel@lists.infradead.org; Wed, 11 Sep 2024 17:19:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1726075162; 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=28X9ofa4FVqd/RIfjVnu92zTF8CwDhdmgTu8lcrYQV0=; b=YWa0TK8WbRm9wGKWx+mNUgwJ1ftsffdi56VkZpyinfGd+bEzfnJXiYa0M4dj6qsuIkW0Dx ttHKkIH45vu2XQOvy4YLwLbI3Q0r0T8Y4Dal+KnEqwaNo9R6GmWzzlVkjnNGxf1S+rGiCJ G+prfIL+XOEUliIske/oWi6IqPofSB0= Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-346-z4f5huQ3Nzim1t9iSw-R3g-1; Wed, 11 Sep 2024 13:19:20 -0400 X-MC-Unique: z4f5huQ3Nzim1t9iSw-R3g-1 Received: by mail-qk1-f198.google.com with SMTP id af79cd13be357-7a99dbffcb5so20469285a.0 for ; Wed, 11 Sep 2024 10:19:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726075160; x=1726679960; 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=28X9ofa4FVqd/RIfjVnu92zTF8CwDhdmgTu8lcrYQV0=; b=VcfZcg7KTMEECS7BhZkljq2t87hJBZXJYCWvGlHZi3Mt/ftxta1ZaXK+XHbk97fhy9 5jjLegdcXNTcaY65lJjbzcaIjy3OsP+gIJd+uJq+q6/TS6j5JCiDRM0uqC0WaRIHMHEa QZ8fXy1m8jpmxGpikO3pdBxp3c76eW4jXpiNKbmPrYC0qawt950lFZVaeCDlTTMHjdAL AQJ/sEXMudvsQKbufvQvtTr2WpHf3HNBzJMSZkCnP+Dpx3PS5fAJ5OijWyU4ptT3Jy+W Olde3kq/r8ft7+33TxSI6ofedcQ872hjrnxEtUycO9g0z9Iu+ofbEouqj5uYk0MB3WLm ziJw== X-Forwarded-Encrypted: i=1; AJvYcCUTOrhmiuc2X/+77C/+d67AGCw/hfgUTT91VVlmltIpFXmPWrj4eEsneaYQmr8UZpl17OqQD1bxdPPFynrlOhDx@lists.infradead.org X-Gm-Message-State: AOJu0YwlmQuMFzzFWpx5+nfBdaQCeEJnN2tYZ8irc3/GKgpQTK6S9EGM McqI51qZWQWnZcb/sAEQlOm2ICOGdwb9LoYGsg4hdGKE/Aw07UU5eOj4VBfyQ0C4xY6twvhP1El ZnfRqKaxcEzJh2gEDUBEFx94M+Ixj0aL0a9HrK85WyxOJvqMJRBw+EtUV0cJ2COuBqTVvNl9c X-Received: by 2002:a05:620a:3711:b0:7a8:364:80b0 with SMTP id af79cd13be357-7a9e5f76f81mr8395685a.47.1726075160248; Wed, 11 Sep 2024 10:19:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEwsQHEC7AmJgNaLgdRNL5pjLQixLL4YicXWOSGR3WlgK3rdczRispOhGIGDgkTse+2AyL9Xw== X-Received: by 2002:a05:620a:3711:b0:7a8:364:80b0 with SMTP id af79cd13be357-7a9e5f76f81mr8392885a.47.1726075159852; Wed, 11 Sep 2024 10:19:19 -0700 (PDT) Received: from x1gen2nano.local ([2600:1700:1ff0:d0e0::33]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7a9a7946b8dsm444433285a.17.2024.09.11.10.19.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Sep 2024 10:19:19 -0700 (PDT) From: Andrew Halaney Date: Wed, 11 Sep 2024 12:19:03 -0500 Subject: [PATCH v2 2/2] arm64: dts: ti: k3-am69-sk: Mark tps659413 regulators as bootph-all MIME-Version: 1.0 Message-Id: <20240911-j784s4-tps6594-bootph-v2-2-a83526264ab1@redhat.com> References: <20240911-j784s4-tps6594-bootph-v2-0-a83526264ab1@redhat.com> In-Reply-To: <20240911-j784s4-tps6594-bootph-v2-0-a83526264ab1@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-20240911_101923_076373_D6725F41 X-CRM114-Status: GOOD ( 11.91 ) 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, a regulator needs to be marked appropriately otherwise it is not seen by SPL and therefore not configured. 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 | 8 ++++++++ 1 file changed, 8 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..f4d158a0b97d 100644 --- a/arch/arm64/boot/dts/ti/k3-am69-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am69-sk.dts @@ -750,6 +750,7 @@ tps659413: pmic@48 { regulators { bucka12: buck12 { + bootph-all; regulator-name = "vdd_ddr_1v1"; regulator-min-microvolt = <1100000>; regulator-max-microvolt = <1100000>; @@ -758,6 +759,7 @@ bucka12: buck12 { }; bucka3: buck3 { + bootph-all; regulator-name = "vdd_ram_0v85"; regulator-min-microvolt = <850000>; regulator-max-microvolt = <850000>; @@ -766,6 +768,7 @@ bucka3: buck3 { }; bucka4: buck4 { + bootph-all; regulator-name = "vdd_io_1v8"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; @@ -774,6 +777,7 @@ bucka4: buck4 { }; bucka5: buck5 { + bootph-all; regulator-name = "vdd_mcu_0v85"; regulator-min-microvolt = <850000>; regulator-max-microvolt = <850000>; @@ -782,6 +786,7 @@ bucka5: buck5 { }; ldoa1: ldo1 { + bootph-all; regulator-name = "vdd_mcuio_1v8"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; @@ -790,6 +795,7 @@ ldoa1: ldo1 { }; ldoa2: ldo2 { + bootph-all; regulator-name = "vdd_mcuio_3v3"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; @@ -798,6 +804,7 @@ ldoa2: ldo2 { }; ldoa3: ldo3 { + bootph-all; regulator-name = "vds_dll_0v8"; regulator-min-microvolt = <800000>; regulator-max-microvolt = <800000>; @@ -806,6 +813,7 @@ ldoa3: ldo3 { }; ldoa4: ldo4 { + bootph-all; regulator-name = "vda_mcu_1v8"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>;