dm: x86: Convert Intel ICH6 GPIO driver to use driver model
authorSimon Glass <sjg@chromium.org>
Fri, 10 Oct 2014 13:49:18 +0000 (07:49 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 24 Oct 2014 01:45:28 +0000 (19:45 -0600)
commit7414112d70727e90be680e77dcb8a31394255ca8
treee5fade722663af130c60f5973fb5a5464b4484df
parentc15b0b86d1cf74b2ca5b340d9caf1517cee1cf9e
dm: x86: Convert Intel ICH6 GPIO driver to use driver model

Convert over this driver, using device tree to pass in the required
information. The peripheral is still probed, just the number of GPIO banks
and their offsets is in the device tree (previously this was a table in
the driver).

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/gpio/intel_ich6_gpio.c
include/configs/coreboot.h