From patchwork Mon Sep 16 17:14:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Halaney X-Patchwork-Id: 13805691 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 ED695C3ABA2 for ; Mon, 16 Sep 2024 17:18:34 +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=NhZEHGCroaVGHFp9gEos3MTv0PtDFgshMDzxRxracYI=; b=4vJamipmOUpaWiU0bE5ZqB+k2z 780ypEG3/FsP2QtZAgNyIbkKpukWR7XcMnrkx15/ijziRD+AznpSdqyq12TgbZ+HU8suW0wPOlnvZ 2D2JgoXSnusVamvWpqVvuzBmBEHFaBbxHsqH80QGd7pUe/xmIbiK1E9+csihxwCX1BbYTdnHSfcPx pq7C/h41XN5hJw17mmK063/yLv48VBnMB0jNUEVc+QP3WBg2/6eRSdcMrSkzN4nNqQ2qNlwAy/mbI 4C8jZIAmfbj8yz2sinqUb2xQoMj/e0edJ0En1rxH3zgACy+dpemR/Da4MI9/xkn7tCdi7XQp2S3n1 gZDNLHFQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sqFMk-00000004ZYP-0Tz3; Mon, 16 Sep 2024 17:18:22 +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 1sqFJb-00000004ZBP-36Ya for linux-arm-kernel@lists.infradead.org; Mon, 16 Sep 2024 17:15:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1726506906; 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=NhZEHGCroaVGHFp9gEos3MTv0PtDFgshMDzxRxracYI=; b=VnAn1fOJ2Y2B9TuqKWmn0GSN57jyrj613bAD2zxC/JT4itWln8nac9i6HJhxWmFPnSLwP2 OFTrBrMQM0nJxTWswe/VIDIbQYSDFrIjFsMbLNjvhtxG4pfxDcZ4kAFWIAGKd6nt6H6kGF buReOzjPQfFmDaysxkK8CTLe014adto= Received: from mail-qv1-f69.google.com (mail-qv1-f69.google.com [209.85.219.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-258-poy0QEkAMGGQi0qsMTitMg-1; Mon, 16 Sep 2024 13:14:59 -0400 X-MC-Unique: poy0QEkAMGGQi0qsMTitMg-1 Received: by mail-qv1-f69.google.com with SMTP id 6a1803df08f44-6c368bbf8faso101587776d6.0 for ; Mon, 16 Sep 2024 10:14:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726506898; x=1727111698; 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=NhZEHGCroaVGHFp9gEos3MTv0PtDFgshMDzxRxracYI=; b=CNdkx/yoCY8ZaSjh8v7NhRcxZz9qI4jz4R5Ov2ezenRNunuGu/ZbC9D9BS+DWSuKJ3 YNpT+GnIdXQ4vPwGuoNHB3sQ90h19QXdF3jLkwOzCm3LuIkU/sj+deZtgolcxIfblWbv tuBVWVk44CykUdWLg8kg6RGfefsCoPLvWO55P+AfVLFQ/Z+JOAmfqG/iCba2QdBIUpGF xr1bxtRDYQ7EC1JDRI7c/HN3f+asEswMi8mwEYKTJOsAIPIcngwnpRV0DqT4JKf/1WxC 8UQp3ysjzKTBIAzDob4zB6Gejm2JcP9E4kkthC/b88LfSr70yk8AS/51JMJfk69F3nHo 9B4g== X-Forwarded-Encrypted: i=1; AJvYcCUBu9bfuaedW6qcGY6BQ9rb4aB2rzQC1WIev9mVEJottNmqiBZrbG/rupr3NbJAa5j36HMsr7ozZYv9bvbVnswN@lists.infradead.org X-Gm-Message-State: AOJu0YzrR65Xz5G2L/RzogAysFyocoUYBIS7xWS/Q32e/xpomj61Xbai zeG0IOSqpDQrIL4EnDk6PjH4ITWnlRMxJfRgLIlvOUGplX9xpUsKGHBqgk67ZTMN/nJbeumo+fs iBpLag1d5r6SL+aBJed3JxWZsz/fDUPPjgw+prkubZXIJ1lWKvBDE3b4N7n10XT9e/Wm6+lXU X-Received: by 2002:a05:6214:5d89:b0:6c3:5454:6e1e with SMTP id 6a1803df08f44-6c573b5910fmr311393046d6.24.1726506898376; Mon, 16 Sep 2024 10:14:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHG0QxGNDmQ1+GIOrknDD4WO1kV7CbK6PFRFI6iPR4lqXaXa/MtbEa348BAmNlFhhhTNmq0rg== X-Received: by 2002:a05:6214:5d89:b0:6c3:5454:6e1e with SMTP id 6a1803df08f44-6c573b5910fmr311392466d6.24.1726506897968; Mon, 16 Sep 2024 10:14:57 -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.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Sep 2024 10:14:54 -0700 (PDT) From: Andrew Halaney Date: Mon, 16 Sep 2024 12:14:51 -0500 Subject: [PATCH v3 1/2] arm64: dts: ti: k3-j784s4-evm: Mark tps659413 regulators as bootph-all MIME-Version: 1.0 Message-Id: <20240916-j784s4-tps6594-bootph-v3-1-ab70da0de7bd@redhat.com> References: <20240916-j784s4-tps6594-bootph-v3-0-ab70da0de7bd@redhat.com> In-Reply-To: <20240916-j784s4-tps6594-bootph-v3-0-ab70da0de7bd@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 , 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240916_101507_887549_6B8E6FE8 X-CRM114-Status: GOOD ( 11.33 ) 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. Tested-by: Udit Kumar 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..87b5b9b11e96 100644 --- a/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts +++ b/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts @@ -668,6 +668,7 @@ bucka12: buck12 { regulator-max-microvolt = <1100000>; regulator-boot-on; regulator-always-on; + bootph-all; }; bucka3: buck3 { @@ -676,6 +677,7 @@ bucka3: buck3 { regulator-max-microvolt = <850000>; regulator-boot-on; regulator-always-on; + bootph-all; }; bucka4: buck4 { @@ -684,6 +686,7 @@ bucka4: buck4 { regulator-max-microvolt = <1800000>; regulator-boot-on; regulator-always-on; + bootph-all; }; bucka5: buck5 { @@ -692,6 +695,7 @@ bucka5: buck5 { regulator-max-microvolt = <850000>; regulator-boot-on; regulator-always-on; + bootph-all; }; ldoa1: ldo1 { @@ -700,6 +704,7 @@ ldoa1: ldo1 { regulator-max-microvolt = <1800000>; regulator-boot-on; regulator-always-on; + bootph-all; }; ldoa2: ldo2 { @@ -708,6 +713,7 @@ ldoa2: ldo2 { regulator-max-microvolt = <3300000>; regulator-boot-on; regulator-always-on; + bootph-all; }; ldoa3: ldo3 { @@ -716,6 +722,7 @@ ldoa3: ldo3 { regulator-max-microvolt = <800000>; regulator-boot-on; regulator-always-on; + bootph-all; }; ldoa4: ldo4 { @@ -724,6 +731,7 @@ ldoa4: ldo4 { regulator-max-microvolt = <1800000>; regulator-boot-on; regulator-always-on; + bootph-all; }; }; }; From patchwork Mon Sep 16 17:14:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Halaney X-Patchwork-Id: 13805690 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 53765C3ABA2 for ; Mon, 16 Sep 2024 17:17:31 +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=/dEEkhuQZAOrCmKjg6Ee/Hctgl/7cBRuPP+SnJEJWVw=; b=wUwfWmmysKawFfzaD5PAQiX1e4 0DfDR/SpnGOndNfBmTNJTR4atlGV1iK5M+7I1hpOHvVQpKEiLrhyavI1bfwlJa2wgFkuPIpHy4HdB U5zmGyxoy2dnqpoplGz1WnkEu2+2gdvnFBOEtZbKKptQKXu567bl5HqclWq1BAcyUAskimg1iExuu VZqIClvmwOd0XBT7lIRlcIOUvqn9IgoS0G91PyPX1ZBu7wf1MQwIdZCVqvrUT7Evpym/vvcKi9jsq SXmp1Ogf2M4AXl/p1XuOStCm8YcD3yEspvJhiXFfnfvE94YWtSz9GWv6/fFHXvDeviWfeJ4+4IGXO 8lPKxyqw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sqFLh-00000004ZTK-22i7; Mon, 16 Sep 2024 17:17:17 +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 1sqFJb-00000004ZBG-2XC4 for linux-arm-kernel@lists.infradead.org; Mon, 16 Sep 2024 17:15:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1726506905; 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=/dEEkhuQZAOrCmKjg6Ee/Hctgl/7cBRuPP+SnJEJWVw=; b=QycUDcE/+az8pabWdWbhvPY+rpDRLlqOlQjsEkRqwtqFsUDr2MDfaiSCxzQArw9YGpOaZD csTBnnpKWr5p6TlXRoh9AEZ1ZFpXyqmoCdBEoFS609YhK+SUwcm6FtIZs38ZVooePTO80A jtRXR260ag9PMGz19OOOqUEGO7C6VaA= Received: from mail-qv1-f69.google.com (mail-qv1-f69.google.com [209.85.219.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-206-ZZdJN392PQmeaSfq-ZNfvQ-1; Mon, 16 Sep 2024 13:15:00 -0400 X-MC-Unique: ZZdJN392PQmeaSfq-ZNfvQ-1 Received: by mail-qv1-f69.google.com with SMTP id 6a1803df08f44-6c5a32ec301so15282976d6.0 for ; Mon, 16 Sep 2024 10:15:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726506900; x=1727111700; 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=/dEEkhuQZAOrCmKjg6Ee/Hctgl/7cBRuPP+SnJEJWVw=; b=k3zHjZ4JF3oJE/2qPUHTukpymAFrDm3DktWPbkWLgTgnC7HjEUWXbCFlNz10ytrlUj qBW9OyvnNvcbSOkWzBs26DTaejUL5Z/9xEGB3Dj7lhs8Flpc805re30I6dzpA+s0OFki 2bm9Zyp1gE7y0V4WAzofG3inT053gjihYMJ74sRYwvSwPYsA/qJ2QUpRaDpDd0h6NL0q N/ak/pJRicjTX1nB2iWPXfaVw3HEqmHHTERMwjPg8YoCrwwAsQ1lEvjp/z4yMfkwbJh9 n33A3tajGkKB+FO5CsB9VrmHphrlikD/fcpMylCSADGphgo8XDmtcIaK9Gh1PTtWOqwi +rcg== X-Forwarded-Encrypted: i=1; AJvYcCX6536X7fKDcLsTuRDAghsj18EwEjbHS+EH56GKVzbzNIhixk0iqs71qp6F3tANjYdiyUCLpsgecDhOO0Jc1gyJ@lists.infradead.org X-Gm-Message-State: AOJu0Yzyv7m0EY4pwTLBVbnEZzDCLf01we28s1Zjx90IH4N0FrhlyA6n N/huI9wvT2AwrK6SyhcbwzTL+30GGh4yPgHaFAJdEExiaLdMgIe88fS21kKM7I9FY4JbtblmmcY U7otAuRrQtU5dp8iDZXnBTH2bV/2juQYfYBlxPi3zyW4oT06UagpMdHKbBs3GSDcY9YOpSCQQ X-Received: by 2002:a05:6214:311b:b0:6c5:119f:de71 with SMTP id 6a1803df08f44-6c57351057fmr203020526d6.4.1726506899868; Mon, 16 Sep 2024 10:14:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFu9a0U8VximqKCxmOsMbOtnFV+etYAH6DyNbSVDPs/EdOxgubQUM0Lat71tP/H2RBIuxlwXw== X-Received: by 2002:a05:6214:311b:b0:6c5:119f:de71 with SMTP id 6a1803df08f44-6c57351057fmr203020246d6.4.1726506899508; Mon, 16 Sep 2024 10:14:59 -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.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Sep 2024 10:14:58 -0700 (PDT) From: Andrew Halaney Date: Mon, 16 Sep 2024 12:14:52 -0500 Subject: [PATCH v3 2/2] arm64: dts: ti: k3-am69-sk: Mark tps659413 regulators as bootph-all MIME-Version: 1.0 Message-Id: <20240916-j784s4-tps6594-bootph-v3-2-ab70da0de7bd@redhat.com> References: <20240916-j784s4-tps6594-bootph-v3-0-ab70da0de7bd@redhat.com> In-Reply-To: <20240916-j784s4-tps6594-bootph-v3-0-ab70da0de7bd@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 , 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240916_101507_759810_2DD02A52 X-CRM114-Status: GOOD ( 11.22 ) 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. Tested-by: Udit Kumar 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..5f24a1608bdc 100644 --- a/arch/arm64/boot/dts/ti/k3-am69-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am69-sk.dts @@ -755,6 +755,7 @@ bucka12: buck12 { regulator-max-microvolt = <1100000>; regulator-boot-on; regulator-always-on; + bootph-all; }; bucka3: buck3 { @@ -763,6 +764,7 @@ bucka3: buck3 { regulator-max-microvolt = <850000>; regulator-boot-on; regulator-always-on; + bootph-all; }; bucka4: buck4 { @@ -771,6 +773,7 @@ bucka4: buck4 { regulator-max-microvolt = <1800000>; regulator-boot-on; regulator-always-on; + bootph-all; }; bucka5: buck5 { @@ -779,6 +782,7 @@ bucka5: buck5 { regulator-max-microvolt = <850000>; regulator-boot-on; regulator-always-on; + bootph-all; }; ldoa1: ldo1 { @@ -787,6 +791,7 @@ ldoa1: ldo1 { regulator-max-microvolt = <1800000>; regulator-boot-on; regulator-always-on; + bootph-all; }; ldoa2: ldo2 { @@ -795,6 +800,7 @@ ldoa2: ldo2 { regulator-max-microvolt = <3300000>; regulator-boot-on; regulator-always-on; + bootph-all; }; ldoa3: ldo3 { @@ -803,6 +809,7 @@ ldoa3: ldo3 { regulator-max-microvolt = <800000>; regulator-boot-on; regulator-always-on; + bootph-all; }; ldoa4: ldo4 { @@ -811,6 +818,7 @@ ldoa4: ldo4 { regulator-max-microvolt = <1800000>; regulator-boot-on; regulator-always-on; + bootph-all; }; }; };