linux/drivers/video/backlight/lv5207lp.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Sanyo LV5207LP LED Driver
 *
 * Copyright (C) 2013 Ideas on board SPRL
 *
 * Contact: Laurent Pinchart <[email protected]>
 */

#include <linux/backlight.h>
#include <linux/err.h>
#include <linux/fb.h>
#include <linux/i2c.h>
#include <linux/module.h>
#include <linux/platform_data/lv5207lp.h>
#include <linux/slab.h>

#define LV5207LP_CTRL1
#define LV5207LP_CPSW
#define LV5207LP_SCTEN
#define LV5207LP_C10
#define LV5207LP_CKSW
#define LV5207LP_RSW
#define LV5207LP_GSW
#define LV5207LP_BSW
#define LV5207LP_CTRL2
#define LV5207LP_MSW
#define LV5207LP_MLED4
#define LV5207LP_RED
#define LV5207LP_GREEN
#define LV5207LP_BLUE

#define LV5207LP_MAX_BRIGHTNESS

struct lv5207lp {};

static int lv5207lp_write(struct lv5207lp *lv, u8 reg, u8 data)
{}

static int lv5207lp_backlight_update_status(struct backlight_device *backlight)
{}

static bool lv5207lp_backlight_controls_device(struct backlight_device *backlight,
					       struct device *display_dev)
{}

static const struct backlight_ops lv5207lp_backlight_ops =;

static int lv5207lp_probe(struct i2c_client *client)
{}

static void lv5207lp_remove(struct i2c_client *client)
{}

static const struct i2c_device_id lv5207lp_ids[] =;
MODULE_DEVICE_TABLE(i2c, lv5207lp_ids);

static struct i2c_driver lv5207lp_driver =;

module_i2c_driver();

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