Re: [U-Boot] Add support for imxrt

2019-11-11 Thread Fabio Estevam
Hi Giulio, On Wed, Nov 6, 2019 at 7:50 PM Giulio Benetti wrote: > With this you mean adding every single mux, divider, gate, fixed_factor > and pfd(i.e. linux/drivers/clk/imx/clk-imxq6.c)? > > Or only a shrinked version of that? > I mean, is it ok if I list everything during imxrt_clk_probe()?

Re: [U-Boot] Add support for imxrt

2019-11-06 Thread Giulio Benetti
Hi Fabio, On 10/9/19 6:03 PM, Fabio Estevam wrote: Hi Giulio, On Wed, Oct 9, 2019 at 12:59 PM Giulio Benetti wrote: Hi Fabio and Stefano, On 9/29/19 9:40 PM, Fabio Estevam wrote: We try to use DM in U-Boot proper as much as possible, but using DM in SPL is currently not a requirement,

Re: [U-Boot] Add support for imxrt - Sdram

2019-10-10 Thread Giulio Benetti
On 10/10/19 8:29 PM, Fabio Estevam wrote: Hi Giulio, On Thu, Oct 10, 2019 at 2:30 PM Giulio Benetti wrote: Hi Fabio and Stefano, about imxrt porting, would it make sense to add an SDRAM driver to setup ram or is it enough to provide .cfg file with DCD? Having the DDR initialization

Re: [U-Boot] Add support for imxrt - Sdram

2019-10-10 Thread Fabio Estevam
Hi Giulio, On Thu, Oct 10, 2019 at 2:30 PM Giulio Benetti wrote: > > Hi Fabio and Stefano, > > about imxrt porting, would it make sense to add an SDRAM driver to setup > ram or is it enough to provide .cfg file with DCD? Having the DDR initialization running in C code from internal RAM is more

[U-Boot] Add support for imxrt - Sdram

2019-10-10 Thread Giulio Benetti
Hi Fabio and Stefano, about imxrt porting, would it make sense to add an SDRAM driver to setup ram or is it enough to provide .cfg file with DCD? This question is specific for SDRAM of course. Thanks in advance Best regards -- Giulio Benetti Benetti Engineering sas

Re: [U-Boot] Add support for imxrt

2019-10-09 Thread Fabio Estevam
Hi Giulio, On Wed, Oct 9, 2019 at 12:59 PM Giulio Benetti wrote: > > Hi Fabio and Stefano, > > On 9/29/19 9:40 PM, Fabio Estevam wrote: > > We try to use DM in U-Boot proper as much as possible, but using DM in > > SPL is currently not a requirement, especially due to internal RAM > > size

Re: [U-Boot] Add support for imxrt

2019-10-09 Thread Giulio Benetti
Hi Fabio and Stefano, On 9/29/19 9:40 PM, Fabio Estevam wrote: We try to use DM in U-Boot proper as much as possible, but using DM in SPL is currently not a requirement, especially due to internal RAM size constraints. IOMUXC and LPUART(using 24Mhz clock) work correctly using DM. About clk

Re: [U-Boot] Add support for imxrt

2019-09-29 Thread Fabio Estevam
Hi Giulio, On Fri, Sep 27, 2019 at 11:57 AM Giulio Benetti wrote: > While porting IMXRT I'm realizing that things would fit better if adding > to mach-imx folder. This is because IMXRT has a lot in common with imx > on low level side, i.e. iomux, clock. So I would go for mach-imx instead > of

Re: [U-Boot] Add support for imxrt

2019-09-27 Thread Giulio Benetti
Hi Stefano and Fabio, On 9/11/19 8:50 AM, Stefano Babic wrote: Hi Giulio, On 10/09/19 20:32, Giulio Benetti wrote: Hello everybody, I would like to port imxrt to u-boot and I would like to ask you: - do you have the interest on upstreaming it? if yes: I've seen how they've dealt with 'stm32'

Re: [U-Boot] Add support for imxrt

2019-09-11 Thread Giulio Benetti
Hi Stefano, On 9/11/19 8:50 AM, Stefano Babic wrote: Hi Giulio, On 10/09/19 20:32, Giulio Benetti wrote: Hello everybody, I would like to port imxrt to u-boot and I would like to ask you: - do you have the interest on upstreaming it? if yes: I've seen how they've dealt with 'stm32' and

Re: [U-Boot] Add support for imxrt

2019-09-11 Thread Giulio Benetti
Hi Fabio, On 9/11/19 12:23 AM, Fabio Estevam wrote: Hi Giulio, On Tue, Sep 10, 2019 at 3:32 PM Giulio Benetti wrote: Hello everybody, I would like to port imxrt to u-boot and I would like to ask you: - do you have the interest on upstreaming it? if yes: I've seen how they've dealt with

[U-Boot] Add support for imxrt

2019-09-11 Thread Giulio Benetti
Hello everybody, I would like to port imxrt to u-boot and I would like to ask you: - do you have the interest on upstreaming it? if yes: I've seen how they've dealt with 'stm32' and 'stm32mp' that is similar to 'imxrt' and 'imx'. So should follow the same criterias for porting? I mean adding

Re: [U-Boot] Add support for imxrt

2019-09-11 Thread Stefano Babic
Hi Giulio, On 10/09/19 20:32, Giulio Benetti wrote: > Hello everybody, > > I would like to port imxrt to u-boot and I would like to ask you: > - do you have the interest on upstreaming it? > if yes: > I've seen how they've dealt with 'stm32' and 'stm32mp' that is similar > to 'imxrt' and 'imx'.

Re: [U-Boot] Add support for imxrt

2019-09-10 Thread Fabio Estevam
Hi Giulio, On Tue, Sep 10, 2019 at 3:32 PM Giulio Benetti wrote: > > Hello everybody, > > I would like to port imxrt to u-boot and I would like to ask you: > - do you have the interest on upstreaming it? > if yes: > I've seen how they've dealt with 'stm32' and 'stm32mp' that is similar > to