aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2019-12-06 10:43:01 +0100
committerLinus Walleij <linus.walleij@linaro.org>2019-12-14 00:26:10 +0100
commitcd6a1ca38698b0c8ff8afe5074fe53aff3647973 (patch)
tree92d2a18dc0bd3e65b90eff30381794eb0e77c2b7 /include/linux/platform_data
parentdrm/atmel: plane_state->fb iff plane_state->crtc (diff)
downloadwireguard-linux-cd6a1ca38698b0c8ff8afe5074fe53aff3647973.tar.xz
wireguard-linux-cd6a1ca38698b0c8ff8afe5074fe53aff3647973.zip
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>
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r--include/linux/platform_data/tc35876x.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/platform_data/tc35876x.h b/include/linux/platform_data/tc35876x.h
deleted file mode 100644
index cd6a51c71e7e..000000000000
--- a/include/linux/platform_data/tc35876x.h
+++ /dev/null
@@ -1,11 +0,0 @@
-
-#ifndef _TC35876X_H
-#define _TC35876X_H
-
-struct tc35876x_platform_data {
- int gpio_bridge_reset;
- int gpio_panel_bl_en;
- int gpio_panel_vadd;
-};
-
-#endif /* _TC35876X_H */