Q: http://patchwork.linuxtv.org/project/linux-media/list/
T: git git://linuxtv.org/mhadli/v4l-dvb-davinci_devices.git
F: drivers/media/platform/ti/davinci/
+F: drivers/staging/media/deprecated/vpfe_capture/
F: include/media/davinci/
+ TI ENHANCED CAPTURE (eCAP) DRIVER
+ M: Vignesh Raghavendra <vigneshr@ti.com>
+ R: Julien Panis <jpanis@baylibre.com>
+ L: linux-iio@vger.kernel.org
+ L: linux-omap@vger.kernel.org
+ S: Maintained
+ F: Documentation/devicetree/bindings/counter/ti,am62-ecap-capture.yaml
+ F: drivers/counter/ti-ecap-capture.c
+
TI ENHANCED QUADRATURE ENCODER PULSE (eQEP) DRIVER
R: David Lechner <david@lechnology.com>
L: linux-iio@vger.kernel.org
struct iio_dev *indio_dev = i2c_get_clientdata(client);
ltc2497core_remove(indio_dev);
-
- return 0;
}
+ static const struct ltc2497_chip_info ltc2497_info[] = {
+ [TYPE_LTC2497] = {
+ .resolution = 16,
+ .name = NULL,
+ },
+ [TYPE_LTC2499] = {
+ .resolution = 24,
+ .name = "ltc2499",
+ },
+ };
+
static const struct i2c_device_id ltc2497_id[] = {
- { "ltc2497", 0 },
+ { "ltc2497", (kernel_ulong_t)<c2497_info[TYPE_LTC2497] },
+ { "ltc2499", (kernel_ulong_t)<c2497_info[TYPE_LTC2499] },
{ }
};
MODULE_DEVICE_TABLE(i2c, ltc2497_id);