linux/include/linux/leds-lp3952.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 *	LED driver for TI lp3952 controller
 *
 *	Copyright (C) 2016, DAQRI, LLC.
 *	Author: Tony Makkiel <[email protected]>
 */

#ifndef LEDS_LP3952_H_
#define LEDS_LP3952_H_

#define LP3952_NAME
#define LP3952_CMD_REG_COUNT
#define LP3952_BRIGHT_MAX
#define LP3952_LABEL_MAX_LEN

#define LP3952_REG_LED_CTRL
#define LP3952_REG_R1_BLNK_TIME_CTRL
#define LP3952_REG_R1_BLNK_CYCLE_CTRL
#define LP3952_REG_G1_BLNK_TIME_CTRL
#define LP3952_REG_G1_BLNK_CYCLE_CTRL
#define LP3952_REG_B1_BLNK_TIME_CTRL
#define LP3952_REG_B1_BLNK_CYCLE_CTRL
#define LP3952_REG_ENABLES
#define LP3952_REG_PAT_GEN_CTRL
#define LP3952_REG_RGB1_MAX_I_CTRL
#define LP3952_REG_RGB2_MAX_I_CTRL
#define LP3952_REG_CMD_0
#define LP3952_REG_RESET
#define REG_MAX

#define LP3952_PATRN_LOOP
#define LP3952_PATRN_GEN_EN
#define LP3952_INT_B00ST_LDR
#define LP3952_ACTIVE_MODE
#define LP3952_LED_MASK_ALL

/* Transition Time in ms */
enum lp3952_tt {};

/* Command Execution Time in ms */
enum lp3952_cet {};

/* Max Current in % */
enum lp3952_colour_I_log_0 {};

enum lp3952_leds {};

struct lp3952_ctrl_hdl {};

struct ptrn_gen_cmd {} __packed;

struct lp3952_led_array {};

#endif /* LEDS_LP3952_H_ */