From patchwork Tue Jul 18 15:31:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Riesch X-Patchwork-Id: 12223 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp1859973vqt; Tue, 18 Jul 2023 09:19:34 -0700 (PDT) X-Google-Smtp-Source: APBJJlG6pugX6situECbKjxTiimTx46cn8lwb+D1XQaDbIVMz8ThPeIwwE03TWmZHt7q/es1VKEd X-Received: by 2002:a17:903:190:b0:1bb:14e7:4fdc with SMTP id z16-20020a170903019000b001bb14e74fdcmr170926plg.61.1689697173585; Tue, 18 Jul 2023 09:19:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1689697173; cv=pass; d=google.com; s=arc-20160816; b=PvaEuwiMktkgoKgluOrZTqqB2XN3MY6ZoNcCYpw+V+yQEKN9xCk8SXhSl3Dp/mfoDt PWPZz+3xqYoepnOixBUjnYYVwb2QWQyPAZxuKvkuJ6VwGuhD8AAvX8t3tgXsM1S3QZYZ RVmL7IX0FvO1nqQa0HSgZ03SuhykopCnOOSMTMlq2k/KFcjXFlkWFP1FXAnwUEffrgvl IhyaBqoHtuUFA7ZYzotspjwnSCKCII1teugTnU4t80qnWH3IzUTHGumcMzF9p19SRb7N FytCiHQxOpK9etScMt2s0wQMl4t05f6EoSz1eCXh22mGhmVE5deT1+JS+tej/lQl9j9A pH1A== 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=oJOoUkNN9dbWXOvToesYddaSvwsyXPBez2x5/uRJ4cc=; fh=Tq5vakelb7Evvy1hSU1bJIwKBl0VAr7pcHQ3+RKee2k=; b=e2J/zHNauorh/+wpsMhERuTjsMlgC2aQY4Dppe1/4Nx4NQqH3+80Egt4bSc8ghoJ6Y z6YeygVbg8pMsiR31JKFoyS54cTi3YgZSxZ0vBc5ItYiRHwYAjGQadPWZUC2PnA49gFQ ZRDtsTo6ylGCeaof1U/Qx4MaKHd2JaKiLMvQaiDMidqqshalKNRjbZ3vnP1GDnU8aqSy XXScE2q2lttqCVO8kOZF3pFeGEAhW3ZKc26KzIh1jKr4SieQiRu4Eci2xikyLdCqBv0Y 7zBo3E6kI7jtSmqZ7lJ+phfIH+SOLJZieG4dg/aZrApFrd1LC/lJHWIu/q5S4hVjoxuQ GVHQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wolfvision.net header.s=selector2 header.b=cDRr1N41; 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 li11-20020a170903294b00b001b80de4d3f7si1738809plb.558.2023.07.18.09.19.20; Tue, 18 Jul 2023 09:19:33 -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=cDRr1N41; 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 S233203AbjGRPcA (ORCPT + 99 others); Tue, 18 Jul 2023 11:32:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233397AbjGRPb6 (ORCPT ); Tue, 18 Jul 2023 11:31:58 -0400 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2077.outbound.protection.outlook.com [40.107.105.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1305E7E; Tue, 18 Jul 2023 08:31:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FKe0iTk5RqoRV141Z38D//mHIb0rLZhwB4ge5P8h+/iJuo5QUirR0HQOG5w+Kg7v/qEIYbmXTo+5F1jvRRR4Nbg6pan1P+2few/M0U3QtX5dxRrcll0zX2lN6MNkNstVTb1C+uZR1QvLE0NjJ4HOVNQeZ3zZeoHV7kZpTwwnEJVIBKJfrhZB/U/w6KOnkHmPw/kFhewlxGBcUz5JpXWcIZV2G7Qdv21dXeT75J4HsE//HFdoy+3IhJLSIGvfHpFAAyLJD5bBClvOXwnkreSb19E2GVIJcQ2IiwbuP7kAw0MhwYbYFmRxMayEk0/rXjNa7kTxk/z3kHdRbCCoHsXwhA== 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=oJOoUkNN9dbWXOvToesYddaSvwsyXPBez2x5/uRJ4cc=; b=MCIrgfFvJdr/AlPJ99AkansB5G9h66eK/h69hHrWpFVXqoibGzi7a/aix0Bk0BC1qDHGv9wP4tK9IZLj0axVbXeWpIeSVXnVMe04B2QTcmIUU1ovWZ8163yO0YAdP/vmd+Gw/ejH5M6btHNaAS3G0HZ+/k7V61KY1FapdMJzWCrBrgj8N0lPsfsKbkamQbE1AdYHo39UbBTiOXaFLgxkpKdfsNioKHEFtrI8v1uw1ySOEyogupS+Jh3ggctHW4rRpkae/ycMPPtxVRpj9QaMXIWPXAMb/tUu+fdEGoha/4rwQ9VpQQcpq70YQfPaKNvJtCuX3rFxLvVLUePHpub+KA== 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=oJOoUkNN9dbWXOvToesYddaSvwsyXPBez2x5/uRJ4cc=; b=cDRr1N41KJqNLtG1b5K9x91ouVqJ0KpoxGJa/YZAJflqZQILeBHCFVGcbVNKZ+ULS6tHU4PxgJPyGSNKKKI/pFCCyOrHt3J8GZ/qjhdmkVJait5oi8XUC3SOiCVZeKsxcvAFyYm0LtYqdaIgJJTp40rK2F4SUyVByirkC1dOto0= 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 DU2PR08MB10201.eurprd08.prod.outlook.com (2603:10a6:10:496::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6588.31; Tue, 18 Jul 2023 15:31:53 +0000 Received: from DU0PR08MB9155.eurprd08.prod.outlook.com ([fe80::4fd7:91a9:a92b:295a]) by DU0PR08MB9155.eurprd08.prod.outlook.com ([fe80::4fd7:91a9:a92b:295a%4]) with mapi id 15.20.6588.031; Tue, 18 Jul 2023 15:31:53 +0000 From: Michael Riesch Subject: [PATCH 0/4] drm/panel: sitronix-st7789v: add support for partial mode Date: Tue, 18 Jul 2023 17:31:49 +0200 Message-Id: <20230718-feature-lcd-panel-v1-0-e9a85d5374fd@wolfvision.net> X-B4-Tracking: v=1; b=H4sIAGawtmQC/x2N0QqDMAwAf0XyvECtMHW/MvYQ23QGSibpHAPx3 xf2eAfHHdDYhBvcugOMP9LkpQ79pYO0kj4ZJTtDDHEIYz9hYXrvxlhTxo2UK8ZrnkucaZyGAN4 t1BgXI02rl7rX6nIzLvL9j+6P8/wB8QvhQ3gAAAA= 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, Michael Riesch X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1689694312; l=1147; i=michael.riesch@wolfvision.net; s=20230406; h=from:subject:message-id; bh=z3Es1zds/gkLLCAHQEUq+mtyoGvhWNC9iKuqqOVOt5Y=; b=YW9baPnrPWfS0DlmJEIftqwCWwoCXXcNt9rf6LqdAqOfqfLde6plnaQPzT3QN0czmoQKwPA0b WGTd6HujKKoBhdkc7gFm/wRBEqIyyxhlM1n0FYPkhjAowMmQUq11S2x X-Developer-Key: i=michael.riesch@wolfvision.net; a=ed25519; pk=G03kuYHL670EcdsWaNfVA7KnHWmkSpj98XziQm/hjbk= X-ClientProxiedBy: VI1PR0102CA0027.eurprd01.prod.exchangelabs.com (2603:10a6:802::40) To DU0PR08MB9155.eurprd08.prod.outlook.com (2603:10a6:10:416::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR08MB9155:EE_|DU2PR08MB10201:EE_ X-MS-Office365-Filtering-Correlation-Id: 7111a4a1-7cc7-4069-9e53-08db87a41cb9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rXXTSiq4+HewZmpYv3omtOyJYjXAnGrtT0NrLy64Q58K8ICVDeUegttSgHWgiwUg9hKzG0mW7TdMDzzcReHjcB9IuRaUQZEfPrVZcmXwLdwIE9/97FWeWPf+FfhaDT6c2OYbq9pQkzpemhLO2AfvXjQ3ApW0o1mGLN6FKHKMtN2TL1rKvW9uPkJxMNSngWeZxlnKGtgCw8e5zXkKGaR+sNwIym7PN+nCePkSsRHiZSPKhjuafO8A+n0su1vYLdxmCWFMk7gxcqvJV5bUW4MsXDAvC0BWrglIxo/mnNbZc/rwrpRcNaxpFFDrweSIFsLLrh5Yev/vaJjOvAcFbcD3/m/Qfs9uP71MSpJsgyP59yowrdcGAcCLX5fTqke5RqPLwLgN0qujZwyN53Kele7fE1AIy8ULgClCGpfubHSj9A5qaUYOvv8soJCTz30N5a8BHnT4VDvIuDFxVmxW9QZ6wheBrIn50x6U24UpbJ2pKx8/qfT3pT9QE4SRAqSICX18kdZrcNkBeRTPdW5axbe09KopEWVpq51xvw6dyTpHjf0R/kYKPByy2fsKIiwuNqizA8qPORaISuPe0BkiOnk0Eh7vMa+hiKEfzr/kq9y6XABLRzJgVoLU7AriSTNWpAf0 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)(396003)(376002)(136003)(366004)(39840400004)(346002)(451199021)(6486002)(107886003)(52116002)(26005)(6506007)(6512007)(966005)(38350700002)(2616005)(83380400001)(86362001)(38100700002)(921005)(186003)(36756003)(8676002)(8936002)(2906002)(41300700001)(478600001)(7416002)(5660300002)(4326008)(6636002)(316002)(66556008)(66946007)(66476007)(44832011)(110136005)(6666004);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?St+V2Q4OwjpPnHO63wa6/8iW9+Ip?= =?utf-8?q?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ZJ1JiZ?= =?utf-8?q?F2D9vs18rRq5bBvs2IXqWfEsK/bxlwaUIM+3XMxgSHl9eAGxGKdlk6Z1m13PJKbga?= =?utf-8?q?aysdWBoaj7UMfPCdIqhRHhkC5AqsUrMgiiUMSJyPhvMTJFWZ3oXwRoGbZehRlEt+/?= =?utf-8?q?5bfv2+ak8yqFqY5LK61+C8mPbmQYdjXjVDygx2WfFxiAV4IJs/MsOB3rmSBytuAqO?= =?utf-8?q?EneHY521LfDX7BcLKBzq5a2Dim0LMHf7bi1xsghqvSIBg6S7HMD6ypsh0Td1SRTm6?= =?utf-8?q?gObEwiILDggqfEgnPEUQjIBJodrbLoPG6YN8gdzHR7Rih/kJ959GhJfWNRcZRlJjM?= =?utf-8?q?yFYgos17Ftb6a/bBLbas4pdW43+qJ2oOQX+GB9f/J1b/yEcuo7v+dPYZj3FKbInBr?= =?utf-8?q?JEfEgt3dvP2K15VGmDtCkjZaG96KP0D7qitu0EKfDWdcUqxyK9evWG2zVEwCK/Fyi?= =?utf-8?q?LOwVB2qvHmWKk+Vyxe9NYBWItXmLTz0xj77O0qAmqrWtrKNo+6cfSvtH4OWIXeupp?= =?utf-8?q?wMfcLZvuLHE3pf8FO2SLk/NO5GALera+B+xkInsCqRMp2xkqSI0q3f29muyvGUfO4?= =?utf-8?q?ObUxkz1XPY5XBABpXVppKRbpM5ojBm/gn8kjcP9hvxaprUMyFTZC61qI8iIxgyZRQ?= =?utf-8?q?C+Ld/X9UJAsNruRKdg7hEVM43O+4R8qbmA=3D=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 7111a4a1-7cc7-4069-9e53-08db87a41cb9 X-MS-Exchange-CrossTenant-AuthSource: DU0PR08MB9155.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jul 2023 15:31:53.0113 (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: M5BMNPixd9UzQcD3piujmNNZLIjN2562ifh5Z56Wr0zVEUatH3hS52q+7URqUI+8Ksh4A065g+46ozVdrQ5QbdgFEibiD2MrYTRrHvcDdMk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR08MB10201 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,T_SCC_BODY_TEXT_LINE, 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: 1771775903686279911 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. Note: This series is already based on https://lore.kernel.org/lkml/20230714013756.1546769-1-sre@kernel.org/ Looking forward to your comments! --- 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 | 67 +++++++++++++++++++++- 3 files changed, 68 insertions(+), 2 deletions(-) --- base-commit: b43dae411767f34288aa347f26b5ed2dade39469 change-id: 20230718-feature-lcd-panel-26d9f29a7830 Best regards,