linux_dsm_epyc7002/arch/arm/include/asm/hardware
Linus Walleij fdb7e884ad i2c: iop: Use GPIO descriptors
The IOP3xx has some elaborate code to directly slam the
GPIO lines multiplexed with I2C down low before enablement,
apparently a workaround for a hardware bug found in the
early chips.

After consulting the developer documentation for IOP80321
and IOP80331 I can clearly see that this may be useful for
IOP80321 family (mach-iop32x) but it is highly dubious for
any 80331 series or later chip: in these chips the lines
are not multiplexed for UARTs.

We convert the code to pass optional GPIO descriptors
and register these only on the 80321-based boards where
it makes sense, optionally obtain them in the driver and
use the gpiod_set_raw_value() to ascertain the line gets
driven low when needed.

The GPIO driver does not give the GPIO chip a reasonable
label so the patch also adds that so that these machine
descriptor tables can be used.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2019-06-12 13:20:23 +02:00
..
cache-b15-rac.h ARM: 8725/1: Add Broadcom Brahma-B15 readahead cache support 2017-12-17 22:15:35 +00:00
cache-feroceon-l2.h ARM: MM: Add DT binding for Feroceon L2 cache 2014-02-22 20:43:49 +00:00
cache-l2x0.h ARM: 8611/1: l2x0: add PMU support 2016-09-06 15:51:09 +01:00
cache-tauros2.h
cache-uniphier.h ARM: 8651/1: cache-uniphier: include <linux/errno.h> instead of <linux/types.h> 2017-02-28 11:06:16 +00:00
cp14.h coresight-etm: add CoreSight ETM/PTM driver 2014-11-07 15:19:33 -08:00
dec21285.h
entry-macro-iomd.S ARM: 8844/1: use unified assembler in assembly files 2019-02-26 11:26:07 +00:00
ioc.h
iomd.h
iop3xx-adma.h dmaengine: remove DMA unmap from drivers 2013-11-14 11:04:38 -08:00
iop3xx.h i2c: iop: Use GPIO descriptors 2019-06-12 13:20:23 +02:00
iop_adma.h dmaengine: remove DMA unmap from drivers 2013-11-14 11:04:38 -08:00
it8152.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
locomo.h PM: ARM: locomo: Drop suspend and resume bus type callbacks 2017-10-05 00:40:57 +02:00
memc.h
sa1111.h ARM: sa1111: remove legacy GPIO interfaces 2018-12-04 22:37:38 +00:00
scoop.h
ssp.h