rv1126-uboot/drivers/i2c
Simon Glass 90d0ce442b UPSTREAM: dm: gpio: Correct use of -ENODEV in drivers
In U-Boot -ENODEV means that there is no device. When there is a problem
with the device, drivers should return an error like -ENXIO or -EREMOTEIO.
When the device tree properties cannot be read correct , they should
return -EINVAL.

Update various GPIO drivers to follow this rule, to help with consistency
for future driver writers.

Change-Id: I6b8f826f6d90dffca55f4d0d5da744b74a39f29a
Signed-off-by: Simon Glass <sjg@chromium.org>
Reported-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit 7c84319af9c76084f50f3f2b97545bfa05f3971d)
2018-01-17 15:27:28 +08:00
..
muxes i2c: muxes: add i2c gpio multiplexer driver 2017-08-23 07:04:56 +02:00
Kconfig Convert CONFIG_SYS_I2C_BUS_MAX to Kconfig 2017-09-01 20:44:30 -04:00
Makefile i2c: add i2c driver for stm32 2017-08-23 07:04:40 +02:00
adi_i2c.c
ast_i2c.c
ast_i2c.h
at91_i2c.c i2c: at91: Add missing probe function to device driver 2017-08-09 06:13:53 +02:00
at91_i2c.h
cros_ec_ldo.c
cros_ec_tunnel.c
davinci_i2c.c Configs: Migrate I2C_BUS_MAX to CONFIG_SYS_I2C_BUS_MAX 2017-09-01 17:56:20 -04:00
davinci_i2c.h
designware_i2c.c i2c: designware: Allow sending restart conditions 2017-08-10 12:02:50 +02:00
designware_i2c.h
exynos_hs_i2c.c
fsl_i2c.c
fti2c010.c
fti2c010.h
i2c-cdns.c
i2c-emul-uclass.c
i2c-gpio.c treewide: replace with error() with pr_err() 2018-01-17 15:27:28 +08:00
i2c-uclass-compat.c
i2c-uclass.c
i2c-uniphier-f.c
i2c-uniphier.c
i2c_core.c
ihs_i2c.c
imx_lpi2c.c UPSTREAM: dm: gpio: Correct use of -ENODEV in drivers 2018-01-17 15:27:28 +08:00
intel_i2c.c
kona_i2c.c
lpc32xx_i2c.c
mv_i2c.c
mv_i2c.h
mvtwsi.c
mxc_i2c.c UPSTREAM: dm: gpio: Correct use of -ENODEV in drivers 2018-01-17 15:27:28 +08:00
mxs_i2c.c
omap24xx_i2c.c treewide: replace with error() with pr_err() 2018-01-17 15:27:28 +08:00
omap24xx_i2c.h
rcar_i2c.c
rk_i2c.c UPSTREAM: rockchip: i2c: Convert to livetree 2018-01-16 18:16:48 +08:00
s3c24x0_i2c.c
s3c24x0_i2c.h
sandbox_i2c.c
sh_i2c.c
sh_sh7734_i2c.c
soft_i2c.c powerpc: Remove 8260 remainders 2017-07-23 09:24:47 -04:00
stm32f7_i2c.c treewide: replace with error() with pr_err() 2018-01-17 15:27:28 +08:00
tegra186_bpmp_i2c.c UPSTREAM: dm: gpio: Correct use of -ENODEV in drivers 2018-01-17 15:27:28 +08:00
tegra_i2c.c treewide: replace with error() with pr_err() 2018-01-17 15:27:28 +08:00
tsi108_i2c.c
zynq_i2c.c