public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCHv4 0/6] dm: cache: add dm cache driver
@ 2019-04-01 22:32 Dinh Nguyen
  2019-04-01 22:32 ` [U-Boot] [PATCHv4 1/6] Documentation: dts: Add pl310 cache controller dts documentation Dinh Nguyen
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Dinh Nguyen @ 2019-04-01 22:32 UTC (permalink / raw)
  To: u-boot

Hi,

This is V4 of the series to add a UCLASS_CACHE dm driver to handling
the configuration of cache settings. Place this new driver under
/drivers/cache. In this initial revision, the driver is only configuring
what I think are essential cache settings. The more comprehensive cache
settings can be done in the OS.

Diffs from v3:
- Re-order includes in a correct order
- Add final Reviewed-by: in "dm: cache: Create a uclass for cache"

Dinh Nguyen (6):
  Documentation: dts: Add pl310 cache controller dts documentation
  ARM: pl310: Add macro's for handling tag and data latency mask
  dm: cache: Create a uclass for cache
  dm: cache: add the pl310 cache controller driver
  ARM: socfpga: use the pl310 driver to configure the cache
  configs: socfpga: add imply pl310 cache controller

 .../devicetree/bindings/arm/l2c2x0.txt        | 114 ++++++++++++++++++
 arch/arm/Kconfig                              |   1 +
 arch/arm/include/asm/pl310.h                  |   3 +
 arch/arm/mach-socfpga/misc.c                  |  16 +--
 drivers/Kconfig                               |   2 +
 drivers/Makefile                              |   1 +
 drivers/cache/Kconfig                         |  25 ++++
 drivers/cache/Makefile                        |   4 +
 drivers/cache/cache-l2x0.c                    |  76 ++++++++++++
 drivers/cache/cache-uclass.c                  |  24 ++++
 drivers/cache/sandbox_cache.c                 |  34 ++++++
 include/cache.h                               |  38 ++++++
 include/dm/uclass-id.h                        |   1 +
 test/dm/cache.c                               |  20 +++
 14 files changed, 346 insertions(+), 13 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/arm/l2c2x0.txt
 create mode 100644 drivers/cache/Kconfig
 create mode 100644 drivers/cache/Makefile
 create mode 100644 drivers/cache/cache-l2x0.c
 create mode 100644 drivers/cache/cache-uclass.c
 create mode 100644 drivers/cache/sandbox_cache.c
 create mode 100644 include/cache.h
 create mode 100644 test/dm/cache.c

-- 
2.20.0

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-04-23 21:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-01 22:32 [U-Boot] [PATCHv4 0/6] dm: cache: add dm cache driver Dinh Nguyen
2019-04-01 22:32 ` [U-Boot] [PATCHv4 1/6] Documentation: dts: Add pl310 cache controller dts documentation Dinh Nguyen
2019-04-01 22:32 ` [U-Boot] [PATCHv4 2/6] ARM: pl310: Add macro's for handling tag and data latency mask Dinh Nguyen
2019-04-01 22:32 ` [U-Boot] [PATCHv4 3/6] dm: cache: Create a uclass for cache Dinh Nguyen
2019-04-22 17:48   ` [U-Boot] [U-Boot, PATCHv4, " Tom Rini
2019-04-23 21:23     ` Dinh Nguyen
2019-04-01 22:32 ` [U-Boot] [PATCHv4 4/6] dm: cache: add the pl310 cache controller driver Dinh Nguyen
2019-04-01 22:32 ` [U-Boot] [PATCHv4 5/6] ARM: socfpga: use the pl310 driver to configure the cache Dinh Nguyen
2019-04-01 22:32 ` [U-Boot] [PATCHv4 6/6] configs: socfpga: add imply pl310 cache controller Dinh Nguyen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox