From patchwork Fri Aug 4 13:02:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Riesch X-Patchwork-Id: 13150 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:44a:b0:3f2:4152:657d with SMTP id ez10csp266203vqb; Fri, 4 Aug 2023 06:34:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHUmYBtJgxlJN4/w7NFtVKOu4VTcfmmpeMjP9X7/dF+pIEeE7YD1w8eW3Os2O5ADHi2MCNE X-Received: by 2002:a05:6a00:1993:b0:67e:bf65:ae68 with SMTP id d19-20020a056a00199300b0067ebf65ae68mr1670485pfl.3.1691156075697; Fri, 04 Aug 2023 06:34:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1691156075; cv=pass; d=google.com; s=arc-20160816; b=rebnQirfNYlXVua7zTiAS0YXaIQExixUYhgXJwMynzXIK6JKNFEKan4q+eEvsvcXXC XxD7Up4pXIpsSFhG+kg3PxSxfFKbD7iS92mMc2cCz5ghe3jHqXvqgmfHC9FmnuCUCoU7 0Wmhq86xUiCaAySmaQ/+HWGwLjbgWmOGA405ooOKu3stxZpY1N6egKFfnZMkUw5ZrDoR Jl0igafKdV9DfncJH1Mp2rhfSj96T6IxqqN0B2T5Zd1a5zszd/vHKGqu3EB9ygqlPCZU zCNep1R+tVmC0phovLCzM/nV4YLhMKn+WGPh5LzLJ3yKqfPoT7Wk10i+7KB8Tsd/NFb5 oLbA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:cc:to:content-transfer-encoding :message-id:date:subject:from:dkim-signature; bh=1AjY8tLPl+UeolIhnYooEwdpMBJTzG7Omsc1oajt5iQ=; fh=aeLeNr0tz67IM/A8O9NPsdHyeFBW/nyOGmYdkP7Bu90=; b=bnSli+iXpkK9ctnUdpHRbYlaZGDoFB9nCrz6N4gl51bzsnk7hF4ODd7KfDiIYMpYHA 0VZCdodAxgB7AKKlDXofZ6dGZ9zd06BVZJYkmJL903qqSsuZAoU8fW8/QGdIwZ3QS2Tf /fQBIgJ7+AoyTjwS0TDj5EDIvxqN0qThUKatJ3EEBEm2aK3vKO4S636M5Bo/JWb3GBiz JBMuROzlQzTF4kein1KKADipQknLxb9Uels7jj5rxz4rHlIqowIc2B2yt0GwonkWpzuI FmklGvtgznFx40Zs7W1RC+C33jT3B9pkjDLkAtSWJczffrH00wJpW+R7vwUdWIHbiUyA DS2w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wolfvision.net header.s=selector2 header.b=cHEPdguN; arc=pass (i=1 spf=pass spfdomain=wolfvision.net dkim=pass dkdomain=wolfvision.net dmarc=pass fromdomain=wolfvision.net); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wolfvision.net Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e188-20020a6369c5000000b0055c993fe858si1760045pgc.892.2023.08.04.06.34.21; Fri, 04 Aug 2023 06:34:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@wolfvision.net header.s=selector2 header.b=cHEPdguN; arc=pass (i=1 spf=pass spfdomain=wolfvision.net dkim=pass dkdomain=wolfvision.net dmarc=pass fromdomain=wolfvision.net); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wolfvision.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229936AbjHDNCq (ORCPT + 99 others); Fri, 4 Aug 2023 09:02:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229826AbjHDNCo (ORCPT ); Fri, 4 Aug 2023 09:02:44 -0400 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2060.outbound.protection.outlook.com [40.107.20.60]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0167E13D; Fri, 4 Aug 2023 06:02:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=D7OcVCqF5n7ckHkc2bq6RRGRQj3v0ohkkNQuVk/F1wu3KV4YQA7TMIcZ1z6zb2iM+qT366AhthIBGJD8EWFviHZ63oMxtbuUNOIrKtk4X66CdmZ5/ZUlDe9if1B11f5z/mdCoL1wk1b25yddTsnmSkhOKTAX7ttx6oAtXUP2FzJwr5AxAIuimy3FLamY32E2EAwXtGlmpOuSH8nnzJDiQiBj/itX3zusawPXPSciVTzru2Zg5vTvLn9aU63QhxWG2ruzcDeSpTSdyW/8FcmirYreyKhl04uNfqb+8tll8VdKwqvknoN3jPBj8f6BBoBcJ1sEnJqh12Fj4CzZyNz7Bw== 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=1AjY8tLPl+UeolIhnYooEwdpMBJTzG7Omsc1oajt5iQ=; b=lbRt5dMu5m6gEMeOSfoWjhxCHeTXf/NQ6g7HzBS5QNHd4tMDJsWJJFR7SlCD5rJXJfRJY4jNbKfntKKGAG1rkkHwoDErWuRyKOxafjX00EpiDcWUFR+lv88o+YWY7kO7V0ydg/vBzIa3XC2IP5vcjePlcuUk4Zgx6mHuF56NNSyNsWhY7CwTl3js+u32XHK5KbpBcuUDadcePoD9q1eslPwI7Q1/gFoDPhW9I0AB7IURk3yfiaZeeQAY5BYbAkRI+RE4WT+OgHn9x/ts+XO5EBV7YcE1W7dDrfeRJngfYpFOC1kssAJV8zyeenCcM8CNg0+P+2MmcbuvsV2hFNsqjA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wolfvision.net; dmarc=pass action=none header.from=wolfvision.net; dkim=pass header.d=wolfvision.net; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wolfvision.net; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1AjY8tLPl+UeolIhnYooEwdpMBJTzG7Omsc1oajt5iQ=; b=cHEPdguNYWhqWtrJo90U4S5jL1DFVtXS3jQtZEckX2x2pvcj9hOeR41QNfLKHG7Ul0SW7R+phSBkELhZnLZVRj9xFPC6Qw3Y1Bdwnnnn4NRbWeAmUwZd/S/89+cNcBNrn1V7xtznPrh8RMyNsgFXOI7gIrHHnGgFLJX+hV9jxZ8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wolfvision.net; Received: from DU0PR08MB9155.eurprd08.prod.outlook.com (2603:10a6:10:416::5) by PAVPR08MB9353.eurprd08.prod.outlook.com (2603:10a6:102:302::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6631.47; Fri, 4 Aug 2023 13:02:40 +0000 Received: from DU0PR08MB9155.eurprd08.prod.outlook.com ([fe80::9d1a:4539:a8f8:dd60]) by DU0PR08MB9155.eurprd08.prod.outlook.com ([fe80::9d1a:4539:a8f8:dd60%7]) with mapi id 15.20.6631.046; Fri, 4 Aug 2023 13:02:40 +0000 From: Michael Riesch Subject: [PATCH v2 0/4] drm/panel: sitronix-st7789v: add support for partial mode Date: Fri, 04 Aug 2023 15:02:31 +0200 Message-Id: <20230718-feature-lcd-panel-v2-0-2485ca07b49d@wolfvision.net> X-B4-Tracking: v=1; b=H4sIAOf2zGQC/32Oyw6CMBBFf4XM2jGliDxW/odhMdCpNGkKaQtqC P9uxb3Lc5KbczcI7A0HaLMNPK8mmMklkKcMhpHcg9GoxCCFLESV16iZ4uIZ7aBwJscW5VU1WjZ U1YWAtOspMPae3DCmpVusTXL2rM3rCN27xKMJcfLvo7vmX/svseYokBuqS1UW1UWr23Oy+vf27 DhCt+/7Bztz8kfMAAAA To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Neil Armstrong , Sam Ravnborg , David Airlie , Daniel Vetter , Maxime Ripard , Miquel Raynal , Sebastian Reichel , Gerald Loacker Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Conor Dooley , Michael Riesch X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1691154158; l=1212; i=michael.riesch@wolfvision.net; s=20230425; h=from:subject:message-id; bh=LGY0KAlrWbMMIjTqYlEAbb45+zIBUZ9W+xLiNxjSsNY=; b=/i4ADlsnp3ia45F0G3F0a+5QR2UZZqMOWWLETQTCdDlqwWgt6zDUqUyj2NXC9O0OQU/ZeTtbK HGgY5qbbN78Cy8veUcpJwj6dr6ymjzKi8dJfz8mmbHk60SmSa58ZRib X-Developer-Key: i=michael.riesch@wolfvision.net; a=ed25519; pk=1QQdXA2QbwdxaQn/VQK0hz04C8IBYhDowbK0hlNU4Ng= X-ClientProxiedBy: VI1P189CA0023.EURP189.PROD.OUTLOOK.COM (2603:10a6:802:2a::36) To DU0PR08MB9155.eurprd08.prod.outlook.com (2603:10a6:10:416::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR08MB9155:EE_|PAVPR08MB9353:EE_ X-MS-Office365-Filtering-Correlation-Id: 7f71cd6c-1fd6-4c15-c2f1-08db94eb1545 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4EHeZv30NIwH4UiZuyQfeu+PLYmDiobu5KCIMaMj+PYwLo6U6yBu0EQ01Ebqa3DEI+7ewWDmk+C0Vr6PEMFFs+UAHaDQkQh7OMBh5GZhFoFu1j99HJCNybNQ0pyMdZN7B7YHFchlmAwXQ77Qy+l3ZqIF2oCdFj04SQagh2aACP+VB/P5lg8YOXpZvbM/mkS5fz+0RjFE2qYwralJXaizPPRhKesSTzGEDeVjlP8s/pwJaBRe6WWEPGzP7+0fUQJslonxlZlZV+qSn0wyIjZl5FRvEWVhiBxofi0pKWA+hycs95K3sbSc49n9FX8qrrlqbJTxNzUzXAyJDWOA5t6K9lJygmwvkqParMg236QUttv/AXlneUc2Rj+l+viRxUCbMakNeYbyhzxP8916eWXeU4s5HVuiWPlIHH4eVeokYwzjBKSQGbgtuaoje6nhez/jOtK6JaJ0yVZqdl4qt/zJGaJdyF1bbYkiuNmqSGbmdhhHGrdkOSLVPMuUOOw6K0RoF8AowQg+7jbi2oe9ja9YGNRf7ogdTzTgKd6rKp4ZCCbzbzBmu/kryQThF5ha14I855LcCobjqqfItObjQ5HepfS6dBtrKhK01LGiD4951IA5ANC5T71Emt5nqTJfiqup X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR08MB9155.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(39850400004)(366004)(136003)(396003)(376002)(346002)(1800799003)(186006)(451199021)(2616005)(107886003)(8676002)(26005)(6506007)(83380400001)(4326008)(2906002)(66476007)(316002)(6636002)(66946007)(5660300002)(66556008)(44832011)(7416002)(8936002)(41300700001)(966005)(6666004)(6486002)(6512007)(52116002)(110136005)(478600001)(54906003)(921005)(38350700002)(38100700002)(36756003)(86362001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?ZOEppnUmtx5JXj06CQDJxxmRg41B?= =?utf-8?q?jLcD0A58DRy2ay5UTwinb5V3eSztcdk7dzzFH7aYnuqg90yptDy747ByUQihfghHQ?= =?utf-8?q?drfSms6LSQcTVq2JratFfTKmuX4F9I6mw+QXS2rpOrq4zQZqbZMQftl18EZod4CPw?= =?utf-8?q?c5ucYEGYmX9nOA3urUz7GHAejkBEDKdX4wut2lRXW2hw2+9sIOX3HMwYftWiwAkLy?= =?utf-8?q?ieFaJqxb+STGjMO6SecGveKv1KF8dV23Ua36NSzpVb6d+En4J2wgochG5Y9TNH8Jh?= =?utf-8?q?XNkiq11JwC+ty07h0cVOOgjd/zK1GDzYMuMJc7xAI6ba69r68OTZj3J0f34zbcd1L?= =?utf-8?q?b7M7jUuA1lqAKRnY/lE1FSK02vzCUU3o5DvgM+7OtHvT45ub7cc32N4GTkPOZsuYP?= =?utf-8?q?tfbiyE32fsWucW8hk0jcV6i8KHwwo6OD7rVb9knvYaBTP0ek/A7cr6oXlGFxV333g?= =?utf-8?q?/6WB61u4ZtkSj/qwpIPsyua7dJj1NB3OOVBT/3MDu9019xeR7dRd0mEIxReHBMA23?= =?utf-8?q?YYwqk/EHniK/zmYr1wRYjtg1daPe7f3J9Y9IyysQOtIxjut/aM4gtwivspgj/WfEJ?= =?utf-8?q?TTD07mDcPp0N8Fu31dvnXT2nqE9ng/3kXw0/8gzxwFO9nCW3ymwz60d7aXgG3S+8f?= =?utf-8?q?FuWEebpj0r2C/i+VVDzihsNJFe6/tafpv6nm6+7St583ZsNFivDeiWtfHSLqIc9HM?= =?utf-8?q?n2uKUO4ps4biREatgiCg2M5r5IVjuYocraD1fe7A6ng01cPMFNbo5GuhJQVlw6Xyn?= =?utf-8?q?dwm/UHyXAUFpNSKU3VFesH62pQQvfFUNAQ30F4QuEoEmV/t1fMeWtHvRDDga5mJqS?= =?utf-8?q?X1C5NVPU7Y0MrXCYzLxlELU6ScM+pNVL+SkNXVLQHPvGdC4g5vuY8UQysbg0eMbrP?= =?utf-8?q?JGcurlGGInV41lkc+7wBi6xrpef+/y15vvkNg9bwPsGPS9Swspy43lL8tVojeYD2v?= =?utf-8?q?9vKeUpdQPYg3oQHGLdgaV8L4kLsqc7TK9HuV7cl19jPcH4ge+31nI6hohye6hqBIr?= =?utf-8?q?AmTQx12WmvXTGkBjEGbGs6RPM10sVZQrX7N5+9GY9h5YHN9N2COWxg5jhEiaDSome?= =?utf-8?q?rlKiqOFsTvD/y2QNBW3+FbciSRmtzvSWQMxfNGmGyZ4s/xl4U4MhUYtWP7KTQjtWb?= =?utf-8?q?S0tQWnaFc1Iz3oufrVQiMLKOjDV8Dw+2x6iZCqIfBCoa7NFpu5l9V/uMrxwzZkVVP?= =?utf-8?q?IJ1jnW5fbcoqTInEqp3DEm6xJE0Vt+D5rm0XHd4X/xQSLKK0wR+gd2GlwL5lVxcMS?= =?utf-8?q?k0hJoxxQsVqitK9V09gU9MquCQZTIFI7GID5raGr6KnFDMarJJwtkmfmef+gkkylJ?= =?utf-8?q?gQl8lHvXtJwlaMZsBSuAj8B0vJnDbw32bImU+CBIN5V9Z7JMD45T2TFLsUME7LP6J?= =?utf-8?q?HPIIWlz9Uv9rQM6+GHPxe4HK736hdf5lC5Q0aMri3TOiibCg9y/joMdK8+6GbYeT4?= =?utf-8?q?t/TMUrDwEq5HeEhL1zj1RJPgb3bk32YaMCH9RK/dTBynv8GxN2l6T1q8HgCYiTbrb?= =?utf-8?q?TKF+16XV9LH2wpN8oiEUC7lg0ujiTkxb9nvEVfnTIy4Uw/8dYB9MdHY=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 7f71cd6c-1fd6-4c15-c2f1-08db94eb1545 X-MS-Exchange-CrossTenant-AuthSource: DU0PR08MB9155.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Aug 2023 13:02:39.9323 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e94ec9da-9183-471e-83b3-51baa8eb804f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: i2AhiAmD9rK4Wc0dZJkBJy6qjPcUp+E+1doDwCZjGp+9ouyxRLdpoQU2LXIu2TUr9N68w1gkyXLXQhIBvceX9rC7s3UGhcLnvN+q35ABSoo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAVPR08MB9353 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771775136833839303 X-GMAIL-MSGID: 1773305673263812415 Hi all, This series adds support for the partial display mode to the Sitronix ST7789V panel driver. This is useful for panels that are partially occluded by design, such as the Jasonic JT240MHQS-HWT-EK-E3. Support for this particular panel is added as well. Looking forward to your comments! Reviewed-by: Neil Armstrong --- Changes in v2: - Add comment w.r.t. modes (as requested by Maxime) - Link to v1: https://lore.kernel.org/r/20230718-feature-lcd-panel-v1-0-e9a85d5374fd@wolfvision.net --- Michael Riesch (4): dt-bindings: vendor-prefixes: add jasonic dt-bindings: display: st7789v: add jasonic jt240mhqs-hwt-ek-e3 display drm/panel: sitronix-st7789v: add support for partial mode drm/panel: sitronix-st7789v: add jasonic jt240mhqs-hwt-ek-e3 support .../bindings/display/panel/sitronix,st7789v.yaml | 1 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + drivers/gpu/drm/panel/panel-sitronix-st7789v.c | 72 +++++++++++++++++++++- 3 files changed, 73 insertions(+), 2 deletions(-) --- base-commit: e83172ec548d420f2e0b01e80a9a8cbae39bbe29 change-id: 20230718-feature-lcd-panel-26d9f29a7830 Best regards,