1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 Intersil ISL6423 SEC and LNB Power supply controller
5 Copyright (C) Manu Abraham <abraham.manu@gmail.com>
12 #include <linux/dvb/frontend.h>
14 enum isl6423_current
{
22 SEC_CURRENT_LIM_ON
= 1,
26 struct isl6423_config
{
27 enum isl6423_current current_max
;
28 enum isl6423_curlim curlim
;
33 #if IS_REACHABLE(CONFIG_DVB_ISL6423)
36 extern struct dvb_frontend
*isl6423_attach(struct dvb_frontend
*fe
,
37 struct i2c_adapter
*i2c
,
38 const struct isl6423_config
*config
);
41 static inline struct dvb_frontend
*isl6423_attach(struct dvb_frontend
*fe
,
42 struct i2c_adapter
*i2c
,
43 const struct isl6423_config
*config
)
45 printk(KERN_WARNING
"%s: driver disabled by Kconfig\n", __func__
);
49 #endif /* CONFIG_DVB_ISL6423 */
51 #endif /* __ISL_6423_H */