Message ID | 20240109070949.23957-1-shengyang.chen@starfivetech.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-20470-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:37c1:b0:101:2151:f287 with SMTP id y1csp1496401dyq; Mon, 8 Jan 2024 23:40:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IHEpj4lMUjWbaJJnOFuxvVrNAR92VWvbOKYKFSJLS35+E3ku4W0FKzygjguMslIfTwLVrdP X-Received: by 2002:a05:6358:891:b0:175:97b6:af58 with SMTP id m17-20020a056358089100b0017597b6af58mr2300894rwj.55.1704786025556; Mon, 08 Jan 2024 23:40:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1704786025; cv=pass; d=google.com; s=arc-20160816; b=sfMJyUZ+Rh9n0DZIJZsCc37J3uHYcXGbem3m6b7VBZSGb17+3mHsCtK4PE0PkXvbEq z/LUKzaBkVgLLipx7uBw/1sfWX+tfkzKvm26dFB8O7iTvXytIOFYX0Wlej8UBayyo4cE /4DQ0NWOE0Y8egOh2e9uazVzIqDZ+kRX+qntIJNUcRzBJGTFwgt5fdt0CoPQPJa1IBPr JLdhUBubRrVoFow0ADdJ11fPsCvGF9WglXZxNYX6tNqDBnL2zO9qBw3n92kIk22PsKBm 9xvaYOUv6Mvw2tvykEO79bQ3uw3duurDF9ni72DBQxi7Joz2zlxO0IDiMtp71GY+QYFg OF+w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:subject:cc:to:from; bh=3tSI6bwsql5B2iKsJOZJuslOyuEHljrzwWiX3sGKD/k=; fh=tiApDVwX1tV4UyMHBb6gVYzaS0NSWv3MtspnrfDqZ+I=; b=G2j0w2t4YMmNh+HRC7pcBzEPAqeT9nG7TsKVn/sJayW+f6bk5iNRqgZaWUVU34O4Ce vwvbbBCGsBtiFbvIM39o/YlzxsYN4+2wssTeFH8Pig8qGhl3n9enDqcrk8oY6o0/Z72x VulTmWhvdp8xxKT4HhHMUrl34AAVsHE6oyCCa9Tq74M/v6Q8UibFtYMOQKlP5ZPc7bdL sCRBhco5wBUsFjMds8fC/1jBNqwNicZ6XSaOw9acVWOx3m7yE3kVIJBWfDt66bCGcp7g eArQFrAkHbvW7yFnjDlyycWY6uX+x7t7WN1OwxnQSann+FqGy/yyaxAdnMGyA8zWVkqK fUpQ== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=starfivetech.com dkim=pass dkdomain=starfivetech.com dmarc=pass fromdomain=starfivetech.com); spf=pass (google.com: domain of linux-kernel+bounces-20470-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20470-ouuuleilei=gmail.com@vger.kernel.org" Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id by8-20020a056a02058800b005cdf9c8e926si1059024pgb.325.2024.01.08.23.40.25 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 23:40:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-20470-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=starfivetech.com dkim=pass dkdomain=starfivetech.com dmarc=pass fromdomain=starfivetech.com); spf=pass (google.com: domain of linux-kernel+bounces-20470-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20470-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 0E38BB250FE for <ouuuleilei@gmail.com>; Tue, 9 Jan 2024 07:27:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C2F12B670; Tue, 9 Jan 2024 07:24:37 +0000 (UTC) Received: from CHN02-SH0-obe.outbound.protection.partner.outlook.cn (mail-sh0chn02on2086.outbound.protection.partner.outlook.cn [139.219.146.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4DED4381BB; Tue, 9 Jan 2024 07:24:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=starfivetech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=starfivetech.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BPHhfrQ/MMjMqSvOodFrjanOxsMAetYTtKmjwOsH8z2UQFLDnavXfsjgNvR2cGfMR2LpLRHjt34q/o/J8U1TyrPQ1mywQZV1P+gzHCj12eHCxokC5X91qytXt9hf0hwPr99pRu6vNfn9qDeZOeEkE9pUF2mJBJJvMWuAjwRUO/jYN8f2+jJl/yY33lf/R1DwvVFUw57WW1yAbmAHXZeFiZpvgwrOIbUiuCBZh2kzNrHQwrdei5SQoI8lwhg7v2g3/RyWT4Y57Zsk9RqKQHdKXi4Zb5E+dHEEp23LE5x00dmqwrym0HLWjACQWg4bRA58Vj5QzCKbNXCuVb3SMQY6XA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=3tSI6bwsql5B2iKsJOZJuslOyuEHljrzwWiX3sGKD/k=; b=UVnDfe3OuJn81MEdzApqsExB5D6xL7u2NM8WbNWdlgTWBjpyst9z3OF98E7oGBshBjrGfko5uhmqUcPdApUzmvxXQAhmbo8XZeyqlT4fwlTvV1qs98SpcuiN14qlrVK7Lcg8CJahEndzzCk9jF0nPeHJDYuG3TA3x/fgx8NZNwPqp1miojj8DIdL/iYAHWomhxOubCXKfbacoHjIiQkaOlywDI/bVd/0mM6Ev4xDBHMnkB/XrlnGzBb8AQzHCxkm7c+9SIwMO52DJ8PC5FoXsc6KYJxHEs26lQfzYkBtH5qEFGIUiUM6Ftgpt3aflsbggmA0Wp1Tuy241XbIyjGs8A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=starfivetech.com; dmarc=pass action=none header.from=starfivetech.com; dkim=pass header.d=starfivetech.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=starfivetech.com; Received: from NT0PR01MB1070.CHNPR01.prod.partner.outlook.cn (2406:e500:c510:3::6) by NT0PR01MB1133.CHNPR01.prod.partner.outlook.cn (2406:e500:c510:6::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7135.20; Tue, 9 Jan 2024 07:09:57 +0000 Received: from NT0PR01MB1070.CHNPR01.prod.partner.outlook.cn ([fe80::85fc:7fb9:8b00:dd88]) by NT0PR01MB1070.CHNPR01.prod.partner.outlook.cn ([fe80::85fc:7fb9:8b00:dd88%3]) with mapi id 15.20.7135.019; Tue, 9 Jan 2024 07:09:57 +0000 From: Shengyang Chen <shengyang.chen@starfivetech.com> To: devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org Cc: neil.armstrong@linaro.org, quic_jesszhan@quicinc.com, sam@ravnborg.org, airlied@gmail.com, daniel@ffwll.ch, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, wahrenst@gmx.net, dave.stevenson@raspberrypi.com, thierry.reding@gmail.com, changhuang.liang@starfivetech.com, keith.zhao@starfivetech.com, shengyang.chen@starfivetech.com, jack.zhu@starfivetech.com, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/2] Add waveshare 7inch touchscreen panel support Date: Tue, 9 Jan 2024 15:09:47 +0800 Message-Id: <20240109070949.23957-1-shengyang.chen@starfivetech.com> X-Mailer: git-send-email 2.17.1 Content-Type: text/plain X-ClientProxiedBy: NT0PR01CA0013.CHNPR01.prod.partner.outlook.cn (2406:e500:c510::17) To NT0PR01MB1070.CHNPR01.prod.partner.outlook.cn (2406:e500:c510:3::6) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: NT0PR01MB1070:EE_|NT0PR01MB1133:EE_ X-MS-Office365-Filtering-Correlation-Id: 097b2250-45f2-4524-9847-08dc10e1fc6d X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: E1zSTqNPEo8Ulbqi2hXpZHM+nWxh1z74TgGoITO6tB8uk7/N1RFJwCcNwcQGAPcz77YG9/YQYXGC7pdN/hwwm9WN44m/B+XKvYAmIVZ/eoEGgRErNqFA4hJGlZmVTVIzifu7NGv6jLs7NT9QG4gVKyLeSUTbDfpqSE5ryjmBE9DZu3z2uCdNf2RltvxnRNuWN5qJ5R89ynT3l2gC/RkDtVvedgc5HFkXoIYx6oAMKv/Ezp4VyQ0mOc+nwP213yhsBa+buVkk/D69vi0MhQnThD5qloQkBbWILVSIB/47AGdUTZvifLMLoDcciStl2fyf4CmGHH1+iw/64tCE7pAmRSAAXsQ/c7pqygoL8Vick5ZDIlTy9BsfTIIiP/697nFsMRMJTmIfP6romffVgOt/SjW5gEuP3fewSgYFLV8+4ndvYyTe33dR725hMm7P5CoxAsGaSUwXf4/vThK47x9dX10VZiD7UZ75eVGHVdzOzK2qyilOB2Wm0uTMk6YTOZ0ZrqXkzZCRm6JU3lFYZUsrFmA6OZDlBYNLo+e4XssY9JRFphF7VSdGIsPSOE9/OkN3 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:NT0PR01MB1070.CHNPR01.prod.partner.outlook.cn;PTR:;CAT:NONE;SFS:(13230031)(396003)(39830400003)(366004)(346002)(136003)(230922051799003)(451199024)(186009)(1800799012)(64100799003)(66476007)(66946007)(4326008)(66556008)(8936002)(44832011)(36756003)(26005)(2616005)(966005)(6666004)(1076003)(508600001)(8676002)(41320700001)(41300700001)(5660300002)(2906002)(4744005)(7416002)(52116002)(83380400001)(40180700001)(38350700005)(40160700002)(86362001)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: C4m/yr4V5Ax9haXYVQprJJLrMYCriV9J99mqMM4Ez4IVQaszC4NCTs5igbmp95hjnxQdwTbjXOhxi2tZ0Lc+vuNqs4Z1UHt11extpeBltxkAyHJgXHjt1rpqhqPD4jC6o8iOZVnH2WahWs+TMyvC/j3RFnixQo/B89RzTK54icWdFi/kma17ryuEDbOh95S1lc5cNTmbjuGeD8TGwGNxD3fuUD3LoN3l9j5ActIH7VFlm8SdBf6cypFMwSqAUA7Txqf8tEjovIwHOqnnvFcswa+S39puLsAT627JWiUA8iOHl5A5AjSVJQ3klqCf0o8xRa30ShfuTiIEEGbSpBV4pgZinnKnJjXcaIjGnrTIOAuGaMXbTymeLYbSgKaYd2x+SEPutdksseK8K+UMzOkXKZlzHtnvIe58pQbWXwd9mX/Y3AvdrvM4vtAiwiHG56pWfzkvXcit9Crx60RgSwiN2RNRMQirkqQGva9I91zzMAVA/gN1ttvajbP0uokGQOI7aqYuBXVRa8F/32hAATdG8PSIr+A/dErAEbbrLdjeaV1gb282lCFWUMnZmKasalPuPjdzJqaIve+juk6/FXCVvluubaO0V0vCkVR/VcJBwZFcB14th/Sj/YZVy/5WlNw3qZhMgHItTCLXuLG7f821tMo0Z7L8W3LGEQI2b4RIWlGC/bp4zD8nE4BovrHjucTrA8tDEIEVaoMHt9bDx62qEoypmHDGdBP+W/mPcxIfsy9hVdlyJIw/4Ti5fdQWF06ltI9a1MrILYAEj0MlOkhcnBynnh2UgNKSZU1HpnLnOew5MCQwTOLdIIF9EolXApdOpXVo8Z2EVeBKP7M0nbYJly/Z6A9zzgarjLaEsJdKJDU1V+20OSRRX9Rw3wNy5xVEiKtyj6qnUzra0M/1G444FOqrLm+Xzs2LQKkkbzkrAukk+1U4W/2atGyTSTNgwcVECWzE3KBKvPvN4hZO/AynbzorfspbE8MydSV2FVthbnXA9o9SNLjVleUpQOuSCF/uzJlSViy+Ad8VGJOVIFpCOF3ZSKH/zFH2OmyeoxWgr5yfr5MJFPj32ou0nn77xKeUGnjtgslh6sqY9IQdDD89yUfJl59WSS3SsXoT7TXBd7hRkoVfTohPWIk24/DKEoqInMCuzU+xOj951jqZFOuJG8AJZYbGKyIqHM0tSmpkZliNht4IfeUrK8eDScQHNaa5pVJELdVQeMaOuA1lbSebr91GKDIh0chI/jhnVGE5s2HsyE2SWbxA06EIXtuTsLU7ggfF683jFcUbnrz1FIxeiNfYWY7S6dJsBuL0gwQNJzr9sJ+rw6a/kgZmsHk7R6WIwzlimcmNM2n0ENz/L1s2WoC+M8Wn6Oe4c42C96iJUexIWRH0TvQn6MGmhhu71a+651A5g0kbseIjigFDyKQSWeoMbCD57qHHZfb+a1Gp5HrEFGlqct9vMHwgdCTljjidK4UFP2/2dA1fl4UqezI1RP8xn3ik/Cqb7UtaDT7MGvgxi40xpEIbtvN7VRubQVg5VAnPWn3pzKp3Kzov/P+sAgADqvyxXO/924Ys9V02/4IJyGNzAgRQuG6cl4mcV+VhkUZV+vBiHSumdZL6ICyhEJok0pD3IY7prklcHm2zyec= X-OriginatorOrg: starfivetech.com X-MS-Exchange-CrossTenant-Network-Message-Id: 097b2250-45f2-4524-9847-08dc10e1fc6d X-MS-Exchange-CrossTenant-AuthSource: NT0PR01MB1070.CHNPR01.prod.partner.outlook.cn X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2024 07:09:57.0439 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 06fe3fa3-1221-43d3-861b-5a4ee687a85c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: TlzVIVyFki9ph9Zn/lcTMkPiUgUTi5ZnAiTix4gHxR+/fS3151R7nM8nra9nMcKqKJyfEuHy8EDsTaDLTrYmoOYvPrs7jptrxRxPpUzQw14= X-MS-Exchange-Transport-CrossTenantHeadersStamped: NT0PR01MB1133 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787597711506323520 X-GMAIL-MSGID: 1787597711506323520 |
Series |
Add waveshare 7inch touchscreen panel support
|
|
Message
Shengyang Chen
Jan. 9, 2024, 7:09 a.m. UTC
This patchset adds waveshare 7inch touchscreen panel support for the StarFive JH7110 SoC. changes since v1: - Rebased on tag v6.7. patch 1: - Gave up original changing. - Changed the commit message. - Add compatible in panel-simple.yaml patch 2: - Gave up original changing. - Changed the commit message. - Add new mode for the panel in panel-simple.c v1: https://patchwork.kernel.org/project/dri-devel/cover/20231124104451.44271-1-shengyang.chen@starfivetech.com/ Shengyang Chen (2): dt-bindings: display: panel: panel-simple: Add compatible property for waveshare 7inch touchscreen panel gpu: drm: panel: panel-simple: add new display mode for waveshare 7inch touchscreen panel .../bindings/display/panel/panel-simple.yaml | 2 ++ drivers/gpu/drm/panel/panel-simple.c | 28 +++++++++++++++++++ 2 files changed, 30 insertions(+)
Comments
Hi, On 09/01/2024 08:09, Shengyang Chen wrote: > This patchset adds waveshare 7inch touchscreen panel support > for the StarFive JH7110 SoC. Could you precise which SKU you're referring to ? is it 19885 => https://www.waveshare.com/7inch-dsi-lcd.htm ? Are you sure it requires different timings from the RPi one ? In the Waveshare wiki it explicitly uses the rpi setup (vc4-kms-dsi-7inch) to drive it: https://www.waveshare.com/wiki/7inch_DSI_LCD Neil > > > changes since v1: > - Rebased on tag v6.7. > > patch 1: > - Gave up original changing. > - Changed the commit message. > - Add compatible in panel-simple.yaml > > patch 2: > - Gave up original changing. > - Changed the commit message. > - Add new mode for the panel in panel-simple.c > > v1: https://patchwork.kernel.org/project/dri-devel/cover/20231124104451.44271-1-shengyang.chen@starfivetech.com/ > > Shengyang Chen (2): > dt-bindings: display: panel: panel-simple: Add compatible property for > waveshare 7inch touchscreen panel > gpu: drm: panel: panel-simple: add new display mode for waveshare > 7inch touchscreen panel > > .../bindings/display/panel/panel-simple.yaml | 2 ++ > drivers/gpu/drm/panel/panel-simple.c | 28 +++++++++++++++++++ > 2 files changed, 30 insertions(+) >
Hi On Tue, 9 Jan 2024 at 11:19, <neil.armstrong@linaro.org> wrote: > > Hi, > > On 09/01/2024 08:09, Shengyang Chen wrote: > > This patchset adds waveshare 7inch touchscreen panel support > > for the StarFive JH7110 SoC. > > Could you precise which SKU you're referring to ? is it 19885 => https://www.waveshare.com/7inch-dsi-lcd.htm ? > > Are you sure it requires different timings from the RPi one ? In the Waveshare > wiki it explicitly uses the rpi setup (vc4-kms-dsi-7inch) to drive it: https://www.waveshare.com/wiki/7inch_DSI_LCD I raise the same question. Keith Zhao earlier submitted effectively the same set of patches [1] and the response for the updated timing was: <quote> My platform dphy tx hardware has certain limitations. Only supports integer multiples of 10M bitrate: such as 160M ,170M, 180M,190M,...1G(max) as common dphy bitrate = pixclock*bpp/lanes. This value cannot match successfully in most cases. so in order to match bitrate , I choose a bitrate value around pixclock*bpp/lanes, Prevent overflow and underflow by fine-tuning the timing parameters:-( that will make the new timming value. </quote> I then suggested mode_fixup should be used in the DSI host driver, and Keith acknowledged that. Is this new timing still because of the DSI host requirement? Dave [1] https://lists.freedesktop.org/archives/dri-devel/2023-December/434150.html > Neil > > > > > > > changes since v1: > > - Rebased on tag v6.7. > > > > patch 1: > > - Gave up original changing. > > - Changed the commit message. > > - Add compatible in panel-simple.yaml > > > > patch 2: > > - Gave up original changing. > > - Changed the commit message. > > - Add new mode for the panel in panel-simple.c > > > > v1: https://patchwork.kernel.org/project/dri-devel/cover/20231124104451.44271-1-shengyang.chen@starfivetech.com/ > > > > Shengyang Chen (2): > > dt-bindings: display: panel: panel-simple: Add compatible property for > > waveshare 7inch touchscreen panel > > gpu: drm: panel: panel-simple: add new display mode for waveshare > > 7inch touchscreen panel > > > > .../bindings/display/panel/panel-simple.yaml | 2 ++ > > drivers/gpu/drm/panel/panel-simple.c | 28 +++++++++++++++++++ > > 2 files changed, 30 insertions(+) > > >
Hi, Neil Thanks for your comment. > -----Original Message----- > From: neil.armstrong@linaro.org <neil.armstrong@linaro.org> > Sent: 2024年1月9日 19:19 > To: Shengyang Chen <shengyang.chen@starfivetech.com>; > devicetree@vger.kernel.org; dri-devel@lists.freedesktop.org > Cc: quic_jesszhan@quicinc.com; sam@ravnborg.org; airlied@gmail.com; > daniel@ffwll.ch; maarten.lankhorst@linux.intel.com; mripard@kernel.org; > tzimmermann@suse.de; robh+dt@kernel.org; > krzysztof.kozlowski+dt@linaro.org; conor+dt@kernel.org; wahrenst@gmx.net; > dave.stevenson@raspberrypi.com; thierry.reding@gmail.com; Changhuang > Liang <changhuang.liang@starfivetech.com>; Keith Zhao > <keith.zhao@starfivetech.com>; Jack Zhu <jack.zhu@starfivetech.com>; > linux-kernel@vger.kernel.org > Subject: Re: [PATCH v2 0/2] Add waveshare 7inch touchscreen panel support > > Hi, > > On 09/01/2024 08:09, Shengyang Chen wrote: > > This patchset adds waveshare 7inch touchscreen panel support for the > > StarFive JH7110 SoC. > > Could you precise which SKU you're referring to ? is it 19885 => > https://www.waveshare.com/7inch-dsi-lcd.htm ? > yes, it is sorry for confusing you. > Are you sure it requires different timings from the RPi one ? In the Waveshare > wiki it explicitly uses the rpi setup (vc4-kms-dsi-7inch) to drive it: > https://www.waveshare.com/wiki/7inch_DSI_LCD > Referring to Keith's answer https://lists.freedesktop.org/archives/dri-devel/2023-December/434200.html the panel timing value is generated to fit phy's bitrate and prevent overflow and underflow. Referring to the suggestion, we may try other timing from panel-simple to drive the panel. > Neil > > > > > > > changes since v1: > > - Rebased on tag v6.7. > > > > patch 1: > > - Gave up original changing. > > - Changed the commit message. > > - Add compatible in panel-simple.yaml > > > > patch 2: > > - Gave up original changing. > > - Changed the commit message. > > - Add new mode for the panel in panel-simple.c > > > > v1: > > https://patchwork.kernel.org/project/dri-devel/cover/20231124104451.44 > > 271-1-shengyang.chen@starfivetech.com/ > > > > Shengyang Chen (2): > > dt-bindings: display: panel: panel-simple: Add compatible property for > > waveshare 7inch touchscreen panel > > gpu: drm: panel: panel-simple: add new display mode for waveshare > > 7inch touchscreen panel > > > > .../bindings/display/panel/panel-simple.yaml | 2 ++ > > drivers/gpu/drm/panel/panel-simple.c | 28 > +++++++++++++++++++ > > 2 files changed, 30 insertions(+) > > Best Regards, Shengyang
On 16/01/2024 10:32, Shengyang Chen wrote: > Hi, Neil > > Thanks for your comment. > >> -----Original Message----- >> From: neil.armstrong@linaro.org <neil.armstrong@linaro.org> >> Sent: 2024年1月9日 19:19 >> To: Shengyang Chen <shengyang.chen@starfivetech.com>; >> devicetree@vger.kernel.org; dri-devel@lists.freedesktop.org >> Cc: quic_jesszhan@quicinc.com; sam@ravnborg.org; airlied@gmail.com; >> daniel@ffwll.ch; maarten.lankhorst@linux.intel.com; mripard@kernel.org; >> tzimmermann@suse.de; robh+dt@kernel.org; >> krzysztof.kozlowski+dt@linaro.org; conor+dt@kernel.org; wahrenst@gmx.net; >> dave.stevenson@raspberrypi.com; thierry.reding@gmail.com; Changhuang >> Liang <changhuang.liang@starfivetech.com>; Keith Zhao >> <keith.zhao@starfivetech.com>; Jack Zhu <jack.zhu@starfivetech.com>; >> linux-kernel@vger.kernel.org >> Subject: Re: [PATCH v2 0/2] Add waveshare 7inch touchscreen panel support >> >> Hi, >> >> On 09/01/2024 08:09, Shengyang Chen wrote: >>> This patchset adds waveshare 7inch touchscreen panel support for the >>> StarFive JH7110 SoC. >> >> Could you precise which SKU you're referring to ? is it 19885 => >> https://www.waveshare.com/7inch-dsi-lcd.htm ? >> > > yes, it is > sorry for confusing you. > >> Are you sure it requires different timings from the RPi one ? In the Waveshare >> wiki it explicitly uses the rpi setup (vc4-kms-dsi-7inch) to drive it: >> https://www.waveshare.com/wiki/7inch_DSI_LCD >> > > Referring to Keith's answer > https://lists.freedesktop.org/archives/dri-devel/2023-December/434200.html > the panel timing value is generated to fit phy's bitrate and prevent overflow and underflow. > > Referring to the suggestion, we may try other timing from panel-simple to drive the panel. Please implement a mode_fixup in your DSI host driver instead. Neil > >> Neil >> >>> >>> >>> changes since v1: >>> - Rebased on tag v6.7. >>> >>> patch 1: >>> - Gave up original changing. >>> - Changed the commit message. >>> - Add compatible in panel-simple.yaml >>> >>> patch 2: >>> - Gave up original changing. >>> - Changed the commit message. >>> - Add new mode for the panel in panel-simple.c >>> >>> v1: >>> https://patchwork.kernel.org/project/dri-devel/cover/20231124104451.44 >>> 271-1-shengyang.chen@starfivetech.com/ >>> >>> Shengyang Chen (2): >>> dt-bindings: display: panel: panel-simple: Add compatible property for >>> waveshare 7inch touchscreen panel >>> gpu: drm: panel: panel-simple: add new display mode for waveshare >>> 7inch touchscreen panel >>> >>> .../bindings/display/panel/panel-simple.yaml | 2 ++ >>> drivers/gpu/drm/panel/panel-simple.c | 28 >> +++++++++++++++++++ >>> 2 files changed, 30 insertions(+) >>> > > > Best Regards, > Shengyang
Hi, Stefan Thanks for your comment and suggestion. > -----Original Message----- > From: Stefan Wahren <wahrenst@gmx.net> > Sent: 2024年1月10日 1:22 > To: neil.armstrong@linaro.org; Shengyang Chen > <shengyang.chen@starfivetech.com>; devicetree@vger.kernel.org; > dri-devel@lists.freedesktop.org > Cc: quic_jesszhan@quicinc.com; sam@ravnborg.org; airlied@gmail.com; > daniel@ffwll.ch; maarten.lankhorst@linux.intel.com; mripard@kernel.org; > tzimmermann@suse.de; robh+dt@kernel.org; > krzysztof.kozlowski+dt@linaro.org; conor+dt@kernel.org; > dave.stevenson@raspberrypi.com; thierry.reding@gmail.com; Changhuang > Liang <changhuang.liang@starfivetech.com>; Keith Zhao > <keith.zhao@starfivetech.com>; Jack Zhu <jack.zhu@starfivetech.com>; > linux-kernel@vger.kernel.org > Subject: Re: [PATCH v2 0/2] Add waveshare 7inch touchscreen panel support > > Hi Neil, > > Am 09.01.24 um 12:19 schrieb neil.armstrong@linaro.org: > > Hi, > > > > On 09/01/2024 08:09, Shengyang Chen wrote: > >> This patchset adds waveshare 7inch touchscreen panel support for the > >> StarFive JH7110 SoC. > > > > Could you precise which SKU you're referring to ? is it 19885 => > > https://www.waveshare.com/7inch-dsi-lcd.htm ? > > > > Are you sure it requires different timings from the RPi one ? In the > > Waveshare wiki it explicitly uses the rpi setup (vc4-kms-dsi-7inch) to > > drive it: > > https://www.waveshare.com/wiki/7inch_DSI_LCD > i don't have an anser for your question, but the Raspberry Pi vendor tree use > different timings than the Mainline kernel: > > https://github.com/raspberrypi/linux/commit/222b9baa97cc4c880d040a8c6a5 > da80d6a42c8e8 > > Additionally the > arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-rpidsi.dtso suggests that > it uses the Raspberry Pi 7inch, but uses the timings of > powertip,ph800480t013-idf02 from panel-simple. > > Maybe Shengyang could test these timings with the Waveshare touch. At the > end this rely on a proper implementation on the underlying drivers. > > Sorry, for adding more confusion. > Thanks for suggestion. We will try other timing from panel-simple. Maybe we are not going to commit new panel timing patch if we find useful timing from panel-simple to drive the panel. > Regards > > > > Neil > > > >> > >> > >> changes since v1: > >> - Rebased on tag v6.7. > >> > >> patch 1: > >> - Gave up original changing. > >> - Changed the commit message. > >> - Add compatible in panel-simple.yaml > >> > >> patch 2: > >> - Gave up original changing. > >> - Changed the commit message. > >> - Add new mode for the panel in panel-simple.c > >> > >> v1: > >> https://patchwork.kernel.org/project/dri-devel/cover/20231124104451.4 > >> 4271-1-shengyang.chen@starfivetech.com/ > >> > >> Shengyang Chen (2): > >> dt-bindings: display: panel: panel-simple: Add compatible property > >> for > >> waveshare 7inch touchscreen panel > >> gpu: drm: panel: panel-simple: add new display mode for waveshare > >> 7inch touchscreen panel > >> > >> .../bindings/display/panel/panel-simple.yaml | 2 ++ > >> drivers/gpu/drm/panel/panel-simple.c | 28 > >> +++++++++++++++++++ > >> 2 files changed, 30 insertions(+) > >> > > thanks Best Regards, Shengyang