printf: Remove unused 'bprintf'
[drm/drm-misc.git] / include / linux / platform_data / leds-lm3642.h
blob2490a2fb65493f6468c99d81eac38c2da0e3b089
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Copyright (C) 2012 Texas Instruments
5 * Simple driver for Texas Instruments LM3642 LED driver chip
7 * Author: G.Shark Jeong <gshark.jeong@gmail.com>
8 * Daniel Jeong <daniel.jeong@ti.com>
9 */
11 #ifndef __LINUX_LM3642_H
12 #define __LINUX_LM3642_H
14 #define LM3642_NAME "leds-lm3642"
16 enum lm3642_torch_pin_enable {
17 LM3642_TORCH_PIN_DISABLE = 0x00,
18 LM3642_TORCH_PIN_ENABLE = 0x10,
21 enum lm3642_strobe_pin_enable {
22 LM3642_STROBE_PIN_DISABLE = 0x00,
23 LM3642_STROBE_PIN_ENABLE = 0x20,
26 enum lm3642_tx_pin_enable {
27 LM3642_TX_PIN_DISABLE = 0x00,
28 LM3642_TX_PIN_ENABLE = 0x40,
31 struct lm3642_platform_data {
32 enum lm3642_torch_pin_enable torch_pin;
33 enum lm3642_strobe_pin_enable strobe_pin;
34 enum lm3642_tx_pin_enable tx_pin;
37 #endif /* __LINUX_LM3642_H */