^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) TDA665x tuner driver
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Copyright (C) Manu Abraham (abraham.manu@gmail.com)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^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) #include <linux/init.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) #include <linux/kernel.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #include <linux/module.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #include <linux/slab.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) #include <media/dvb_frontend.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) #include "tda665x.h"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) struct tda665x_state {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) struct dvb_frontend *fe;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) struct i2c_adapter *i2c;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) const struct tda665x_config *config;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) u32 frequency;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) u32 bandwidth;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) static int tda665x_read(struct tda665x_state *state, u8 *buf)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) const struct tda665x_config *config = state->config;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) int err = 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) struct i2c_msg msg = { .addr = config->addr, .flags = I2C_M_RD, .buf = buf, .len = 2 };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) err = i2c_transfer(state->i2c, &msg, 1);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) if (err != 1)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) goto exit;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) return err;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) exit:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) printk(KERN_ERR "%s: I/O Error err=<%d>\n", __func__, err);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) return err;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) static int tda665x_write(struct tda665x_state *state, u8 *buf, u8 length)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) const struct tda665x_config *config = state->config;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) int err = 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) struct i2c_msg msg = { .addr = config->addr, .flags = 0, .buf = buf, .len = length };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) err = i2c_transfer(state->i2c, &msg, 1);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) if (err != 1)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) goto exit;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) return err;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) exit:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) printk(KERN_ERR "%s: I/O Error err=<%d>\n", __func__, err);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) return err;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) static int tda665x_get_frequency(struct dvb_frontend *fe, u32 *frequency)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) struct tda665x_state *state = fe->tuner_priv;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) *frequency = state->frequency;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) return 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) static int tda665x_get_status(struct dvb_frontend *fe, u32 *status)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) struct tda665x_state *state = fe->tuner_priv;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) u8 result = 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) int err = 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) *status = 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) err = tda665x_read(state, &result);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) if (err < 0)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) goto exit;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) if ((result >> 6) & 0x01) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) printk(KERN_DEBUG "%s: Tuner Phase Locked\n", __func__);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) *status = 1;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) return err;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) exit:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) printk(KERN_ERR "%s: I/O Error\n", __func__);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86) return err;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) static int tda665x_set_frequency(struct dvb_frontend *fe,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90) u32 new_frequency)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92) struct tda665x_state *state = fe->tuner_priv;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93) const struct tda665x_config *config = state->config;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94) u32 frequency, status = 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 95) u8 buf[4];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 96) int err = 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 97)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 98) if ((new_frequency < config->frequency_max)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 99) || (new_frequency > config->frequency_min)) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) printk(KERN_ERR "%s: Frequency beyond limits, frequency=%d\n",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) __func__, new_frequency);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) return -EINVAL;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) frequency = new_frequency;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) frequency += config->frequency_offst;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) frequency *= config->ref_multiplier;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) frequency += config->ref_divider >> 1;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) frequency /= config->ref_divider;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) buf[0] = (u8) ((frequency & 0x7f00) >> 8);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) buf[1] = (u8) (frequency & 0x00ff) >> 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) buf[2] = 0x80 | 0x40 | 0x02;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) buf[3] = 0x00;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) /* restore frequency */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) frequency = new_frequency;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) if (frequency < 153000000) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) /* VHF-L */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) buf[3] |= 0x01; /* fc, Low Band, 47 - 153 MHz */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) if (frequency < 68000000)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) buf[3] |= 0x40; /* 83uA */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) if (frequency < 1040000000)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) buf[3] |= 0x60; /* 122uA */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) if (frequency < 1250000000)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) buf[3] |= 0x80; /* 163uA */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129) else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) buf[3] |= 0xa0; /* 254uA */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) } else if (frequency < 438000000) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) /* VHF-H */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) buf[3] |= 0x02; /* fc, Mid Band, 153 - 438 MHz */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) if (frequency < 230000000)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) buf[3] |= 0x40;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) if (frequency < 300000000)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) buf[3] |= 0x60;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138) else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139) buf[3] |= 0x80;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140) } else {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141) /* UHF */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142) buf[3] |= 0x04; /* fc, High Band, 438 - 862 MHz */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143) if (frequency < 470000000)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144) buf[3] |= 0x60;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145) if (frequency < 526000000)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146) buf[3] |= 0x80;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147) else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148) buf[3] |= 0xa0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151) /* Set params */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152) err = tda665x_write(state, buf, 5);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153) if (err < 0)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154) goto exit;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156) /* sleep for some time */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157) printk(KERN_DEBUG "%s: Waiting to Phase LOCK\n", __func__);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158) msleep(20);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159) /* check status */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160) err = tda665x_get_status(fe, &status);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161) if (err < 0)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162) goto exit;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164) if (status == 1) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165) printk(KERN_DEBUG "%s: Tuner Phase locked: status=%d\n",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166) __func__, status);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167) state->frequency = frequency; /* cache successful state */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168) } else {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169) printk(KERN_ERR "%s: No Phase lock: status=%d\n",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170) __func__, status);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173) return 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174) exit:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175) printk(KERN_ERR "%s: I/O Error\n", __func__);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176) return err;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179) static int tda665x_set_params(struct dvb_frontend *fe)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 181) struct dtv_frontend_properties *c = &fe->dtv_property_cache;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 182)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 183) tda665x_set_frequency(fe, c->frequency);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 184)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 185) return 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 186) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 187)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 188) static void tda665x_release(struct dvb_frontend *fe)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 189) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 190) struct tda665x_state *state = fe->tuner_priv;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 191)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 192) fe->tuner_priv = NULL;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 193) kfree(state);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 194) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 195)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 196) static const struct dvb_tuner_ops tda665x_ops = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 197) .get_status = tda665x_get_status,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 198) .set_params = tda665x_set_params,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 199) .get_frequency = tda665x_get_frequency,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 200) .release = tda665x_release
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 201) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 202)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 203) struct dvb_frontend *tda665x_attach(struct dvb_frontend *fe,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 204) const struct tda665x_config *config,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 205) struct i2c_adapter *i2c)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 206) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 207) struct tda665x_state *state = NULL;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 208) struct dvb_tuner_info *info;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 209)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 210) state = kzalloc(sizeof(struct tda665x_state), GFP_KERNEL);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 211) if (!state)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 212) return NULL;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 213)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 214) state->config = config;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 215) state->i2c = i2c;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 216) state->fe = fe;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 217) fe->tuner_priv = state;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 218) fe->ops.tuner_ops = tda665x_ops;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 219) info = &fe->ops.tuner_ops.info;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 220)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 221) memcpy(info->name, config->name, sizeof(config->name));
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 222) info->frequency_min_hz = config->frequency_min;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 223) info->frequency_max_hz = config->frequency_max;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 224) info->frequency_step_hz = config->frequency_offst;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 225)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 226) printk(KERN_DEBUG "%s: Attaching TDA665x (%s) tuner\n", __func__, info->name);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 227)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 228) return fe;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 229) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 230) EXPORT_SYMBOL(tda665x_attach);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 231)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 232) MODULE_DESCRIPTION("TDA665x driver");
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 233) MODULE_AUTHOR("Manu Abraham");
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 234) MODULE_LICENSE("GPL");