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>
Showing
- drivers/media/platform/via/via-camera.c 20 additions, 31 deletionsdrivers/media/platform/via/via-camera.c
- drivers/video/fbdev/via/via-core.c 1 addition, 1 deletiondrivers/video/fbdev/via/via-core.c
- drivers/video/fbdev/via/via-gpio.c 14 additions, 14 deletionsdrivers/video/fbdev/via/via-gpio.c
- drivers/video/fbdev/via/via-gpio.h 0 additions, 1 deletiondrivers/video/fbdev/via/via-gpio.h
Please register or sign in to comment