Skip to contentSkip to conversation

arm: mvebu: Espressobin: Set the maximum slave SPI speed to 40MHz

PATCH New Pali Rohár 2 participants 3 messages Jan 27, 2021 – Feb 8, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: mvebu: Espressobin: Set the maximum slave SPI speed to 40MHz

From: Konstantin Porotchkin <[email protected]>

While the SPI controller speed is defined by DTS, the maximum slave speed (connected devices) is limited by the pre-defined configuration value CONFIG_SF_DEFAULT_SPEED to 1MHz This patch increases this maximum SPI slave device speed to 40MHz

Change-Id I0d1239bd8a2061c66725c2c227c1e1f49c92c29e

Reviewed-on: http://vgitil04.il.marvell.com:8080/59516

[pali: Set CONFIG_SF_DEFAULT_SPEED via defconfig]
---
 configs/mvebu_espressobin-88f3720_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/mvebu_espressobin-88f3720_defconfig +1 -0
index 8a859cba2e..4956199ccd 100644
@@ -54,6 +54,7 @@ CONFIG_MMC_SDHCI_SDMA=y
 CONFIG_MMC_SDHCI_XENON=y
 CONFIG_MTD=y
 CONFIG_SF_DEFAULT_MODE=0
+CONFIG_SF_DEFAULT_SPEED=40000000
 CONFIG_SPI_FLASH_GIGADEVICE=y
 CONFIG_SPI_FLASH_ISSI=y
 CONFIG_SPI_FLASH_MACRONIX=y
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 arm: mvebu: Espressobin: Set the maximum slave SPI speed to 40MHz

Quoted 7 lines · Pali Roh?r

From: Konstantin Porotchkin <[email protected]>

While the SPI controller speed is defined by DTS, the maximum slave speed (connected devices) is limited by the pre-defined configuration value CONFIG_SF_DEFAULT_SPEED to 1MHz This patch increases this maximum SPI slave device speed to 40MHz

Quoted 7 lines
Change-Id I0d1239bd8a2061c66725c2c227c1e1f49c92c29e

Reviewed-on: http://vgitil04.il.marvell.com:8080/59516

[pali: Set CONFIG_SF_DEFAULT_SPEED via defconfig]

Thanks,
Stefan

Quoted 10 lines
---
  configs/mvebu_espressobin-88f3720_defconfig | 1 +
  1 file changed, 1 insertion(+)
configs/mvebu_espressobin-88f3720_defconfig +0 -0
index 8a859cba2e..4956199ccd 100644

configs/mvebu_espressobin-88f3720_defconfig CONFIG_MMC_SDHCI_SDMA=y · line 60

Quoted 7 lines
configs/mvebu_espressobin-88f3720_defconfig +1 -0
@@ -54,6 +54,7 @@ CONFIG_MMC_SDHCI_SDMA=y
  CONFIG_MMC_SDHCI_XENON=y
  CONFIG_MTD=y
  CONFIG_SF_DEFAULT_MODE=0
+CONFIG_SF_DEFAULT_SPEED=40000000
  CONFIG_SPI_FLASH_GIGADEVICE=y
  CONFIG_SPI_FLASH_ISSI=y
  CONFIG_SPI_FLASH_MACRONIX=y

Viele Gr??e,
Stefan

Signature · 3 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de
#2 lore raw

PATCH 1/1 arm: mvebu: Espressobin: Set the maximum slave SPI speed to 40MHz

In reply to Pali Rohár
Quoted 7 lines · Pali Roh?r

From: Konstantin Porotchkin <[email protected]>

While the SPI controller speed is defined by DTS, the maximum slave speed (connected devices) is limited by the pre-defined configuration value CONFIG_SF_DEFAULT_SPEED to 1MHz This patch increases this maximum SPI slave device speed to 40MHz

Quoted 7 lines
Change-Id I0d1239bd8a2061c66725c2c227c1e1f49c92c29e

Reviewed-on: http://vgitil04.il.marvell.com:8080/59516

[pali: Set CONFIG_SF_DEFAULT_SPEED via defconfig]

Applied to u-boot-marvell/master

Thanks,
Stefan