Re: [PATCH 0/2] CONFIG_EARLY_TIMER: Fix EAGAIN issue and use DM too

2022-03-11 Thread Johannes (krjdev) Krottmayer
Hi, Ignore these patches. Have send them to the wrong maintainers... There are also somm issues. Thanks! On 10.03.22 19:45, Johannes Krottmayer wrote: > Hi, > > I'm currently working on support for a STMicroelectronics board. I have > written a DM driver which implements the timer_early_*

Re: [PATCH 1/2] common: board_f.c: Fix EAGAIN issue when CONFIG_TIMER_EARLY is selected

2022-03-11 Thread Johannes (krjdev) Krottmayer
Hi, Ignore these patches. Have send them to the wrong maintainers... There are also somm issues. Thanks! On 10.03.22 19:45, Johannes Krottmayer wrote: > Description: > > When CONFIG_TIMER_EARLY is selected and the timer driver implements > timer_early_get_count() and timer_early_get_rate()

Re: [PATCH 2/2] lib: time.c: Try also DM timer, when CONFIG_TIMER_EARLY is selected

2022-03-11 Thread Johannes (krjdev) Krottmayer
Hi, Ignore these patches. Have send them to the wrong maintainers... There are also somm issues. Thanks! On 10.03.22 19:45, Johannes Krottmayer wrote: > Description: > > When CONFIG_TIMER_EARLY is selected only the timer_early_* functions > will be called. With this patch first gd->timer will

Re: drivers: clk: stm32h7: Endless loop of dead in driver probe function

2022-03-09 Thread Johannes (krjdev) Krottmayer
position (SDEN) in PWR_CR3... On 09.03.22 09:08, Patrice CHOTARD wrote: > > > On 3/9/22 09:02, Johannes (krjdev) Krottmayer wrote: >> Hi Patrice! >> >> On 09.03.22 08:43, Patrice CHOTARD wrote: >>> Hi johannes >>> >>> On 3/9/22 08:24, Johannes (krjd

Re: drivers: clk: stm32h7: Endless loop of dead in driver probe function

2022-03-09 Thread Johannes (krjdev) Krottmayer
Hi Patrice! On 09.03.22 08:43, Patrice CHOTARD wrote: > Hi johannes > > On 3/9/22 08:24, Johannes (krjdev) Krottmayer wrote: >> Hi Patrick! >> >> Sorry, for my late response. :( >> >> On 08.03.22 10:00, Patrick DELAUNAY wrote:> Yes, the current cl

Re: drivers: clk: stm32h7: Endless loop of dead in driver probe function

2022-03-08 Thread Johannes (krjdev) Krottmayer
Hi Patrick! Sorry, for my late response. :( On 08.03.22 10:00, Patrick DELAUNAY wrote:> Yes, the current clock driver for STM32 MCU is not perfect,> > as the all U-Boot and the Linux support on STM32 MCU.> > > For information, in the other driver based on a other version of RCC for > STM32 MPU

Re: arm: stm32h7: Support for the STM32H747I-DISCO board

2022-03-07 Thread Johannes (krjdev) Krottmayer
Hi Patrice On 07.03.22 18:38, Patrice CHOTARD wrote: > Hi Johannes > > +Alexandre who is STM32 kernel maintainer. Okay, no problem. :) > On 3/7/22 18:24, Johannes (krjdev) Krottmayer wrote: >> Hi Patrice >> >> Thanks for the answer. >> >>

Re: arm: stm32h7: Support for the STM32H747I-DISCO board

2022-03-07 Thread Johannes (krjdev) Krottmayer
Hi Patrice Thanks for the answer. On 07.03.22 17:09, Patrice CHOTARD wrote: >> But there some issues on the website: >> - According the website, the board has 256Mbit external SDRAM >> >> That's not true. There is a 512MBit SDRAM from ISSI mounted. It's a 256Mbit SDRAM mounted on the board.

arm: Simple delay function because of an chicken and egg problem

2022-03-02 Thread Johannes (krjdev) Krottmayer
Hi, I'm running into an chicken and egg problem when modifying (fixing) some drivers for STMicroelectronics SoC's. The problem, I will implement a timeout, when accessing some registers. Unfortunately I cannot use the basic mdelay() or higher level functions, which use this function, because

drivers: clk: stm32h7: Endless loop of dead in driver probe function

2022-03-02 Thread Johannes (krjdev) Krottmayer
Hi, Some IMHO fatal issues in the the clock driver for the STM32H7 series driver. Affected driver: drivers/clk/clk_stm32h7.c Affected configs (boards): configs/stm32h750-art-pi_defconfig configs/stm32h743-disco_defconfig configs/stm32h743-eval_defconfig Description: The driver currently

arm: stm32h7: Support for the STM32H747I-DISCO board

2022-03-02 Thread Johannes (krjdev) Krottmayer
Hi, I want add support for STM32H747I-DISCO from STMicroelectronics, for the purpose of education. Want to use U-Boot as boot-loader for my projects. Here you the official website from the board: https://www.st.com/en/evaluation-tools/stm32h747i-disco.html But there some issues on the website: