From patchwork Wed Jul 30 19:32:26 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 4653191 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 15AE39F170 for ; Thu, 31 Jul 2014 03:45:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 39B98201BB for ; Thu, 31 Jul 2014 03:45:15 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 4BFE3200E6 for ; Thu, 31 Jul 2014 03:45:12 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7C56C6E4A5; Wed, 30 Jul 2014 20:45:10 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by gabe.freedesktop.org (Postfix) with ESMTP id 5330A6E3B3 for ; Wed, 30 Jul 2014 12:32:31 -0700 (PDT) Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id AEBB1AD66; Wed, 30 Jul 2014 19:32:29 +0000 (UTC) Message-ID: <53D9484A.1070905@suse.de> Date: Wed, 30 Jul 2014 21:32:26 +0200 From: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= Organization: SUSE LINUX Products GmbH User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Ajay kumar Subject: Re: [PATCH V6 0/8] drm/exynos: few patches to enhance bridge chip support References: <1406316130-4744-1-git-send-email-ajaykumar.rs@samsung.com> <53D5435B.8030305@suse.de> <53D783CC.2080108@suse.de> In-Reply-To: X-Enigmail-Version: 1.6 X-Mailman-Approved-At: Wed, 30 Jul 2014 20:45:09 -0700 Cc: "devicetree@vger.kernel.org" , "linux-samsung-soc@vger.kernel.org" , Sean Paul , Daniel Vetter , sunil joshi , "dri-devel@lists.freedesktop.org" , Doug Anderson , Javier Martinez Canillas , Prashanth G , Ajay Kumar X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi Ajay, Am 30.07.2014 08:21, schrieb Ajay kumar: > On Tue, Jul 29, 2014 at 4:51 PM, Andreas Färber wrote: >> Am 28.07.2014 08:13, schrieb Ajay kumar: >>> On 7/27/14, Andreas Färber wrote: >>>> Am 25.07.2014 21:22, schrieb Ajay Kumar: >>>>> This series is based on exynos-drm-next branch of Inki Dae's tree at: >>>>> git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos.git >>>>> >>>>> I have tested this after adding few DT changes for exynos5250-snow, >>>>> exynos5420-peach-pit and exynos5800-peach-pi boards. >>>> >>>> I'm trying to test this with a modified exynos5250-spring DT based off >>>> kgene's for-next branch due to DT, and I run into the following: >> >> Unfortunately the most I got on Spring with attached DT was a blank >> screen with a white horizontal line in the middle. > Then, I think bridge chip is working fine. > You just need to configure the proper mode for FIMD. > You can see backlight also, right? > >> Do I need to specify a specific panel model for Spring? > Yes! Try using "chunghwa,claa101wb01" as compatible string for > panel node. With just your v6 applied plus updated DT patch (attached) [1], I see backlight and a black screen (no white line any more). dmesg attached. >> For testing I re-applied your iommu patches (which btw fail now for 5420 >> due to disp_pd) but didn't know what to do about your panel-lvds >> regulator patch now that it's gone. > Ignore that regulator patch. > > Also, please attach the bootlog if possible after trying this. If I further apply the IOMMU patches [2], I get no backlight nor USB and thus can't obtain a boot log. Regards, Andreas [1] https://github.com/afaerber/linux/commits/spring-next [2] https://github.com/afaerber/linux/commits/spring-bridge.v6 P.S. Note that your Snow DT patch will conflict with my Snow cleanups, shuffling some nodes around: https://patchwork.kernel.org/patch/4649471/ From 64fdedabdfcfa5ac8ec97ab647ccfdd4520430d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Sun, 27 Jul 2014 21:58:06 +0200 Subject: [PATCH] ARM: dts: exynos5250: Add eDP/LVDS bridge to Spring MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ajay Kumar [AF: Redone for v6] Signed-off-by: Andreas Färber --- arch/arm/boot/dts/exynos5250-spring.dts | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos5250-spring.dts b/arch/arm/boot/dts/exynos5250-spring.dts index 6d1d175e910e..8baad7ebe739 100644 --- a/arch/arm/boot/dts/exynos5250-spring.dts +++ b/arch/arm/boot/dts/exynos5250-spring.dts @@ -90,6 +90,10 @@ samsung,invert-vclk; }; + panel: panel { + compatible = "chunghwa,claa101wb01"; + }; + dp-controller@145B0000 { status = "okay"; pinctrl-names = "default"; @@ -101,6 +105,7 @@ samsung,link-rate = <0x0a>; samsung,lane-count = <1>; samsung,hpd-gpio = <&gpc3 0 GPIO_ACTIVE_HIGH>; + bridge = <&ps8622>; }; }; @@ -405,6 +410,17 @@ status = "okay"; samsung,i2c-sda-delay = <100>; samsung,i2c-max-bus-freq = <66000>; + + ps8622: lvds-bridge@08 { + compatible = "parade,ps8622"; + reg = <0x08>; + sleep-gpios = <&gpc3 6 0>; + reset-gpios = <&gpc3 1 0>; + lane-count = <1>; + panel = <&panel>; + pinctrl-names = "default"; + pinctrl-0 = <&ps8622_gpios>; + }; }; &i2c_8 { @@ -461,11 +477,18 @@ &pinctrl_0 { dp_hpd_gpio: dp-hpd-gpio { samsung,pins = "gpc3-0"; - samsung,pin-function = <1>; + samsung,pin-function = <0>; samsung,pin-pud = <3>; samsung,pin-drv = <0>; }; + ps8622_gpios: ps8622-gpios { + samsung,pins = "gpc3-1", "gpc3-6"; + samsung,pin-function = <1>; + samsung,pin-pud = <0>; + samsung,pin-drv = <0>; + }; + s5m8767_dvs: s5m8767-dvs { samsung,pins = "gpd1-0", "gpd1-1", "gpd1-2"; samsung,pin-function = <0>; -- 1.9.3