mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 09:05:12 +07:00
0376148f30
Based on 1 normalized pattern(s): license terms gnu general public license v2 extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 37 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Steve Winslow <swinslow@gmail.com> Reviewed-by: Alexios Zavras <alexios.zavras@intel.com> Reviewed-by: Richard Fontana <rfontana@redhat.com> Reviewed-by: Allison Randal <allison@lohutok.net> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190528170027.724130665@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
38 lines
818 B
C
38 lines
818 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (C) 2012 Texas Instruments
|
|
*
|
|
* Simple driver for Texas Instruments LM3642 LED driver chip
|
|
*
|
|
* Author: G.Shark Jeong <gshark.jeong@gmail.com>
|
|
* Daniel Jeong <daniel.jeong@ti.com>
|
|
*/
|
|
|
|
#ifndef __LINUX_LM3642_H
|
|
#define __LINUX_LM3642_H
|
|
|
|
#define LM3642_NAME "leds-lm3642"
|
|
|
|
enum lm3642_torch_pin_enable {
|
|
LM3642_TORCH_PIN_DISABLE = 0x00,
|
|
LM3642_TORCH_PIN_ENABLE = 0x10,
|
|
};
|
|
|
|
enum lm3642_strobe_pin_enable {
|
|
LM3642_STROBE_PIN_DISABLE = 0x00,
|
|
LM3642_STROBE_PIN_ENABLE = 0x20,
|
|
};
|
|
|
|
enum lm3642_tx_pin_enable {
|
|
LM3642_TX_PIN_DISABLE = 0x00,
|
|
LM3642_TX_PIN_ENABLE = 0x40,
|
|
};
|
|
|
|
struct lm3642_platform_data {
|
|
enum lm3642_torch_pin_enable torch_pin;
|
|
enum lm3642_strobe_pin_enable strobe_pin;
|
|
enum lm3642_tx_pin_enable tx_pin;
|
|
};
|
|
|
|
#endif /* __LINUX_LM3642_H */
|