From patchwork Fri Aug 28 16:03:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11743303 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E4C0C1751 for ; Fri, 28 Aug 2020 16:03:31 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BD8DC2075B for ; Fri, 28 Aug 2020 16:03:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="3hSHpJ9Y"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="J7Bf/zaG" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BD8DC2075B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=BMPw/gKzD6hksHqr4ZeRozBm3zrfnsiULPCbRo5V6kQ=; b=3hSHpJ9YKBkxXz/C/VpHo5RMiC 1jabGz2ghtYpl38w5+7O5ZsQ86fb5lT/ax4RsDRpT0ysk3IyqzkppQI9IEanPjAN+LgnZ3qvW3iwe S18khowuwfGpEGi+uUFq4SdpdB3vH4TQ4S39HcdwUy3f4erjo7pUTa04TfXsuluGNshTGBeEs49CX AdrEDjUzWrzzuA1hKkFbiQ2cA7xg8KbWOHOO3WD4W9pmu0vmuHsRe4U/ukczWm6Dr7pAYFZPAHkOu i32PXTj4MOwNDy/5Du5R6n9oYdVkkzmiBkyRwCpcnMqMdODxzHPomDpfXaM/oDz7zvd+6xVM8Pfxn drH+3eXw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kBgqW-0000iL-RY; Fri, 28 Aug 2020 16:03:20 +0000 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kBgqU-0000gK-0v for linux-arm-kernel@lists.infradead.org; Fri, 28 Aug 2020 16:03:19 +0000 Received: by mail-pl1-x644.google.com with SMTP id h2so712089plr.0 for ; Fri, 28 Aug 2020 09:03:15 -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=KaoDqehfrlXLeKpWpgCQ8zh/NT2Dzk70SHmfSi/Rc4q3PbsDk76pTxZu+AdzQj+Gyh I0/0YdPpnObAsQ9t+ogTWsJRprNRCMDdRD+3rbK9EE42N8JLxWPHgFBvv5/rYmi5Sv9l UEqra3GE9Pm1iCrq51w9441rWkcqvALkCw2GbShvVSRZetgvdE5w4DwzalN9CDiN0qVK 1vt8WPHbKqBstfINsDUlCITQ7NmP4o8ah9BGxr6HF8uZaJ1DvJJbxvAep2CmtdcgUHAH y9fOFSunPTOvVx86sCqq2dbXqEQc9SxG9FMNinwGlDlo4+UDNM2HIGiVgMK0WHufcSDP OAbg== X-Gm-Message-State: AOAM530vHIa3IzHDruYze1+C70J0zfYhusrdX6qK+NGWbfQgoudxl1eK Cs1+74L5BnBXffK5RM3tkyMXAw== X-Google-Smtp-Source: ABdhPJxROrQ2ZtBP4ViEMwf9AJHkiAkMddzBePTwjlFoqmlXIbqH2WofO8/rNQX4eqrucnXq+FcyLg== 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200828_120318_129976_C7AF2778 X-CRM114-Status: GOOD ( 13.26 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:644 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-amarula@amarulasolutions.com, linux-kernel@vger.kernel.org, Jagan Teki , Fabio Estevam , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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>; }; }; };