From patchwork Tue May 18 07:15:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oleksij Rempel X-Patchwork-Id: 12263909 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9BCA3C433B4 for ; Tue, 18 May 2021 07:18:42 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 62E886117A for ; Tue, 18 May 2021 07:18:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 62E886117A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=8fH+8+OHZqmIa/u/NeNNx/QegIq0B+IGNNf2/6b9nno=; b=M4B4dOCgPbFzGEDFeZNrhmfit yKmMC94HjC49inKze73S3icv0yMLUGRqawjqITqG5Zs9xVvutOPUgB4xmfWQlFgHoxblpxbOaaL+/ VjqlNqIm32hzOB6PMNscnUSC8+ATJmWdml9xSXYQNkyJQf+Hw4r6kBhob796xH9+H2kd67/dOMOtn 1+7hgmUTk8FCCUBV2vNJ5XGcCwniwKiLSjf0IQB1L5Feczt1NFTVJEapTibHNkIF0NBjZDfBDkf+F jn0y1iOj6d9ZvugSAtVUMu0qSH1LxpS+VGgUVu0pJB6/MSCzNNIh77Ms4KpMETrm7lvVsSkOlz8Ic RVfpI7gvw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lityC-00HHHA-Qg; Tue, 18 May 2021 07:16:49 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1litxq-00HHCd-FN for linux-arm-kernel@desiato.infradead.org; Tue, 18 May 2021 07:16:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=bGaUdev5EOKVdmCSxpS4MbDGy76IjNA7KDtSC0eZZgQ=; b=xAAqjh7MSvkwDVNXvH9SB9fzHz H5k2eSjZeQLLRovuy3s4k67VRpe6zxf3Nzum724W+2QWrTkGSpdX/gA3cBuMM1wFgwUbtrY/zytuo +8iDUDlJ9TdglBImG5cLG6TXMPSDBNUlHP0+5R3HsCbwrSI1+FLAOPOD/eBunX/NtOQTG92oMWVOZ T4JlqC9RbhQMMIEygsebW6jk3qrzfNCAuvqjdhDtWbj+oj2UAiq8RZsgghVfFHS4Pq/0yhjwrpA7Y 3HXM8dO6JIZAVJyYv3moGB0Wt3SqUMPw36mmxyKs7UbrRQt8RnNFHd8TKlCCCJJoHef9HnFwhgfSD wPJmyuIA==; Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1litxj-00EOkX-QR for linux-arm-kernel@lists.infradead.org; Tue, 18 May 2021 07:16:25 +0000 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1litxP-0005NE-9I; Tue, 18 May 2021 09:15:59 +0200 Received: from ore by dude.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1litxN-0002ZQ-2Q; Tue, 18 May 2021 09:15:57 +0200 From: Oleksij Rempel To: Daniel Vetter , David Airlie , Rob Herring , Sascha Hauer , Shawn Guo , Thierry Reding Cc: Oleksij Rempel , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, Fabio Estevam , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, NXP Linux Team , Pengutronix Kernel Team , Sam Ravnborg , David Jander , Robin van der Gracht Subject: [PATCH v1 1/3] dt-bindings: display: simple: add Innolux G070Y2-T02 panel Date: Tue, 18 May 2021 09:15:53 +0200 Message-Id: <20210518071555.9785-2-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210518071555.9785-1-o.rempel@pengutronix.de> References: <20210518071555.9785-1-o.rempel@pengutronix.de> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::7 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210518_001619_885089_827B92C0 X-CRM114-Status: GOOD ( 10.91 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add binding for the Innolux G070Y2-T02 panel. It is 7" WVGA (800x480) TFT LCD panel with TTL interface and a backlight unit. Signed-off-by: Oleksij Rempel Acked-by: Rob Herring --- .../devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml index b3797ba2698b..c06633264e5c 100644 --- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml +++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml @@ -154,6 +154,8 @@ properties: - innolux,at070tn92 # Innolux G070Y2-L01 7" WVGA (800x480) TFT LCD panel - innolux,g070y2-l01 + # Innolux G070Y2-T02 7" WVGA (800x480) TFT LCD TTL panel + - innolux,g070y2-t02 # Innolux Corporation 10.1" G101ICE-L01 WXGA (1280x800) LVDS panel - innolux,g101ice-l01 # Innolux Corporation 12.1" WXGA (1280x800) TFT LCD panel From patchwork Tue May 18 07:15:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oleksij Rempel X-Patchwork-Id: 12263905 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5444BC433ED for ; Tue, 18 May 2021 07:18:18 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 14F6561285 for ; Tue, 18 May 2021 07:18:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 14F6561285 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=WfFuAnSQkh/YWL2ecNLQ7p7PbiFyEionwDv5AH4cuWU=; b=TRJWu6926RSM/AvjGlw0Miy1p sUZHB4txwDjLWdHVprfazlH+zC/x6fe+OG4SUGETR/2vX1CONd1bn87sEFOHME9v/jmAmMyU/XLIj yIoYKWoS3ZfYj3RgVvfJbOhckrYscvomZVhNfBiAIyHt/gLqhBlxvxMTSNStgE9EtH5cKN2uOyiz6 KaEZzVYTjy9URzj64Ucj90B6n3/SozXOmbKr35qo0chJuf30Sy3bANBdlaz2hXFUQbyWi0wAzdqt1 lgMHyn/awtTav38WD8IB6ZKu23PhgISkbryyB8DGwCymd7SUyA+cpRFGod3X+FNpmRE8ZczS95Ho9 1bggUyH/A==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1litxg-00HHAR-BF; Tue, 18 May 2021 07:16:16 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1litxe-00HHA2-9h for linux-arm-kernel@desiato.infradead.org; Tue, 18 May 2021 07:16:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=Xd9kvbo2/M9Tb+d1TE5vWG57THTH1lreIxnLvF233gs=; b=mgjWgZR7YV6cfK8d+Pfq1jB9wF zVWOHVmp+S0chAo4ZYlCoDw6cwmsVG6wI2AFRMhJMoAEqBorqcmH/wn9ju1Q81oEbFXIWxAx8jSwd h8vKQHHCUKXQavYVlpQidcxUZfIsTJp3zdIrSO/jxi0lorDZLSU1cnXBe4LWs0YBA8tDuIEJlhXQb Jea0YUvj4OW+Vxwan0RDRlSpkHXPLSCPSmE4ysSkRb+pvakRIGH1Rid2wd2TcbNX1t1YKrdGP2bjR opqgYd8P2gLXEY4rfe7guwGYlEuCYHjQIZERgw8wjWcNS+z6ARNpToBkejzRqQL4bJHbMWJzDRryi Z2ywKkCg==; Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1litxY-00EOhX-IN for linux-arm-kernel@lists.infradead.org; Tue, 18 May 2021 07:16:12 +0000 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1litxP-0005NG-9I; Tue, 18 May 2021 09:15:59 +0200 Received: from ore by dude.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1litxN-0002Za-3U; Tue, 18 May 2021 09:15:57 +0200 From: Oleksij Rempel To: Daniel Vetter , David Airlie , Rob Herring , Sascha Hauer , Shawn Guo , Thierry Reding Cc: Oleksij Rempel , Robin van der Gracht , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, Fabio Estevam , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, NXP Linux Team , Pengutronix Kernel Team , Sam Ravnborg , David Jander Subject: [PATCH v1 2/3] drm: panel-simple: Add support for the Innolux G070Y2-T02 panel Date: Tue, 18 May 2021 09:15:54 +0200 Message-Id: <20210518071555.9785-3-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210518071555.9785-1-o.rempel@pengutronix.de> References: <20210518071555.9785-1-o.rempel@pengutronix.de> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::7 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210518_001608_624309_959EB902 X-CRM114-Status: GOOD ( 12.55 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add compatible and timings for the Innolux G070Y2-T02 panel. It is 7" WVGA (800x480) TFT LCD panel with TTL interface and a backlight unit. Co-Developed-by: Robin van der Gracht Signed-off-by: Robin van der Gracht Signed-off-by: Oleksij Rempel --- drivers/gpu/drm/panel/panel-simple.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index be312b5c04dd..f79d97115f8f 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -2323,6 +2323,19 @@ static const struct panel_desc innolux_g070y2_l01 = { .connector_type = DRM_MODE_CONNECTOR_LVDS, }; +static const struct panel_desc innolux_g070y2_t02 = { + .modes = &innolux_at070tn92_mode, + .num_modes = 1, + .bpc = 8, + .size = { + .width = 152, + .height = 92, + }, + .bus_format = MEDIA_BUS_FMT_RGB888_1X24, + .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE, + .connector_type = DRM_MODE_CONNECTOR_DPI, +}; + static const struct display_timing innolux_g101ice_l01_timing = { .pixelclock = { 60400000, 71100000, 74700000 }, .hactive = { 1280, 1280, 1280 }, @@ -4344,6 +4357,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "innolux,g070y2-l01", .data = &innolux_g070y2_l01, + }, { + .compatible = "innolux,g070y2-t02", + .data = &innolux_g070y2_t02, }, { .compatible = "innolux,g101ice-l01", .data = &innolux_g101ice_l01 From patchwork Tue May 18 07:15:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oleksij Rempel X-Patchwork-Id: 12263911 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1923CC433ED for ; Tue, 18 May 2021 07:18:50 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 D6D3561285 for ; Tue, 18 May 2021 07:18:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D6D3561285 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=AUTSl5XkeoUX8VEwcp5cAaWBYOU9NYjMlQuMcSHwiuE=; b=ETWbh9s6L/eCNeLZDbDA7UZWG zD/jF4SQkBwUXoNyimQy9TzG5HS6Da1i8EFcF3diiTLRfvKVKjx8f3ZElRtbBqexc+5aTl7IQCfPv /Hl41qfAVoa//+S/FDyXmkiWpoG1RQIbmTSMp2LKEYBxvc6wurRj3LKXpPHilNtKoLDru/+z7G/n+ eHHSbKl5fgbwIgBNpXEkSKeMNEMsz2p0jKNWoetL05XVHZ1vVR1Bh8QKD83fmk/kiU20LM+p3HOjD J4G1cr49B+wcb4HdPRcfGE+HuLvEIRmVVbrYIiVR4cQ433dhP0ORIWQjoXwLEo5DS8B6QtByUy99+ 6Rvy2Sgsg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lityQ-00HHLw-Q4; Tue, 18 May 2021 07:17:02 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1litxu-00HHDS-8T for linux-arm-kernel@desiato.infradead.org; Tue, 18 May 2021 07:16:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=X0TvNoms2gEH5syw5eLWIHJdHz4pI1rZq16jL9ctwdo=; b=07VQgFW0hcyo88L7IC8wNHRpIY qr6FHayxAGPT/MoGlCYWMbuaP62sVKiKTCrFPDl5XK8Oh02rJBPogm5Pdf1E8N+/SEM48jnHP1zIY KUsx9viqhwnnRE1S4Muabc/oRIrmHlf3HZr2CQ5JNlm75J7UxTFmff2zYmc3I9bE52DqSQ9lkbKEA GDVhVVJG1L2OkawYM7RF9ShowKZJIHeKeypmLGPrYZmECKLlDpLWwR5CQcyFAEGT2C+QoV+Pp2f+h F6B0soPotyiXno+Cmsh3kJLYqO5mhaYG23vIv2E+fUDQaf+duZgFQpIC8LwppsqksgrrSYt/MjLvW f2EZCnWA==; Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1litxr-00EOmF-O9 for linux-arm-kernel@lists.infradead.org; Tue, 18 May 2021 07:16:29 +0000 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1litxP-0005NH-9H; Tue, 18 May 2021 09:15:59 +0200 Received: from ore by dude.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1litxN-0002Zj-4U; Tue, 18 May 2021 09:15:57 +0200 From: Oleksij Rempel To: Daniel Vetter , David Airlie , Rob Herring , Sascha Hauer , Shawn Guo , Thierry Reding Cc: Oleksij Rempel , Robin van der Gracht , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, Fabio Estevam , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, NXP Linux Team , Pengutronix Kernel Team , Sam Ravnborg , David Jander Subject: [PATCH v1 3/3] ARM: dts: imx6dl-prtvt7: Add display and panel nodes Date: Tue, 18 May 2021 09:15:55 +0200 Message-Id: <20210518071555.9785-4-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210518071555.9785-1-o.rempel@pengutronix.de> References: <20210518071555.9785-1-o.rempel@pengutronix.de> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::7 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210518_001627_803930_119F338B X-CRM114-Status: GOOD ( 12.40 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add Innolux G070Y2-T02 panel to the Protonic VT7 board. Signed-off-by: Robin van der Gracht Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/imx6dl-prtvt7.dts | 47 +++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/arch/arm/boot/dts/imx6dl-prtvt7.dts b/arch/arm/boot/dts/imx6dl-prtvt7.dts index ae6da241f13e..156a5c5c0dc1 100644 --- a/arch/arm/boot/dts/imx6dl-prtvt7.dts +++ b/arch/arm/boot/dts/imx6dl-prtvt7.dts @@ -31,6 +31,30 @@ backlight_lcd: backlight-lcd { enable-gpios = <&gpio4 28 GPIO_ACTIVE_HIGH>; }; + display { + compatible = "fsl,imx-parallel-display"; + pinctrl-0 = <&pinctrl_ipu1_disp>; + pinctrl-names = "default"; + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + display_in: endpoint { + remote-endpoint = <&ipu1_di0_disp0>; + }; + }; + + port@1 { + reg = <1>; + + display_out: endpoint { + remote-endpoint = <&panel_in>; + }; + }; + }; + keys { compatible = "gpio-keys"; autorepeat; @@ -138,6 +162,18 @@ led-debug0 { }; }; + panel { + compatible = "innolux,g070y2-t02"; + backlight = <&backlight_lcd>; + power-supply = <®_3v3>; + + port { + panel_in: endpoint { + remote-endpoint = <&display_out>; + }; + }; + }; + reg_bl_12v0: regulator-bl-12v0 { compatible = "regulator-fixed"; pinctrl-names = "default"; @@ -156,6 +192,13 @@ reg_1v8: regulator-1v8 { regulator-max-microvolt = <1800000>; }; + reg_3v3: regulator-3v3 { + compatible = "regulator-fixed"; + regulator-name = "3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + sound { compatible = "simple-audio-card"; simple-audio-card,name = "prti6q-sgtl5000"; @@ -260,6 +303,10 @@ &ipu1 { status = "okay"; }; +&ipu1_di0_disp0 { + remote-endpoint = <&display_in>; +}; + &pwm1 { #pwm-cells = <2>; pinctrl-names = "default";