From patchwork Mon Dec 2 18:57:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jyri Sarha X-Patchwork-Id: 180641 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp388523ile; Mon, 2 Dec 2019 10:57:45 -0800 (PST) X-Google-Smtp-Source: APXvYqwPwZIFyFXxzjLudzfrnGjfm20bkUviVWN7ZsuxK20hW+OmSQRMOCGq4QCOfjSe9RvruPnW X-Received: by 2002:a05:6402:3197:: with SMTP id di23mr368878edb.125.1575313065241; Mon, 02 Dec 2019 10:57:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575313065; cv=none; d=google.com; s=arc-20160816; b=BlFh3ol3yhnj5HSW9W3IpM1WHQJ2WGbMMZvMpTlfbPqTomaMTHC0RrzrmkiVzSmXJs X12ImgOlWBDoBgWaJfeu8KSGIdXb9zxKOK00OGhG5KOGaAnJHJbmNOe3fxq5PWr20oyj y/oAQLkJmyzFeeqjP+QfjypUr+eaKFgi3lQFHebyyTczwryTjdpPwLSqhy5evk2xe5vF A4iI9euRl7NNGWM3K1NwmJGxlStozegcKTiVBV72qx5V18YZwqbOV0Hh3wDLayXlklp/ kTAR7TrzC94DDXBjL0NiPdB/YeZMbg+bfuKsDxetr+1EJOXcB6CFIvZRNZlZBAPdmlez 8YQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=DWBbhnE6qXaM66hNWm292SwxJiicsKfBcrA4AX4NS6A=; b=BIaRkVOgPte6CeoGhvY8p2PQF5eyT5Qb5VF/rrQVF7Zl2jACLO02KvM1YEHtX0vGQm 3pe7RZvuD1Pw0vBs+H6THXIcdBaTWACzGAwFOLAJm9cvTDgmP04c4jlEmcBEe2O/Strc B034F14RwWtCifWkJD0sx/64BniLpMqV3RbNbT9m/jHpR/4pJ0GN9ymuWD/NO9kCCifn YlBAqj0M/rkMZzTLh1fBQxTQ3qtOpMflG9+wSRNO8gGh6TJ+TP+GvF4hES5cDXybxilD nIJdpz+2FbPrX6jAn+G7yBKdjI0qZ3b7gDLXZh6QtroBtZiHV48nAlK0MFZTZnSrDLVp Po1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=eTB7v2lf; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g5si269196ejx.103.2019.12.02.10.57.44; Mon, 02 Dec 2019 10:57:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=eTB7v2lf; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727580AbfLBS5o (ORCPT + 8 others); Mon, 2 Dec 2019 13:57:44 -0500 Received: from lelv0142.ext.ti.com ([198.47.23.249]:45986 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727556AbfLBS5o (ORCPT ); Mon, 2 Dec 2019 13:57:44 -0500 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id xB2IvZEH037270; Mon, 2 Dec 2019 12:57:35 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1575313055; bh=DWBbhnE6qXaM66hNWm292SwxJiicsKfBcrA4AX4NS6A=; h=From:To:CC:Subject:Date; b=eTB7v2lfyPJq2tA3EeQNWlMzZuvcPnGltujoflXNiLqLfDC+twyqJxeCYM3QCV3Jr O9vPOq7gq7sm/0hUn+I1c5R4jRtNOOXNdgtsGGnrWzYZZ8+DhKBTj0VlBp9fDPPISw 20bw3sdBfQyqEUOU0HzqfkJvAq4Oa237RyTbm2ZU= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id xB2IvZae129273; Mon, 2 Dec 2019 12:57:35 -0600 Received: from DFLE105.ent.ti.com (10.64.6.26) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Mon, 2 Dec 2019 12:57:32 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Mon, 2 Dec 2019 12:57:32 -0600 Received: from jadmar.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id xB2IvUI3057431; Mon, 2 Dec 2019 12:57:30 -0600 From: Jyri Sarha To: , , , , CC: , , , Subject: [PATCH] ARM: dts: am335x-evm: Use drm simple-panel instead of tilcdc-panel Date: Mon, 2 Dec 2019 20:57:29 +0200 Message-ID: <20191202185729.12921-1-jsarha@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Move to use the new drm panel support in tilcdc together with added "tfc,s9700rtwv43tr-01b"-panel support in drm panel-simple. Signed-off-by: Jyri Sarha Reviewed-by: Tomi Valkeinen --- "tfc,s9700rtwv43tr-01b" in panel-simple has been in for some time now so it is about time to get this in too. arch/arm/boot/dts/am335x-evm.dts | 44 +++++++++++++------------------- 1 file changed, 18 insertions(+), 26 deletions(-) -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki Reviewed-by: Laurent Pinchart diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts index a00145705c9b..0e286a1c9cc5 100644 --- a/arch/arm/boot/dts/am335x-evm.dts +++ b/arch/arm/boot/dts/am335x-evm.dts @@ -113,7 +113,7 @@ }; }; - backlight { + backlight: backlight { compatible = "pwm-backlight"; pwms = <&ecap0 0 50000 0>; brightness-levels = <0 51 53 56 62 75 101 152 255>; @@ -121,35 +121,19 @@ }; panel { - compatible = "ti,tilcdc,panel"; + compatible = "tfc,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>; + }; }; }; }; @@ -525,6 +509,14 @@ status = "okay"; blue-and-red-wiring = "crossed"; + + ports { + port { + lcdc_0: endpoint@0 { + remote-endpoint = <&panel_0>; + }; + }; + }; }; &elm {