From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9A907C433EF for ; Fri, 18 Feb 2022 10:28:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References: List-Owner; bh=IAHGcgKf12vjWXugPQOUWMQIORnOEpyQsmN68yUGXlI=; b=Rw2cxJbfYq8sFY /95VkPOtkiHnb8S4R+HUjQwyvMgI55+2BjysXkVmnYHAzGTmXc4m9tFjK4Qg/4yJU5BNggol/MoGV EhX6GK8Z7wXShxkwdHW4DHCcx8z9b1Eqa7EiSbtjsINAOdV0fcZ58TsWnM8e4qB7ZBTTO5RHSRMf5 D+0RXb7KN9LMBhgVNNhcrPlo9M4SAhEkRA8tfsmNKDqGGqUJb8RQxZf9dol7SbiqNTPCB8XH/Dzw4 u2XnZXsJhbEu86f9u2fTNSF9sy/9x3IxX68F17Z7AfAFNyEosR+cYGR/roYgp6erefOnXkmoNgzcL OY8GrHq3zYlkSn/x7l6g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nL0Tl-00Dr4M-NJ; Fri, 18 Feb 2022 10:27:09 +0000 Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nL0Ti-00Dr3H-AB for linux-arm-kernel@lists.infradead.org; Fri, 18 Feb 2022 10:27:07 +0000 Received: by mail-pg1-x52c.google.com with SMTP id w37so1061110pga.7 for ; Fri, 18 Feb 2022 02:27:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=WRUQ/0ItbuB8Qd5eXwqs349lFDwlCtd3M661qIRr/M4=; b=mD47QKPrM8oJIUo+2zfGME4E/z+r0q6UB4rPJC0A6e/1sP61wyq8JjzZTfaYqLg4rz zd65wHk4j7xCrbUkA63r2cUWBIhpqDDoGnOSTYKw5oCCoagzg4Uqi3nupCr01pI8Hhoe dnkIkfcyAq1Jw/P3GfeRMAcg0qcIt4iMYFk5U5lhfPwHO9PIeCFqCoIZZGEkVGK6/9M2 2lm/NmFLQZnk3UxhW0e/e6IpSFLR3fmpMbpq119M4eDA+HiVSWB/mJq4c22JzFXSYBfE FPSBE8ECWtRW1t1C/IJEqg7WBygiBLKNvhJfFnvQKMarWipClLIx9u8HmQJr60EbcD7H JP4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=WRUQ/0ItbuB8Qd5eXwqs349lFDwlCtd3M661qIRr/M4=; b=E5wwGtee9Ph/kN8vYeAPE71umJBAl2bXJw8TNVeYnQeEOzZbMc3G+dF5+ULOT7zv2O MCeojsTOMU/ARkrWaCXwsc5OEeQXBqwksJ2F7c9Lwwooo1YiOFFf/lEhRWLTN/Ere1tm UkrRFtzP82Y1tOR9v90f15VpRhtqmh0GWBqO3NPsnZUfAsYDCQfhBYjxLK+6YCrnMY/Q sU0hGj24n0c8UjrBQwk0FvVqNPfJzx+ROW2pTYakH64t9uvLrrphVa10WRD1TeHQnzhG jQvI1X3o6jFkHVwSv/jGbP4FGzOyeZwMOAqbsgB4kFJXLfC2cQhbZy8fsto+ti6wtyI0 n4aw== X-Gm-Message-State: AOAM531mxfCkQTl2D+Q3Jmff4KXNX0PcMvJ456ssUZw8Mj0In5reRv4p EWV3npeNxh6kHmH6H3FMIW0tTJLDzCaG8w47 X-Google-Smtp-Source: ABdhPJzspd9NuP5bL32rgfy620IWs+rzFnjNv77U9r9eEoNmSQhxtq+FlWo92HmBLKkzXmlR4I4Wcg== X-Received: by 2002:a63:a501:0:b0:372:f7dc:6ced with SMTP id n1-20020a63a501000000b00372f7dc6cedmr5871183pgf.26.1645180025700; Fri, 18 Feb 2022 02:27:05 -0800 (PST) Received: from localhost.localdomain ([101.78.151.222]) by smtp.gmail.com with ESMTPSA id r14sm2411481pfl.62.2022.02.18.02.27.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Feb 2022 02:27:05 -0800 (PST) From: Rex Nie To: linux-arm-kernel@lists.infradead.org Cc: Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, hsinyi@chromium.org, Rex Nie Subject: [PATCH 1/2] drm/panel-edp: Add eDP innolux panel support Date: Fri, 18 Feb 2022 18:26:47 +0800 Message-Id: <20220218102647.1634329-1-rexnie3@gmail.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-20220218_022706_372142_AC95C336 X-CRM114-Status: GOOD ( 11.28 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add support for the 14" innolux,n140hca-eac eDP panel. Signed-off-by: Rex Nie --- drivers/gpu/drm/panel/panel-edp.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-edp.c b/drivers/gpu/drm/panel/panel-edp.c index f7bfcf63d48e..f5f9c9cb26ba 100644 --- a/drivers/gpu/drm/panel/panel-edp.c +++ b/drivers/gpu/drm/panel/panel-edp.c @@ -1330,6 +1330,29 @@ static const struct panel_desc innolux_n125hce_gn1 = { }, }; +static const struct display_timing innolux_n140hca_eac_timing = { + .pixelclock = { 72600000, 76420000, 80240000 }, + .hactive = { 1920, 1920, 1920 }, + .hfront_porch = { 80, 80, 80 }, + .hback_porch = { 190, 190, 190 }, + .hsync_len = { 60, 60, 60 }, + .vactive = { 1080, 1080, 1080 }, + .vfront_porch = { 6, 6, 6 }, + .vback_porch = { 38, 38, 38 }, + .vsync_len = { 8, 8, 8 }, + .flags = DISPLAY_FLAGS_VSYNC_LOW | DISPLAY_FLAGS_HSYNC_LOW, +}; + +static const struct panel_desc innolux_n140hca_eac = { + .timings = &innolux_n140hca_eac_timing, + .num_timings = 1, + .bpc = 6, + .size = { + .width = 309, + .height = 174, + }, +}; + static const struct drm_display_mode innolux_p120zdg_bf1_mode = { .clock = 206016, .hdisplay = 2160, @@ -1750,6 +1773,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "innolux,n125hce-gn1", .data = &innolux_n125hce_gn1, + }, { + .compatible = "innolux,n140hca-eac", + .data = &innolux_n140hca_eac, }, { .compatible = "innolux,p120zdg-bf1", .data = &innolux_p120zdg_bf1, -- 2.25.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel