mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* SAMA5D3-xplained board cleanup question
@ 2025-06-20 12:21 Alexander Shiyan
  2025-06-23  9:31 ` Sascha Hauer
  0 siblings, 1 reply; 4+ messages in thread
From: Alexander Shiyan @ 2025-06-20 12:21 UTC (permalink / raw)
  To: Barebox List

Hello All!

 I would like to propose a cleanup for the SAMA5D3-xplained board support.
The board currently has code in board.c that configures the
at91sam9-smc (Static Memory Controller).
However, since the board uses devicetree, this configuration should be
handled by the MFD driver
that is responsible for the SMC and is devicetree-based.

Therefore, I think we can remove the SMC configuration from the board file.
But I don't have a SAMA5D3-xplained board to test this change.

Could someone who has access to this board please test the removal of
the SMC configuration?

Thanks!



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

* Re: SAMA5D3-xplained board cleanup question
  2025-06-20 12:21 SAMA5D3-xplained board cleanup question Alexander Shiyan
@ 2025-06-23  9:31 ` Sascha Hauer
  2025-06-23 10:16   ` Ahmad Fatoum
  0 siblings, 1 reply; 4+ messages in thread
From: Sascha Hauer @ 2025-06-23  9:31 UTC (permalink / raw)
  To: Alexander Shiyan; +Cc: Barebox List

Hi Alexander,

On Fri, Jun 20, 2025 at 03:21:56PM +0300, Alexander Shiyan wrote:
> Hello All!
> 
>  I would like to propose a cleanup for the SAMA5D3-xplained board support.
> The board currently has code in board.c that configures the
> at91sam9-smc (Static Memory Controller).
> However, since the board uses devicetree, this configuration should be
> handled by the MFD driver
> that is responsible for the SMC and is devicetree-based.
> 
> Therefore, I think we can remove the SMC configuration from the board file.
> But I don't have a SAMA5D3-xplained board to test this change.
> 
> Could someone who has access to this board please test the removal of
> the SMC configuration?

It's rather unlikely that someone gives a positive answer here.
I'd say just send the patch and add a note that it's untested.

That said, we @Pengutronix should have such a board, at least I can find
it in our inventory list. Not sure if I can motivate someone to connect
it for me.

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



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

* Re: SAMA5D3-xplained board cleanup question
  2025-06-23  9:31 ` Sascha Hauer
@ 2025-06-23 10:16   ` Ahmad Fatoum
  2025-06-24  9:14     ` Alexander Shiyan
  0 siblings, 1 reply; 4+ messages in thread
From: Ahmad Fatoum @ 2025-06-23 10:16 UTC (permalink / raw)
  To: Sascha Hauer, Alexander Shiyan; +Cc: Barebox List

Hi,

On 6/23/25 11:31, Sascha Hauer wrote:
> Hi Alexander,
> 
> On Fri, Jun 20, 2025 at 03:21:56PM +0300, Alexander Shiyan wrote:
>> Hello All!
>>
>>  I would like to propose a cleanup for the SAMA5D3-xplained board support.
>> The board currently has code in board.c that configures the
>> at91sam9-smc (Static Memory Controller).
>> However, since the board uses devicetree, this configuration should be
>> handled by the MFD driver
>> that is responsible for the SMC and is devicetree-based.
>>
>> Therefore, I think we can remove the SMC configuration from the board file.
>> But I don't have a SAMA5D3-xplained board to test this change.
>>
>> Could someone who has access to this board please test the removal of
>> the SMC configuration?
> 
> It's rather unlikely that someone gives a positive answer here.
> I'd say just send the patch and add a note that it's untested.
> 
> That said, we @Pengutronix should have such a board, at least I can find
> it in our inventory list. Not sure if I can motivate someone to connect
> it for me.

I have one at home. If you send a patch, I can give it a test.

Cheers,
Ahmad

> 
> Sascha
> 

-- 
Pengutronix e.K.                  |                             |
Steuerwalder Str. 21              | http://www.pengutronix.de/  |
31137 Hildesheim, Germany         | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686  | Fax:   +49-5121-206917-5555 |




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

* Re: SAMA5D3-xplained board cleanup question
  2025-06-23 10:16   ` Ahmad Fatoum
@ 2025-06-24  9:14     ` Alexander Shiyan
  0 siblings, 0 replies; 4+ messages in thread
From: Alexander Shiyan @ 2025-06-24  9:14 UTC (permalink / raw)
  To: Ahmad Fatoum; +Cc: Barebox List

Hello.

I'll do it now. Thanks!

пн, 23 июн. 2025 г. в 13:16, Ahmad Fatoum <a.fatoum@pengutronix.de>:
>
> Hi,
>
> On 6/23/25 11:31, Sascha Hauer wrote:
> > Hi Alexander,
> >
> > On Fri, Jun 20, 2025 at 03:21:56PM +0300, Alexander Shiyan wrote:
> >> Hello All!
> >>
> >>  I would like to propose a cleanup for the SAMA5D3-xplained board support.
> >> The board currently has code in board.c that configures the
> >> at91sam9-smc (Static Memory Controller).
> >> However, since the board uses devicetree, this configuration should be
> >> handled by the MFD driver
> >> that is responsible for the SMC and is devicetree-based.
> >>
> >> Therefore, I think we can remove the SMC configuration from the board file.
> >> But I don't have a SAMA5D3-xplained board to test this change.
> >>
> >> Could someone who has access to this board please test the removal of
> >> the SMC configuration?
> >
> > It's rather unlikely that someone gives a positive answer here.
> > I'd say just send the patch and add a note that it's untested.
> >
> > That said, we @Pengutronix should have such a board, at least I can find
> > it in our inventory list. Not sure if I can motivate someone to connect
> > it for me.
>
> I have one at home. If you send a patch, I can give it a test.
>
> Cheers,
> Ahmad
>
> >
> > Sascha
> >
>
> --
> Pengutronix e.K.                  |                             |
> Steuerwalder Str. 21              | http://www.pengutronix.de/  |
> 31137 Hildesheim, Germany         | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686  | Fax:   +49-5121-206917-5555 |
>



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

end of thread, other threads:[~2025-06-24  9:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-20 12:21 SAMA5D3-xplained board cleanup question Alexander Shiyan
2025-06-23  9:31 ` Sascha Hauer
2025-06-23 10:16   ` Ahmad Fatoum
2025-06-24  9:14     ` Alexander Shiyan

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