From patchwork Sat Dec 11 21:36:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Osipenko X-Patchwork-Id: 12672079 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 61B04C433F5 for ; Sat, 11 Dec 2021 21:38:15 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3C4A310E82F; Sat, 11 Dec 2021 21:38:10 +0000 (UTC) Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by gabe.freedesktop.org (Postfix) with ESMTPS id 65E4B10E6DC for ; Sat, 11 Dec 2021 21:38:07 +0000 (UTC) Received: by mail-lf1-x12c.google.com with SMTP id bu18so24330294lfb.0 for ; Sat, 11 Dec 2021 13:38:07 -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=a8C2Ox9mLAi+48xHMMaxUeraFYeN7fBArVOxNr3R0I8=; b=QaE2nnf/2Ogb8IBsN2aGR8hcuFjn0C/bwIbtDK1cUUTuEY5/wc1Iz6l6z7uz9laLd+ Tlt3ezJN1y3dbA05wlBAHptRCt4J4uBd30PJtIdG3Sk1B3mzlEoAEeg9EI9r8KtJ5k/7 y1SbuRSUc9ppr7NLH33eq75WmPCffemZ5Ad0pbK9ZNBM838m/rUWtspvYCmGBta8z0wf aAEFg+8YxnRUllhNcQ7Bu6Usgk9D+OHcDCyHudYHpvIkXMgyuaSgt25azzVe16k+Q6xF jeZ4j6H0xYEKRXmCJK0Tuug9KZO3GjX887WSAh5TP7TYIzLdh2m0ffyqG15OlUFBMK1o UBAg== 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=a8C2Ox9mLAi+48xHMMaxUeraFYeN7fBArVOxNr3R0I8=; b=gOmaxE6vaNfRcZF49RWuYu34KqcQrE3OiMDGBK3x3725cwurx7QMRn+SuqWYwmqedw oEksFjIIUoQyShfEP+RKs8VHlLAdKhZiwLFZxymdHU4nDkuHGPJkYs7ZezBfVLp8wAin RZOwVoU6RurOLwM66fNfUS2cqycJ47EfO2KaBglKxonZfKV8ITvXzengp76sC7YHm68Y sUMiydk5R6d2+97KvTvagm2/+xtBvGrwgIRImuy3S80Hp2Xn6XoD9RBYxfQpSN2IaG3i PA4Id+5nNlv/n1/ps0tzT/7byL/I+U4OnZSwZosay4DzkTqykAuU8SepcccrGJghApKx 7sfg== X-Gm-Message-State: AOAM530KPyr/h/CNLG46F43TNhlzK5qPYjjJgySFWwo0HIyOn1HocFD0 XoP5PXsEbdWaaZJwSM5k5H4= X-Google-Smtp-Source: ABdhPJzzQaET53q/FDFQJ9CyBQfgCK/ECu+LJ6oDv/04jXNG6kWMXPjoDGISTC/hUXs0JaRT+NWkGA== X-Received: by 2002:a05:6512:3185:: with SMTP id i5mr18737901lfe.341.1639258685583; Sat, 11 Dec 2021 13:38:05 -0800 (PST) Received: from localhost.localdomain (94-29-46-111.dynamic.spd-mgts.ru. [94.29.46.111]) by smtp.gmail.com with ESMTPSA id w14sm786844ljj.7.2021.12.11.13.38.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Dec 2021 13:38:05 -0800 (PST) From: Dmitry Osipenko To: Thierry Reding , Sam Ravnborg , Rob Herring , David Airlie , Daniel Vetter , Svyatoslav Ryhel , Anton Bambura Subject: [PATCH v2 1/3] dt-bindings: sharp, lq101r1sx01: Add compatible for LQ101R1SX03 Date: Sun, 12 Dec 2021 00:36:51 +0300 Message-Id: <20211211213653.17700-2-digetx@gmail.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211211213653.17700-1-digetx@gmail.com> References: <20211211213653.17700-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: Anton Bambura LQ101R1SX03 is compatible with LQ101R1SX01 from software perspective, document it. The LQ101R1SX03 is a newer revision of LQ101R1SX01, it has minor differences in hardware pins in comparison to the older version. The newer version of the panel can be found on Android tablets, like ASUS TF701T. Signed-off-by: Anton Bambura Signed-off-by: Dmitry Osipenko Reviewed-by: Rob Herring --- .../bindings/display/panel/sharp,lq101r1sx01.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/panel/sharp,lq101r1sx01.yaml b/Documentation/devicetree/bindings/display/panel/sharp,lq101r1sx01.yaml index a679d3647dbd..9ec0e8aae4c6 100644 --- a/Documentation/devicetree/bindings/display/panel/sharp,lq101r1sx01.yaml +++ b/Documentation/devicetree/bindings/display/panel/sharp,lq101r1sx01.yaml @@ -30,7 +30,12 @@ allOf: properties: compatible: - const: sharp,lq101r1sx01 + oneOf: + - items: + - const: sharp,lq101r1sx03 + - const: sharp,lq101r1sx01 + - items: + - const: sharp,lq101r1sx01 reg: true power-supply: true From patchwork Sat Dec 11 21:36:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Osipenko X-Patchwork-Id: 12672075 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id C889CC433F5 for ; Sat, 11 Dec 2021 21:38:10 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7209810E7ED; Sat, 11 Dec 2021 21:38:09 +0000 (UTC) Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by gabe.freedesktop.org (Postfix) with ESMTPS id 02FF910E7ED for ; Sat, 11 Dec 2021 21:38:07 +0000 (UTC) Received: by mail-lf1-x130.google.com with SMTP id m6so12369493lfu.1 for ; Sat, 11 Dec 2021 13:38:07 -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=9cbSD0n7UkiGS9/Kt4+Mg/mlrW7rIQ8OPKpNN0HsBs0=; b=mUIzrz+TnolWe2p3gaMz28V5YhGUucp69yNWFSAVRz/SeSyGbV/EZRawLZTmoy/Lha 5Mv0+nINyKcTogdjnEJZvO+8/nR5k4E3Fe5w5vXounCCgsYWZlH4LjLmHPQUmu/dNg59 /zZFy6Pij/F8jEks7duf4VAim3VZ8zYg5+/lh9lLsTSqYK82YatFP0NcgLBtzBHKzxUd qvYciCyC8RESc92gNAO7XfGZnlS1QtyZISwSEW7slibt4qaZ7xG/Px3/rU+H38v9QCMF D4FygNxIsSRdLjKa6g4yIcZjVIvOCAmKFNkj88Ro35spUBBsy9vPSotTQpTzOKDd4Iqd 2T4g== 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=9cbSD0n7UkiGS9/Kt4+Mg/mlrW7rIQ8OPKpNN0HsBs0=; b=mgLi0zayWx+LXRrC89AmT+ULcYY2nQiiaDLLehoeUDJF509qeWiipBy2rNi0P6QyJJ x8rKzja57yrhnokhlTE0v9TDtdRSroSerzj1PDUITVQM4QI3ZnMfz5LlPFXpKyLB8+ei sY82wbECqGbfFM8K4X5XRxEUJd6/YhMzEokoPMCwFIFqmvgFVC5YLSd+B2mjPFk4g9q8 s+bEteDuZZNWCpLOJ7l5iMoWv95w09nRMcee6BDLGCxD+aDVIyiM+S0yMbhoEgJuoR38 QQ6Yw/1GSVhRhe3Aubl84zAb7iLk65ULKPR1WnzGpu5yDZp22YXAPiiQMYJPJVc7xB7X QImA== X-Gm-Message-State: AOAM530iXkB2wCxnPwRJQ/tvgA+p0kMjHw3/d/xhiPpfSytU4TbEcNxp hcUEFrp9Jl1USoG5Dg59dhI= X-Google-Smtp-Source: ABdhPJykkoZWZcLnXR5dIqNSNBzj40yRLsyWVWz5Fj+XnDeWPuf7zB7DeJQXztOK9DtJIQ+NyJN5Lg== X-Received: by 2002:a05:6512:3213:: with SMTP id d19mr20107074lfe.519.1639258686323; Sat, 11 Dec 2021 13:38:06 -0800 (PST) Received: from localhost.localdomain (94-29-46-111.dynamic.spd-mgts.ru. [94.29.46.111]) by smtp.gmail.com with ESMTPSA id w14sm786844ljj.7.2021.12.11.13.38.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Dec 2021 13:38:06 -0800 (PST) From: Dmitry Osipenko To: Thierry Reding , Sam Ravnborg , Rob Herring , David Airlie , Daniel Vetter , Svyatoslav Ryhel , Anton Bambura Subject: [PATCH v2 2/3] dt-bindings: display: simple: Add HannStar HSD101PWW2 Date: Sun, 12 Dec 2021 00:36:52 +0300 Message-Id: <20211211213653.17700-3-digetx@gmail.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211211213653.17700-1-digetx@gmail.com> References: <20211211213653.17700-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. Acked-by: Rob Herring Signed-off-by: Svyatoslav Ryhel Signed-off-by: Dmitry Osipenko --- .../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 Sat Dec 11 21:36:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Osipenko X-Patchwork-Id: 12672077 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 44961C433F5 for ; Sat, 11 Dec 2021 21:38:13 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8DDC510E7EE; Sat, 11 Dec 2021 21:38:09 +0000 (UTC) Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by gabe.freedesktop.org (Postfix) with ESMTPS id A9B1910E7EE for ; Sat, 11 Dec 2021 21:38:08 +0000 (UTC) Received: by mail-lj1-x22c.google.com with SMTP id k23so18573042lje.1 for ; Sat, 11 Dec 2021 13:38:08 -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=Y5cqVCk6ynWp5U/3Ep3k4Mo6eL6tir3HlEgYMajRnK4=; b=OtOehzc58gi64fYKYGJoUhU9yfbyw5erXeRGj9xZ//qaRQtR/innknOTIwss8QsRxX uGrRsJb1d2E1wcxH24VILEMMrLn1C7j8APXpVN46pIqXdDi2mV9JNYr8kvFW5gclVsnp gB7fo6UO6vmMJLx+RSgX2mlXCjUtYTsC6052zSOKM6SoQLtgE2TKjEI2+f57zJbU5DB2 nGPFYks1dvbnGj2fOGSBnIVTrY9ReXqb1ibf4JQuUBIsFJ83exRIGGkAclUCfctQlk2C bazsgZ0gsuj3/VWLwhZFT/JlQJKDdfjmO1KjsoZTOZMNuvxsYDUhfvoQSVBJPmJsFCKW 6G5g== 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=Y5cqVCk6ynWp5U/3Ep3k4Mo6eL6tir3HlEgYMajRnK4=; b=IPPg7OqPtkroEr5A16+2r4xD6MKXb6UquiQMtdLh3k+tlo8PAegb7h9Whd9jlu4f5a Y3y0N27veW5kOGlwVsd92yxXdRrSWLLr81waf7R0i1AiPC+Rs9mTRjP2yJFKEPTbHqzp iITNBbT5t33j3lde3In9fA3seMUlYIMfXsuvisfzDWywXltXV8rb/hY9UwfShYOlFtVZ 6bK/L9KCiRI2spFVtO990OR9YmhRL/JG5J7qP5kg/Q5Ji1ziFPjp2PIBhRbXNqRnyh0v cp1qAQxXbKHMO9TTHmgj1zK5/tI1dzzIHBGwDjvX58YbYVWtfCmwMtURG3QjnHsemY9T 1uPg== X-Gm-Message-State: AOAM531Zo2O0efA+CzFsSu7LxN4dX8NF7aarFAcB5K/+Rv5V6qgJPLvT 8bZpN0/se49EJq7m5nq0CxY= X-Google-Smtp-Source: ABdhPJxK+AF0es5MIQf67gn1WgcvNfNMLLw8QZninH5UxBgKlGqTHB3Q6eB1OovkgWAQD7IxOF9O5w== X-Received: by 2002:a2e:2242:: with SMTP id i63mr20232363lji.448.1639258687039; Sat, 11 Dec 2021 13:38:07 -0800 (PST) Received: from localhost.localdomain (94-29-46-111.dynamic.spd-mgts.ru. [94.29.46.111]) by smtp.gmail.com with ESMTPSA id w14sm786844ljj.7.2021.12.11.13.38.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Dec 2021 13:38:06 -0800 (PST) From: Dmitry Osipenko To: Thierry Reding , Sam Ravnborg , Rob Herring , David Airlie , Daniel Vetter , Svyatoslav Ryhel , Anton Bambura Subject: [PATCH v2 3/3] drm/panel: simple: Add support for HannStar HSD101PWW2 panel Date: Sun, 12 Dec 2021 00:36:53 +0300 Message-Id: <20211211213653.17700-4-digetx@gmail.com> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211211213653.17700-1-digetx@gmail.com> References: <20211211213653.17700-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 Signed-off-by: Dmitry Osipenko --- 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 dde033066f3d..f86378ff32a5 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, @@ -3775,6 +3800,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