mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 05:31:15 +00:00
backlight: Add ROHM BD6107 backlight driver
The BD6107 is a multi-purpose 10 channels LED driver for the mobile market. Only the main channel is supported by this driver. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
This commit is contained in:
parent
82e5c40d88
commit
67b43e5904
4 changed files with 239 additions and 0 deletions
19
include/linux/platform_data/bd6107.h
Normal file
19
include/linux/platform_data/bd6107.h
Normal file
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* bd6107.h - Rohm BD6107 LEDs Driver
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
#ifndef __BD6107_H__
|
||||
#define __BD6107_H__
|
||||
|
||||
struct device;
|
||||
|
||||
struct bd6107_platform_data {
|
||||
struct device *fbdev;
|
||||
int reset; /* Reset GPIO */
|
||||
unsigned int def_value;
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue