public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 00/18] dm: test: Add test code for new uclasses
@ 2015-07-06 18:54 Simon Glass
  2015-07-06 18:54 ` [U-Boot] [PATCH 01/18] dm: Add platform data advice and admonishment Simon Glass
                   ` (17 more replies)
  0 siblings, 18 replies; 42+ messages in thread
From: Simon Glass @ 2015-07-06 18:54 UTC (permalink / raw)
  To: u-boot

Several new uclasses have been written and we need tests for these before
they can be merged. This series adds the test code.


Simon Glass (18):
  dm: Add platform data advice and admonishment
  dm: test: Allow test names to leave out the dm_test_ prefix
  dm: test: Add tests for the clk uclass
  dm: test: Add tests for the pinctrl uclass
  sandbox: Support multiple reset types
  dm: reset: Allow reset_walk() to return
  sandbox: Add a warm and cold reset driver
  sandbox: Use the reset driver to handle reset
  dm: test: Add a test for the reset uclass
  dm: test: Add a test for the ram uclass
  dm: test: Add a test for the mmc uclass
  led: Return -ENODEV if the LED device cannot be found
  dm: test: Add a test for the LED uclass
  dm: test: Add a test for the system controller uclass
  dm: test: Add a size to each reg property
  test: Add a macro to check that a value is not an error pointer
  dm: core: Add device checking to syscon_get_regmap()
  test: Add a test for regmap

 arch/sandbox/cpu/cpu.c                    |   9 +--
 arch/sandbox/cpu/state.c                  |   4 ++
 arch/sandbox/dts/test.dts                 |  76 ++++++++++++++++++++---
 arch/sandbox/include/asm/state.h          |   3 +
 arch/sandbox/include/asm/test.h           |  19 ++++++
 arch/sandbox/include/asm/u-boot-sandbox.h |   3 +
 configs/sandbox_defconfig                 |   8 +++
 doc/driver-model/README.txt               |  17 ++++-
 drivers/clk/Makefile                      |   1 +
 drivers/clk/clk_sandbox.c                 |  85 +++++++++++++++++++++++++
 drivers/core/syscon-uclass.c              |   7 ++-
 drivers/led/led-uclass.c                  |   5 +-
 drivers/led/led_gpio.c                    |   6 ++
 drivers/misc/Makefile                     |   2 +
 drivers/misc/reset-uclass.c               |  31 +++++++--
 drivers/misc/reset_sandbox.c              | 100 ++++++++++++++++++++++++++++++
 drivers/misc/syscon_sandbox.c             |  27 ++++++++
 drivers/mmc/Makefile                      |   1 +
 drivers/mmc/sandbox_mmc.c                 |  25 ++++++++
 drivers/pinctrl/Makefile                  |   1 +
 drivers/pinctrl/pinctrl_sandbox.c         |  80 ++++++++++++++++++++++++
 drivers/ram/Makefile                      |   1 +
 drivers/ram/sandbox_ram.c                 |  38 ++++++++++++
 include/dm/platdata.h                     |   9 +++
 include/dt-bindings/clock/sandbox-clk.h   |  10 +++
 include/led.h                             |   2 +-
 include/reset.h                           |  11 +++-
 include/test/ut.h                         |  15 +++++
 test/dm/Makefile                          |   8 +++
 test/dm/clk.c                             |  59 ++++++++++++++++++
 test/dm/led.c                             |  72 +++++++++++++++++++++
 test/dm/mmc.c                             |  27 ++++++++
 test/dm/pinctrl.c                         |  63 +++++++++++++++++++
 test/dm/ram.c                             |  28 +++++++++
 test/dm/regmap.c                          |  82 ++++++++++++++++++++++++
 test/dm/reset.c                           |  74 ++++++++++++++++++++++
 test/dm/syscon.c                          |  31 +++++++++
 test/dm/test-main.c                       |  15 ++++-
 38 files changed, 1021 insertions(+), 34 deletions(-)
 create mode 100644 drivers/clk/clk_sandbox.c
 create mode 100644 drivers/misc/reset_sandbox.c
 create mode 100644 drivers/misc/syscon_sandbox.c
 create mode 100644 drivers/mmc/sandbox_mmc.c
 create mode 100644 drivers/pinctrl/pinctrl_sandbox.c
 create mode 100644 drivers/ram/sandbox_ram.c
 create mode 100644 include/dt-bindings/clock/sandbox-clk.h
 create mode 100644 test/dm/clk.c
 create mode 100644 test/dm/led.c
 create mode 100644 test/dm/mmc.c
 create mode 100644 test/dm/pinctrl.c
 create mode 100644 test/dm/ram.c
 create mode 100644 test/dm/regmap.c
 create mode 100644 test/dm/reset.c
 create mode 100644 test/dm/syscon.c

-- 
2.4.3.573.g4eafbef

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

end of thread, other threads:[~2015-10-03 17:21 UTC | newest]

Thread overview: 42+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-06 18:54 [U-Boot] [PATCH 00/18] dm: test: Add test code for new uclasses Simon Glass
2015-07-06 18:54 ` [U-Boot] [PATCH 01/18] dm: Add platform data advice and admonishment Simon Glass
2015-07-17 23:58   ` Simon Glass
2015-07-06 18:54 ` [U-Boot] [PATCH 02/18] dm: test: Allow test names to leave out the dm_test_ prefix Simon Glass
2015-07-17 23:58   ` Simon Glass
2015-07-06 18:54 ` [U-Boot] [PATCH 03/18] dm: test: Add tests for the clk uclass Simon Glass
2015-07-17 23:58   ` Simon Glass
2015-07-06 18:54 ` [U-Boot] [PATCH 04/18] dm: test: Add tests for the pinctrl uclass Simon Glass
2015-07-17 23:58   ` Simon Glass
2015-07-06 18:54 ` [U-Boot] [PATCH 05/18] sandbox: Support multiple reset types Simon Glass
2015-07-17 23:58   ` Simon Glass
2015-07-06 18:54 ` [U-Boot] [PATCH 06/18] dm: reset: Allow reset_walk() to return Simon Glass
2015-07-17 23:58   ` Simon Glass
2015-07-06 18:54 ` [U-Boot] [PATCH 07/18] sandbox: Add a warm and cold reset driver Simon Glass
2015-07-17 23:58   ` Simon Glass
2015-07-06 18:54 ` [U-Boot] [PATCH 08/18] sandbox: Use the reset driver to handle reset Simon Glass
2015-07-17 23:58   ` Simon Glass
2015-08-11  3:35     ` Stephen Warren
2015-08-11  3:44       ` Simon Glass
2015-09-25  5:13         ` Stephen Warren
2015-09-25  5:32           ` Stephen Warren
2015-10-03 17:21             ` Simon Glass
2015-07-06 18:54 ` [U-Boot] [PATCH 09/18] dm: test: Add a test for the reset uclass Simon Glass
2015-07-17 23:58   ` Simon Glass
2015-07-06 18:54 ` [U-Boot] [PATCH 10/18] dm: test: Add a test for the ram uclass Simon Glass
2015-07-17 23:58   ` Simon Glass
2015-07-06 18:54 ` [U-Boot] [PATCH 11/18] dm: test: Add a test for the mmc uclass Simon Glass
2015-07-17 23:58   ` Simon Glass
2015-07-06 18:54 ` [U-Boot] [PATCH 12/18] led: Return -ENODEV if the LED device cannot be found Simon Glass
2015-07-17 23:58   ` Simon Glass
2015-07-06 18:54 ` [U-Boot] [PATCH 13/18] dm: test: Add a test for the LED uclass Simon Glass
2015-07-17 23:58   ` Simon Glass
2015-07-06 18:54 ` [U-Boot] [PATCH 14/18] dm: test: Add a test for the system controller uclass Simon Glass
2015-07-17 23:58   ` Simon Glass
2015-07-06 18:54 ` [U-Boot] [PATCH 15/18] dm: test: Add a size to each reg property Simon Glass
2015-07-17 23:58   ` Simon Glass
2015-07-06 18:54 ` [U-Boot] [PATCH 16/18] test: Add a macro to check that a value is not an error pointer Simon Glass
2015-07-17 23:59   ` Simon Glass
2015-07-06 18:54 ` [U-Boot] [PATCH 17/18] dm: core: Add device checking to syscon_get_regmap() Simon Glass
2015-07-17 23:59   ` Simon Glass
2015-07-06 18:54 ` [U-Boot] [PATCH 18/18] test: Add a test for regmap Simon Glass
2015-07-17 23:59   ` Simon Glass

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