From patchwork Sun Nov 14 20:04:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Osipenko X-Patchwork-Id: 12618405 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EF1DBC433F5 for ; Sun, 14 Nov 2021 20:05:00 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 B0DE461056 for ; Sun, 14 Nov 2021 20:05:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org B0DE461056 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 06D5389E03; Sun, 14 Nov 2021 20:04:50 +0000 (UTC) Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by gabe.freedesktop.org (Postfix) with ESMTPS id B1B9189DF9 for ; Sun, 14 Nov 2021 20:04:49 +0000 (UTC) Received: by mail-lf1-x12e.google.com with SMTP id b40so37660546lfv.10 for ; Sun, 14 Nov 2021 12:04:49 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=96RcEWyK1nEHA7WMjfyQIixAVj6RLVNjCyJp7XEuCRk=; b=disv6LmuT2rNE98rR+GMp34NKFi2GwApxd95lZEKlpP3tkxbT4QA2R0U6qD3IiA8hI f/vtQEBUJlM+Apez7FVu8BGzTrxXjoTf/97Onsizhxb9C7PGsS9lcH3damLK/xq4LR9J P6O4wKht25ycSyEu9sS8/puay2MbCA7ISLNITPVhSejhd5JlezxOFsB/wkYOfg4v6xrd ZrCe7GhfQAqTVkpfoLIH9JkSv9tr9CPk12vFKyLTCB3gzlaZmhKDzhwts0LX9iJ1OZtz zYWXmYFRRR6VFZaP3dPepzjeWLEgQWAerSobVuCmgEDP6yma1oVcgLGgLeXKCZxK4CS8 wWVg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=96RcEWyK1nEHA7WMjfyQIixAVj6RLVNjCyJp7XEuCRk=; b=nTToAn2CyDIUvTUbHaF6iCCtmuO/yeTZcdV5zPYn79PKKm2sGtSt+oDJ2MSNagh0/V +pDYwo56OVAelD3XCHLAW4Kx8JPhFsCJR5G8zKfPG/M60046IB/0SDeKkBjHVpXjiMZ6 uCX9xMol07kuKG2WAFURwKaFuwk9+u8MziasYxGevvywgOnOYsU2f8EosM/861ksm1AX 8c1HmcR4nWgaO+QLqS5IYgTFWvCMekgMwMA0+EXOkgDBD8JBEmUiNWHV63IIayNDmynN rrLivW/tGVSwZzkhq8mlSaBcKc5tAuD4ZxfHcEL5686A2CKnj7ye97ojvdC+uppLgB4J nmtw== X-Gm-Message-State: AOAM531jzSCehHBFaBqooI7WmeHvySqFJ0JyXPK2Ov1nfCo5tQQUtRy6 em7uKX3tRHnDrbAs6/laUW0= X-Google-Smtp-Source: ABdhPJxAdg84UeMZ1sSQ0Lsp7SztH6mQo1weUbFhj2NuaWEpLOrH3fM4OrYOvEcRloQ0i8QcuWbYgg== X-Received: by 2002:ac2:4292:: with SMTP id m18mr29904021lfh.539.1636920288127; Sun, 14 Nov 2021 12:04:48 -0800 (PST) Received: from localhost.localdomain (46-138-46-211.dynamic.spd-mgts.ru. [46.138.46.211]) by smtp.gmail.com with ESMTPSA id g4sm1193914lfv.288.2021.11.14.12.04.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Nov 2021 12:04:47 -0800 (PST) From: Dmitry Osipenko To: Thierry Reding , Sam Ravnborg , Rob Herring , David Airlie , Daniel Vetter , Svyatoslav Ryhel Subject: [PATCH v1 1/2] dt-bindings: display: simple: Add HannStar HSD101PWW2 Date: Sun, 14 Nov 2021 23:04:30 +0300 Message-Id: <20211114200431.28484-2-digetx@gmail.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211114200431.28484-1-digetx@gmail.com> References: <20211114200431.28484-1-digetx@gmail.com> MIME-Version: 1.0 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: linux-tegra@vger.kernel.org, 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" From: Svyatoslav Ryhel Add HannStar HSD101PWW2 10.1" WXGA (1280x800) TFT-LCD LVDS panel to the list of compatibles. Signed-off-by: Svyatoslav Ryhel 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 f3c9395d23b6..ecb9a79c2e78 100644 --- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml +++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml @@ -156,6 +156,8 @@ properties: - hannstar,hsd070pww1 # HannStar Display Corp. HSD100PXN1 10.1" XGA LVDS panel - hannstar,hsd100pxn1 + # HannStar Display Corp. HSD101PWW2 10.1" WXGA (1280x800) LVDS panel + - hannstar,hsd101pww2 # Hitachi Ltd. Corporation 9" WVGA (800x480) TFT LCD panel - hit,tx23d38vm0caa # InfoVision Optoelectronics M133NWF4 R0 13.3" FHD (1920x1080) TFT LCD panel From patchwork Sun Nov 14 20:04:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Osipenko X-Patchwork-Id: 12618401 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 162F1C433F5 for ; Sun, 14 Nov 2021 20:04:53 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 BD1FC61105 for ; Sun, 14 Nov 2021 20:04:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org BD1FC61105 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3FA1689E06; Sun, 14 Nov 2021 20:04:51 +0000 (UTC) Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7206489DF9 for ; Sun, 14 Nov 2021 20:04:50 +0000 (UTC) Received: by mail-lj1-x232.google.com with SMTP id z8so30770837ljz.9 for ; Sun, 14 Nov 2021 12:04:50 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=TQZiCP3YzsvmkZD6Z7bgEa5sOkxvqLSTLRbNZEye2ZI=; b=difuj7H0lMKtMdGpF58hKW0rW15oFUmE9nHNa5fgB5JyPAIwrd/q4KDiFFNYJmgRUV ezka4FNHAL0Pt/N/ezShb39s1xCVjJlTj/LwrL/hXvd3LOZdu7pSIHALHzWciZrQGKxp XSuxmd2b39Z4fQhAi+cjCQtwDUK/YwGdpx3yo2hlKIcOmfAXgrZvK/hWmoP1nKii75kf qJLKfLEswgB+hjxT+fRFRiMWSFEcnD4eiLmk9CqRVtj8x6Gc2m4oA5qlgCGqi8F39vk8 azDOwp0/9s2sg9HxdPjZ9dQOsIEXahSFJ2LnsiPsTid9TMPFUxMFYzvam8TbHKEmEeVX 5PoA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=TQZiCP3YzsvmkZD6Z7bgEa5sOkxvqLSTLRbNZEye2ZI=; b=rKXsxt6scKZA+a8P+q8R27M2nJKaxLidfP1uT4h98KAqzL6yRkuZ3lEO7Q+VgmZiJ7 WGWy/0R6I6iLeiIUE0+vSj7fmEPwJP1aNW0Vj49Vl9+EXIcjETnf1R8JvuWRz27OAsQ6 FZO05Cb3QuO6TI1ZnY02jkMg7nl73wargj3bMwEH7hfQMHQXjTsBQ+suYmDEcUvfHZIH okeWgWCt7/dEn/Dukoa0lpQBbERl2eAOYNluxo+FTNQhmYyUn0xkV4y3oePU3/sHoThT nvyqKOPb96aYf/4eca6UMybeegc+Sk1ihJ3C9nihFrUzChYCAurJQgjW/3ZBGLs3bWse IkeQ== X-Gm-Message-State: AOAM530ILFG4gPIXzmeJXdoyau2gv5CEdUwX6gt+yWOeF+me9cH8fFJE EzD/o38UXlC9l9S9Fq0ERFM= X-Google-Smtp-Source: ABdhPJz2wSMbwjLGs/janFR3xlIJsEDFVX/vf7X8IKymWar31yaYnOoG+z12y9naoTLURsf8eNZu7g== X-Received: by 2002:a2e:890d:: with SMTP id d13mr32746484lji.396.1636920288791; Sun, 14 Nov 2021 12:04:48 -0800 (PST) Received: from localhost.localdomain (46-138-46-211.dynamic.spd-mgts.ru. [46.138.46.211]) by smtp.gmail.com with ESMTPSA id g4sm1193914lfv.288.2021.11.14.12.04.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Nov 2021 12:04:48 -0800 (PST) From: Dmitry Osipenko To: Thierry Reding , Sam Ravnborg , Rob Herring , David Airlie , Daniel Vetter , Svyatoslav Ryhel Subject: [PATCH v1 2/2] drm/panel: simple: Add support for HannStar HSD101PWW2 panel Date: Sun, 14 Nov 2021 23:04:31 +0300 Message-Id: <20211114200431.28484-3-digetx@gmail.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211114200431.28484-1-digetx@gmail.com> References: <20211114200431.28484-1-digetx@gmail.com> MIME-Version: 1.0 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: linux-tegra@vger.kernel.org, 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" From: Svyatoslav Ryhel Add definition of the HannStar HSD101PWW2 Rev0-A00/A01 LCD SuperIPS+ HD panel. Signed-off-by: Svyatoslav Ryhel --- drivers/gpu/drm/panel/panel-simple.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index eb475a3a774b..8b7033048f83 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -1927,6 +1927,31 @@ static const struct panel_desc hannstar_hsd100pxn1 = { .connector_type = DRM_MODE_CONNECTOR_LVDS, }; +static const struct display_timing hannstar_hsd101pww2_timing = { + .pixelclock = { 64300000, 71100000, 82000000 }, + .hactive = { 1280, 1280, 1280 }, + .hfront_porch = { 1, 1, 10 }, + .hback_porch = { 1, 1, 10 }, + .hsync_len = { 58, 158, 661 }, + .vactive = { 800, 800, 800 }, + .vfront_porch = { 1, 1, 10 }, + .vback_porch = { 1, 1, 10 }, + .vsync_len = { 1, 21, 203 }, + .flags = DISPLAY_FLAGS_DE_HIGH, +}; + +static const struct panel_desc hannstar_hsd101pww2 = { + .timings = &hannstar_hsd101pww2_timing, + .num_timings = 1, + .bpc = 8, + .size = { + .width = 217, + .height = 136, + }, + .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG, + .connector_type = DRM_MODE_CONNECTOR_LVDS, +}; + static const struct drm_display_mode hitachi_tx23d38vm0caa_mode = { .clock = 33333, .hdisplay = 800, @@ -3725,6 +3750,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "hannstar,hsd100pxn1", .data = &hannstar_hsd100pxn1, + }, { + .compatible = "hannstar,hsd101pww2", + .data = &hannstar_hsd101pww2, }, { .compatible = "hit,tx23d38vm0caa", .data = &hitachi_tx23d38vm0caa