EDID: Add HDMI_I2C driver for 2711

The HDMI block on 2711 has a dedicate I2C module in order to support
SCDC and HDCP. Create a new I2C driver which implements DDC read and
SCDC that can be used by both the hdmi_2711 driver and the edid
middlware.

Remove the CHIPIT specific configuration which forced dummy edid and
hotplug on 2711. The preferred HDMI mode selection from EDID should now
work in the same manner as on Pi3.
This commit is contained in:
Tim Gover
2018-08-06 15:36:13 +01:00
committed by popcornmix
parent ceb18b1b04
commit 55a683e9b9

View File

@@ -57,6 +57,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define LOGGING_IMAGE_POOL_VERBOSE (2<<18) #define LOGGING_IMAGE_POOL_VERBOSE (2<<18)
#define LOGGING_HDMI (1<<20) /* HDMI and HDCP messages */ #define LOGGING_HDMI (1<<20) /* HDMI and HDCP messages */
#define LOGGING_HDMI_VERBOSE (2<<20) #define LOGGING_HDMI_VERBOSE (2<<20)
#define LOGGING_HDMI_I2C (2<<20) /* Re-use HDMI verbose for HDMI I2C traces */
#define LOGGING_MINIMAL (1<<22) /* minimal logging for bandwidth measurement, ie all others off. */ #define LOGGING_MINIMAL (1<<22) /* minimal logging for bandwidth measurement, ie all others off. */
#define LOGGING_MINIMAL_VERBOSE (2<<22) #define LOGGING_MINIMAL_VERBOSE (2<<22)
#define LOGGING_TUNER (1<<24) /* ISP Tuner logs - AGC, AWB etc */ #define LOGGING_TUNER (1<<24) /* ISP Tuner logs - AGC, AWB etc */