[U-Boot] [PATCH 0/3] driver: ti_qspi: Use a SYSCON device to map the ctrl_mod_mmap register

Vignesh R vigneshr at ti.com
Mon Feb 13 07:45:38 UTC 2017



On Tuesday 07 February 2017 09:15 PM, Jean-Jacques Hiblot wrote:
> This series allows the ti_qspi driver to use the same dts description as the
> linux kernel. In Linux since 4.6 the ctrl_mod_mmap is described in the DTS as a
> syscon. It used to be the 3rd memory range in "reg".
> 
> The first patch of this series is a generic one. It changes the regmap initialization
> to take in account the required address translation.
> 
> The second patch adds the mechanism in the ti_qspi driver to get the address
> of ctrl_mod_mmap from the syscon
> 
> The last patch simply enable the SYSCON feature in the default config for the
> dra7xx and am57xx evms.
> 
> Jean-Jacques Hiblot (3):
>   regmap: use fdt address translation
>   drivers: ti_qspi: use syscon to get the address ctrl_mod_mmap register
>   configs: dra7x/am57x: Enable the SYSCON and REGMAP features
>

Could you rebase this series on top of Lokesh's series enabling support
for SPL_DM][1][2]. The changes that you need to do to this patch series
is minimum and restricted to defconfig files:


diff --git a/configs/dra7xx_evm_defconfig b/configs/dra7xx_evm_defconfig
index a52acc51d365..591c64dc7453 100644
--- a/configs/dra7xx_evm_defconfig
+++ b/configs/dra7xx_evm_defconfig
@@ -60,7 +60,9 @@ CONFIG_OF_LIST="dra7-evm dra72-evm dra72-evm-revc
dra71-evm"
 CONFIG_DM=y
 CONFIG_SPL_DM=y
 CONFIG_REGMAP=y
+CONFIG_SPL_REGMAP=y
 CONFIG_SYSCON=y
+CONFIG_SPL_SYSCON=y
 # CONFIG_BLK is not set
 CONFIG_DFU_MMC=y
 CONFIG_DFU_RAM=y
@@ -103,3 +105,5 @@ CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_G_DNL_MANUFACTURER="Texas Instruments"
 CONFIG_G_DNL_VENDOR_NUM=0x0451
 CONFIG_G_DNL_PRODUCT_NUM=0xd022
+CONFIG_SPL_DM_SEQ_ALIAS=y
+CONFIG_SPL_OF_TRANSLATE=y


[1] https://www.mail-archive.com/u-boot@lists.denx.de/msg238751.html
[2] https://www.mail-archive.com/u-boot@lists.denx.de/msg238964.html



 --
Regards
Vignesh


More information about the U-Boot mailing list