u-boot-brain/drivers/gpio
Bin Meng 770ee01742 x86: ich6_gpio: Add use-lvl-write-cache for I/O access mode
Add a device-tree property use-lvl-write-cache that will cause
writes to lvl to be cached instead of read from lvl before each
write. This is required on some platforms that have the register
implemented as dual read/write (such as Baytrail).

Prior to this fix the blue USB port on the Minnowboard Max was
unusable since USB_HOST_EN0 was set high then immediately set
low when USB_HOST_EN1 was written.

This also resolves the 'gpio clear | set' command warning like:
  "Warning: value of pin is still 0"

Signed-off-by: George McCollister <george.mccollister@gmail.com>
<rebased on latest origin/master, fixed all baytrail boards>
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
2017-05-17 17:13:06 +08:00
..
74x164_gpio.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
adi_gpio2.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
altera_pio.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
at91_gpio.c gpio: at91_gpio: add the clock support 2017-04-13 14:44:50 -06:00
atmel_pio4.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
axp_gpio.c sunxi: axp: Generalize register macros for VBUS drive GPIO 2016-03-31 17:03:52 +02:00
bcm2835_gpio.c gpio: bcm2835: add device tree support 2016-11-28 20:09:45 -05:00
bcm6345_gpio.c dm: gpio: add BCM6345 gpio driver 2017-05-10 16:16:09 +02:00
da8xx_gpio.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
db8500_gpio.c GPIO: Correct doc typo "confguration" -> "configuration" 2017-02-08 16:24:29 -05:00
dwapb_gpio.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
gpio-uclass.c gpio-uclass.c: Fix comparison of unsigned expression warning 2017-05-12 08:37:39 -04:00
gpio-uniphier.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
hi6220_gpio.c dm: gpio: hi6220: Add a hi6220 GPIO driver model driver. 2015-08-12 20:47:58 -04:00
imx_rgpio2p.c gpio: Add Rapid GPIO2P driver for i.MX7ULP 2017-03-17 09:27:08 +01:00
intel_broadwell_gpio.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
intel_ich6_gpio.c x86: ich6_gpio: Add use-lvl-write-cache for I/O access mode 2017-05-17 17:13:06 +08:00
Kconfig gpio: Move OMAP_GPIO to Kconfig 2017-05-15 10:40:00 -04:00
kona_gpio.c gpio: kona: Add Kona gpio driver 2014-02-22 19:30:27 +01:00
kw_gpio.c gpio: make local functions static 2014-10-25 07:02:01 -04:00
lpc32xx_gpio.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
Makefile dm: gpio: add BCM6345 gpio driver 2017-05-10 16:16:09 +02:00
mpc83xx_gpio.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mpc85xx_gpio.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
msm_gpio.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
mvebu_gpio.c gpio: mvebu_gpio: Add missing out value set to gpio_direction_output() 2016-04-12 11:13:33 +02:00
mvgpio.c Update Maintainer and Author's email address 2016-12-27 11:24:17 -05:00
mvgpio.h Update Maintainer and Author's email address 2016-12-27 11:24:17 -05:00
mvmfp.c gpio: mvmfp: support newer MFP bit definitions 2015-04-23 13:59:18 -04:00
mxc_gpio.c imx: mxc_gpio: add support for imx7d SoC 2015-09-02 15:31:33 +02:00
mxs_gpio.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
omap_gpio.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
pca953x_gpio.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
pca953x.c GPIO: pca953x: Remove compilation warnings on arm64 2016-04-13 18:29:06 +02:00
pca9698.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
pcf8575_gpio.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
pic32_gpio.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
pm8916_gpio.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
rk_gpio.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
s3c2440_gpio.c gpio: s3c: Fix the GPIO driver 2015-05-06 17:00:58 +09:00
s5p_gpio.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
sandbox.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
sh_pfc.c gpio: sh-pfc: fix gpio input read 2015-08-31 17:26:03 +09:00
spear_gpio.c gpio: spear_gpio: Fix gpio_set_value() implementation 2014-07-04 21:37:29 +02:00
stm32_gpio.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
stm32f7_gpio.c dm: gpio: Add driver for stm32f7 gpio controller 2017-05-08 11:57:02 -04:00
sunxi_gpio.c gpio: sunxi: Add compatible string for R40 PIO 2017-04-20 13:30:01 +02:00
sx151x.c Add support for SX151x SPI GPIO Expanders 2013-11-08 09:39:13 -05:00
tca642x.c gpio: tca642x: Add the tca642x gpio expander driver 2013-07-30 09:21:42 -04:00
tegra186_gpio_priv.h gpio: add Tegra186 GPIO driver 2016-05-31 09:54:24 -07:00
tegra186_gpio.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
tegra_gpio.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
vybrid_gpio.c dm: core: Replace of_offset with accessor 2017-02-08 06:12:14 -07:00
xilinx_gpio.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
zynq_gpio.c gpio: zynq: Remove empty line 2016-12-20 09:15:27 +01:00