From patchwork Wed Sep 11 17:19:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Halaney X-Patchwork-Id: 13800932 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 3CC66EE57C6 for ; Wed, 11 Sep 2024 17:22:42 +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=5r0R22whOOpUU0/9fd/RJw7tJIiR67N6A+jwL4ueXwo=; b=KcxwigmVLf11mimRalwdn9CV9s Si27TCPK+yYFBETZG8owwEHX1MFfHfvNoXYe337LCotYO2TSc0PC+ZWc3C+x+TvAR5qDEwrLl2SqH HwkTCONQrrUfhnFqMKjxe1peeoOx1nCpeuCEg3jg7xjSlfEWTZAZjm93JBVXC2yTKLk/k3lrm/zAx bErFN7zPJgBzDq6ExrXuYkawgRwZJ8IwicAJapatz+9l/Mu+keioVD+PEpJv7XdJ7cuKEhzyOweO/ 1MXjKiANsRHBhqjnDw6gzTXLAW8Y7zhnn6Prj7zFebruVfXYrzoAHZvOWmVvD/Sau7+sUGH1fLq22 Qspq7zYg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1soR33-0000000AUDN-1wup; Wed, 11 Sep 2024 17:22:33 +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 1soQzz-0000000ATiu-0y70 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=5r0R22whOOpUU0/9fd/RJw7tJIiR67N6A+jwL4ueXwo=; b=hkNaDUrI7mnIjrVgDb8e4OPbZJWovvbeRLO5TVNz/UhJK9IlpjoHnQrL3SNwACKFZw9zmD LXS7qfi6jWA4gDyhkEvH8CHIvrECsR7QWIC61+gjHbvE5aUDjlRK8z7u6+HQwH7BLfPywy XvOhdLx9Xu7CrpvDHX5F888S0BDWoOg= 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-633-xcRVThxxOluFw9sSXqofWg-1; Wed, 11 Sep 2024 13:19:19 -0400 X-MC-Unique: xcRVThxxOluFw9sSXqofWg-1 Received: by mail-qk1-f198.google.com with SMTP id af79cd13be357-7a9b6181a13so19041985a.3 for ; Wed, 11 Sep 2024 10:19:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726075159; x=1726679959; 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=5r0R22whOOpUU0/9fd/RJw7tJIiR67N6A+jwL4ueXwo=; b=o/pxekjymU5GHIbUdTJzb2jszGqcdW6wi+GZCYHKMLaqm65VmKYTzGnP0iHoN+3exN kc4jqs/owNyFOUHv0RdLO5TwtK+k95K5/R5j+EwwZ8L4IPiSXGf5Ad8Way8equjk/HU/ jsxa3V7nbnFIf5kSD8kfYGMKJjLLvXBwR0lRAQN0b4uzHXenZ/IpvC7BCOX30erP8n6g nqrgbBFgHsQ23emxHJnSCPJKDFAjpORgSxQm4NAv/4zXIWjjNmKc/3cHl4vI/7YG1Wjr 7UqTSLg5xNPkdEG7bPuwEs1xKjLGLeZiqfwkCkys1VyXkQcDgDXU87t4+cp6BJwVH14i tKaA== X-Forwarded-Encrypted: i=1; AJvYcCUxSEDijjnoTnYrK59p8tjIpAty/je/4TFGYYObUs078uz+pEflITwQo7S5FT4qgBCmzC4tsujibdFsEcmk5/8t@lists.infradead.org X-Gm-Message-State: AOJu0Yw9Njs++xLdWjPNBASbGlWUSns6DwfogHxKoIYFTBsvkwtB2MgD sQM3aHQa8Vt3WuCCJOO5utkN3suvyG2qNPZFHJg6zcOPhjBiluHZ4ov563YxRKH3yZckymu5om9 Zgw2oCNEcfh48GG8Q52JTkmJp2aZwngxLA5M60426iogIgV0EPHlX1AGjYx5t23UMxId37TH2 X-Received: by 2002:a05:620a:45a2:b0:7a9:bdac:63f9 with SMTP id af79cd13be357-7a9e5ee71c2mr16433485a.10.1726075158734; Wed, 11 Sep 2024 10:19:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHQYXLI8KOJIn2GMl4Oknyi9IRx8MU0moKXYKqiignhkPAmPYGPwQezF6PHsSmYBJBoSUrLIA== X-Received: by 2002:a05:620a:45a2:b0:7a9:bdac:63f9 with SMTP id af79cd13be357-7a9e5ee71c2mr16429985a.10.1726075158322; Wed, 11 Sep 2024 10:19:18 -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.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Sep 2024 10:19:17 -0700 (PDT) From: Andrew Halaney Date: Wed, 11 Sep 2024 12:19:02 -0500 Subject: [PATCH v2 1/2] arm64: dts: ti: k3-j784s4-evm: Mark tps659413 regulators as bootph-all MIME-Version: 1.0 Message-Id: <20240911-j784s4-tps6594-bootph-v2-1-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_394101_633CEA27 X-CRM114-Status: GOOD ( 12.01 ) 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-j784s4-evm.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts b/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts index 6695ebbcb4d0..6ed628c2884e 100644 --- a/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts +++ b/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts @@ -663,6 +663,7 @@ tps659413: pmic@48 { regulators { bucka12: buck12 { + bootph-all; regulator-name = "vdd_ddr_1v1"; regulator-min-microvolt = <1100000>; regulator-max-microvolt = <1100000>; @@ -671,6 +672,7 @@ bucka12: buck12 { }; bucka3: buck3 { + bootph-all; regulator-name = "vdd_ram_0v85"; regulator-min-microvolt = <850000>; regulator-max-microvolt = <850000>; @@ -679,6 +681,7 @@ bucka3: buck3 { }; bucka4: buck4 { + bootph-all; regulator-name = "vdd_io_1v8"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; @@ -687,6 +690,7 @@ bucka4: buck4 { }; bucka5: buck5 { + bootph-all; regulator-name = "vdd_mcu_0v85"; regulator-min-microvolt = <850000>; regulator-max-microvolt = <850000>; @@ -695,6 +699,7 @@ bucka5: buck5 { }; ldoa1: ldo1 { + bootph-all; regulator-name = "vdd_mcuio_1v8"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; @@ -703,6 +708,7 @@ ldoa1: ldo1 { }; ldoa2: ldo2 { + bootph-all; regulator-name = "vdd_mcuio_3v3"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; @@ -711,6 +717,7 @@ ldoa2: ldo2 { }; ldoa3: ldo3 { + bootph-all; regulator-name = "vds_dll_0v8"; regulator-min-microvolt = <800000>; regulator-max-microvolt = <800000>; @@ -719,6 +726,7 @@ ldoa3: ldo3 { }; ldoa4: ldo4 { + bootph-all; regulator-name = "vda_mcu_1v8"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>;