linux/drivers/video/backlight/da903x_bl.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Backlight driver for Dialog Semiconductor DA9030/DA9034
 *
 * Copyright (C) 2008 Compulab, Ltd.
 *	Mike Rapoport <[email protected]>
 *
 * Copyright (C) 2006-2008 Marvell International Ltd.
 *	Eric Miao <[email protected]>
 */

#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/fb.h>
#include <linux/backlight.h>
#include <linux/mfd/da903x.h>
#include <linux/slab.h>
#include <linux/module.h>

#define DA9030_WLED_CONTROL
#define DA9030_WLED_CP_EN
#define DA9030_WLED_TRIM(x)

#define DA9034_WLED_CONTROL1
#define DA9034_WLED_CONTROL2
#define DA9034_WLED_ISET(x)

#define DA9034_WLED_BOOST_EN

#define DA9030_MAX_BRIGHTNESS
#define DA9034_MAX_BRIGHTNESS

struct da903x_backlight_data {};

static int da903x_backlight_set(struct backlight_device *bl, int brightness)
{}

static int da903x_backlight_update_status(struct backlight_device *bl)
{}

static int da903x_backlight_get_brightness(struct backlight_device *bl)
{}

static const struct backlight_ops da903x_backlight_ops =;

static int da903x_backlight_probe(struct platform_device *pdev)
{}

static struct platform_driver da903x_backlight_driver =;

module_platform_driver();

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