linux/include/linux/mfd/lp8788-isink.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * TI LP8788 MFD - common definitions for current sinks
 *
 * Copyright 2012 Texas Instruments
 *
 * Author: Milo(Woogyom) Kim <[email protected]>
 */

#ifndef __ISINK_LP8788_H__
#define __ISINK_LP8788_H__

/* register address */
#define LP8788_ISINK_CTRL
#define LP8788_ISINK12_IOUT
#define LP8788_ISINK3_IOUT
#define LP8788_ISINK1_PWM
#define LP8788_ISINK2_PWM
#define LP8788_ISINK3_PWM

/* mask bits */
#define LP8788_ISINK1_IOUT_M
#define LP8788_ISINK2_IOUT_M
#define LP8788_ISINK3_IOUT_M

/* 6 bits used for PWM code : Addr 9C ~ 9Eh */
#define LP8788_ISINK_MAX_PWM
#define LP8788_ISINK_SCALE_OFFSET

static const u8 lp8788_iout_addr[] =;

static const u8 lp8788_iout_mask[] =;

static const u8 lp8788_pwm_addr[] =;

#endif