diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2023-06-13 09:33:14 +0300 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2023-06-19 10:02:51 +0300 |
commit | d4313a68ec913f2705b337e2d332813a72cb2de9 (patch) | |
tree | e16437b2837fa8b6505254610add8b3276a68d0a /include/linux/via-gpio.h | |
parent | 568c69ae2fea27e0152e4ffeee7c6f354c61810f (diff) | |
download | linux-d4313a68ec913f2705b337e2d332813a72cb2de9.tar.xz |
fbdev/media: Use GPIO descriptors for VIA GPIO
The VIA fbdev exposes a custom GPIO chip for its GPIOs, these
are in turn looked up the camera driver using a custom API.
Drop the custom API, provide a look-up table and convert to
GPIO descriptors. Note proper polarity on the RESET line.
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'include/linux/via-gpio.h')
-rw-r--r-- | include/linux/via-gpio.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/linux/via-gpio.h b/include/linux/via-gpio.h deleted file mode 100644 index ac34668fd442..000000000000 --- a/include/linux/via-gpio.h +++ /dev/null @@ -1,14 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Support for viafb GPIO ports. - * - * Copyright 2009 Jonathan Corbet <corbet@lwn.net> - */ - -#ifndef __VIA_GPIO_H__ -#define __VIA_GPIO_H__ - -extern int viafb_gpio_lookup(const char *name); -extern int viafb_gpio_init(void); -extern void viafb_gpio_exit(void); -#endif |