From patchwork Thu Feb 22 17:07:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jyri Sarha X-Patchwork-Id: 129301 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp818341lja; Thu, 22 Feb 2018 09:08:41 -0800 (PST) X-Google-Smtp-Source: AH8x227sPS7EODYWOjCBVMUJdNs07AcUFTj5RzgCAHw+esUdl18UgVaj2Ot3IWeDa44zFk9mC4x6 X-Received: by 2002:a17:902:a610:: with SMTP id u16-v6mr6891343plq.293.1519319321121; Thu, 22 Feb 2018 09:08:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519319321; cv=none; d=google.com; s=arc-20160816; b=u95yhBEMDCWZCuUT6d5UX3dN8jNkKDEC7XDoda4GuSPXI4g4/JFmFV6uPPPiWwaxbt WTsLbXGRWH7KmLwHgp46snOQu7ZnZLkeKfpkWiz1O0DerHS26G3FxnpMa7QiQMOf6CcC 0Z81Gum17+vTYH9o1MxP9UhiQHEtEKKKMcjio/qWMfZyhcbA3USkxLMneMA1X/5r1hXI PVNCNR71w+QEuULMeCZqEKwth88Kx5zJSkCqvOFjx5uJw0rNfa+W3AqI8C8uTSPd6Mge 5KT0GsoODUVXzoBxf0TfVR3ApUh4SWjAErVToTGp5xWB2QrSSvAWS1d5nrgbXq2DJSJH 0o9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to :arc-authentication-results; bh=Mp+jDS3GHGpFcP6utluvaYsDGSmrbX+qQ/8ZDxsc5I4=; b=0b6iKuKTx8NlW9hJdH8ivV6cRilwNV7ubT+l2Z3NbymWaHjJmONyWJRjx0keATjimx 6ax/r7c5mGXNDsqsCHWipyYzMi0u9NhsXYI7E7q9igZaq4AOsXv1b4GW2zo/Z/3SNghQ 7QMyZ8R+yN9Yj26VjeiUGlyyf2IILqmoUWIkenW9iOSjiVVNHQKV3mVPnliAkZGfaUKm WjMM7D7GBEJQzRT+li8vDLczDMhvz5zKPMDl9Lluhzjv8Ly5JbHbuiq+YtkXXWilxq53 5H1doCiuv3kst0VV2rMQyS7Dc0M11xyXLDSGPx2EyIR+R8uXJyO7kgG/bGJ6vRYuqgCZ y71Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=E5/dRMU5; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id e68si332797pfb.119.2018.02.22.09.08.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 22 Feb 2018 09:08:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=E5/dRMU5; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 00E066EED1; Thu, 22 Feb 2018 17:08:09 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from lelnx194.ext.ti.com (lelnx194.ext.ti.com [198.47.27.80]) by gabe.freedesktop.org (Postfix) with ESMTPS id 130A96EECE for ; Thu, 22 Feb 2018 17:08:04 +0000 (UTC) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id w1MH80NH000967; Thu, 22 Feb 2018 11:08:00 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1519319280; bh=q3zSamTwjrEtEnXdFqyyiVE4Ku4rnztKJWe591pXETw=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=E5/dRMU5js33U4QgymzDPoS/h/2u7IZlClLLu9PAzzkZGyoB2GcnxzuEv0YMgl42f 7a1T1I4bLOxsPEuh5lx37MfpJp+YJl63TM0NJ/jT76aXjyHy0luN36c0Tag+W/c7aq 0+9pAwxqZ22/98W0RsPuY36wJGo+RLxhXVtobCP4= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w1MH80LE027916; Thu, 22 Feb 2018 11:08:00 -0600 Received: from DLEE114.ent.ti.com (157.170.170.25) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Thu, 22 Feb 2018 11:07:59 -0600 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Thu, 22 Feb 2018 11:07:59 -0600 Received: from jadmar.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w1MH7mQV014515; Thu, 22 Feb 2018 11:07:57 -0600 From: Jyri Sarha To: Subject: [PATCH 4/4] ARM: dts: am335x-evm: Use drm simple-panel instead of tilcdc-panel Date: Thu, 22 Feb 2018 19:07:45 +0200 Message-ID: <2da605558ef2e8a1ed0bc48662eefe9d79ef28b6.1519318304.git.jsarha@ti.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: airlied@linux.ie, Jyri Sarha , tony@atomide.com, tomi.valkeinen@ti.com, thierry.reding@gmail.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Move to use the new drm panel support in tilcdc together with added "tvc,s9700rtwv43tr-01b"-panel support in drm panel-simple. Signed-off-by: Jyri Sarha --- arch/arm/boot/dts/am335x-evm.dts | 44 ++++++++++++++++------------------------ 1 file changed, 18 insertions(+), 26 deletions(-) diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts index fee6b3e..5a442b5 100644 --- a/arch/arm/boot/dts/am335x-evm.dts +++ b/arch/arm/boot/dts/am335x-evm.dts @@ -98,7 +98,7 @@ }; }; - backlight { + backlight: backlight { compatible = "pwm-backlight"; pwms = <&ecap0 0 50000 0>; brightness-levels = <0 51 53 56 62 75 101 152 255>; @@ -106,35 +106,19 @@ }; panel { - compatible = "ti,tilcdc,panel"; + compatible = "tvc,s9700rtwv43tr-01b"; + status = "okay"; + pinctrl-names = "default"; pinctrl-0 = <&lcd_pins_s0>; - panel-info { - ac-bias = <255>; - ac-bias-intrpt = <0>; - dma-burst-sz = <16>; - bpp = <32>; - fdd = <0x80>; - sync-edge = <0>; - sync-ctrl = <1>; - raster-order = <0>; - fifo-th = <0>; - }; - display-timings { - 800x480p62 { - clock-frequency = <30000000>; - hactive = <800>; - vactive = <480>; - hfront-porch = <39>; - hback-porch = <39>; - hsync-len = <47>; - vback-porch = <29>; - vfront-porch = <13>; - vsync-len = <2>; - hsync-active = <1>; - vsync-active = <1>; + backlight = <&backlight>; + ports { + port { + panel_0: endpoint@0 { + remote-endpoint = <&lcdc_0>; + }; }; }; }; @@ -503,6 +487,14 @@ status = "okay"; blue-and-red-wiring = "crossed"; + + ports { + port { + lcdc_0: endpoint@0 { + remote-endpoint = <&panel_0>; + }; + }; + }; }; &elm {