
Hi,
On 9 May 2014 11:28, Simon Glass sjg@chromium.org wrote:
Now that driver model is part of U-Boot, the task of converting drivers over to it begins. GPIO is one of the easiest to convert, since it already has a sandbox driver and a uclass driver.
The Tegra GPIO driver is relatively simple since it has a linear numbering and already uses the generic GPIO framework.
Along the way some minor deficiencies were found with driver model - these are corrected in this series.
Also it was difficult to exhaustively test the new driver against the old, so a new 'iotrace' framework was created to make this easier for future driver authors.
This series has been tested on Trimslice (Tegra 20). I will try it on a beaver also.
One little update - region size increases:
$ ./tools/buildman/buildman -b us-gpio6 -sS seaboard ... 13: tegra: Enable driver model arm: (for 1/1 boards) all +5088.0 bss -4.0 data +182.0 rodata +766.0 spl/u-boot-spl:all +16.0 spl/u-boot-spl:data +16.0 text +4144.0 14: tegra: Convert tegra GPIO driver to use driver model arm: (for 1/1 boards) all -1422.0 bss -4480.0 data +88.0 rodata +330.0 spl/u-boot-spl:all +32.0 spl/u-boot-spl:text +32.0 text +2640.0
Regards, Simon