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

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Backlight driver for the Kinetic KTD253
 * Based on code and know-how from the Samsung GT-S7710
 * Gareth Phillips <[email protected]>
 */
#include <linux/backlight.h>
#include <linux/delay.h>
#include <linux/err.h>
#include <linux/gpio/consumer.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/limits.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/property.h>
#include <linux/slab.h>

/* Current ratio is n/32 from 1/32 to 32/32 */
#define KTD253_MIN_RATIO
#define KTD253_MAX_RATIO
#define KTD253_DEFAULT_RATIO

#define KTD253_T_LOW_NS
#define KTD253_T_HIGH_NS
#define KTD253_T_OFF_CRIT_NS
#define KTD253_T_OFF_MS

struct ktd253_backlight {};

static void ktd253_backlight_set_max_ratio(struct ktd253_backlight *ktd253)
{}

static int ktd253_backlight_stepdown(struct ktd253_backlight *ktd253)
{}

static int ktd253_backlight_update_status(struct backlight_device *bl)
{}

static const struct backlight_ops ktd253_backlight_ops =;

static int ktd253_backlight_probe(struct platform_device *pdev)
{}

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

static struct platform_driver ktd253_backlight_driver =;
module_platform_driver();

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