U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: at91: sama5d2: Pass bootph-all to the PIT timer
@ 2025-04-03 15:10 Fabio Estevam
  2025-04-17 13:54 ` Fabio Estevam
  0 siblings, 1 reply; 4+ messages in thread
From: Fabio Estevam @ 2025-04-03 15:10 UTC (permalink / raw)
  To: eugen.hristev; +Cc: u-boot, trini, Fabio Estevam

From: Fabio Estevam <festevam@denx.de>

The PIT timer needs to be available early in the SPL phase,
otherwise SPL fails to boot and only prints:

Could not initialize timer (err -96)

Fix this problem by passing 'bootph-all' to the sama5d2 PIT node.

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 arch/arm/dts/sama5d2.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/dts/sama5d2.dtsi b/arch/arm/dts/sama5d2.dtsi
index 7b62fffb4ff..62191ff5d97 100644
--- a/arch/arm/dts/sama5d2.dtsi
+++ b/arch/arm/dts/sama5d2.dtsi
@@ -778,6 +778,7 @@
 				compatible = "atmel,at91sam9260-pit";
 				reg = <0xf8048030 0x10>;
 				clocks = <&h32ck>;
+				bootph-all;
 			};
 
 			watchdog: watchdog@f8048040 {
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARM: dts: at91: sama5d2: Pass bootph-all to the PIT timer
  2025-04-03 15:10 [PATCH] ARM: dts: at91: sama5d2: Pass bootph-all to the PIT timer Fabio Estevam
@ 2025-04-17 13:54 ` Fabio Estevam
  2025-04-17 14:01   ` Eugen Hristev
  0 siblings, 1 reply; 4+ messages in thread
From: Fabio Estevam @ 2025-04-17 13:54 UTC (permalink / raw)
  To: eugen.hristev; +Cc: u-boot, trini, Fabio Estevam

Hi Eugen,

On Thu, Apr 3, 2025 at 12:10 PM Fabio Estevam <festevam@gmail.com> wrote:
>
> From: Fabio Estevam <festevam@denx.de>
>
> The PIT timer needs to be available early in the SPL phase,
> otherwise SPL fails to boot and only prints:
>
> Could not initialize timer (err -96)
>
> Fix this problem by passing 'bootph-all' to the sama5d2 PIT node.

Do you have any comments, please?

This allows SPL to work on sama5d27.

Thanks

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARM: dts: at91: sama5d2: Pass bootph-all to the PIT timer
  2025-04-17 13:54 ` Fabio Estevam
@ 2025-04-17 14:01   ` Eugen Hristev
  2025-04-18 10:46     ` Eugen Hristev
  0 siblings, 1 reply; 4+ messages in thread
From: Eugen Hristev @ 2025-04-17 14:01 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: u-boot, trini, Fabio Estevam



On 4/17/25 16:54, Fabio Estevam wrote:
> Hi Eugen,
> 
> On Thu, Apr 3, 2025 at 12:10 PM Fabio Estevam <festevam@gmail.com> wrote:
>>
>> From: Fabio Estevam <festevam@denx.de>
>>
>> The PIT timer needs to be available early in the SPL phase,
>> otherwise SPL fails to boot and only prints:
>>
>> Could not initialize timer (err -96)
>>
>> Fix this problem by passing 'bootph-all' to the sama5d2 PIT node.
> 
> Do you have any comments, please?
> 
> This allows SPL to work on sama5d27.
> 
> Thanks

No, this looks good. I will apply it for 2025.07 or next, let's see what
other patches I have and when the PR will be ready.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARM: dts: at91: sama5d2: Pass bootph-all to the PIT timer
  2025-04-17 14:01   ` Eugen Hristev
@ 2025-04-18 10:46     ` Eugen Hristev
  0 siblings, 0 replies; 4+ messages in thread
From: Eugen Hristev @ 2025-04-18 10:46 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: u-boot, trini, Fabio Estevam



On 4/17/25 17:01, Eugen Hristev wrote:
> 
> 
> On 4/17/25 16:54, Fabio Estevam wrote:
>> Hi Eugen,
>>
>> On Thu, Apr 3, 2025 at 12:10 PM Fabio Estevam <festevam@gmail.com> wrote:
>>>
>>> From: Fabio Estevam <festevam@denx.de>
>>>
>>> The PIT timer needs to be available early in the SPL phase,
>>> otherwise SPL fails to boot and only prints:
>>>
>>> Could not initialize timer (err -96)
>>>
>>> Fix this problem by passing 'bootph-all' to the sama5d2 PIT node.
>>
>> Do you have any comments, please?
>>
>> This allows SPL to work on sama5d27.
>>
>> Thanks
> 
> No, this looks good. I will apply it for 2025.07 or next, let's see what
> other patches I have and when the PR will be ready.

Applied to u-boot-at91/master, thanks !

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-04-18 10:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-03 15:10 [PATCH] ARM: dts: at91: sama5d2: Pass bootph-all to the PIT timer Fabio Estevam
2025-04-17 13:54 ` Fabio Estevam
2025-04-17 14:01   ` Eugen Hristev
2025-04-18 10:46     ` Eugen Hristev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox