linux/drivers/video/backlight/ktd2801-backlight.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Datasheet:
 * https://www.kinet-ic.com/uploads/web/KTD2801/KTD2801-04b.pdf
 */
#include <linux/backlight.h>
#include <linux/gpio/consumer.h>
#include <linux/leds-expresswire.h>
#include <linux/platform_device.h>
#include <linux/property.h>

#define KTD2801_DEFAULT_BRIGHTNESS
#define KTD2801_MAX_BRIGHTNESS

/* These values have been extracted from Samsung's driver. */
static const struct expresswire_timing ktd2801_timing =;

struct ktd2801_backlight {};

static int ktd2801_update_status(struct backlight_device *bd)
{}

static const struct backlight_ops ktd2801_backlight_ops =;

static int ktd2801_backlight_probe(struct platform_device *pdev)
{}

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

static struct platform_driver ktd2801_backlight_driver =;
module_platform_driver();

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