From patchwork Mon Apr 20 21:57:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 185597 Delivered-To: patch@linaro.org Received: by 2002:a92:3d9a:0:0:0:0:0 with SMTP id k26csp4896983ilf; Mon, 20 Apr 2020 23:49:43 -0700 (PDT) X-Google-Smtp-Source: APiQypKhy14BtaQsfIJFnkOHv08x0eUvTZzjN3MdRYCZVs2xYYTPzLuVrTEI5Bs+bOV4CMmife2f X-Received: by 2002:a63:1d4:: with SMTP id 203mr19304381pgb.74.1587451783561; Mon, 20 Apr 2020 23:49:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587451783; cv=none; d=google.com; s=arc-20160816; b=hkAKLDPhlcq8ycdqfpBtCSG1T0PR4qw9+R7RpnoL1ZmuzEdgMurCCghJrjbJ3ICsJd GJjs9NKfVAuTr7rmNLGfkTgRyg9oWPvTm9k77fERppeH8DBdS33fpLDbGm7IWqnevbZo ulpLi5dNlX5cUtfYwCv467SLTbRuYwHbXv9q5xR4mKyTCEgJkmvmy8DqviZPONjgf2hQ IWSDCmp5IxRvbGPm+rQGQ+eSob5CcAaF/XK9TyaqLFdZxHmIhZxcw0y8JE+c/WFfGjoE RGckhr2KVyAr7WQWG9xkUCfhf/3Tq4MJ/XW1PyQOU+8cgDAULBrWyFArJqUxFrj7zu5d /3vA== 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:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=t/YYzJ8DjmZ6MR0lpCxHmbCwm1fxVQ581sAAkcY/II4=; b=flcX337pV7x5YwgUhrvPVIssllUc9Em11FvX7wLqt/B216XUPGiAPycPs+jWMGLJu3 tupXcSA+G6ZMdIe1RM8xBI52Id1e24z9QHr8UOELYJ3kgRj9455eP/kmi9HXOtSIpMna Ec6avLkSsiQh3bc9VGqPs7E5hSBpkqFOPXi4UyaFyhwc+Jqa7J5il5LBMas+kdM1Q5Ww +QblAri2pk3C+ZmypDbvLR+JwB6/92C5UWw8jRTtSGiDw8zC+29S3d6JcnK/+t//iaOj 5HucA436XWKOASqCYwOkNE1jfM9MlQQw/eCmow84qdkrny2vB8hRmI8b3H638D5FCh7B 9xlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Z3v7c90P; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id r19si1095815pgh.220.2020.04.20.23.49.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Apr 2020 23:49:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Z3v7c90P; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 250A36E8C7; Tue, 21 Apr 2020 06:48:47 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by gabe.freedesktop.org (Postfix) with ESMTPS id 947E76E85F for ; Mon, 20 Apr 2020 21:57:04 +0000 (UTC) Received: by mail-pj1-x102c.google.com with SMTP id e6so454241pjt.4 for ; Mon, 20 Apr 2020 14:57:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=R4+EbnUpWVTDbrBufnwy+Hvvb+k6edJjvvRt1FVHk0c=; b=Z3v7c90P0TKJBPhDH5LmSWpfdwv+AJV0m3lmcFBmurUJLZyIg4YN2waqagTtSfyQei FdYSA2cHL85bVumKXSqa1ySMIEHcOkKgAQ03+LvySYJQSVH63dvsKoRlFDbUjGkvb94T LuFzsGiziHdoE9d5GVNwJoEiyoLDMxVoGHTxVrNY1t6Jx4Ub2B0Ra1013+JZ7hMfBsI4 qOIcERrgMuTldTVeTT/RU78wL/+GCREkENJkn7IDL852x0LDa0oNkLTHyTVLdCudZ7Fb 1ERT6rk/ChA5sM4OQIuYso/ke3RplSXodXhS16sgNb/NGTc7Vahu1+BDJ8FDLSqk6Af6 lH7g== 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=R4+EbnUpWVTDbrBufnwy+Hvvb+k6edJjvvRt1FVHk0c=; b=a/A5QNC50MwXKzsejr+jgw/jzGr0uql0BJL21qPitrnm3GXTRyHuTHzwhqwl6NjwtO q37Octw3gY353ceRdRJwBYPt4OcaKbsZkL5ZPyCVXEoorUajAlsAfic1DhWB5zVt+GPG xZm4vKDa0Tofez1X0n43a4R/kTxZ5WAY5eHhY6H0Cuz4vFnV+zek7kXg38hFE0+6wdnB rKcMydVCiLYnkPWw6P/sUGuPxClbFLBWMUZGQmMxzAI+PQ/zeTcvF30PDfPtQ+mVz+Vx R9nWlqW1rDbuzePoRgLCejVeIx029MzWpoD4PWVbB3rbPIfN8VyAZem3RNbG5e+zpVkb d8WA== X-Gm-Message-State: AGi0PuYNsapOTvDTJO1ke6ipC3P8mB8ZoZ+rcqFEGQZtfn9FemYYKlyX jQ5aubUXkudJs0jJ2saSj8eMmQ== X-Received: by 2002:a17:90a:ea07:: with SMTP id w7mr1771579pjy.172.1587419824119; Mon, 20 Apr 2020 14:57:04 -0700 (PDT) Received: from builder.lan (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id f30sm365863pje.29.2020.04.20.14.57.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Apr 2020 14:57:03 -0700 (PDT) From: Bjorn Andersson To: Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring Subject: [PATCH v2 1/2] dt-bindings: display: simple: Add IVO M133NWF4 R0 Date: Mon, 20 Apr 2020 14:57:27 -0700 Message-Id: <20200420215728.1927434-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.26.0 MIME-Version: 1.0 X-Mailman-Approved-At: Tue, 21 Apr 2020 06:48:39 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Define the vendor prefix for InfoVision Optoelectronics and add their M133NWF4 R0 13.3" FHD (1920x1080) TFT LCD panel to the compatible list of panel-simple. Signed-off-by: Bjorn Andersson --- Changes since v1: - Added this patch .../devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 2 files changed, 4 insertions(+) -- 2.26.0 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml index daf86ba18f47..31dc88f5b2a9 100644 --- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml +++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml @@ -129,6 +129,8 @@ properties: - hannstar,hsd100pxn1 # Hitachi Ltd. Corporation 9" WVGA (800x480) TFT LCD panel - hit,tx23d38vm0caa + # InfoVision Optoelectronics M133NWF4 R0 13.3" FHD (1920x1080) TFT LCD panel + - ivo,m133nwf4-r0 # Innolux AT043TN24 4.3" WQVGA TFT LCD panel - innolux,at043tn24 # Innolux AT070TN92 7.0" WQVGA TFT LCD panel diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index d3891386d671..31012f91fb9a 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -463,6 +463,8 @@ patternProperties: description: Infineon Technologies "^inforce,.*": description: Inforce Computing + "^ivo,.*": + description: InfoVision Optoelectronics Kunshan Co. Ltd. "^ingenic,.*": description: Ingenic Semiconductor "^innolux,.*": From patchwork Mon Apr 20 21:57:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 185596 Delivered-To: patch@linaro.org Received: by 2002:a92:3d9a:0:0:0:0:0 with SMTP id k26csp4896852ilf; Mon, 20 Apr 2020 23:49:35 -0700 (PDT) X-Google-Smtp-Source: APiQypK6Ybh6jvgE1Yz94f19gF76D0OsmCIEuxpao1y4d63m3+98Zu4UHo0EBNZxhACl7p6qNPrQ X-Received: by 2002:a17:902:7896:: with SMTP id q22mr20149750pll.63.1587451775024; Mon, 20 Apr 2020 23:49:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587451775; cv=none; d=google.com; s=arc-20160816; b=u65or8bxGedo+esm8HeX4xy5enfSaIua5Y7XtRfJufGxdO2qtexzs3uS+0miHagFkt Pb2BkFxgQPBFbMN4kSWiwfxwB11FiENPPrKzczya3jzA4ifDGHeadDUvdLf7VyNgLhAU 4IOc5y67kDdEwFb0buhxdGn7nHKItD7GNcMA3e4w5MpxGHV3y07tFVbj1ro94FbaN17w nFPTXKauugSygIMGl8Pk+mzXo31BrW/WW51so5B/7S3zYC+E0h6706WYsSPe4MfgbG6y zqiCv/LwRQlcZWsY4HXK33hdH9/Pt8PBhtcNAldAIlIXkc0vP3QUw1SwZvuaIzMI7Kj1 rtTQ== 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; bh=SSwxmP4m1yW8EIzDtIA566LHikESmGxxyb4V/q/W8kA=; b=qCTySIQ+AFO83hOXlTK6T8vKFKWvT+BjC2tUTBX4J4Zxv6Lv7F/PBhq+9bHGDnJ2fg zTxKKXGV5fYnZgv5U/+W7Rc5L4kJV1Wkf31VvbGolrx/xgJM9mA0+GH8Vaeo0zrA4/3S 7XEaS1Vlu1QZtlqZIN3sG/dcb+vNt5Cq73dR5bBSKpN2oqyQlST7xkS4O2z0ajBw7YG6 WM6Nlk3OsTk7N5P3jc7tP3Ds+dmqFZfaHa6cYUJUIZZASmJdsECG5vpbYemWwxJPyAo1 2W09rSeibTx8JLBX4oS6/0Andx8qsJJ2sdS0OZ7f4hpEpIetPs7f1mvmwrf6lS+fPOxf AIhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=oZ0FhwZr; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id a20si1247734pfg.86.2020.04.20.23.49.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Apr 2020 23:49:35 -0700 (PDT) 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=@linaro.org header.s=google header.b=oZ0FhwZr; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D083A6E8A2; Tue, 21 Apr 2020 06:48:42 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pj1-x1043.google.com (mail-pj1-x1043.google.com [IPv6:2607:f8b0:4864:20::1043]) by gabe.freedesktop.org (Postfix) with ESMTPS id 080F36E85F for ; Mon, 20 Apr 2020 21:57:06 +0000 (UTC) Received: by mail-pj1-x1043.google.com with SMTP id a22so451076pjk.5 for ; Mon, 20 Apr 2020 14:57:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=w13L/ezkU/9Ek4TJ2p0jEnyPwOgfgHGWvOSyt05WFh4=; b=oZ0FhwZrFu/bCQOIbzwgeJPvCd3z18uNL9IMxUc5390+CmpsieWN6M9GfLMcmp9QNc hIpdZwvOZ1p+F9Xj2TAGyXi/+QPTp5dYEwAMukJbTdCXHT5CYarTuVB9HPRpj+luMNFK eQIM/XcOg3M1dH5JelqR+QajIGIx3fDNhvZmtE0jx+CnxuDyII//e9eqbTU4+d16wjqq cPSAcZ46Tia7vU67ZPztwyA/lGQtGAFDOA8VSkd7jYnvGkpwAyfP0nAsWOY5aF1HxOZP g9f0p1HXyUESzdnFuV4UytqNfocvcjXoJjo+35PWxEoAhBpWw2TrWPTSIgobukiCj0oh j5Vg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=w13L/ezkU/9Ek4TJ2p0jEnyPwOgfgHGWvOSyt05WFh4=; b=bCkQX3iF0beeYlYcr5+Z4C1d2OSCE+shaZHQ/hxO499fghWt/JxWw92wJSyKPqaEvE ag5sDShLBnaJ172BqQUErVWIiwP34VLdcpDKL2vS+CFzbEM8ls+d1S3Sx7wNP61qPSMX uXZgI9HpW4wmgMydrxXjJzGV8hTx9zPcPGlCxNxtklbhBg5Tstc62/kXxgNB1f0QC6s6 vgzxuahtI5YYl3xbrmJ91NytRK9BgJZpwVb7GYz5sjRSz1sbhQhmIOVPkKbytkloir+V mUDXBesnEf12z+8DytWBEC0eKE7K2XGHQe0PZ3DEdn4xlFELVRLVevoQxC5HWEwvJaE7 EXOw== X-Gm-Message-State: AGi0Puay+qCibBMxHuBmNms8Mg6ul55ep9idkGArWXPHQ35D8QDI1FHM 5J1K04MY5Pl/29DlmVNK380U+w== X-Received: by 2002:a17:90a:fa17:: with SMTP id cm23mr1795903pjb.121.1587419825533; Mon, 20 Apr 2020 14:57:05 -0700 (PDT) Received: from builder.lan (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id f30sm365863pje.29.2020.04.20.14.57.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Apr 2020 14:57:04 -0700 (PDT) From: Bjorn Andersson To: Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter Subject: [PATCH v2 2/2] panel: simple: Add Ivo M133NWF4 R0 Date: Mon, 20 Apr 2020 14:57:28 -0700 Message-Id: <20200420215728.1927434-2-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200420215728.1927434-1-bjorn.andersson@linaro.org> References: <20200420215728.1927434-1-bjorn.andersson@linaro.org> MIME-Version: 1.0 X-Mailman-Approved-At: Tue, 21 Apr 2020 06:48:39 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Rob Herring , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" The InfoVision Optoelectronics M133NWF4 R0 panel is a 13.3" 1920x1080 eDP panel, add support for it in panel-simple. Signed-off-by: Bjorn Andersson --- Changes since v1: - Specified bus_format, bus_flags and connector_type drivers/gpu/drm/panel/panel-simple.c | 34 ++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) -- 2.26.0 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 5b92583bccdf..50ee1b842748 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -2010,6 +2010,37 @@ static const struct panel_desc innolux_zj070na_01p = { }, }; +static const struct drm_display_mode ivo_m133nwf4_r0_mode = { + .clock = 138778, + .hdisplay = 1920, + .hsync_start = 1920 + 24, + .hsync_end = 1920 + 24 + 48, + .htotal = 1920 + 24 + 48 + 88, + .vdisplay = 1080, + .vsync_start = 1080 + 3, + .vsync_end = 1080 + 3 + 12, + .vtotal = 1080 + 3 + 12 + 17, + .vrefresh = 60, + .flags = DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC, +}; + +static const struct panel_desc ivo_m133nwf4_r0 = { + .modes = &ivo_m133nwf4_r0_mode, + .num_modes = 1, + .bpc = 8, + .size = { + .width = 294, + .height = 165, + }, + .delay = { + .hpd_absent_delay = 200, + .unprepare = 500, + }, + .bus_format = MEDIA_BUS_FMT_RGB888_1X24, + .bus_flags = DRM_BUS_FLAG_DATA_MSB_TO_LSB, + .connector_type = DRM_MODE_CONNECTOR_eDP, +}; + static const struct display_timing koe_tx14d24vm1bpa_timing = { .pixelclock = { 5580000, 5850000, 6200000 }, .hactive = { 320, 320, 320 }, @@ -3619,6 +3650,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "innolux,zj070na-01p", .data = &innolux_zj070na_01p, + }, { + .compatible = "ivo,m133nwf4-r0", + .data = &ivo_m133nwf4_r0, }, { .compatible = "koe,tx14d24vm1bpa", .data = &koe_tx14d24vm1bpa,