linux/drivers/staging/fbtft/fb_sh1106.c

// SPDX-License-Identifier: GPL-2.0+
/*
 * FB driver for the SH1106 OLED Controller
 * Based on the SSD1306 driver by Noralf Tronnes
 *
 * Copyright (C) 2017 Heiner Kallweit
 */

#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/delay.h>

#include "fbtft.h"

#define DRVNAME
#define WIDTH
#define HEIGHT

/* Init sequence based on the Adafruit SSD1306 Arduino library */
static int init_display(struct fbtft_par *par)
{}

static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye)
{}

static int blank(struct fbtft_par *par, bool on)
{}

/* Gamma is used to control Contrast */
static int set_gamma(struct fbtft_par *par, u32 *curves)
{}

static int write_vmem(struct fbtft_par *par, size_t offset, size_t len)
{}

static void write_register(struct fbtft_par *par, int len, ...)
{}

static struct fbtft_display display =;

FBTFT_REGISTER_SPI_DRIVER();

MODULE_DESCRIPTION();
MODULE_AUTHOR();
MODULE_LICENSE();