u-boot/include
Simon Glass 77eaa19e73 dm: pinctrl: Add a way for a GPIO driver to obtain a pin function
GPIO drivers want to be able to show if a pin is enabled for input, output,
or is being used by another function. Some drivers can easily find this
and the code is included in the driver. For some SoCs this is more complex.
Conceptually this should be handled by pinctrl rather than GPIO. Most
pinctrl drivers will have this feature anyway.

Add a method by which a GPIO driver can obtain the pin mux value given a
GPIO reference. This avoids repeating the code in two places.

Signed-off-by: Simon Glass <sjg@chromium.org>
2016-01-21 20:42:35 -07:00
..
andestech
asm-generic dm: common: Add memory reservation for the video uclass 2016-01-20 19:10:15 -07:00
bedbug
cavium armv8: cavium: Add an implementation of ATF calling functions 2016-01-19 22:26:12 +00:00
configs rockchip: jerry: Drop unused options 2016-01-21 20:42:35 -07:00
cramfs
dm dm: pinctrl: Add a way for a GPIO driver to obtain a pin function 2016-01-21 20:42:35 -07:00
dt-bindings Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
faraday
fsl-mc driver: net: ldpaa: Use DPMAC as net device 2015-11-30 08:53:03 -08:00
grlib sparc: leon3: Moved GRLIB core header files to common include/grlib directory 2015-11-13 10:23:33 +02:00
jffs2
linux armv8: Add psci.h from the Linux kernel 2016-01-19 22:25:37 +00:00
lzma
mtd cfi_flash: use specific width types for cword 2015-10-27 11:51:53 +01:00
net net: tftp: Move tftp.h file from ./net to ./include/net 2015-09-07 13:41:04 +02:00
pcmcia
power power: Add base support for the RK808 PMIC 2016-01-21 20:42:34 -07:00
samsung exynos5-dt-types: add board detection for Odroid XU3/XU3L/XU4. 2015-11-02 10:38:00 +09:00
synopsys
test test: Add a macro to check that a value is not an error pointer 2015-07-21 17:39:33 -06:00
u-boot Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
usb Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
zfs
.gitignore
_exports.h malloc_simple: Add Kconfig option for using only malloc_simple in the SPL 2015-10-20 18:40:27 +02:00
ACEX1K.h
adc.h dm: adc: add simple ADC uclass implementation 2015-11-02 10:38:00 +09:00
addr_map.h Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
aes.h
ahci.h dm: ahci: Convert to use new DM PCI API 2016-01-12 10:19:09 -07:00
ali512x.h
altera.h
ambapp.h sparc: leon3: Moved GRLIB core header files to common include/grlib directory 2015-11-13 10:23:33 +02:00
ambapp_ids.h sparc: leon3: Moved GRLIB core header files to common include/grlib directory 2015-11-13 10:23:33 +02:00
android_image.h
ansi.h
api_public.h
armcoremodule.h
asm-offsets.h
ata.h
atmel_hlcdc.h
atmel_lcd.h
atmel_lcdc.h
atmel_mci.h
autoboot.h
axp152.h sunxi: power: Unify axp pmic function names 2015-10-20 18:40:27 +02:00
axp209.h sunxi: power: Add support for disabling axp209 regulators 2015-10-20 18:40:27 +02:00
axp221.h sunxi: power: Unify axp pmic function names 2015-10-20 18:40:27 +02:00
axp818.h sunxi: power: axp818: add support for axp818 driver 2015-12-10 11:14:22 +01:00
axp_pmic.h sunxi: power: axp818: add support for axp818 driver 2015-12-10 11:14:22 +01:00
bcd.h dm: Remove unnecessary types in bcd.h 2015-05-05 20:58:20 -06:00
bios_emul.h dm: x86: pci: Adjust bios_run_on_x86() to use the DM PCI API 2016-01-12 10:19:09 -07:00
bitfield.h include/bitfield: Add new bitfield operations 2015-09-21 08:29:46 -07:00
bmp_layout.h Remove typedefs from bmp_layout.h 2015-06-10 19:26:54 -06:00
bootcount.h
bootm.h Combine bootm_find_<thing> functions together 2015-05-28 08:18:21 -04:00
bootretry.h
bootstage.h add boot_get_loadables() to load listed images 2015-05-28 08:18:20 -04:00
bouncebuf.h
bus_vcxk.h
bzlib.h bzip2: Support compression for sandbox 2016-01-20 19:06:23 -07:00
cbfs.h
circbuf.h
cli.h of: clean up OF_CONTROL ifdef conditionals 2015-08-18 13:46:05 -04:00
cli_hush.h
clk.h dm: clk: Add support for decoding clocks from the device tree 2016-01-21 19:47:29 -07:00
cmd_spl.h
command.h cmd_boot: Add a poweroff command 2016-01-13 21:05:25 -05:00
common.h Fix board init code to respect the C runtime environment 2016-01-13 21:05:17 -05:00
common_timing_params.h Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
commproc.h
compiler.h Revert "include/linux: move typdef for uintptr_t" 2015-12-16 07:11:15 -05:00
config_cmd_all.h sparc: Kconfig: Move the CMD_AMBAPP command to Kconfig 2015-11-13 10:23:32 +02:00
config_defaults.h
config_distro_bootcmd.h distro_bootcmd: Add support for booting from ubifs 2015-10-24 13:50:33 -04:00
config_distro_defaults.h cmd: Convert CONFIG_CMD_ELF to Kconfig 2015-10-21 07:46:25 -06:00
config_fallbacks.h
config_fsl_secboot.h powerpc/mpc85xx: SECURE BOOT-Copy Boot Script on RAM 2015-07-31 08:50:18 -07:00
config_phylib_all_drivers.h
config_uncmd_spl.h spl: dm: Add SPL_DM_SEQ_ALIAS config option 2016-01-13 13:20:02 +01:00
console.h console: Add a console buffer 2015-11-19 20:27:50 -07:00
cortina.h
cpsw.h drivers: net: cpsw: convert driver to adopt device driver model 2015-10-22 14:18:35 -04:00
cpu.h dm: cpu: Add a new get_count method to cpu uclass 2015-07-14 18:03:16 -06:00
crc.h
cros_ec.h cros_ec: Use udevice instead of cros_ec_dev for keyboard functions 2015-11-19 20:13:40 -07:00
cros_ec_message.h
dataflash.h
ddr_spd.h Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
debug_uart.h debug_uart: Add an option to announce the debug UART 2015-10-21 07:46:50 -06:00
dfu.h dfu: tftp: update: Add dfu_write_from_mem_addr() function 2015-09-07 13:41:04 +02:00
dialog_pmic.h
display_options.h Add print_freq() to display frequencies nicely 2015-04-29 21:02:33 -06:00
displayport.h dm: video: Add a uclass for display port 2015-05-13 09:24:10 -07:00
div64.h
dm-demo.h
dm.h
dm9000.h
dp83848.h
ds1722.h
ds4510.h Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
dtt.h
dwc3-omap-uboot.h
dwc3-uboot.h
dwmmc.h mmc: dw_mmc: support fifo mode in dwc mmc driver 2015-12-01 08:07:22 -07:00
e500.h mmc: fsl_esdhc: Add peripheral clock support 2015-05-04 09:25:39 -07:00
ec_commands.h sandbox: cros_ec: Support EC_CMD_ENTERING_MODE emulation 2015-05-14 18:49:34 -06:00
edid.h edid: Add a function to read detailed monitor timings 2015-05-13 09:24:10 -07:00
efi.h efi: Add 64-bit payload support 2015-08-05 08:44:07 -06:00
efi_api.h efi: Add start-up library code 2015-08-05 08:42:41 -06:00
elf.h elf: Add a few definitions for 64-bit relocation 2015-08-05 08:42:40 -06:00
env_attr.h env: Allow env_attr_walk to pass a priv * to callback 2015-05-21 09:13:19 -04:00
env_callback.h Allow CONFIG_REGEX to be disabled when CONFIG_NET 2015-07-08 18:26:39 -04:00
env_default.h net: Remove all references to CONFIG_ETHADDR and friends 2015-05-19 13:33:21 -05:00
env_flags.h common/env_flags.c: Add function to validate a MAC address 2015-09-21 08:29:47 -07:00
environment.h
errno.h
ethsw.h drivers/net/vsc9953: Add commands for VLAN ingress filtering 2015-09-21 08:29:48 -07:00
exports.h malloc_simple: Add Kconfig option for using only malloc_simple in the SPL 2015-10-20 18:40:27 +02:00
ext4fs.h
ext_common.h
exynos_lcd.h
fastboot.h fastboot: Move fastboot response functions to fastboot core 2015-11-12 13:17:31 -05:00
fat.h
fb_mmc.h fastboot: Implement flashing session counter 2015-11-12 13:17:32 -05:00
fb_nand.h fastboot: Implement NAND backend 2015-11-12 13:18:58 -05:00
fdt.h
fdt_simplefb.h
fdt_support.h fdt: prevent clearing memory node if there are no banks 2015-07-20 07:21:47 -06:00
fdtdec.h dm: video: sandbox: Convert sandbox to use driver model for video 2016-01-20 19:10:16 -07:00
fis.h
flash.h cfi_flash: give default CONFIG_SYS_MAX_FLASH_SECT in flash.h 2015-11-30 13:00:00 +01:00
fm_eth.h net/fm: fix MDIO controller base on FMAN2 2015-10-29 10:34:00 -07:00
fpga.h
fs.h Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
fsl_csu.h armv7/ls1021a: move ns_access to common file 2015-10-29 10:33:58 -07:00
fsl_dcu_fb.h
fsl_ddr.h Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
fsl_ddr_dimm_params.h Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
fsl_ddr_sdram.h Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
fsl_ddrc_version.h
fsl_debug_server.h
fsl_devdis.h arm/ls102xa:add hwconfig setting to support disable unused devices 2015-09-01 21:49:20 -05:00
fsl_diu_fb.h
fsl_dspi.h
fsl_dtsec.h net: Move some header files to include/ 2015-10-29 10:34:00 -07:00
fsl_errata.h fsl/ddr: updated ddr errata-A008378 for arm and power SoCs 2015-12-13 18:27:28 -08:00
fsl_esdhc.h ARM: imx: fsl_esdhc: fix usage of low 4 bits of sysctl register 2016-01-03 15:21:21 +01:00
fsl_fman.h net: Move some header files to include/ 2015-10-29 10:34:00 -07:00
fsl_ifc.h nand: Sync with Linux v4.1 2015-08-25 22:53:57 -05:00
fsl_immap.h driver/ddr/fsl: Remove deskew_cntrl register 2015-05-20 10:34:09 -07:00
fsl_mdio.h
fsl_memac.h
fsl_pmic.h
fsl_sec.h crypto/fsl: SEC driver cleanup for 64 bit and endianness 2015-10-29 10:33:57 -07:00
fsl_sec_mon.h
fsl_secboot_err.h
fsl_sfp.h
fsl_tgec.h net: Move some header files to include/ 2015-10-29 10:34:00 -07:00
fsl_usb.h drivers:usb:fsl: Add T4080 as affected soc for Erratum A007792 sw workaround 2015-12-07 00:14:59 +01:00
fsl_validate.h armv8/ls1043ardb: add SECURE BOOT target for NOR 2015-12-15 08:57:35 +08:00
fsl_wdog.h imx_watchdog: always set minimal timeout in reset_cpu 2016-01-07 17:54:53 +01:00
fuse.h
g_dnl.h g_dnl: add missing declaration 2015-07-22 08:57:54 +02:00
gdsys_fpga.h hrcon: Add support for the DH variant 2015-11-12 18:04:10 -05:00
gt64120.h
hash.h hash.c: Conditionally compile hash_command, static hash_show 2016-01-13 21:05:08 -05:00
hw_sha.h
hwconfig.h
i2c.h i2c: Fix the comment to match the function described 2015-11-27 05:54:21 +01:00
i2c_eeprom.h
i2s.h
i8042.h input: Convert i8042 to driver model 2015-11-19 20:13:41 -07:00
ide.h block: pass block dev not num to read/write/erase() 2016-01-13 21:05:18 -05:00
image-sparse.h sparse: Rename the file and header 2015-11-12 13:18:59 -05:00
image.h tools: zynqimage: Add Xilinx Zynq boot header generation to mkimage 2015-11-19 13:09:21 +01:00
imx_thermal.h imx: mx6: add get_cpu_temp_grade to obtain cpu temperature grade from OTP 2015-05-19 15:31:40 +02:00
initcall.h
input.h input: Change LED state bits to conform i8042 compatible keyboard 2015-11-19 20:13:42 -07:00
inttypes.h
iomux.h
ioports.h
iotrace.h
ipu_pixfmt.h
key_matrix.h
keyboard.h input: Convert 'keyboard' driver to use input library 2015-11-19 20:13:41 -07:00
kgdb.h
lattice.h
lcd.h dm: lcd: Avoid using the lcd.h header file with driver model 2016-01-20 19:10:15 -07:00
lcd_console.h
lcdvideo.h
ld9040.h
led-display.h
led.h led: Return -ENODEV if the LED device cannot be found 2015-07-21 17:39:32 -06:00
libata.h
libfdt.h fdt: Add fdt_first/next_region() functions 2015-07-21 17:39:20 -06:00
libfdt_env.h
libtizen.h
linker_lists.h Fix incorrect comments in linker_lists.h 2015-07-28 10:36:23 -06:00
linux_logo.h
lmb.h
logbuff.h
lxt971a.h
lynxkdi.h
malloc.h malloc_simple: Add Kconfig option for using only malloc_simple in the SPL 2015-10-20 18:40:27 +02:00
mapmem.h
mb862xx.h
mc9sdz60.h
mc13783.h
mc13892.h
mc34704.h
MCD_dma.h
MCD_progCheck.h
MCD_tasksInit.h
memalign.h Move ALLOC_CACHE_ALIGN_BUFFER() to the new memalign.h header 2015-09-11 17:15:20 -04:00
membuff.h Add a circular memory buffer implementation 2015-11-19 20:27:50 -07:00
menu.h
micrel.h cgtqmx6eval: Add Ethernet support 2015-09-02 15:26:12 +02:00
mii_phy.h
miiphy.h net: mdio: Add mdio_free() and mdio_unregister() API 2015-10-29 14:05:50 -05:00
mipi_display.h
misc.h include: Correct "requset" typoes in misc.h 2016-01-08 10:15:42 -05:00
mk48t59.h
mmc.h mmc: store hwpart in the block device 2016-01-13 21:05:19 -05:00
mpc5xx.h
mpc5xxx.h
mpc5xxx_sdma.h
mpc8xx.h
mpc8xx_irq.h
mpc83xx.h powerpc/83xx: fix build failure 2016-01-20 10:19:40 -05:00
mpc85xx.h
mpc86xx.h
mpc106.h
mpc823_lcd.h
mpc8260.h Replace "extern inline" with "static inline" 2015-11-09 18:19:40 -05:00
mpc8260_irq.h
msc01.h
mtd.h dm: implement a MTD uclass 2015-11-12 08:26:58 +08:00
mtd_node.h
mv88e6352.h
mvebu_mmc.h
mvmfp.h gpio: mvmfp: support newer MFP bit definitions 2015-04-23 13:59:18 -04:00
nand.h Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
net.h include: net: Simplify the usage of __always_inline 2015-12-21 19:57:33 -06:00
netdev.h net: gem: Move driver to DM 2015-12-07 10:14:22 +01:00
ns16550.h dm: ns16550: Support CONFIG_SYS_NS16550_MEM32 with driver model 2015-06-10 19:26:55 -06:00
ns87308.h
onenand_uboot.h
os.h sandbox: Tidy up terminal restore 2015-06-04 03:34:47 -06:00
palmas.h
part.h mmc: store hwpart in the block device 2016-01-13 21:05:19 -05:00
part_efi.h part:efi: add GUID for linux file system data 2015-11-12 15:58:57 -05:00
pc_keyb.h
pca953x.h Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
pca9564.h
pca9698.h
pci.h dm: pci: Switch to DM API for PCI address mapping 2016-01-12 10:19:09 -07:00
pci_gt64120.h
pci_ids.h x86: pci: Add PCI IDs for Wildcat Point 2015-10-21 07:46:27 -06:00
pci_msc01.h
pci_rom.h dm: pci: video: Convert video and pci_rom to use DM PCI API 2016-01-12 10:19:09 -07:00
pcmcia.h
phy.h net: phy: Add support for Texas Instruments DP83867 2015-11-19 13:09:21 +01:00
phys2bus.h
physmem.h
post.h
ppc_asm.tmpl
ppc_defs.h
ps2mult.h
pwm.h
pwrseq.h dm: Add a power sequencing uclass 2016-01-21 20:42:34 -07:00
pxa_lcd.h
radeon.h
ram.h dm: Add support for RAM drivers 2015-07-21 17:39:27 -06:00
rc4.h Add rivest cipher 4 (rc4) implementation 2015-07-21 17:39:28 -06:00
regmap.h dm: Add support for register maps (regmap) 2015-07-21 17:39:23 -06:00
reiserfs.h
remoteproc.h drivers: Introduce a simplified remoteproc framework 2015-10-22 14:18:38 -04:00
reset.h dm: reset: Allow reset_walk() to return 2015-07-21 17:39:31 -06:00
rtc.h rtc:ds3232/ds3231: Add support to generate 32KHz output 2015-09-01 21:37:23 -05:00
rtc_def.h dm: rtc: Split structure definition into its own file 2015-05-05 20:58:20 -06:00
s6e63d6.h
s_record.h
SA-1100.h
samsung-usb-phy-uboot.h samsung: usb: phy: Support for DWC3 PHY 2015-06-08 15:25:44 +02:00
sandbox-adc.h sandbox: adc: Add missing header file 2015-11-05 12:58:04 +09:00
sandboxblockdev.h
sandboxfs.h
sata.h
scf0403_lcd.h
scsi.h ahci: support LBA48 data reads for 2+TB drives 2015-06-12 16:52:32 -04:00
sdhci.h
search.h env: Distinguish finer between source of env change 2015-05-21 09:13:19 -04:00
sed156x.h
sed13806.h
serial.h serial: remove altera serial initializations 2015-10-23 07:37:03 +08:00
sh_pfc.h
sh_tmu.h
sja1000.h
slre.h
sm501.h
smsc_lpc47m.h x86: superio: Add keyboard controller support to smsc_lpc47m driver 2015-08-26 07:54:12 -07:00
sound.h
sparse_defs.h
sparse_format.h
spartan2.h
spartan3.h
spd.h
spd_sdram.h
spi.h spi: Add support for dual and quad mode 2016-01-13 18:47:27 +05:30
spi_flash.h Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
spl.h spl: mmc: add support for BOOT_DEVICE_MMC2 2015-11-18 14:50:05 -05:00
splash.h splash_source: add support for filesystem formatted sata 2015-11-16 12:01:35 +01:00
status_led.h allow LED initialization without STATUS_LED_BOOT 2015-10-24 13:50:02 -04:00
stdio_dev.h video: Drop DEV_EXT_VIDEO flag 2015-11-05 08:24:42 +01:00
stdlib.h
stratixII.h
sx151x.h
sym53c8xx.h
syscon.h dm: Add support for generic system controllers (syscon) 2015-07-21 17:39:24 -06:00
systemace.h
tca642x.h
tegra-kbc.h
thermal.h thermal: Fix comments 2015-07-26 12:11:33 +02:00
thor.h
ti-usb-phy-uboot.h
timer.h dm: timer: uclass: add timer init in uclass driver to add timer device 2016-01-20 19:06:21 -07:00
timestamp.h
tmu.h
tpm.h dm: tpm: Remove every compilation switch for TPM driver model 2015-10-23 09:42:28 -06:00
tps6586x.h
trace.h
tsec.h armv7/ls1021a/etsec: Enable Tx Data and TxBD snooping 2015-08-03 12:06:37 -07:00
tsi108.h
tsi148.h
twl4030.h input: twl4030: Keypad scan and input 2015-08-12 20:47:36 -04:00
twl6030.h
tws.h
ubi_uboot.h
ubifs_uboot.h ubifs: Add functions for generic fs use 2015-10-24 13:50:32 -04:00
universe.h
usb.h usb: Allow up to 7 storage devices 2016-01-07 10:27:07 -07:00
usb_cdc_acm.h
usb_defs.h
usb_ether.h dm: usb: eth: Support driver model with USB Ethernet 2015-07-21 17:39:40 -06:00
usb_mass_storage.h ums: support multiple LUNs at once 2016-01-13 21:05:19 -05:00
usbdescriptors.h
usbdevice.h
usbroothubdes.h
uuid.h uuid: add selection by string for known partition type GUID 2015-11-12 15:58:58 -05:00
vbe.h video: coreboot: Save VESA mode for future use 2015-08-26 07:54:08 -07:00
version.h Makefile: Add U_BOOT_TZ and include in version 2015-05-27 13:35:55 -04:00
video.h dm: video: Add a video uclass 2016-01-20 19:10:15 -07:00
video_bridge.h dm: video: Add support for video bridges 2015-08-05 21:06:13 -06:00
video_console.h dm: video: Add a uclass for the text console 2016-01-20 19:10:15 -07:00
video_easylogo.h
video_fb.h
video_font.h
video_font_4x6.h
video_font_data.h
video_logo.h
virtex2.h
vsc7385.h
vsc9953.h drivers/net/vsc9953: Add GPL-2.0+ SPDX-License-Identifier 2015-09-21 08:29:48 -07:00
vsprintf.h vsprintf.c: Always enable CONFIG_SYS_VSNPRINTF 2016-01-19 08:31:16 -05:00
vxworks.h cmd: bootvx: Pass E820 information to an x86 VxWorks kernel 2015-10-21 07:46:26 -06:00
w83c553f.h
watchdog.h
xilinx.h
xyzModem.h
zfs_common.h
zynqpl.h