From patchwork Sun May 29 18:05:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Svyatoslav Ryhel X-Patchwork-Id: 12864307 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 973D7C433F5 for ; Mon, 30 May 2022 06:15:26 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id AEB3610EDD1; Mon, 30 May 2022 06:15:25 +0000 (UTC) Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by gabe.freedesktop.org (Postfix) with ESMTPS id AD2CA10EAFD for ; Sun, 29 May 2022 18:06:11 +0000 (UTC) Received: by mail-wm1-x336.google.com with SMTP id y24so5239962wmq.5 for ; Sun, 29 May 2022 11:06:11 -0700 (PDT) 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=zFYgZvhp83sK1rEVnBROokNWvqjVb+nooTl5Q8Jq3Es=; b=T5mYLtntqSTW2NHmPHPmiYoyl7v+OltmupLQVnZPH+8nZPDDMuJuc15/7ZwHAG6uUJ m80hOEgpxg5HGZtW8Ssp4nAbnmqAcc3hRPldV7yrzl6erkd1tXE+JDprtf1Ab2Ez4RwW bMCmpxDZbHCOctbGM1t21/ETJ/FdR0AhreUUDHwfD7B0xtFZwCivyb49e9GQ5Ury3ZK1 nFdsRz5HxeQzmiwFgQxf/S9w9hBSiV16ooqvfSAmKwXPvtRmxm3gRqmiQIOxIzcZAtPR 0w3oX5qXZ0rctquVZd6uA/jCUvx3qx9iT50ymswT30n/Vhnh4G4/50XA2cPSD7hGtzXA qDsw== 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=zFYgZvhp83sK1rEVnBROokNWvqjVb+nooTl5Q8Jq3Es=; b=3C7ecKRuFRlpZiMVkUWIEQhYy4vwPoRKtNEIfeFS8cxEme8RUuckl9lSmlc2RqCS59 ybRtQF8/BpLi4oJBnVmn89uXG7hZJgNgBWEyd0emPXpxZR0WyvftlYLKMIzUsWwkTyb2 yAFBC+/W8j/AwofvNcCXSGj2PWOFL5nJcAUUzu/BQREU1Kcgyo1+4XuCtOf3axn55dco 0oC0k6OLg8wNJU/ByedQaeNv2/0/DS+a4CQ3K5bpq0Ah0xHO66pm7di0HxaGotNpQ3Q2 RkE09nBQQUSQ6cMCnzurzoxR+7QVH5dFwIRGuANA4eY2K5dVxmo3UBJ9+2XFMU0zZ0QV H7Tg== X-Gm-Message-State: AOAM530p6mijzqqn5hrFck8kT3kuTm/jI32CJzVZKq427Lh8RI3PRM5Z 3ldxa8apiiMy7zFFgyGgHas= X-Google-Smtp-Source: ABdhPJwmp/e6h8kx/mtlBT26zC+klEpl5jx34odhQs9TbgNx0fvqZmVdpbQ1slEz6nXHZnKA1JHbRg== X-Received: by 2002:a7b:c242:0:b0:397:43cd:8095 with SMTP id b2-20020a7bc242000000b0039743cd8095mr16272651wmj.174.1653847570199; Sun, 29 May 2022 11:06:10 -0700 (PDT) Received: from localhost.localdomain ([188.163.112.60]) by smtp.gmail.com with ESMTPSA id q7-20020a056000136700b002100f2e6a7dsm7008516wrz.93.2022.05.29.11.06.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 May 2022 11:06:09 -0700 (PDT) From: Svyatoslav Ryhel To: Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Svyatoslav Ruhel , Dmitry Osipenko , Anton Bambura Subject: [PATCH v5 1/3] dt-bindings: sharp, lq101r1sx01: Add compatible for LQ101R1SX03 Date: Sun, 29 May 2022 21:05:46 +0300 Message-Id: <20220529180548.9942-2-clamor95@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220529180548.9942-1-clamor95@gmail.com> References: <20220529180548.9942-1-clamor95@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 30 May 2022 06:15:25 +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" 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. Reviewed-by: Rob Herring Signed-off-by: Anton Bambura Signed-off-by: Dmitry Osipenko Signed-off-by: Svyatoslav Ryhel --- .../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 Sun May 29 18:05:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Svyatoslav Ryhel X-Patchwork-Id: 12864310 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 48F71C433F5 for ; Mon, 30 May 2022 06:15:38 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 79FB210EE56; Mon, 30 May 2022 06:15:37 +0000 (UTC) Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by gabe.freedesktop.org (Postfix) with ESMTPS id C632B10EAFD for ; Sun, 29 May 2022 18:06:12 +0000 (UTC) Received: by mail-wm1-x32c.google.com with SMTP id r9-20020a1c4409000000b00397345f2c6fso1681004wma.4 for ; Sun, 29 May 2022 11:06:12 -0700 (PDT) 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=EO26AUWJ/HH6ekAIEmzU6J8VaDRoPc2hBu7v7f55oYw=; b=Ut/3o/vjop+XvvOsl44WCqPBHIteAXJjKksKyEGNHkRYViEh/0H+iWhEPDIvMjoBue ypKg/NsWPyKUstGLXb4S4J8oeVoFoPGH/LCi0jjXmEyVnTEwBQ+g/UnUDgS8/aRjSoNX 8rq5KJVU4QFnAjdkf9l9xRFpXS1Uz2SWpwA1p4jW442nZT8dU2ZTfOBZL2L8Txp00BOl t8UxcfmEt+MgEWVTZfAOKamX7eABZ6ZqeWtytVrMfnKbd7EQsWTEbvkcoxInvYIPY00w eABRyy1twDuA+Eopf7svMdNh+zWooXxqjwd78M8L7/lA3ZIpTAL1RAihitqIqmsjQBiz 71aA== 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=EO26AUWJ/HH6ekAIEmzU6J8VaDRoPc2hBu7v7f55oYw=; b=vS53IavI260/IgP2XkxzZgr2wS6e6VHft7D0uoW6KE/lUVjJHfQiJeJU4MXdrGwUDi kKl5fDkB8Z/7zpD/DZYES62MJnXOzFkj5HVJn7zjoExrd1ingqaSud/z7FyP61fhfp1Y uUVWktNKBSffwNdo/zrn216LVazgP/LZSGKlDjU0DkjuEoK/JOyambTuLBcOUioXOKde Sr9Oh25ZqXIhw3fAOW9XV6bliXgwR6WiJhMc7sn5WAYalfmvs1gbCmK9f8QAlrUgntta b9dQ5n2k1rD5KEW8a/2kLL58BIH62W7VmEpHo2T4TL+90xB/uE2YdcOUM0F+Zt5XDvnu Bn4w== X-Gm-Message-State: AOAM53299ka8U0AwY4gAcJ7bs6SCQpoiH7NB/mqSAGTDD5MkCAHuLFFM QiWQHIFXsO88xgtpLTXpmGA= X-Google-Smtp-Source: ABdhPJxlYG8SM67NDb5Fbhbvwq3vk+QYOPmUHuzle9cj8mRUUh4U2pI0i/8Bz6YPyXdLUwaVR2YQ3Q== X-Received: by 2002:a7b:ce07:0:b0:394:890e:9193 with SMTP id m7-20020a7bce07000000b00394890e9193mr16240825wmc.117.1653847571313; Sun, 29 May 2022 11:06:11 -0700 (PDT) Received: from localhost.localdomain ([188.163.112.60]) by smtp.gmail.com with ESMTPSA id q7-20020a056000136700b002100f2e6a7dsm7008516wrz.93.2022.05.29.11.06.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 May 2022 11:06:11 -0700 (PDT) From: Svyatoslav Ryhel To: Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Svyatoslav Ruhel , Dmitry Osipenko , Anton Bambura Subject: [PATCH v5 2/3] dt-bindings: display: simple: Add HannStar HSD101PWW2 Date: Sun, 29 May 2022 21:05:47 +0300 Message-Id: <20220529180548.9942-3-clamor95@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220529180548.9942-1-clamor95@gmail.com> References: <20220529180548.9942-1-clamor95@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 30 May 2022 06:15:25 +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 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 1eb9dd4f8f58..0d6f3973b12d 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 May 29 18:05:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Svyatoslav Ryhel X-Patchwork-Id: 12864309 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 D7237C433F5 for ; Mon, 30 May 2022 06:15:29 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8E3CE10EE5C; Mon, 30 May 2022 06:15:26 +0000 (UTC) Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by gabe.freedesktop.org (Postfix) with ESMTPS id 008F410EB52 for ; Sun, 29 May 2022 18:06:13 +0000 (UTC) Received: by mail-wm1-x32d.google.com with SMTP id v4-20020a1cac04000000b00397001398c0so7246558wme.5 for ; Sun, 29 May 2022 11:06:13 -0700 (PDT) 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=sLHIukUkBNLikfr8LE6F72H0XZdEF3+8TPuvOmboOcI=; b=q6YRGtUng7jTkgFIREYfFdNMXaXc3P/uwUc9qSBoZKxuyCw7l9jTzi5W2AAcOvD6nn /T6j5Bq7P/HYp6ji4bNfI5vzhNnbfHvau154Xm+d2uxrYH9FTex5S/wAoLIcJUz18mW8 nWjIxJpWln62W+4JDsScVJKb4oR/jvGGZnLQA5Yk6Cam0YNn/EwPcA/A04rjuvwTcwaB tpoSyjwvbi3hFwYbRI1HAL/AjrFFBcLfI85nltNYcPWYEHUggzfswV2ZxJF9JIO2yzx4 UH0x5VayizSceebBExn13LXAXZWEqrzzXdfO55E5kmD+ncZeNz8LXJOJ4gqtm6yIWaBb 1icw== 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=sLHIukUkBNLikfr8LE6F72H0XZdEF3+8TPuvOmboOcI=; b=rYit9JSRSG5hqbQkF7Msfvx4xjjPon2Q2bRNJyYSRop/NPIQCzczvS54uyZN6Jer6g vERKMzO3da7MGrfHlZnLDsaf58flj0C7Snvha5INR0U5b26J0/S7PH9+TRiZVwblF+2x r+uK70KaXXcnTZbEAGUl0VkizL2qMZPBhY9PtcGjl9oMAgYArLcT9Sx0IzXJIsGb/Ajv PMI5Sd+Ghb0sv+G7T+kr1Z1N8jgerhVr1Z2V+c3tYN1l4IdSSO2AyrDgSFxjryF8HwKV oaCWRvEVg29VyIT6Zagkz7M80uV8S18wcfAJW6nSvUYWzTahdCrPBQ4HpzHXfu51q3LM LmLw== X-Gm-Message-State: AOAM5300lgVh4BNVg1iqWiloeKzzLr47QSWXFh16lBp6uZsVp4GxFUH9 QpStSA1ntHwrz77KF7NgyG8= X-Google-Smtp-Source: ABdhPJyb8iSO3fSTkbzE+IIpm38NksmGKQfy6w3HWePmJnmCZHhAX1WitMykwPHY4y48ln0tkpZdKw== X-Received: by 2002:a05:600c:4f09:b0:397:788b:33af with SMTP id l9-20020a05600c4f0900b00397788b33afmr15812702wmq.94.1653847572455; Sun, 29 May 2022 11:06:12 -0700 (PDT) Received: from localhost.localdomain ([188.163.112.60]) by smtp.gmail.com with ESMTPSA id q7-20020a056000136700b002100f2e6a7dsm7008516wrz.93.2022.05.29.11.06.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 May 2022 11:06:12 -0700 (PDT) From: Svyatoslav Ryhel To: Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Svyatoslav Ruhel , Dmitry Osipenko , Anton Bambura Subject: [PATCH v5 3/3] drm/panel: simple: Add support for HannStar HSD101PWW2 panel Date: Sun, 29 May 2022 21:05:48 +0300 Message-Id: <20220529180548.9942-4-clamor95@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220529180548.9942-1-clamor95@gmail.com> References: <20220529180548.9942-1-clamor95@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 30 May 2022 06:15:25 +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 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 a34f4198a534..915b7cecf451 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -1928,6 +1928,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, @@ -3834,6 +3859,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