From: Patrice Chotard
Add set_env_soc_name() call in board_late_init() to set environment
variable "soc_name" with the name of current STM32 SoC.
Signed-off-by: Christophe Priouzeau
Signed-off-by: Patrice Chotard
---
From: Patrice Chotard
Add set_env_soc_name() call in board_late_init() to set environment
variable "soc_name" with the name of current STM32 SoC.
Signed-off-by: Christophe Priouzeau
Signed-off-by: Patrice Chotard
---
From: Patrice Chotard
Add set_env_soc_name() call in board_late_init() to set environment
variable "soc_name" with the name of current STM32 SoC.
Signed-off-by: Christophe Priouzeau
Signed-off-by: Patrice Chotard
---
From: Patrice Chotard
This allows to read the CPU ID into STM32 DBGMCU_IDCODE register
and create an environment variable which contains the soc name.
Signed-off-by: Christophe Priouzeau
Signed-off-by: Patrice Chotard
From: Patrice Chotard
This series allows to get the cpu id of STM32 SoCs and to set
the environment variable "soc_name" with the corresponding SoC name.
This will be useful in some development environment to retrieve files
correspondig to SoC family.
Patrice Chotard
From: Patrice Chotard
Add set_env_soc_name() call in board_late_init() to set environment
variable "soc_name" with the name of current STM32 SoC.
Signed-off-by: Christophe Priouzeau
Signed-off-by: Patrice Chotard
---
From: Patrice Chotard
Add set_env_soc_name() call in board_late_init() to set environment
variable "soc_name" with the name of current STM32 SoC.
Signed-off-by: Christophe Priouzeau
Signed-off-by: Patrice Chotard
---
From: Patrice Chotard
Add set_env_soc_name() call in board_late_init() to set environment
variable "soc_name" with the name of current STM32 SoC.
Signed-off-by: Christophe Priouzeau
Signed-off-by: Patrice Chotard
---
From: Patrice Chotard
This allows to create and set the environment variable
"soc_name" which contains the current STM32 SoC's name.
Signed-off-by: Christophe Priouzeau
Signed-off-by: Patrice Chotard
---
v2: _
From: Patrice Chotard
Add set_env_soc_name() call in board_late_init() to set environment
variable "soc_name" with the name of current STM32 SoC.
Signed-off-by: Christophe Priouzeau
Signed-off-by: Patrice Chotard
---
From: Patrice Chotard
Move BOARD_LATE_INIT flag from include/configs/stm32*.h to
mach-stm32/Kconfig.
Enable this flag also for STM32F4 SoCs family.
Signed-off-by: Patrice Chotard
---
v2: _ None
arch/arm/mach-stm32/Kconfig | 3 +++
From: Patrice Chotard
This series allows to create and set the environment variable
"soc_name" corresponding to the current STM32 SoCs name.
We will add STM32 SoCs support in buildroot environment
Our objective is to propose a flexible solution to boot linux
kernel from
From: Patrice Chotard
Since 'commit f4fcba5c5baa ("clk: implement clk_set_defaults()")'
STM32F4 family board can't boot.
Above patch calls clk_set_rate() for all nodes with assigned-clock-rates
property. Clock driver for STM32F family doesn't implement .set_rate
callback
From: Patrice Chotard
Instead to have 3 identical gpio.h for all STM32 SoCs,
migrate them in one file in include/asm.
Signed-off-by: Patrice Chotard
---
arch/arm/include/asm/arch-stm32f4/gpio.h | 146 +--
From: Patrice Chotard
For STM32F4 and F7 SoCx family, a specific stm32.h file exists.
Some common defines are duplicated or even unused in each of
these stm32.h.
Factorize all common definition in arch/arm/include/asm/stm32f.h and keep
specific definitions in each
From: Patrice Chotard
Remove all unused defines
Signed-off-by: Patrice Chotard
---
arch/arm/include/asm/arch-stm32f7/syscfg.h | 9 -
1 file changed, 9 deletions(-)
diff --git a/arch/arm/include/asm/arch-stm32f7/syscfg.h
From: Patrice Chotard
Remove arch/arm/include/asm/arch-stm32fx/stm32_periph.h
as all defines or enums are no more used.
Signed-off-by: Patrice Chotard
---
arch/arm/include/asm/arch-stm32f4/stm32_periph.h | 38
From: Patrice Chotard
fmc.h file is no more used, remove it.
All FMC related defines are declared in drivers/ram/stm32_sdram.c
which is common to all STM32 SoCs.
Signed-off-by: Patrice Chotard
---
arch/arm/include/asm/arch-stm32f4/fmc.h | 75
From: Patrice Chotard
Removes unused .h files in arch/arm/include/asm/arch-stm32xx
Factorize and clean some .h files to avoid to duplicate defines in
separate .h files
Patrice Chotard (5):
arch-stm32f4: Remove fmc.h file
arch-stm32: Move gpio.h for STM32 SoCs in
From: Patrick Delaunay
The hardware flow control functionality is used to avoid
FIFO underrun (TX mode) and overrun (RX mode) errors.
The behavior is to stop SDMMC_CK during data transfer and
freeze the SDMMC state machines.
Signed-off-by: Patrick Delaunay
From: Patrice Chotard
This series adds the following stm32_sdmmc2 driver update :
_ Enable hardware flow control
_ Add support for st,pin-ckinsdmmc_ckin to select "ckin" clock input
to sample received data.
Patrick Delaunay (2):
mmc: stm32: sdmmc2: add hardware flow
From: Patrick Delaunay
This patch adds "st,pin-ckin" support to activate sdmmc_ckin feature.
When using an external driver (a voltage switch transceiver),
it's advised to select SDMMC_CKIN feedback clock input to sample
the received data.
Signed-off-by: Patrick Delaunay
From: Patrice Chotard
Implement set_rate() for LTDC clock only, set_rate for other
clocks will be added if needed. This is needed by future LTDC driver
improvements.
Signed-off-by: Patrice Chotard
---
drivers/clk/clk_stm32f.c | 100
From: Patrice Chotard
Initially, 48Mhz for SDIO clock was generated from SAI pll for
STM32F469 and STM32F746 SoCs, but this solution was not suitable
for STM32F429 SoCs.
A generic solution is to used the PLL_Q output as 48Mhz clock
for all STM32F SOCs family.
From: Patrice Chotard
Rework the way SDMMC clock get rate is done in a more
generic way :
_ Add stm32_clk_get_pllsai_rate() which give the PLLSAI
indicated output rate.
_ Add stm32_clk_get_pllsai_vco_rate() which give the VCO
internal rate.
Signed-off-by: Patrice
From: Patrice Chotard
Use the correct name for RCC_PLLSAICFGR_PLLSAIx_MASK masks.
Signed-off-by: Patrice Chotard
---
drivers/clk/clk_stm32f.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/clk/clk_stm32f.c
From: Patrice Chotard
Wrong parameter was passed to stm32_clk_pll48clk_rate().
sysclk (PLL_p output value) was passed instead of VCO value.
Signed-off-by: Patrice Chotard
---
drivers/clk/clk_stm32f.c | 12 +++-
1 file changed, 7
From: Patrice Chotard
This series :
_ Fixes one issue stm32_clk_get_rate()
_ Update the SDMMC clock generation across all STM32F SoCs
_ Adds LTDC clock generation from PLLSAI
_ Adds set_rate() for LTDC clock
_ Adds DSI clock support
Patrice Chotard (7):
clk:
From: Patrice Chotard
This avoids the following errors while reading on mmc:
Read data bytes CRC error: 0x2
switch to partitions #0, OK
mmc0 is current device
Read data bytes CRC error: 0x82002
** Unrecognized filesystem type **
Signed-off-by: Patrice Chotard
From: Patrice Chotard
Enable CONFIG_ENV_VARS_UBOOT_CONFIG for all STM32 boards
It allows to retrieve the SoC name into the "soc" environment
variable.
Signed-off-by: Christophe Priouzeau
Signed-off-by: Patrice Chotard
From: Patrice Chotard
Removes unused .h files in arch/arm/include/asm/arch-stm32xx
Factorize and clean some .h files to avoid to duplicate defines in
separate .h files
V2: _ create arch/arm/include/asm/arch-stm32 directory and move
gpio.h and stm32f.h in it.
From: Patrice Chotard
Instead to have 3 identical gpio.h for all STM32 SoCs,
migrate them in one file in include/asm.
Signed-off-by: Patrice Chotard
---
v2: _ create arch/arm/include/asm/arch-stm32 directory and move
gpio.h in it.
From: Patrice Chotard
For STM32F4 and F7 SoCx family, a specific stm32.h file exists.
Some common defines are duplicated or even unused in each of
these stm32.h.
Factorize all common definition in arch/arm/include/asm/stm32f.h and keep
specific definitions in each
From: Patrice Chotard
Remove arch/arm/include/asm/arch-stm32fx/stm32_periph.h
as all defines or enums are no more used.
Signed-off-by: Patrice Chotard
---
v2: _ none
arch/arm/include/asm/arch-stm32f4/stm32_periph.h | 38
From: Patrice Chotard
fmc.h file is no more used, remove it.
All FMC related defines are declared in drivers/ram/stm32_sdram.c
which is common to all STM32 SoCs.
Signed-off-by: Patrice Chotard
---
v2: _ none
From: Patrice Chotard
Remove all unused defines
Signed-off-by: Patrice Chotard
---
v2: _none
arch/arm/include/asm/arch-stm32f7/syscfg.h | 9 -
1 file changed, 9 deletions(-)
diff --git a/arch/arm/include/asm/arch-stm32f7/syscfg.h
From: Patrice Chotard
DSI clock is available on STM32F769-disco and
STM32F469-disco board.
Signed-off-by: Yannick Fertre
Signed-off-by: Patrice Chotard
---
drivers/clk/clk_stm32f.c | 2 +-
From: Patrice Chotard
Configure SAI PLL configuration to generate LTDC pixel clock on
the PLLSAIR output.
PLLSAI is enabled only if CONFIG_VIDEO_STM32 flag is set.
Signed-off-by: Patrice Chotard
---
drivers/clk/clk_stm32f.c | 37
From: Patrice Chotard
For timer clock, an additional prescaler is used which
was not taken into account previously.
Signed-off-by: Patrice Chotard
---
drivers/clk/clk_stm32h7.c | 102 --
1 file
From: Patrice Chotard
Add missing timer node to enable timer5 for STM32F7 SoCs family
Signed-off-by: Patrice Chotard
---
arch/arm/dts/stm32f7-u-boot.dtsi | 8
arch/arm/dts/stm32f746.dtsi | 7 +++
2 files changed, 15
From: Patrice Chotard
For timer clock, an additionnal prescaler is used which was
not taken into account previously.
Signed-off-by: Patrice Chotard
---
drivers/clk/clk_stm32f.c | 116 ---
From: Patrice Chotard
Add DM timer support for all STM32F7/F4/H7 SoCs family.
Clock driver for STM32F4/F7 and H7 need to updated to get timer clock rate.
Remove all defines or files previously used for timer usage in
arch/arm/include/asm/arch-stm32fx and in
From: Patrice Chotard
This timer driver is using GPT Timer (General Purpose Timer)
available on all STM32 SOCs family.
This driver can be used on STM32F4/F7 and H7 SoCs family
Signed-off-by: Patrice Chotard
---
drivers/timer/Kconfig | 7
From: Patrice Chotard
Use available DM stm32_timer driver instead of dedicated
mach-stm32/stm32fx/timer.c.
Remove all defines or files previously used for timer usage in
arch/arm/include/asm/arch-stm32fx and in arch/arm/mach-stm32/stm32fx
Enable DM STM32_TIMER for
From: Patrice Chotard
d1cfgr register was used to calculate the domain 3
prescaler value instead of d3cfgr.
Signed-off-by: Patrice Chotard
---
drivers/clk/clk_stm32h7.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git
From: Patrice Chotard
This board offers:
_ STM32F746NGH6 microcontroller with 1 Mbyte Flash and 320+4 Kbytes RAM
_ Six 5 V power supply options:
Power jack
ST-LINK/V2-1 USB connector
User USB HS connector
User USB FS1 connector
From: Christophe Kerello
This patch adds an interface to disable the power in dwc2 driver.
This new interface is called when the device is removed.
Signed-off-by: Christophe Kerello
Signed-off-by: Patrice Chotard
From: Christophe Kerello
This patch increases timeout to 2s.
It was seen on 2 USB devices (Verbatim STORE N GO 070B4AED0FB22358 and
USB DISK 2.0 9000729BA41DDF40) that the request sense command takes
between 1.3s and and 1.5s.
Signed-off-by: Christophe Kerello
From: Patrice Chotard
This series :
_ adds dwc_vbus_supply_exit() to disable VBUS on device removal
_ increases timeout in wait_for_chhltd()
_ replaces printf() and pr_err by dev_info() and dev_err()
Christophe Kerello (2):
usb: dwc2: disable external vbus supply
From: Patrice Chotard
Replace printf() call by dev_info() and pr_err() by dev_err()
Signed-off-by: Patrice Chotard
---
drivers/usb/host/dwc2.c | 20 +++-
1 file changed, 11 insertions(+), 9 deletions(-)
diff --git
From: Patrice Chotard
This series updates ohci-generic and ehci-generic drivers by:
_ Add generic_phy_power_on() and generic_phy_power_off() needed
to work with phy driver which implement these callbacks.
_ Factorize PHY operations.
_ Replace pr_err() with
From: Patrice Chotard
Factorize PHY get/init/poweron and PHY poweroff/exit operations
into separate function, it simplify the error path.
Signed-off-by: Patrice Chotard
---
drivers/usb/host/ohci-generic.c | 99
From: Patrice Chotard
Add generic_phy_power_on() and generic_phy_power_off()
calls to switch ON/OFF phy during probe and remove functions.
Signed-off-by: Patrice Chotard
---
drivers/usb/host/ohci-generic.c | 17 +
1 file changed,
From: Patrice Chotard
As we get access to struct udevice, use dev_err() instead
of pr_err().
Signed-off-by: Patrice Chotard
---
drivers/usb/host/ehci-generic.c | 16 +---
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git
From: Patrice Chotard
As we get access to struct udevice, use dev_err() instead
of pr_err().
Signed-off-by: Patrice Chotard
---
drivers/usb/host/ohci-generic.c | 13 ++---
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git
From: Patrice Chotard
Add generic_phy_power_on() and generic_phy_power_off()
calls to switch ON/OFF phy during probe and remove functions.
Signed-off-by: Christophe Kerello
Signed-off-by: Patrice Chotard
---
From: Patrice Chotard
Factorize PHY get/init/poweron and PHY poweroff/exit operations
into separate function, it simplify the error path.
Signed-off-by: Patrice Chotard
---
drivers/usb/host/ehci-generic.c | 99
From: Christophe Kerello
In case usb configuration is unknown (cdev->config == NULL), non standard
request should not be processed.
Remove also the cdev->config check below which will never happen.
This issue was seen using ums feature.
Signed-off-by: Christophe
From: Patrice Chotard
Enable DOS_PARTITION for boards STM32F429-eval, STM32F469-disco
and STM32F746-disco.
This allows to read FAT partition on mmc.
Signed-off-by: Patrice Chotard
---
configs/stm32f429-evaluation_defconfig | 1 -
From: Patrice Chotard
On linux kernel side, on STM32F7 and STM32H7 SoCs, DMA requires
uncachable regions. These regions are defined in DT.
Since kernel linux v4.15, on ARMv7-M Cortex, kernel is able
to configure MPU regions depending on DT settings.
As kernel is able to
From: Patrick Delaunay
Display the STMicroelectronics logo with features VIDEO_LOGO and
SPLASH_SCREEN on STMicroelectronics boards.
With CONFIG_SYS_VENDOR = "st", the logo st.bmp is selected, loaded at the
address indicated by splashimage and centered with "splashpos=m,m".
Signed-off-by:
601 - 661 of 661 matches
Mail list logo