[U-Boot] [PATCH v6 0/15] Collected driver model bug-fixes and docs
Simon Glass
sjg at chromium.org
Thu Jun 12 07:29:40 CEST 2014
This series collects some of the patches from the Tegra GPIO conversion
to driver model. That work is still in progress, but the bug fixes and
iotracing feature should go into this release I think. Also the
documentation improvements may as well follow since the existings docs
are proven inadequate.
Changes in v6:
- Make DM_ROOT and DM_UCLASS_ROOT simple defines (and rename them)
- Use ulong instead of uint for printing addresses
- Fix a typo and improve the explanation of platform data alloc/free
Changes in v5:
- Fix a few more typos
Changes in v4:
- Correct typo in CONFIG_CMD_IOTRACE
- Add new patch to rename struct device_id to udevice_id
- Remove 64-bit addresses which are not used in U-Boot
- Minor spelling fixes
Changes in v3:
- Remove use of bool in header file to avoid exynos5 build failure
- Create a symlink for each arch to dt-bindings
- Fix typo in commit subject
- Bring in GPIO bindings for tegra{30,114,124} also
- Enable dm command in this patch instead of the next
Changes in v2:
- Add a new patch for an I/O tracing feature
- Add a new patch to enable iotrace for arm
- Add a new patch to enable iotrace for sandbox
- Add new patch to support include files for .dts files
- Update README to encourage conversion to driver model
- Add new patch to use case-insensitive comparison for GPIO banks
- Add new patch to add missing header files in lists and root
- Add new patch to deal with const-ness of the global_data pointer
- Add new patch to allow driver model tests only for sandbox
- Add new patch to fix printf() strings in the 'dm' command
- Add new patch to bring in Tegra device tree files from linux
- Split out a separate patch to enable driver model for tegra
- Rename struct device to struct udevice
- Adjust docs as per Jon's review
Simon Glass (15):
Add an I/O tracing feature
arm: Support iotrace feature
sandbox: Support iotrace feature
Makefile: Support include files for .dts files
dm: Rename struct device_id to udevice_id
dm: Update README to encourage conversion to driver model
dm: Use case-insensitive comparison for GPIO banks
dm: Add missing header files in lists and root
dm: Cast away the const-ness of the global_data pointer
dm: Allow driver model tests only for sandbox
dm: Fix printf() strings in the 'dm' command
tegra: dts: Bring in GPIO bindings from linux
tegra: Enable driver model
dm: Tidy up four minor code nits
dm: Expand and improve the device lifecycle docs
README | 28 +++
arch/arm/dts/include/dt-bindings | 1 +
arch/arm/dts/tegra114.dtsi | 21 +-
arch/arm/dts/tegra124.dtsi | 19 +-
arch/arm/dts/tegra20.dtsi | 15 +-
arch/arm/dts/tegra30.dtsi | 21 +-
arch/arm/include/asm/io.h | 3 +
arch/microblaze/dts/include/dt-bindings | 1 +
arch/sandbox/dts/include/dt-bindings | 1 +
arch/sandbox/include/asm/io.h | 10 +
arch/x86/dts/include/dt-bindings | 1 +
common/Makefile | 2 +
common/cmd_iotrace.c | 73 +++++++
common/iotrace.c | 169 ++++++++++++++++
doc/driver-model/README.txt | 222 ++++++++++++++++++++-
drivers/core/lists.c | 3 +-
drivers/core/root.c | 7 +-
drivers/core/uclass.c | 2 +-
drivers/demo/demo-shape.c | 2 +-
drivers/demo/demo-simple.c | 2 +-
drivers/gpio/gpio-uclass.c | 2 +-
drivers/gpio/sandbox.c | 2 +-
include/configs/sandbox.h | 3 +
include/configs/tegra-common.h | 3 +
include/dm/device-internal.h | 4 +
include/dm/device.h | 8 +-
include/dm/lists.h | 20 ++
include/dm/root.h | 2 +-
include/dm/uclass.h | 10 +-
include/dt-bindings/gpio/gpio.h | 15 ++
include/dt-bindings/gpio/tegra-gpio.h | 51 +++++
include/dt-bindings/interrupt-controller/arm-gic.h | 22 ++
include/dt-bindings/interrupt-controller/irq.h | 19 ++
include/iotrace.h | 104 ++++++++++
scripts/Makefile.lib | 1 +
test/dm/Makefile | 2 +
test/dm/cmd_dm.c | 19 +-
test/dm/test-fdt.c | 2 +-
38 files changed, 831 insertions(+), 61 deletions(-)
create mode 120000 arch/arm/dts/include/dt-bindings
create mode 120000 arch/microblaze/dts/include/dt-bindings
create mode 120000 arch/sandbox/dts/include/dt-bindings
create mode 120000 arch/x86/dts/include/dt-bindings
create mode 100644 common/cmd_iotrace.c
create mode 100644 common/iotrace.c
create mode 100644 include/dt-bindings/gpio/gpio.h
create mode 100644 include/dt-bindings/gpio/tegra-gpio.h
create mode 100644 include/dt-bindings/interrupt-controller/arm-gic.h
create mode 100644 include/dt-bindings/interrupt-controller/irq.h
create mode 100644 include/iotrace.h
--
2.0.0.526.g5318336
More information about the U-Boot
mailing list