From patchwork Mon Apr 20 21:57:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 185595 Delivered-To: patch@linaro.org Received: by 2002:a92:3d9a:0:0:0:0:0 with SMTP id k26csp4896812ilf; Mon, 20 Apr 2020 23:49:32 -0700 (PDT) X-Google-Smtp-Source: APiQypKMp9SU2h9npHAEFw21tsZ5KIR3z3dghJVMEtuQQpflNum9uIty+2xe848DihW+6F0Ud4K/ X-Received: by 2002:a63:9e54:: with SMTP id r20mr17798937pgo.301.1587451772535; Mon, 20 Apr 2020 23:49:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587451772; cv=none; d=google.com; s=arc-20160816; b=LtWqNeLKOCP2crKUkd6vfUaX2WFvNv1LQlSXe8dAO9LuP3v/oWqDR0oTD6C9bmuPfX /Pg5TrTzDqR3xgPlKNYvjinAnRWP+KsfFuxXPvsGhmchakM+ojdXAwG4Zrtjn8jLpI5R 7ZHkz4V/lXUja+nG9cOVidsZbZLtoK65uMKDPqO3N74w+twzJme7O0Jxcc4OQAOxq0gr ElcDmTI/eKHlVjpR5zRZBi9xKE8QrFp7klZeLIA9m69GGUXOa9P1JiYDMmpNXdIILbBc IhiXvRt4+ETj7O46e1fwERZ/5UeyzRbZMwwjoNYlOd3WX0FZfSLA9iyuEvhx7yWIfsx/ GVNw== 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=JgDMHN++niE1WX3ysjESRr1119tO2uKKjdPnguhemBE=; b=zFgu4IB+41NMxK270Rp3j6v1KNbAEpZo/Rbqmu8lM9xFD/lNiud/+0+nq2Gpzxl5cq 072etjYzx8OPOnoBvxfOdm3zHOSCOM4ykrRnys/aedBtvDNtVnq0B/TqUxOmEfAoqNiY e9jpUsQTsQEIl/jO5Ck/y6YSUJF8ZTdtQjYaSMcale1PjgyAKbIGUy7La97NDjH6KlKw qtyqoKhK4lUDKNNqVc7yWAS4h7AnDUm0pqL1CbmZQJjviZ+WAl7rQn8d36uiG7VJ3FQq HGHsPLEraJq8JU/hcbCmJMEyFl+qDnBTJETvonTfhvSkPTaPOO1yVBx7ebqpdPFNveOo FFTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=c4dOiAhj; 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 19si1089230pgx.347.2020.04.20.23.49.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Apr 2020 23:49:32 -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=c4dOiAhj; 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 2D82F6E8BE; Tue, 21 Apr 2020 06:48:46 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) by gabe.freedesktop.org (Postfix) with ESMTPS id B6F456E85F for ; Mon, 20 Apr 2020 21:57:18 +0000 (UTC) Received: by mail-pf1-x441.google.com with SMTP id y25so5614747pfn.5 for ; Mon, 20 Apr 2020 14:57:18 -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=NrTIGfIIMpJ/CNe125wA13W3OdRcgnbEi+8exEuNX+0=; b=c4dOiAhj7WKuRROmTvZUIggJYFStbr93zDKyoIo4mrZUZ7Dg0w0KzGPAqwZq6aHbE/ pEWv+AQ/0f4aTdwmFkHYFgA2pmNLICB3fJ5bvS5og3alGEZIR7gcLUHnn3OLMrfTEYO3 tRdz/XGvdb0TlZGlfEnXBDtrCa8wIIIcHaigWXxDve6A+8jL9FZ+SyRGgj1j9rm3/drh 6JPd928o1fbfm2N3hcOsNJKsCdlTMgzv5X6YKwnoi29NHuD+BJhL0Q+Tff58Hd1q2OHe 5pHVWhp2Y2bk2BLYUnjPIvhaEVoW5L+NcKVPegmXsfphEBHb7lIfVPrtAYR29t0Et9rb wyIg== 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=NrTIGfIIMpJ/CNe125wA13W3OdRcgnbEi+8exEuNX+0=; b=Rq74uxfHKtKpEemmtwrpppLuJal13zrotWQG4ZTD0rXLGipXXovkwZ3SKhXEjJLASr 70D/j6RJAIqXKYQXDKVk+kSn7xgcODtMDk9AOgmrEJvypZEeHrpNNp/hoO+MkWmL8O/u 4ZN1P6bDXvicrscDkMOwwtr3L55lVPGDlLtNFOUWwqAvm0CdEHCWsvAt/6APl50m7UwR uXpSsR/r/W1xioi/x4TSCO6mCZ8DCl8ZUqem1A7fUZZBvE7SHvZiL7VFVMqD0zt54FCN CGznLoOIF1SUpEmFKt4qqnJFgeLbnCSdG7pxe+l/RdKkMxlKHwQQHtdNqxuhrXUh5z4A OSCg== X-Gm-Message-State: AGi0PuYlgU1obVezZuMZyQG4SwylYFiMaWbOAz9T0xHsxJeGfmKS9UJ8 Zps5UmVWSXs/hZrAqLOkDSUFmw== X-Received: by 2002:a62:4d43:: with SMTP id a64mr20050370pfb.156.1587419838263; Mon, 20 Apr 2020 14:57:18 -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 62sm455565pfu.181.2020.04.20.14.57.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Apr 2020 14:57:17 -0700 (PDT) From: Bjorn Andersson To: Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring Subject: [PATCH 1/2] dt-bindings: display: simple: Add BOE NV133FHM-N61 Date: Mon, 20 Apr 2020 14:57:41 -0700 Message-Id: <20200420215742.1927498-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" Add the BOE NV133FHM-N61 13.3" FHD (1920x1080) TFT LCD Panel to the compatible list of panel-simple. Signed-off-by: Bjorn Andersson --- .../devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ 1 file changed, 2 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 393ffc6acbba..daf86ba18f47 100644 --- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml +++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml @@ -69,6 +69,8 @@ properties: - boe,hv070wsa-100 # BOE OPTOELECTRONICS TECHNOLOGY 10.1" WXGA TFT LCD panel - boe,nv101wxmn51 + # BOE NV133FHM-N61 13.3" FHD (1920x1080) TFT LCD Panel + - boe,nv133fhm-n61 # BOE NV140FHM-N49 14.0" FHD a-Si FT panel - boe,nv140fhmn49 # Boe Corporation 8.0" WUXGA TFT LCD panel From patchwork Mon Apr 20 21:57:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 185594 Delivered-To: patch@linaro.org Received: by 2002:a92:3d9a:0:0:0:0:0 with SMTP id k26csp4896682ilf; Mon, 20 Apr 2020 23:49:24 -0700 (PDT) X-Google-Smtp-Source: APiQypLAouxIyscwc1te1sYnUemw//Tr3rrg+QJ/CbKZthcjsm1O4wERxqlQfD9mFMb9SFVBTDP3 X-Received: by 2002:a17:90a:fc8c:: with SMTP id ci12mr3834269pjb.104.1587451764094; Mon, 20 Apr 2020 23:49:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587451764; cv=none; d=google.com; s=arc-20160816; b=ahGKEKg54kr0ZOc64JnXwBaZYS/8UxGkvYnrAL9GG8w3+I2DRqdYd8Zzm1ukpMgJcL dMmn06MrRWvWqdvIUtSWA/FNROHI0H/r1YqjzGg2D54Y6a2xIy9f+WSdTe4zVY6Cc0jf 8D7AxFpY9xaOn6bJ4d6BQ7/gOG7IYO7hJ5VAkbn/tItKUS7couDf1I5rBIC6gyfk5Gun 9UyoLtjtET82SJJF6uQO3VKXDpRkSzNghhkagTo83FbQfhjeI6FRKxsNqUaBbTd9kCPd bGxnfxjFyWKFRBOxRliMGGbE9hRRVdWOfC5ICH8UCjcyBm7qbHacbyYPXSUJBOaZYIux lpfA== 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=k4PpKTmaiBwApeaqbbd1GZXwvUWioBYhLnTlolesP8A=; b=0G/GggtqKeCyoKWOfUP+r1XWi9rh2QF7Y2CnPk0HhY8eeXptgU7qB2olL62NuqO9Fn D5eOg/aODCXC3ym3bPor2D/HgBN3r9dX5JUUABsetqFPXaqlM2sD8K+K6Vadhuv50biQ lVawHUqA1upc6/LwpDv172Or04QrsuBFI43bfZONE5w9DNt0Dm98zkYWqt3m+pTZse1p Xo9Ro4AgNMEtQHzCS8fBBGcdlEYFSHsmYsrwn13TKNEIn2KTgSRH56VdwN0RnQsLwFHz 4nRd7RFc2Ii60p+oHbMtm3UKfscmjzx1873r0uW1TepeUkSqF5iz7qgWvKMzuWUkDP1n wheQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=vfIBvPws; 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 i126si1222315pfe.262.2020.04.20.23.49.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Apr 2020 23:49:24 -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=vfIBvPws; 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 0655D6E8B9; Tue, 21 Apr 2020 06:48:45 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-pl1-x641.google.com (mail-pl1-x641.google.com [IPv6:2607:f8b0:4864:20::641]) by gabe.freedesktop.org (Postfix) with ESMTPS id 171436E85F for ; Mon, 20 Apr 2020 21:57:20 +0000 (UTC) Received: by mail-pl1-x641.google.com with SMTP id y22so4466061pll.4 for ; Mon, 20 Apr 2020 14:57:20 -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=7ERuQZuCLk01x2KDiDzTtYEWNEw864gDAxj/pZ9kbAY=; b=vfIBvPwsW2MNCKWGAxhh5yAxrDMGifvsxaF+4So1WZxSF7vP1lW//oLDySbQAMBPnI LkGncBPyr9PbQbH/Jc5RUiNbIQeFATTGh6AsRoKv5G0WVeN3OhNWAZbet4FVHF09fBZr 8K8W2QWAqU6pqDR/inMq0eNMP1W0UR/hu/AMHsycnRuRVetlWfMzc90SOny6tNIEGX/M 2+M2LeNSr4X1ZpmQrNAYjorDqYedGwCAgsA+WTr9O0Nrh+gZnRLrG1cAWYToXC7B+2Mf rDcycMc+JyjRT0wSuyd2j6PuEmcwDnica5yMZoTZIY5KGk8Q/nUflv0ZgUxPa/IXoCO/ fz0A== 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=7ERuQZuCLk01x2KDiDzTtYEWNEw864gDAxj/pZ9kbAY=; b=dLvRCxY8gRA60qCjRfwUkq3KfDSJ4sys4FTLOITkzfAT87AwqKjWn7bqJ6a7OJqKom d9WZN7pokT2gcacSpyY46Eqn3JJ3T78Jmb8xOpEdjokfJc3ltbE/SmQfih/6RxDFygYP n9FRx8IR6ZQ3sJBYEd02JFv/+LdMssiOft274TFylaUvAlrfklXSTqEdiW+tCWi3eu59 zyzqXNhZgO9RSc2vmVuJygd0p4B8qEx2LOIhKN2MTicPApi1/y1rpSGrsYPYCFCP1dW7 gFN4Qc7BtpDF65jDfXJUz9tJ36iEI+F7CgsZE+wi8I9lsqvk33WZnyGrp2EAmneM59bf vXow== X-Gm-Message-State: AGi0Pub2TuGZm0B7m2ehC4L6oRRHnT9Y0tTqN0FtabKw7p7WL7WYU/0v oFg9RPoqJ4GxHawHu5l4sRIX0Q== X-Received: by 2002:a17:902:7793:: with SMTP id o19mr11532864pll.107.1587419839603; Mon, 20 Apr 2020 14:57:19 -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 62sm455565pfu.181.2020.04.20.14.57.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Apr 2020 14:57:18 -0700 (PDT) From: Bjorn Andersson To: Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter Subject: [PATCH 2/2] panel: simple: Add BOE NV133FHM-N61 Date: Mon, 20 Apr 2020 14:57:42 -0700 Message-Id: <20200420215742.1927498-2-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200420215742.1927498-1-bjorn.andersson@linaro.org> References: <20200420215742.1927498-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 BOE NV133FHM-N61 panel is a 13.3" 1920x1080 eDP panel, add support for it in panel-simple. Signed-off-by: Bjorn Andersson --- drivers/gpu/drm/panel/panel-simple.c | 33 ++++++++++++++++++++++++++++ 1 file changed, 33 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 3ad828eaefe1..5b92583bccdf 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -1124,6 +1124,36 @@ static const struct panel_desc boe_nv140fhmn49 = { .connector_type = DRM_MODE_CONNECTOR_eDP, }; +static const struct drm_display_mode boe_nv133fhm_n61_modes = { + .clock = 147840, + .hdisplay = 1920, + .hsync_start = 1920 + 48, + .hsync_end = 1920 + 48 + 32, + .htotal = 1920 + 48 + 32 + 200, + .vdisplay = 1080, + .vsync_start = 1080 + 3, + .vsync_end = 1080 + 3 + 6, + .vtotal = 1080 + 3 + 6 + 31, + .vrefresh = 60, +}; + +static const struct panel_desc boe_nv133fhm_n61 = { + .modes = &boe_nv133fhm_n61_modes, + .num_modes = 1, + .bpc = 8, + .size = { + .width = 300, + .height = 187, + }, + .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 drm_display_mode cdtech_s043wq26h_ct7_mode = { .clock = 9000, .hdisplay = 480, @@ -3478,6 +3508,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "boe,nv101wxmn51", .data = &boe_nv101wxmn51, + }, { + .compatible = "boe,nv133fhm-n61", + .data = &boe_nv133fhm_n61, }, { .compatible = "boe,nv140fhmn49", .data = &boe_nv140fhmn49,