From mboxrd@z Thu Jan 1 00:00:00 1970 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 1ED7AC3ABB2 for ; Mon, 16 Sep 2024 17:16:22 +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:MIME-Version:Message-Id:Date:Subject:From:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=MD/gbR/K562HjYAqjBfv2TN8nj9GE34IYQno6KvPYbo=; b=dyaFlGB2yLlFsaPzumKyyJpk6k NQa+2/zaHU5q//wuCAx3LwUqWVmvP0t9q/Assmh+XaNl1w6Uo/jokaZlqQqgId42h3mGp+UukCBm3 iT9+oXC+847IoczynNGPDC/4mIUnEk8yC/DUr3drleEH1ghNdjMVBabcCfyyXZQQ6ijAIrAkkcqe8 0usWinPPoHjDKphrhyN43YZG4elT1vCwdTreKtMCAMDs0MmBjSpKgrpHVXGON8juIrFwbFv5m8Tdl MSTdnQo9ypguaoFYwcO7XD76MQYJv+zhAwXMjqxz5nsbWLmSJ6CYMnaFnmydMBpQ1vH6Xyza6txyn BISDu+WA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sqFKe-00000004ZNS-1WtV; Mon, 16 Sep 2024 17:16:12 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sqFJX-00000004ZAw-3hIn for linux-arm-kernel@lists.infradead.org; Mon, 16 Sep 2024 17:15:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1726506902; 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; bh=MD/gbR/K562HjYAqjBfv2TN8nj9GE34IYQno6KvPYbo=; b=WnDgVavVjjYVNyfFlfSNXDYlm/arIkjx2aXiLmYqhsJLRPxVhi3eqt+X+xDExhe5kgquDC ghKZyXjAYhXKGz8K4qCL1LFcpnFW/2ot36c2jmn8kKxD8qEvfK7GpbJeujVscsfZcT7Dvm U7iHyVHoWWwXrMYpvOwJDiKqaLpC5WI= 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-36-lxS6xSVzOl6ml4ukvuI2dg-1; Mon, 16 Sep 2024 13:14:58 -0400 X-MC-Unique: lxS6xSVzOl6ml4ukvuI2dg-1 Received: by mail-qt1-f199.google.com with SMTP id d75a77b69052e-45828d941f1so74999161cf.3 for ; Mon, 16 Sep 2024 10:14:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726506894; x=1727111694; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=MD/gbR/K562HjYAqjBfv2TN8nj9GE34IYQno6KvPYbo=; b=Rz4dMCq8i1H5LMZaX8EUbVgQL1wG8bgCrRTsdPqXkni0OtXNHVG/NLaCUETeeFPw0A EDb+V5HTKxSSBzWg4LUEfz1/PZONx+H96SsHJ6tfbt05lz6FQ7ihoQ96cisBzeKETKfq GSs6kXCpdZDHQat1OGl5aR/N2ck3MwFnyDUk2pgabZU4JDNlBDRqejNo+9nI1eDD6Fcl 6m+vK6zTdFzwXyER2hg7xw8QTXBZFxjshYdt1QfC6lIcyMc+zr20K5Oe7FEzUBUL47MN p3iE6iZ+mDV2UKeVciJiopU8MEt4ayOhomNOYEnc280QV17L7/YLT2Rxfa+Nr7seRHZo 5cmQ== X-Forwarded-Encrypted: i=1; AJvYcCXG458NwnlPIzFcrjSEBMZmH00seL5dnBjwpAUj7HLxaA9Gf3O3AnV1hPK1ormGxL9fvIZdjwgK3+qnBmSNdcur@lists.infradead.org X-Gm-Message-State: AOJu0Yy9GsbVJ6fTsPAf44Le+eMQqHgFB+gmFtF275YppRGwlwTj+OPJ yMJjQiHa8TIWJKbIXyrzDSzXUKm5WIxRj+hQgzk0x2U2BlU5xa6z6PWM/0zjxw/k20R46TxLfRw O2WZOj7kXtGoOcVWjLLDaJGFjIUmrcrNc7XIi9uCmAOd0vl0l3XwFwyb4LDMrCmAA09mLUenP X-Received: by 2002:a05:6214:498a:b0:6c5:2797:f4c0 with SMTP id 6a1803df08f44-6c57df9ad48mr200405486d6.20.1726506894487; Mon, 16 Sep 2024 10:14:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEUfaeTxKssYTRqsixAXgs3eyrhnP6I6P7WPKLanNFYrSeTBYWKtg5eW/HG9SepEUdICcRnPg== X-Received: by 2002:a05:6214:498a:b0:6c5:2797:f4c0 with SMTP id 6a1803df08f44-6c57df9ad48mr200405096d6.20.1726506894061; Mon, 16 Sep 2024 10:14:54 -0700 (PDT) Received: from x1gen2nano.local ([2600:1700:1ff0:d0e0::43]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6c58c6262d9sm26342046d6.28.2024.09.16.10.14.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Sep 2024 10:14:53 -0700 (PDT) From: Andrew Halaney Subject: [PATCH v3 0/2] arm64: dts: ti: k3-j784s4: Mark tps659413 regulators as bootph-all Date: Mon, 16 Sep 2024 12:14:50 -0500 Message-Id: <20240916-j784s4-tps6594-bootph-v3-0-ab70da0de7bd@redhat.com> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAIpn6GYC/4XNvQ7CIBSG4VtpmMXwLzh5H8YBCggmSgOEaJreu 7STDsbx/ZLznBkUl6Mr4DjMILsWS0yPHnQ3gDHox9XBaHsDgghDCgl4O0hWGKxTEVwxaFKqU4B YWeoR8kZJDfrtlJ2Pz809X3qHWGrKr+1Nw+v6T2wYIjhyw6Vl1HjETtnZoOt+THewko18MBj/Y khntKScCCKYNviLWZblDbqQJKYCAQAA To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Keerthy , Neha Malcom Francis , Eric Chanudet , Enric Balletbo , Udit Kumar , Beleswar Prasad Padhi , 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240916_101504_034117_E8CE4FAB X-CRM114-Status: GOOD ( 12.68 ) 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 This series marks tps659413's regulators as bootph-all in order for the nodes (and parent nodes) to be accessible during MCU's u-boot SPL. This in turn is desired since the tps659413 needs its MCU ESM state machine setup in order for the watchdog to reset the board. This took me a little while to track down, as enabling the ESM, TPS6594, etc in u-boot would result in the below boot failure: U-Boot SPL 2024.10-rc4-00007-g44b12cbcd1b3-dirty (Sep 06 2024 - 14:25:52 -0500) SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.4--v09.02.04 (Kool Koala)') Initialized 4 DRAM controllers SPL initial stack usage: 13408 bytes ### ERROR ### Please RESET the board ### Which turns out to actually have failed far earlier in spl_early_init(), due to these nodes not being accessible in u-boot. That's hard to tell though since console isn't setup until later (and for that reason I think spl_early_init()'s return value in j784s4_init.c isn't evaluated since a panic() at that point would leave a user with *no* information at all). I've tested this in conjunction with a u-boot series which I'll link in a follow-up response on the k3-j784s4-evm. I'd appreciate someone testing on the k3-am69-sk at a minimum, as it should suffer the same fate if things aren't setup appropriately. Signed-off-by: Andrew Halaney --- Changes in v3: - Added Udit's Tested-by tags - Reordered bootph-all to align with dts-coding-style (Beleswar) - Link to v2: https://lore.kernel.org/r/20240911-j784s4-tps6594-bootph-v2-0-a83526264ab1@redhat.com Changes in v2: - Only mark the regulator nodes as bootph-all since parents are implied - Link to v1: https://lore.kernel.org/r/20240906-j784s4-tps6594-bootph-v1-0-c5b58d43bf04@redhat.com --- Andrew Halaney (2): arm64: dts: ti: k3-j784s4-evm: Mark tps659413 regulators as bootph-all arm64: dts: ti: k3-am69-sk: Mark tps659413 regulators as bootph-all arch/arm64/boot/dts/ti/k3-am69-sk.dts | 8 ++++++++ arch/arm64/boot/dts/ti/k3-j784s4-evm.dts | 8 ++++++++ 2 files changed, 16 insertions(+) --- base-commit: 7083504315d64199a329de322fce989e1e10f4f7 change-id: 20240906-j784s4-tps6594-bootph-19d3f00fb98a Best regards, -- Andrew Halaney