0017-droid4-hdmi-on-4.14-rc4.patch (3489B)
1 From 4f23bc7bf13c779f3640a3bf68ce688a98d434b8 Mon Sep 17 00:00:00 2001 2 From: Tony Lindgren <tony@atomide.com> 3 Date: Wed, 25 Oct 2017 15:07:32 -0700 4 Subject: [PATCH 17/17] droid4 hdmi on 4.14-rc4+ 5 6 * Merlijn Wajer <merlijn@wizzup.org> [171025 14:54]: 7 > Hi, 8 > 9 > I have been trying to get HDMI to work on the Motorola Droid4, as I saw 10 > that it should be supported. When I enable DRM_OMAP, OMAP4_DSS_HDMI and 11 > DRM_OMAP_CONNECTOR_HDMI, I don't get any output on HDMI (Full config 12 > here [1], for Linux 4.14-rc4). I see this in dmesg (repeatedly) [2]: 13 > 14 > [ 21.360321] of_get_named_gpiod_flags: parsed 'hpd-gpios' property of 15 > node '/connector[0]' - status (0) 16 > [ 21.370147] connector-hdmi connector: failed to find video source 17 > 18 > My hunch is that perhaps something is missing in the device tree, but 19 > after looking for time in the omapdrm code I cannot figure it out. Am I 20 > perhaps missing some configuration options? 21 > 22 > I also do not seem to have any /dev/dri entries, although I did expect 23 > to see them. 24 25 Hmm I've been using it a lot over past six months with lapdock with 26 typically updating to Linux next about once a week or every few weeks. 27 I'm just using pending LCD and backlight patches, and omap2plus_defconfig 28 with following patch. Maybe see if you're missing something from that 29 patch? 30 31 Also Tomi pointed out earlier that n900 needed the analog tv module 32 loaded for LCD output.. I wonder if you need also the pending LCD 33 patches applied? 34 35 Cheers, 36 37 Tony 38 39 > [1] http://sprunge.us/GIhC 40 > [2] http://sprunge.us/bXWf 41 42 8< ------------------------- 43 --- 44 arch/arm/configs/omap2plus_defconfig | 38 ++++++++++++++++++++---------------- 45 1 file changed, 21 insertions(+), 17 deletions(-) 46 47 diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig 48 index 7b97200..59d8c14 100644 49 --- a/arch/arm/configs/omap2plus_defconfig 50 +++ b/arch/arm/configs/omap2plus_defconfig 51 @@ -318,27 +318,31 @@ CONFIG_V4L_PLATFORM_DRIVERS=y 52 CONFIG_VIDEO_OMAP3=m 53 # CONFIG_MEDIA_SUBDRV_AUTOSELECT is not set 54 CONFIG_VIDEO_TVP5150=m 55 +CONFIG_DRM=m 56 +CONFIG_DRM_OMAP=m 57 +CONFIG_DRM_OMAP_NUM_CRTCS=2 58 +CONFIG_OMAP5_DSS_HDMI=y 59 +CONFIG_OMAP2_DSS_SDI=y 60 +CONFIG_OMAP2_DSS_DSI=y 61 +CONFIG_DRM_OMAP_ENCODER_OPA362=m 62 +CONFIG_DRM_OMAP_ENCODER_TFP410=m 63 +CONFIG_DRM_OMAP_ENCODER_TPD12S015=m 64 +CONFIG_DRM_OMAP_CONNECTOR_DVI=m 65 +CONFIG_DRM_OMAP_CONNECTOR_HDMI=m 66 +CONFIG_DRM_OMAP_CONNECTOR_ANALOG_TV=m 67 +CONFIG_DRM_OMAP_PANEL_DPI=m 68 +CONFIG_DRM_OMAP_PANEL_DSI_CM=m 69 +CONFIG_DRM_OMAP_PANEL_SONY_ACX565AKM=m 70 +CONFIG_DRM_OMAP_PANEL_LGPHILIPS_LB035Q02=m 71 +CONFIG_DRM_OMAP_PANEL_SHARP_LS037V7DW01=m 72 +CONFIG_DRM_OMAP_PANEL_TPO_TD028TTEC1=m 73 +CONFIG_DRM_OMAP_PANEL_TPO_TD043MTEA1=m 74 +CONFIG_DRM_OMAP_PANEL_NEC_NL8048HL11=m 75 +CONFIG_DRM_TILCDC=m 76 CONFIG_FB=y 77 CONFIG_FIRMWARE_EDID=y 78 CONFIG_FB_MODE_HELPERS=y 79 CONFIG_FB_TILEBLITTING=y 80 -CONFIG_FB_OMAP2=m 81 -CONFIG_FB_OMAP5_DSS_HDMI=y 82 -CONFIG_FB_OMAP2_DSS_SDI=y 83 -CONFIG_FB_OMAP2_DSS_DSI=y 84 -CONFIG_FB_OMAP2_ENCODER_TFP410=m 85 -CONFIG_FB_OMAP2_ENCODER_TPD12S015=m 86 -CONFIG_FB_OMAP2_CONNECTOR_DVI=m 87 -CONFIG_FB_OMAP2_CONNECTOR_HDMI=m 88 -CONFIG_FB_OMAP2_CONNECTOR_ANALOG_TV=m 89 -CONFIG_FB_OMAP2_PANEL_DPI=m 90 -CONFIG_FB_OMAP2_PANEL_DSI_CM=m 91 -CONFIG_FB_OMAP2_PANEL_SONY_ACX565AKM=m 92 -CONFIG_FB_OMAP2_PANEL_LGPHILIPS_LB035Q02=m 93 -CONFIG_FB_OMAP2_PANEL_SHARP_LS037V7DW01=m 94 -CONFIG_FB_OMAP2_PANEL_TPO_TD028TTEC1=m 95 -CONFIG_FB_OMAP2_PANEL_TPO_TD043MTEA1=m 96 -CONFIG_FB_OMAP2_PANEL_NEC_NL8048HL11=m 97 CONFIG_BACKLIGHT_LCD_SUPPORT=y 98 CONFIG_LCD_CLASS_DEVICE=y 99 CONFIG_LCD_PLATFORM=y 100 -- 101 2.1.4 102