Typically HDMI to MIPI CSI-2 bridges have a pin to signal image data is being received. On the host side this is wired to a GPIO for polling or interrupts. This includes the Lontium HDMI to MIPI CSI-2 bridges lt6911uxe and lt6911uxc. The GPIO "hpd" is used already by other HDMI to CSI-2 bridges, use it here as well.
Showing the changes to include/linux/platform_data (1 of 2 files). Show all
Unified · Split
| @@ -27,6 +27,7 @@ · 26 unmodified lines | ||
| 27 | 27 | #define INT3472_GPIO_TYPE_CLK_ENABLE 0x0c |
| 28 | 28 | #define INT3472_GPIO_TYPE_PRIVACY_LED 0x0d |
| 29 | 29 | #define INT3472_GPIO_TYPE_HANDSHAKE 0x12 |
| 30 | +#define INT3472_GPIO_TYPE_HOTPLUG_DETECT 0x13 | |
| 30 | 31 | |
| 31 | 32 | #define INT3472_PDEV_MAX_NAME_LEN 23 |
| 32 | 33 | #define INT3472_MAX_SENSOR_GPIOS 3 |