mirror of https://github.com/parazyd/arm-sdk.git
103 lines
3.4 KiB
Diff
103 lines
3.4 KiB
Diff
From 4f23bc7bf13c779f3640a3bf68ce688a98d434b8 Mon Sep 17 00:00:00 2001
|
|
From: Tony Lindgren <tony@atomide.com>
|
|
Date: Wed, 25 Oct 2017 15:07:32 -0700
|
|
Subject: [PATCH 17/17] droid4 hdmi on 4.14-rc4+
|
|
|
|
* Merlijn Wajer <merlijn@wizzup.org> [171025 14:54]:
|
|
> Hi,
|
|
>
|
|
> I have been trying to get HDMI to work on the Motorola Droid4, as I saw
|
|
> that it should be supported. When I enable DRM_OMAP, OMAP4_DSS_HDMI and
|
|
> DRM_OMAP_CONNECTOR_HDMI, I don't get any output on HDMI (Full config
|
|
> here [1], for Linux 4.14-rc4). I see this in dmesg (repeatedly) [2]:
|
|
>
|
|
> [ 21.360321] of_get_named_gpiod_flags: parsed 'hpd-gpios' property of
|
|
> node '/connector[0]' - status (0)
|
|
> [ 21.370147] connector-hdmi connector: failed to find video source
|
|
>
|
|
> My hunch is that perhaps something is missing in the device tree, but
|
|
> after looking for time in the omapdrm code I cannot figure it out. Am I
|
|
> perhaps missing some configuration options?
|
|
>
|
|
> I also do not seem to have any /dev/dri entries, although I did expect
|
|
> to see them.
|
|
|
|
Hmm I've been using it a lot over past six months with lapdock with
|
|
typically updating to Linux next about once a week or every few weeks.
|
|
I'm just using pending LCD and backlight patches, and omap2plus_defconfig
|
|
with following patch. Maybe see if you're missing something from that
|
|
patch?
|
|
|
|
Also Tomi pointed out earlier that n900 needed the analog tv module
|
|
loaded for LCD output.. I wonder if you need also the pending LCD
|
|
patches applied?
|
|
|
|
Cheers,
|
|
|
|
Tony
|
|
|
|
> [1] http://sprunge.us/GIhC
|
|
> [2] http://sprunge.us/bXWf
|
|
|
|
8< -------------------------
|
|
---
|
|
arch/arm/configs/omap2plus_defconfig | 38 ++++++++++++++++++++----------------
|
|
1 file changed, 21 insertions(+), 17 deletions(-)
|
|
|
|
diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig
|
|
index 7b97200..59d8c14 100644
|
|
--- a/arch/arm/configs/omap2plus_defconfig
|
|
+++ b/arch/arm/configs/omap2plus_defconfig
|
|
@@ -318,27 +318,31 @@ CONFIG_V4L_PLATFORM_DRIVERS=y
|
|
CONFIG_VIDEO_OMAP3=m
|
|
# CONFIG_MEDIA_SUBDRV_AUTOSELECT is not set
|
|
CONFIG_VIDEO_TVP5150=m
|
|
+CONFIG_DRM=m
|
|
+CONFIG_DRM_OMAP=m
|
|
+CONFIG_DRM_OMAP_NUM_CRTCS=2
|
|
+CONFIG_OMAP5_DSS_HDMI=y
|
|
+CONFIG_OMAP2_DSS_SDI=y
|
|
+CONFIG_OMAP2_DSS_DSI=y
|
|
+CONFIG_DRM_OMAP_ENCODER_OPA362=m
|
|
+CONFIG_DRM_OMAP_ENCODER_TFP410=m
|
|
+CONFIG_DRM_OMAP_ENCODER_TPD12S015=m
|
|
+CONFIG_DRM_OMAP_CONNECTOR_DVI=m
|
|
+CONFIG_DRM_OMAP_CONNECTOR_HDMI=m
|
|
+CONFIG_DRM_OMAP_CONNECTOR_ANALOG_TV=m
|
|
+CONFIG_DRM_OMAP_PANEL_DPI=m
|
|
+CONFIG_DRM_OMAP_PANEL_DSI_CM=m
|
|
+CONFIG_DRM_OMAP_PANEL_SONY_ACX565AKM=m
|
|
+CONFIG_DRM_OMAP_PANEL_LGPHILIPS_LB035Q02=m
|
|
+CONFIG_DRM_OMAP_PANEL_SHARP_LS037V7DW01=m
|
|
+CONFIG_DRM_OMAP_PANEL_TPO_TD028TTEC1=m
|
|
+CONFIG_DRM_OMAP_PANEL_TPO_TD043MTEA1=m
|
|
+CONFIG_DRM_OMAP_PANEL_NEC_NL8048HL11=m
|
|
+CONFIG_DRM_TILCDC=m
|
|
CONFIG_FB=y
|
|
CONFIG_FIRMWARE_EDID=y
|
|
CONFIG_FB_MODE_HELPERS=y
|
|
CONFIG_FB_TILEBLITTING=y
|
|
-CONFIG_FB_OMAP2=m
|
|
-CONFIG_FB_OMAP5_DSS_HDMI=y
|
|
-CONFIG_FB_OMAP2_DSS_SDI=y
|
|
-CONFIG_FB_OMAP2_DSS_DSI=y
|
|
-CONFIG_FB_OMAP2_ENCODER_TFP410=m
|
|
-CONFIG_FB_OMAP2_ENCODER_TPD12S015=m
|
|
-CONFIG_FB_OMAP2_CONNECTOR_DVI=m
|
|
-CONFIG_FB_OMAP2_CONNECTOR_HDMI=m
|
|
-CONFIG_FB_OMAP2_CONNECTOR_ANALOG_TV=m
|
|
-CONFIG_FB_OMAP2_PANEL_DPI=m
|
|
-CONFIG_FB_OMAP2_PANEL_DSI_CM=m
|
|
-CONFIG_FB_OMAP2_PANEL_SONY_ACX565AKM=m
|
|
-CONFIG_FB_OMAP2_PANEL_LGPHILIPS_LB035Q02=m
|
|
-CONFIG_FB_OMAP2_PANEL_SHARP_LS037V7DW01=m
|
|
-CONFIG_FB_OMAP2_PANEL_TPO_TD028TTEC1=m
|
|
-CONFIG_FB_OMAP2_PANEL_TPO_TD043MTEA1=m
|
|
-CONFIG_FB_OMAP2_PANEL_NEC_NL8048HL11=m
|
|
CONFIG_BACKLIGHT_LCD_SUPPORT=y
|
|
CONFIG_LCD_CLASS_DEVICE=y
|
|
CONFIG_LCD_PLATFORM=y
|
|
--
|
|
2.1.4
|
|
|