linux-stable/arch
Linus Walleij cd6a1ca386 drm/gma500: Pass GPIO for Intel MID using descriptors
The GMA500 driver is using the legacy GPIO API to fetch
three optional display control GPIO lines from the SFI
description used by the Medfield platform.

Switch this over to use GPIO descriptors and delete the
custom platform data.

We create three new static locals in the tc35876x bridge
code but it is hardly any worse than the I2C client static
local already there: I tried first to move it to the DRM
driver state container but there are workarounds for
probe order in the code so I just stayed off it, as the
result is unpredictable.

People wanting to do a more throrugh and proper cleanup
of the GMA500 driver can work on top of this, I can't
solve much more since I don't have access to the hardware,
I can only attempt to tidy up my GPIO corner.

Cc: Daniel Stone <daniels@collabora.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191206094301.76368-1-linus.walleij@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2019-12-14 00:26:10 +01:00
..
alpha
arc
arm Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-10-19 17:09:11 -04:00
arm64 arm64 fixes for -rc4 2019-10-17 17:00:14 -07:00
c6x
csky csky-for-linus-5.4-rc1: arch/csky patches for 5.4-rc1 2019-09-30 10:16:17 -07:00
h8300
hexagon
ia64
m68k
microblaze
mips USB fixes for 5.4-rc3 2019-10-12 15:37:12 -07:00
nds32
nios2 nios2 update for v5.4-rc1 2019-09-27 13:02:19 -07:00
openrisc
parisc parisc: Fix vmap memory leak in ioremap()/iounmap() 2019-10-14 21:44:17 +02:00
powerpc spufs: fix a crash in spufs_create_root() 2019-10-11 16:57:41 +11:00
riscv RISC-V: fix virtual address overlapped in FIXADDR_START and VMEMMAP_START 2019-10-15 22:47:41 -07:00
s390 s390/uaccess: avoid (false positive) compiler warnings 2019-10-11 12:27:25 +02:00
sh
sparc sparc64: disable fast-GUP due to unexplained oopses 2019-10-15 09:56:36 -07:00
um
unicore32
x86 drm/gma500: Pass GPIO for Intel MID using descriptors 2019-12-14 00:26:10 +01:00
xtensa xtensa: fix change_bit in exclusive access option 2019-10-16 00:14:33 -07:00
.gitignore
Kconfig