linux/drivers/video/backlight/da9052_bl.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Backlight Driver for Dialog DA9052 PMICs
 *
 * Copyright(c) 2012 Dialog Semiconductor Ltd.
 *
 * Author: David Dajun Chen <[email protected]>
 */

#include <linux/backlight.h>
#include <linux/delay.h>
#include <linux/fb.h>
#include <linux/module.h>
#include <linux/platform_device.h>

#include <linux/mfd/da9052/da9052.h>
#include <linux/mfd/da9052/reg.h>

#define DA9052_MAX_BRIGHTNESS

enum {};

enum {};

static const unsigned char wled_bank[] =;

struct da9052_bl {};

static int da9052_adjust_wled_brightness(struct da9052_bl *wleds)
{}

static int da9052_backlight_update_status(struct backlight_device *bl)
{}

static int da9052_backlight_get_brightness(struct backlight_device *bl)
{}

static const struct backlight_ops da9052_backlight_ops =;

static int da9052_backlight_probe(struct platform_device *pdev)
{}

static void da9052_backlight_remove(struct platform_device *pdev)
{}

static const struct platform_device_id da9052_wled_ids[] =;
MODULE_DEVICE_TABLE(platform, da9052_wled_ids);

static struct platform_driver da9052_wled_driver =;

module_platform_driver();

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