|
@@ -107,11 +107,34 @@ static const struct rcar_du_device_info rcar_du_r8a7791_info = {
|
|
|
.num_lvds = 1,
|
|
|
};
|
|
|
|
|
|
+static const struct rcar_du_device_info rcar_du_r8a7794_info = {
|
|
|
+ .features = RCAR_DU_FEATURE_CRTC_IRQ_CLOCK
|
|
|
+ | RCAR_DU_FEATURE_EXT_CTRL_REGS,
|
|
|
+ .num_crtcs = 2,
|
|
|
+ .routes = {
|
|
|
+ /* R8A7794 has two RGB outputs and one (currently unsupported)
|
|
|
+ * TCON output.
|
|
|
+ */
|
|
|
+ [RCAR_DU_OUTPUT_DPAD0] = {
|
|
|
+ .possible_crtcs = BIT(0),
|
|
|
+ .encoder_type = DRM_MODE_ENCODER_NONE,
|
|
|
+ .port = 0,
|
|
|
+ },
|
|
|
+ [RCAR_DU_OUTPUT_DPAD1] = {
|
|
|
+ .possible_crtcs = BIT(1),
|
|
|
+ .encoder_type = DRM_MODE_ENCODER_NONE,
|
|
|
+ .port = 1,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ .num_lvds = 0,
|
|
|
+};
|
|
|
+
|
|
|
static const struct of_device_id rcar_du_of_table[] = {
|
|
|
{ .compatible = "renesas,du-r8a7779", .data = &rcar_du_r8a7779_info },
|
|
|
{ .compatible = "renesas,du-r8a7790", .data = &rcar_du_r8a7790_info },
|
|
|
{ .compatible = "renesas,du-r8a7791", .data = &rcar_du_r8a7791_info },
|
|
|
{ .compatible = "renesas,du-r8a7793", .data = &rcar_du_r8a7791_info },
|
|
|
+ { .compatible = "renesas,du-r8a7794", .data = &rcar_du_r8a7794_info },
|
|
|
{ }
|
|
|
};
|
|
|
|