Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp1304035pxa; Fri, 28 Aug 2020 09:04:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzyu4DHEgbEIDJb+8N5Gzq1WntmFdfdrOs+XpvOUY71OTf0A4rk1S+M2BjXaRAYwGbwH/LD X-Received: by 2002:a17:906:87c8:: with SMTP id zb8mr2514471ejb.552.1598630659840; Fri, 28 Aug 2020 09:04:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598630659; cv=none; d=google.com; s=arc-20160816; b=XpjRDuhZer8PTEVpGrMkS5EOFePq0nBNSOS/rqyVCx02IharDdNKF/ZU5V34WZ22Hl zhO/eCaUZ/L/595iUlg8sDmwJ2dgFNsLm4oo0XlZ3SOLyAXJIqM8cZ0dRUaRoPwQLU55 9uTEUeCMpbCZBWttv/YedAKQ4PWh4JhiXfl+Xt1xiRVYIKHw2Fb2ysxcTAHhYFmVkuyM 4qTNKxaDDXDISXp6rqgj5Fz2MPHc+f5smiYnuRAhjdRZSUZlFMeUjMaTmjnTkMUgGaHz p8DScQ9w5qThLskFYhZSv3iTuZ3eYqeMaRWzxLcy55o6dvtsFCGv61M3DDI14kZDkBdo UThg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=KBuL7NXBea5SmTknXExQrO1gykZeM6lofEf67YE+asM=; b=V+gUE2KC5EFOjsMfPb9U8V3iBhho9o3CU/kvhbtb0SDM2WMstUhVWL+Qk6nrCBXqAD o8op6rJUTEFXteTnDyZo1GmhO0RzS71/MskzTw+aE6tm8mZqg1yRf0v7NrXm1/U/X8fR tzxoRNuIz6pGW43aIcLPAj1vlh/8LNArXd/vWk/RwPIGPsCSmoy6f/ssAVWXsT5Zf08g isOlW42tcUGbaMDkFM/u+XIibR4n9dXhXEtUED5UZ6K3oqh7vyarp0eq6ND68XQT91vy JTupB6DFG0PwBtoLSzz+NDsaDXxtE59G57v2jrf/ltZ++jxjkrYyHX+uHsMisdIzsVMu UmHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="J7Bf/zaG"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d2si828511edz.345.2020.08.28.09.03.56; Fri, 28 Aug 2020 09:04:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="J7Bf/zaG"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726954AbgH1QDT (ORCPT + 99 others); Fri, 28 Aug 2020 12:03:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726524AbgH1QDO (ORCPT ); Fri, 28 Aug 2020 12:03:14 -0400 Received: from mail-pl1-x641.google.com (mail-pl1-x641.google.com [IPv6:2607:f8b0:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 980F8C06121B for ; Fri, 28 Aug 2020 09:03:14 -0700 (PDT) Received: by mail-pl1-x641.google.com with SMTP id v16so710356plo.1 for ; Fri, 28 Aug 2020 09:03:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=KBuL7NXBea5SmTknXExQrO1gykZeM6lofEf67YE+asM=; b=J7Bf/zaGzFYq6t3l7kF0zNYOs8fUKYCIsQFC/xoW3zbpklt/D7o8M7Lj6wwx7b5jwY xpTO3H1pBWcQ8Pd65huZY71y7Y5QFmN1S3G5ErqLHo29pBxga8EMUpO4gX2i+SE264P8 ntp+IDhNvXd7g6Yl6JrMXizmy8fNudINVLkSA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=KBuL7NXBea5SmTknXExQrO1gykZeM6lofEf67YE+asM=; b=q2pDNBq+JZCbnVWdrGpARaWD6wDdW09N2blV/pKHSGCtp+pDvsXzIqqpkWBDLGBXSw aUIwNIagTyuYMSHbNX4ED4+6nomidTFDgNEp51Z+h4gmRW/WgNJqsZ56GyyMluOBhFOE OVKrB70EXou2z/0Muj6+YnC92jQO52S8ScAATmNzzJZcmMCWIxJx8IHw7Ac+TW9zzb1G jr8kYp1+RQI16MbjjZv5xta7h6YMeGaDEJFFIjdVHp2yC91tfbOAg07DnbaLhAwMS9AD BdfMr+kPej9glmJT6zOTi7b6shm2ddKjFCT8f07ZNrEgx3Doziif7t0CdjW+0q02AZ8+ aKhA== X-Gm-Message-State: AOAM530rhq9EurXTEKbgpikppwQqnAKwYe7kivqX2RVHbQKW3FVXycWo /8UwS32F0wbUF22qtLTgdeXklw== X-Received: by 2002:a17:90a:fb4e:: with SMTP id iq14mr1782331pjb.133.1598630593340; Fri, 28 Aug 2020 09:03:13 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:8ce8:955b:ae1b:d6ef]) by smtp.gmail.com with ESMTPSA id a25sm2157212pfk.151.2020.08.28.09.03.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Aug 2020 09:03:12 -0700 (PDT) From: Jagan Teki To: Shawn Guo , Sascha Hauer , Rob Herring Cc: Fabio Estevam , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH] ARM: dts: imx6q-icore-ofcap10: Use 10.1" Ampire panel compatible Date: Fri, 28 Aug 2020 21:33:02 +0530 Message-Id: <20200828160302.329179-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Adding display timings directly on device tree files make it difficult to maintain as a same copy of timings may exist on different files or panel-simple driver. We have a panel-simple driver for this particular usage so supporting on this driver will help to use the same timings on any device tree files if the board mounted on a similar vendor display. Engicam C.TOUCH OF 10.1" LCD board uses Ampire 10.1" TFT LCD and it has supported by panel-simple already, so simply use that binding. Signed-off-by: Jagan Teki --- Note: Panel patch in ML already, https://lkml.org/lkml/2020/8/28/685 arch/arm/boot/dts/imx6q-icore-ofcap10.dts | 28 +++++++++++++---------- 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/arch/arm/boot/dts/imx6q-icore-ofcap10.dts b/arch/arm/boot/dts/imx6q-icore-ofcap10.dts index 81cc346dd149..02aca1e28ce3 100644 --- a/arch/arm/boot/dts/imx6q-icore-ofcap10.dts +++ b/arch/arm/boot/dts/imx6q-icore-ofcap10.dts @@ -12,6 +12,17 @@ / { model = "Engicam i.CoreM6 Quad/Dual OpenFrame Capacitive touch 10.1 Kit"; compatible = "engicam,imx6-icore", "fsl,imx6q"; + + panel { + compatible = "ampire,am-1280800n3tzqw-t00h"; + backlight = <&backlight_lvds>; + + port { + panel_in: endpoint { + remote-endpoint = <&lvds0_out>; + }; + }; + }; }; &ldb { @@ -22,18 +33,11 @@ lvds-channel@0 { fsl,data-width = <24>; status = "okay"; - display-timings { - native-mode = <&timing0>; - timing0: timing0 { - clock-frequency = <60000000>; - hactive = <1280>; - vactive = <800>; - hback-porch = <40>; - hfront-porch = <40>; - vback-porch = <10>; - vfront-porch = <3>; - hsync-len = <80>; - vsync-len = <10>; + port@4 { + reg = <4>; + + lvds0_out: endpoint { + remote-endpoint = <&panel_in>; }; }; }; -- 2.25.1