1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* DVB USB compliant linux driver for
4 * DM04/QQBOX DVB-S USB BOX LME2510C + SHARP:BS2F7HZ7395
5 * LME2510C + LG TDQY-P001F
6 * LME2510 + LG TDQY-P001F
8 * MVB7395 (LME2510C+SHARP:BS2F7HZ7395)
9 * SHARP:BS2F7HZ7395 = (STV0288+Sharp IX2505V)
11 * MVB001F (LME2510+LGTDQT-P001F)
12 * LG TDQY - P001F =(TDA8263 + TDA10086H)
14 * MVB0001F (LME2510C+LGTDQT-P001F)
17 * see Documentation/driver-api/media/drivers/dvb-usb.rst for more information
19 #ifndef _DVB_USB_LME2510_H_
20 #define _DVB_USB_LME2510_H_
24 * Note: These commands do not actually stop the streaming
25 * but form some kind of packet filtering/stream count
26 * or tuning related functions.
28 * offset 1 = 00 Enable Streaming
32 * 03 XX XX ----> reg number ---> setting....20 XX
34 * offset 2 = start of data
36 * end byte = clear pid always a0, other wise 9c, 9a ??
39 #define LME_ST_ON_W {0x06, 0x00}
40 #define LME_CLEAR_PID {0x03, 0x02, 0x20, 0xa0}
41 #define LME_ZERO_PID {0x03, 0x06, 0x00, 0x00, 0x01, 0x00, 0x20, 0x9c}
42 #define LME_ALL_PIDS {0x03, 0x06, 0x00, 0xff, 0x01, 0x1f, 0x20, 0x81}
47 * offset 2 = 00=Voltage low 01=Voltage high
51 * offset 2 = 00=ON 01=OFF
54 #define LME_VOLTAGE_L {0x07, 0x01, 0x00}
55 #define LME_VOLTAGE_H {0x07, 0x01, 0x01}
56 #define LNB_ON {0x3a, 0x01, 0x00}
57 #define LNB_OFF {0x3a, 0x01, 0x01}
59 /* Initial stv0288 settings for 7395 Frontend */
60 static u8 s7395_inittab
[] = {