]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
fdt: Add polarity-aware gpio functions to fdtdec
authorSean Paul <seanpaul@chromium.org>
Thu, 25 Oct 2012 16:31:06 +0000 (16:31 +0000)
committerGerald Van Baren <gvb@unssw.com>
Tue, 13 Nov 2012 04:14:57 +0000 (23:14 -0500)
commit202ff7537558edfd759b400cfe9e56c56fc7868c
tree3a24471fde372eeb2da00b04d3a8d6522e407159
parentaadef0a1bc3db81708471c9d18eb6c756659196f
fdt: Add polarity-aware gpio functions to fdtdec

Add get and set gpio functions to fdtdec that take into account the
polarity field in fdtdec_gpio_state.flags.

Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
include/fdtdec.h
lib/fdtdec.c