[PATCH 0/6] memory: ti-aemif: Add DM support

Bastien Curutchet bastien.curutchet at bootlin.com
Mon Oct 21 17:13:24 CEST 2024


Hi all,

This patch series aims to add DM support for the AEMIF controller that
can be found in the DaVinci SoCs.

This controller has already a driver used by the Keystone SoCs so I
add my work to it.

As we can now easily import Linux device-trees, I try to stick the
most I can to the Linux bindings of the AEMIF controller. To do so I add
an 'intermediate' driver called 'ti-aemif-cs'. It's in charge of
configuring timings for a given chip select of the AEMIF controller.

Bastien Curutchet (6):
  memory: ti-aemif: Correct macro to ensure avoiding precedence issues
  memory: ti-aemif: Make AEMIF driver architecture agnostic
  memory: ti-aemif: Add ARCH_DAVINCI to architectures that uses TI_AEMIF
  memory: ti-aemif: Wrap the CS configuration into a function
  memory: ti-aemif: Add DM support
  memory: ti-aemif-cs: Compute timing configuration from DT parsing

 arch/arm/include/asm/ti-common/ti-aemif.h |   1 +
 board/ti/ks2_evm/board.c                  |   4 +-
 drivers/memory/Kconfig                    |   2 +-
 drivers/memory/Makefile                   |   2 +-
 drivers/memory/ti-aemif-cs.c              | 183 ++++++++++++++++++++++
 drivers/memory/ti-aemif-cs.h              |   4 +
 drivers/memory/ti-aemif.c                 |  63 +++-----
 7 files changed, 215 insertions(+), 44 deletions(-)
 create mode 100644 drivers/memory/ti-aemif-cs.c
 create mode 100644 drivers/memory/ti-aemif-cs.h

-- 
2.47.0



More information about the U-Boot mailing list