[U-Boot] [PATCH v2 0/6] sunxi: Add driver-model support for axp pmic gpio pins

Hans de Goede hdegoede at redhat.com
Sun Apr 26 11:51:21 CEST 2015


Hi Simon, Ian,

Here is a new series to replace the 2 patches which added support for
axp gpio-s to the sunxi_gpio.c driver-model code. As requested this series
instead adds a new driver-model axp_gpio driver instead of bolting it
on to the sunxi_gpio code.

Patches 1-5 are intended to slot into the original series for moving all
sunxi boards over to the driver-model for gpio and enet, at the same place
as were the 2 original patches sit.

Patch 6 is intended to be tagged on to the end, and removes the ugly bolt-on
axp-gpio code from the non driver-model sunxi-gpio code, leaving sunxi_gpio.c
almost entirely free of axp related code (there is one bit of special casing
in sunxi_name_to_gpio left).

Some of the interrim patches are not the prettiest, doing things like forward
declaring struct udevice, this all gets removed later on. I've done things
this way as that was the easiest way to do the conversion while keeping all
intermediate steps 100% working on all boards for bisectability.

Regards,

Hans


More information about the U-Boot mailing list