From: Mattijs Korpershoek <mkorpershoek@baylibre.com>
To: Jon Humphreys <j-humphreys@ti.com>,
Kamlesh Gurudasani <kamlesh@ti.com>,
Manorit Chawdhry <m-chawdhry@ti.com>,
Heinrich Schuchardt <xypron.glpk@gmx.de>,
Judith Mendez <jm@ti.com>,
Christian Gmeiner <christian.gmeiner@gmail.com>,
Devarsh Thakkar <devarsht@ti.com>, Simon Glass <sjg@chromium.org>,
Nikhil M Jain <n-jain1@ti.com>,
Neha Malcom Francis <n-francis@ti.com>, Andrew Davis <afd@ti.com>,
Maxime Ripard <mripard@kernel.org>,
Siddharth Vadapalli <s-vadapalli@ti.com>,
Roger Quadros <rogerq@kernel.org>, Bryan Brattlof <bb@ti.com>,
Vignesh Raghavendra <vigneshr@ti.com>,
Robert Nelson <robertcnelson@gmail.com>,
Nishanth Menon <nm@ti.com>, Tom Rini <trini@konsulko.com>
Cc: u-boot@lists.denx.de
Subject: Re: [PATCH v2 12/16] arm: dts: k3-am625-sk-u-boot: Add sysreset-controller node
Date: Tue, 16 Apr 2024 11:59:37 +0200 [thread overview]
Message-ID: <87frvl4ohi.fsf@baylibre.com> (raw)
In-Reply-To: <86edbbzlod.fsf@udb0321960.dhcp.ti.com>
Hi Jon,
On jeu., avril 11, 2024 at 15:30, Jon Humphreys <j-humphreys@ti.com> wrote:
> Mattijs Korpershoek <mkorpershoek@baylibre.com> writes:
>
>> Hi Jonathan,
>>
>> Thank you for the patch.
>>
>> On lun., avril 08, 2024 at 17:31, Jonathan Humphreys <j-humphreys@ti.com> wrote:
>>
>>> Signed-off-by: Jonathan Humphreys <j-humphreys@ti.com>
>>
>> Please consider adding a commit message body.
>
> Got it. thanks.
>
> BTW, the next version of this series will drop this patch as Andrew has
> submitted another patch removing the need for this one. See
> https://lore.kernel.org/r/20240402160908.508974-1-afd@ti.com.
I was not aware of that one. thank you for pointing it out. That seems
indeed a better solution.
>
>>
>> On the TI vendor tree, there is a similar patch with a commit message:
>> https://git.ti.com/cgit/ti-u-boot/ti-u-boot/commit/?h=ti-u-boot-2023.04&id=c5296d943c2c84dd6dcb3b91305d006ac46f3157
>>
>> Before patch:
>> => reset
>> resetting ...
>> System reset not supported on this platform
>> ### ERROR ### Please RESET the board ###
>>
>> With patch applied:
>> => reset
>> resetting ...
>>
>> Tested-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> # on am62x sk evm
>>
>> Andrew also suggested to me that if we are interested by A53 reset only,
>> we can PSCI reset instead for all k3 architecture:
>>
>> --- a/arch/arm/Kconfig
>> +++ b/arch/arm/Kconfig
>> @@ -784,6 +784,9 @@ config ARCH_K3
>> bool "Texas Instruments' K3 Architecture"
>> select SPL
>> select SUPPORT_SPL
>> + select PSCI_RESET if ARM64
>> + select SYSRESET if ARM64
>> + select SYSRESET_PSCI if ARM64
>> select FIT
>> select REGEX
>> select FIT_SIGNATURE if ARM64
>>
>> Has the above been considered?
>
> I am not aware. I would think that you want full reset, unless you are
> thinking about specifying a reset level?
On my end, I was mostly interested in resetting from the A53 core, but
the solution you linked previously should work for me.
>
> Jon
>
>>
>>
>>> ---
>>> arch/arm/dts/k3-am625-sk-u-boot.dtsi | 9 +++++++++
>>> 1 file changed, 9 insertions(+)
>>>
>>> diff --git a/arch/arm/dts/k3-am625-sk-u-boot.dtsi b/arch/arm/dts/k3-am625-sk-u-boot.dtsi
>>> index fa778b0ff4c..35bfeae75a0 100644
>>> --- a/arch/arm/dts/k3-am625-sk-u-boot.dtsi
>>> +++ b/arch/arm/dts/k3-am625-sk-u-boot.dtsi
>>> @@ -46,3 +46,12 @@
>>> &cpsw_port2 {
>>> status = "disabled";
>>> };
>>> +
>>> +&dmsc {
>>> + bootph-pre-ram;
>>> +
>>> + k3_sysreset: sysreset-controller {
>>> + compatible = "ti,sci-sysreset";
>>> + bootph-pre-ram;
>>> + };
>>> +};
>>> --
>>> 2.34.1
next prev parent reply other threads:[~2024-04-16 9:59 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-08 22:31 [PATCH v2 00/16] EFI: ti: Enable EFI capsule updates Jonathan Humphreys
2024-04-08 22:31 ` [PATCH v2 01/16] board: Define GUIDs for firmware images Jonathan Humphreys
2024-04-09 3:55 ` Heinrich Schuchardt
2024-04-09 21:05 ` Jon Humphreys
2024-04-10 8:30 ` Heinrich Schuchardt
2024-04-10 9:29 ` Ilias Apalodimas
2024-04-12 21:58 ` Jon Humphreys
2024-04-17 10:10 ` Caleb Connolly
2024-04-08 22:31 ` [PATCH v2 02/16] board: am64x: Define capsule update firmware info Jonathan Humphreys
2024-04-09 4:31 ` Heinrich Schuchardt
2024-04-09 21:11 ` Jon Humphreys
2024-04-10 0:44 ` Tom Rini
2024-04-12 10:42 ` Ilias Apalodimas
2024-04-08 22:31 ` [PATCH v2 03/16] configs: am64x: Enable EFI capsule update Jonathan Humphreys
2024-04-08 22:31 ` [PATCH v2 04/16] board: j721e: Define capsule update firmware info Jonathan Humphreys
2024-04-08 22:31 ` [PATCH v2 05/16] configs: j721e: Enable EFI capsule update Jonathan Humphreys
2024-04-08 22:31 ` [PATCH v2 06/16] board: beagleplay: Define capsule update firmware info Jonathan Humphreys
2024-04-08 22:31 ` [PATCH v2 07/16] configs: beagleplay: Enable DFU for MMC Jonathan Humphreys
2024-04-08 22:31 ` [PATCH v2 08/16] configs: beagleplay: Enable EFI capsule update Jonathan Humphreys
2024-04-08 22:31 ` [PATCH v2 09/16] board: am62px: Define capsule update firmware info Jonathan Humphreys
2024-04-08 22:31 ` [PATCH v2 10/16] configs: am62px: Enable EFI capsule update Jonathan Humphreys
2024-04-08 22:31 ` [PATCH v2 11/16] configs: am62x: Enable serial flash DFU Jonathan Humphreys
2024-04-08 22:31 ` [PATCH v2 12/16] arm: dts: k3-am625-sk-u-boot: Add sysreset-controller node Jonathan Humphreys
2024-04-11 7:54 ` Mattijs Korpershoek
2024-04-11 20:30 ` Jon Humphreys
2024-04-16 9:59 ` Mattijs Korpershoek [this message]
2024-04-08 22:31 ` [PATCH v2 13/16] board: am62x: Define capsule update firmware info Jonathan Humphreys
2024-04-08 22:31 ` [PATCH v2 14/16] configs: am62x: Enable EFI capsule update Jonathan Humphreys
2024-04-08 22:31 ` [PATCH v2 15/16] board: beagleboneai64: Define capsule update firmware info Jonathan Humphreys
2024-04-08 22:31 ` [PATCH v2 16/16] configs: beagleboneai64: Enable EFI capsule update Jonathan Humphreys
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87frvl4ohi.fsf@baylibre.com \
--to=mkorpershoek@baylibre.com \
--cc=afd@ti.com \
--cc=bb@ti.com \
--cc=christian.gmeiner@gmail.com \
--cc=devarsht@ti.com \
--cc=j-humphreys@ti.com \
--cc=jm@ti.com \
--cc=kamlesh@ti.com \
--cc=m-chawdhry@ti.com \
--cc=mripard@kernel.org \
--cc=n-francis@ti.com \
--cc=n-jain1@ti.com \
--cc=nm@ti.com \
--cc=robertcnelson@gmail.com \
--cc=rogerq@kernel.org \
--cc=s-vadapalli@ti.com \
--cc=sjg@chromium.org \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=vigneshr@ti.com \
--cc=xypron.glpk@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox