[U-Boot] [PATCH 06/21] dm: gpio: Add a driver GPIO translation method

Simon Glass sjg at chromium.org
Thu Jan 15 05:39:48 CET 2015


On 5 January 2015 at 20:05, Simon Glass <sjg at chromium.org> wrote:
> Only the GPIO driver knows about the full GPIO device tree binding used by
> a device. Add a method to allow the driver to provide this information to the
> uclass, including the GPIO offset within the device and flags such as the
> polarity.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  drivers/gpio/gpio-uclass.c | 16 ++++++++++++++++
>  include/asm-generic/gpio.h | 29 +++++++++++++++++++++++++++++
>  2 files changed, 45 insertions(+)

Applied to u-boot-dm.


More information about the U-Boot mailing list