From patchwork Sat May 9 11:18:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: srk@48.io X-Patchwork-Id: 200843 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=-6.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS 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 A64D9C47247 for ; Sat, 9 May 2020 11:27:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7824620A8B for ; Sat, 9 May 2020 11:27:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=48.io header.i=@48.io header.b="UOHMEZ4E" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728384AbgEIL1B (ORCPT ); Sat, 9 May 2020 07:27:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728364AbgEIL1B (ORCPT ); Sat, 9 May 2020 07:27:01 -0400 Received: from pruto.48.io (48.io [IPv6:2a01:430:17:1::ffff:361]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2AEBDC05BD09; Sat, 9 May 2020 04:27:01 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pruto.48.io (Postfix) with ESMTPSA id 1E3A7941C2; Sat, 9 May 2020 13:18:43 +0200 (CEST) DMARC-Filter: OpenDMARC Filter v1.3.2 pruto.48.io 1E3A7941C2 Authentication-Results: pruto.48.io; dmarc=none (p=none dis=none) header.from=48.io DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=48.io; s=default; t=1589023123; bh=c/MY7PZoZwLslGs8HMBVxVE+62NvRyMuHVjPYAPKs+4=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=UOHMEZ4ERL7FOTpdQ/a7y4abmo73w5zIovWv3NyjKeb9jxio79BKN4Pz+v/adwQ1u DKiYVlOVvKpZpLbPXtKcmOjTXPEnszBHPyN4cqv8bvMjzBBOG1YPjHNnPE9eZJkhmo OSQ+ndRqlXibrITPqlb3kUxfKqWRCNUSOwnnoXjE= From: srk@48.io To: Andrzej Hajda Cc: Neil Armstrong , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter , Rob Herring , Lubomir Rintel , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sean Cross , Richard Marko , Shawn Guo , Fabio Estevam , Thierry Reding Subject: [PATCH 1/2] dt-bindings: n133hse-ea1: Add Innolux N133HSE panel Date: Sat, 9 May 2020 13:18:33 +0200 Message-Id: <20200509111834.26335-2-srk@48.io> In-Reply-To: <20200509111834.26335-1-srk@48.io> References: <20200509111834.26335-1-srk@48.io> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Sean Cross The Innolux N133HSE panel is a 13.3" 1920x1080 panel that contains an integrated backlight, and connects via eDP. It is used in the Kosagi Novena. Signed-off-by: Sean Cross Signed-off-by: Richard Marko Cc: Shawn Guo Cc: Fabio Estevam Cc: Thierry Reding To: dri-devel@lists.freedesktop.org --- .../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 393ffc6acbba..756bf6a48e8d 100644 --- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml +++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml @@ -139,6 +139,8 @@ properties: - innolux,g121i1-l01 # Innolux Corporation 12.1" G121X1-L03 XGA (1024x768) TFT LCD panel - innolux,g121x1-l03 + # Innolux Corporation 13.3" FHD (1920x1080) TFT LCD panel + - innolux,n133hse-ea1 # Innolux Corporation 11.6" WXGA (1366x768) TFT LCD panel - innolux,n116bge # InnoLux 15.6" WXGA TFT LCD panel From patchwork Sat May 9 11:18:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: srk@48.io X-Patchwork-Id: 200842 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=-6.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS autolearn=unavailable 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 9D2FFC28CBC for ; Sat, 9 May 2020 11:27:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 748A421473 for ; Sat, 9 May 2020 11:27:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=48.io header.i=@48.io header.b="q8enCW2W" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728375AbgEIL1B (ORCPT ); Sat, 9 May 2020 07:27:01 -0400 Received: from 48.io ([37.205.10.103]:60552 "EHLO pruto.48.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727993AbgEIL1B (ORCPT ); Sat, 9 May 2020 07:27:01 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pruto.48.io (Postfix) with ESMTPSA id 762B694C91; Sat, 9 May 2020 13:18:43 +0200 (CEST) DMARC-Filter: OpenDMARC Filter v1.3.2 pruto.48.io 762B694C91 Authentication-Results: pruto.48.io; dmarc=none (p=none dis=none) header.from=48.io DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=48.io; s=default; t=1589023123; bh=O95HQb+eKrzYJGAAvZyUidtJu6EvpStYBMsCe/HsdKU=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=q8enCW2WkGcEePXOd74RmgJr5ty06CgzIPc/4f2O5gCz0EQOrEjY50bpsTO/ox2Ex kSsNPis7cxIrSCLNbPHmd8uV3MCdLMITivVjWKmlBxYLI90W1/v7CAan77DfFq8lWa ANlf83W31t0rb8U2CmGxopPxjDal5TKNF7Kfx0f8= From: srk@48.io To: Andrzej Hajda Cc: Neil Armstrong , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter , Rob Herring , Lubomir Rintel , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sean Cross , Richard Marko , Shawn Guo , Fabio Estevam , Thierry Reding Subject: [PATCH 2/2] drm/panel: simple: Add Innolux N133HSE panel support Date: Sat, 9 May 2020 13:18:34 +0200 Message-Id: <20200509111834.26335-3-srk@48.io> In-Reply-To: <20200509111834.26335-1-srk@48.io> References: <20200509111834.26335-1-srk@48.io> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Sean Cross The Innolux N133HSE panel is a 13.3" 1920x1080 panel that contains an integrated backlight, and connects via eDP. It is used in the Kosagi Novena. Signed-off-by: Sean Cross Signed-off-by: Richard Marko Cc: Shawn Guo Cc: Fabio Estevam Cc: Thierry Reding To: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/panel/panel-simple.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 3ad828eaefe1..c8a93771d398 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -1906,6 +1906,30 @@ static const struct panel_desc innolux_n116bge = { }, }; +static const struct drm_display_mode innolux_n133hse_ea1_mode = { + .clock = 138500, + .hdisplay = 1920, + .hsync_start = 1920 + 46, + .hsync_end = 1920 + 46 + 30, + .htotal = 1920 + 46 + 30 + 84, + .vdisplay = 1080, + .vsync_start = 1080 + 2, + .vsync_end = 1080 + 2 + 4, + .vtotal = 1080 + 2 + 4 + 26, + .vrefresh = 60, +}; + +static const struct panel_desc innolux_n133hse_ea1 = { + .modes = &innolux_n133hse_ea1_mode, + .num_modes = 1, + .bpc = 8, + .size = { + .width = 293, + .height = 165, + }, + .connector_type = DRM_MODE_CONNECTOR_eDP, +}; + static const struct drm_display_mode innolux_n156bge_l21_mode = { .clock = 69300, .hdisplay = 1366, @@ -3577,6 +3601,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "innolux,n116bge", .data = &innolux_n116bge, + }, { + .compatible = "innolux,n133hse-ea1", + .data = &innolux_n133hse_ea1, }, { .compatible = "innolux,n156bge-l21", .data = &innolux_n156bge_l21,