|
@@ -88,6 +88,15 @@ struct media_device_info {
|
|
#define MEDIA_ENT_F_IO_VBI (MEDIA_ENT_F_BASE + 32)
|
|
#define MEDIA_ENT_F_IO_VBI (MEDIA_ENT_F_BASE + 32)
|
|
#define MEDIA_ENT_F_IO_SWRADIO (MEDIA_ENT_F_BASE + 33)
|
|
#define MEDIA_ENT_F_IO_SWRADIO (MEDIA_ENT_F_BASE + 33)
|
|
|
|
|
|
|
|
+/*
|
|
|
|
+ * Analog TV IF-PLL decoders
|
|
|
|
+ *
|
|
|
|
+ * It is a responsibility of the master/bridge drivers to create links
|
|
|
|
+ * for MEDIA_ENT_F_IF_VID_DECODER and MEDIA_ENT_F_IF_AUD_DECODER.
|
|
|
|
+ */
|
|
|
|
+#define MEDIA_ENT_F_IF_VID_DECODER (MEDIA_ENT_F_BASE + 41)
|
|
|
|
+#define MEDIA_ENT_F_IF_AUD_DECODER (MEDIA_ENT_F_BASE + 42)
|
|
|
|
+
|
|
/*
|
|
/*
|
|
* Don't touch on those. The ranges MEDIA_ENT_F_OLD_BASE and
|
|
* Don't touch on those. The ranges MEDIA_ENT_F_OLD_BASE and
|
|
* MEDIA_ENT_F_OLD_SUBDEV_BASE are kept to keep backward compatibility
|
|
* MEDIA_ENT_F_OLD_SUBDEV_BASE are kept to keep backward compatibility
|
|
@@ -107,8 +116,12 @@ struct media_device_info {
|
|
#define MEDIA_ENT_F_LENS (MEDIA_ENT_F_OLD_SUBDEV_BASE + 3)
|
|
#define MEDIA_ENT_F_LENS (MEDIA_ENT_F_OLD_SUBDEV_BASE + 3)
|
|
#define MEDIA_ENT_F_ATV_DECODER (MEDIA_ENT_F_OLD_SUBDEV_BASE + 4)
|
|
#define MEDIA_ENT_F_ATV_DECODER (MEDIA_ENT_F_OLD_SUBDEV_BASE + 4)
|
|
/*
|
|
/*
|
|
- * It is a responsibility of the entity drivers to add connectors and links
|
|
|
|
- * for the tuner entities.
|
|
|
|
|
|
+ * It is a responsibility of the master/bridge drivers to add connectors
|
|
|
|
+ * and links for MEDIA_ENT_F_TUNER. Please notice that some old tuners
|
|
|
|
+ * may require the usage of separate I2C chips to decode analog TV signals,
|
|
|
|
+ * when the master/bridge chipset doesn't have its own TV standard decoder.
|
|
|
|
+ * On such cases, the IF-PLL staging is mapped via one or two entities:
|
|
|
|
+ * MEDIA_ENT_F_IF_VID_DECODER and/or MEDIA_ENT_F_IF_AUD_DECODER.
|
|
*/
|
|
*/
|
|
#define MEDIA_ENT_F_TUNER (MEDIA_ENT_F_OLD_SUBDEV_BASE + 5)
|
|
#define MEDIA_ENT_F_TUNER (MEDIA_ENT_F_OLD_SUBDEV_BASE + 5)
|
|
|
|
|