You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Simon Glass
3669e0e759
dm: gpio: Add better functions to request GPIOs
...
At present U-Boot sort-of supports the standard way of reading GPIOs from
device tree nodes, but the support is incomplete, a bit clunky and only
works for GPIO bindings where #gpio-cells is 2.
Add new functions to request GPIOs, taking full account of the device
tree binding. These permit requesting a GPIO with a simple call like:
gpio_request_by_name(dev, "cd-gpios", 0, &desc, GPIOD_IS_IN);
This will request the GPIO, looking at the device's node which might be
this, for example:
cd-gpios = <&gpio TEGRA_GPIO(B, 3) GPIO_ACTIVE_LOW>;
The GPIO will be set to input mode in this case and polarity will be
honoured by the GPIO calls.
It is also possible to request and free a list of GPIOs.
Signed-off-by: Simon Glass <sjg@chromium.org>
10 years ago
..
bios_emulator
bios_emulator: Add some VESA interface debugging
11 years ago
block
x86: ahci: Make sure interface is not busy after enabling the port
11 years ago
bootcount
…
core
dm: device: Add newline to debug() messages
11 years ago
crypto
crypto/fsl: Add fixup for crypto node
11 years ago
ddr/ fsl
arm/ls1021a: Add workaround for DDR erratum A008378
11 years ago
demo
…
dfu
dfu: dfu_get_buf: check the value of env dfu_bufsiz before use
11 years ago
dma
dma: keystone_nav: remove spurious qm_cfg verification
11 years ago
fpga
fpga: xilinx: Show fpga info if defined
11 years ago
gpio
dm: gpio: Add better functions to request GPIOs
10 years ago
hwmon
…
i2c
i2c: UniPhier: add driver for UniPhier FIFO-builtin i2c controller
10 years ago
input
cros-ec-keyboard: Synchronize DT binding from linux
11 years ago
memory
…
misc
i2c_eeprom: include <linux/err.h> to fix build error
11 years ago
mmc
Merge branch 'master' of http://git.denx.de/u-boot-sunxi
11 years ago
mtd
powerpc: ppc4xx: remove PPChameleonEVB, CATcenter boards
11 years ago
net
kirkwood: define empty CONFIG_MVGBE_PORTS by default
11 years ago
pci
pci: tegra: Fix port information parsing
11 years ago
pcmcia
powerpc: mpc824x: remove MPC824X cpu support
11 years ago
power
sunxi: axp221: Add ELDO[1-3] support
11 years ago
pwm
…
qe
qe/deep-sleep: modify qe deep-sleep for generic board
11 years ago
rtc
x86: rtc: mc146818: Add helpers to read/write CMOS RAM
11 years ago
serial
Merge branch 'zynq' of git://www.denx.de/git/u-boot-microblaze
10 years ago
soc
…
sound
…
spi
x86: spi: Add device tree support
11 years ago
thermal
thermal: imx_thermal: Do not display calibration data
11 years ago
tpm
Replace <compiler.h> with <linux/compiler.h>
11 years ago
twserial
…
usb
usb: eth: asix88179: add ability to modify MAC address
11 years ago
video
x86: video: Add support for CONFIG_CONSOLE_SCROLL_LINES
11 years ago
watchdog
…
Kconfig
…
Makefile
Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq
11 years ago