linux/drivers/auxdisplay/hd44780.c

// SPDX-License-Identifier: GPL-2.0+
/*
 * HD44780 Character LCD driver for Linux
 *
 * Copyright (C) 2000-2008, Willy Tarreau <[email protected]>
 * Copyright (C) 2016-2017 Glider bvba
 */

#include <linux/delay.h>
#include <linux/gpio/consumer.h>
#include <linux/module.h>
#include <linux/mod_devicetable.h>
#include <linux/platform_device.h>
#include <linux/property.h>
#include <linux/slab.h>

#include "charlcd.h"
#include "hd44780_common.h"

enum hd44780_pin {};

struct hd44780 {};

static void hd44780_backlight(struct charlcd *lcd, enum charlcd_onoff on)
{}

static void hd44780_strobe_gpio(struct hd44780 *hd)
{}

/* write to an LCD panel register in 8 bit GPIO mode */
static void hd44780_write_gpio8(struct hd44780 *hd, u8 val, unsigned int rs)
{}

/* write to an LCD panel register in 4 bit GPIO mode */
static void hd44780_write_gpio4(struct hd44780 *hd, u8 val, unsigned int rs)
{}

/* Send a command to the LCD panel in 8 bit GPIO mode */
static void hd44780_write_cmd_gpio8(struct hd44780_common *hdc, int cmd)
{}

/* Send data to the LCD panel in 8 bit GPIO mode */
static void hd44780_write_data_gpio8(struct hd44780_common *hdc, int data)
{}

static const struct charlcd_ops hd44780_ops_gpio8 =;

/* Send a command to the LCD panel in 4 bit GPIO mode */
static void hd44780_write_cmd_gpio4(struct hd44780_common *hdc, int cmd)
{}

/* Send 4-bits of a command to the LCD panel in raw 4 bit GPIO mode */
static void hd44780_write_cmd_raw_gpio4(struct hd44780_common *hdc, int cmd)
{}

/* Send data to the LCD panel in 4 bit GPIO mode */
static void hd44780_write_data_gpio4(struct hd44780_common *hdc, int data)
{}

static const struct charlcd_ops hd44780_ops_gpio4 =;

static int hd44780_probe(struct platform_device *pdev)
{}

static void hd44780_remove(struct platform_device *pdev)
{}

static const struct of_device_id hd44780_of_match[] =;
MODULE_DEVICE_TABLE(of, hd44780_of_match);

static struct platform_driver hd44780_driver =;

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