Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0-or-later */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3)     Driver for Zarlink MT312 Satellite Channel Decoder
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5)     Copyright (C) 2003 Andreas Oberritter <obi@linuxtv.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8)     References:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9)     http://products.zarlink.com/product_profiles/MT312.htm
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)     http://products.zarlink.com/product_profiles/SL1935.htm
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) #ifndef MT312_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) #define MT312_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) #include <linux/dvb/frontend.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) struct mt312_config {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 	/* the demodulator's i2c address */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 	u8 demod_address;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 	/* inverted voltage setting */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 	unsigned int voltage_inverted:1;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) #if IS_REACHABLE(CONFIG_DVB_MT312)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) struct dvb_frontend *mt312_attach(const struct mt312_config *config,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 					struct i2c_adapter *i2c);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) static inline struct dvb_frontend *mt312_attach(
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 	const struct mt312_config *config, struct i2c_adapter *i2c)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 	printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) 	return NULL;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) #endif /* CONFIG_DVB_MT312 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) #endif /* MT312_H */