sharp-drm-driver-radxa-zero/drm_iface.h
James Ward 7c40df9d11
feat: use the gpio descriptor interface
this updates the interactions with gpio pins to use the newer gpio
descriptor API in the kernel rather than the deprecated gpio-by-int
interface

this means that the gpio pins can be configured as part of the device
tree rather than during compile time
2023-07-01 17:27:40 -04:00

35 lines
904 B
C

#ifndef DRM_IFACE_H_
#define DRM_IFACE_H_
#include <linux/delay.h>
#include <linux/gpio/consumer.h>
#include <linux/module.h>
#include <linux/property.h>
#include <linux/sched/clock.h>
#include <linux/spi/spi.h>
#include <drm/drm_atomic_helper.h>
#include <drm/drm_connector.h>
#include <drm/drm_damage_helper.h>
#include <drm/drm_drv.h>
#include <drm/drm_fb_dma_helper.h>
#include <drm/drm_fb_helper.h>
#include <drm/drm_format_helper.h>
#include <drm/drm_framebuffer.h>
#include <drm/drm_gem_atomic_helper.h>
#include <drm/drm_gem_dma_helper.h>
#include <drm/drm_gem_framebuffer_helper.h>
#include <drm/drm_managed.h>
#include <drm/drm_modes.h>
#include <drm/drm_rect.h>
#include <drm/drm_probe_helper.h>
#include <drm/drm_simple_kms_helper.h>
int drm_probe(struct spi_device *spi);
void drm_remove(struct spi_device *spi);
int drm_refresh(void);
int drm_set_indicator(size_t idx, char c);
#endif