Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/linux-leds
Pull LED updates from Bryan Wu: "I just found merge window is open and I'm quite busy and almost forget to send out this pull request. Thanks Russell and Alexandre ping me about this. So basically we got some clean up and leds-pwm fixing patches from Russell" * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/linux-leds: leds: Remove duplicated OOM message for individual driver drivers/leds: Replace __get_cpu_var use through this_cpu_ptr leds: lp55xx: add DT bindings for LP55231 leds: 88pm860x: Fix missing refcount decrement for parent of_node leds: 88pm860x: Use of_get_child_by_name leds: leds-pwm: add DT support for LEDs wired to supply leds: leds-pwm: implement PWM inversion leds: leds-pwm: convert OF parsing code to use led_pwm_add() leds: leds-pwm: provide a common function to setup a single led-pwm device leds: pca9685: Remove leds-pca9685 driver dell-led: add mic mute led interface
This commit is contained in:
10
include/linux/dell-led.h
Normal file
10
include/linux/dell-led.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#ifndef __DELL_LED_H__
|
||||
#define __DELL_LED_H__
|
||||
|
||||
enum {
|
||||
DELL_LED_MICMUTE,
|
||||
};
|
||||
|
||||
int dell_app_wmi_led_set(int whichled, int on);
|
||||
|
||||
#endif
|
@@ -1,35 +0,0 @@
|
||||
/*
|
||||
* Copyright 2013 Maximilian Güntner <maximilian.guentner@gmail.com>
|
||||
*
|
||||
* This file is subject to the terms and conditions of version 2 of
|
||||
* the GNU General Public License. See the file COPYING in the main
|
||||
* directory of this archive for more details.
|
||||
*
|
||||
* Based on leds-pca963x.h by Peter Meerwald <p.meerwald@bct-electronic.com>
|
||||
*
|
||||
* LED driver for the NXP PCA9685 PWM chip
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __LINUX_PCA9685_H
|
||||
#define __LINUX_PCA9685_H
|
||||
|
||||
#include <linux/leds.h>
|
||||
|
||||
enum pca9685_outdrv {
|
||||
PCA9685_OPEN_DRAIN,
|
||||
PCA9685_TOTEM_POLE,
|
||||
};
|
||||
|
||||
enum pca9685_inverted {
|
||||
PCA9685_NOT_INVERTED,
|
||||
PCA9685_INVERTED,
|
||||
};
|
||||
|
||||
struct pca9685_platform_data {
|
||||
struct led_platform_data leds;
|
||||
enum pca9685_outdrv outdrv;
|
||||
enum pca9685_inverted inverted;
|
||||
};
|
||||
|
||||
#endif /* __LINUX_PCA9685_H */
|
Reference in New Issue
Block a user