From patchwork Tue Mar 14 11:56:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerald Loacker X-Patchwork-Id: 6605 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1715283wrd; Tue, 14 Mar 2023 05:05:55 -0700 (PDT) X-Google-Smtp-Source: AK7set+txt8c+bsW4XR2AtvWrx8avU14/Z/KQhyLc7uiC9OTbiOSo2FD2rDUqax+7qzC0rjyppmN X-Received: by 2002:a17:902:eac6:b0:1a0:485c:a6c with SMTP id p6-20020a170902eac600b001a0485c0a6cmr6040714pld.8.1678795555683; Tue, 14 Mar 2023 05:05:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1678795555; cv=pass; d=google.com; s=arc-20160816; b=ju3VFWls7X1JvAYl9x16Ij6JuARoNQfIjr+mhBG3i3LQcdeqGkgiYMImjAeUNWXnqm alWj9c9vCz6PCGp4RWNBm1c3JI1Hkx03e+izEO/lr8N2XJNoyY4CTfQ7e/DDTv4+7kuZ oEbeq8A3Jo+AOEDIcxpZIvSqms4pEw+uGlw5pi8M3eQfzlB7Q8uUGXxOQbeG+39be5zU 1jWb5cPuDqw3MFtys61FE847lhoyjXJvwewtLyFhv/r0ySRrUbwZf96UNei6K8JCXgjl w8VYuD53nqFCsbHNtXuFeQSJBlKYxx7m1xhHyAAFnSYxJ+NwRScrSOPdE6SUTBHr4n3D vEpA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :message-id:date:subject:cc:to:from:dkim-signature; bh=/RxzTUoV8jgy2CiyBX0UXxzArvENgGobz0Ayv8/770U=; b=mbL2zp+JLos34YkiWa7XtKrRgOvWH4XZ/W+ZH4CG+016+gsxu6v1BiEfeUBtAOY4p8 tOdDMf02m8dtpbuBRskuJ0bKL+UsRhCLM4reot316q6Ul0gFV9MtE02bKG++jZVZSVZT 1dUWAOuF3s04+Ilhh/uPzkDbLtnO9xYphL3qOIQ1dMq3dQIM66oXc64g1BM24YlAFkQT i+AXsX26rVtEkUP++Tle4NFND7jrREABfYa5A9WL9VXI4rLK1YABad7E64rAm8bm7Rga LhZPs4xw3Np8J3OhPvuwjKdPTJV1H5GU4qxt+LmLx4iz7ofC+oY/pm9hrjivit+LmEcJ X3xQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wolfvision.net header.s=selector2 header.b="1iEzx/do"; 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 p15-20020a170902ebcf00b0019c93e0dce0si2225573plg.254.2023.03.14.05.05.41; Tue, 14 Mar 2023 05:05:55 -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="1iEzx/do"; 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 S229558AbjCNL6V (ORCPT + 99 others); Tue, 14 Mar 2023 07:58:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230212AbjCNL6T (ORCPT ); Tue, 14 Mar 2023 07:58:19 -0400 Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on20619.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe1b::619]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1AF99FE40; Tue, 14 Mar 2023 04:57:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=b6iEL84iA3lh6DBMv3uKumoo6Au3eDGSUzSgBzGfnS96Rm7sVsIxz51s9clu3vWiLwc52e1OfI8jdkWHIc9uA729Ly3Zp7bFytIz9TjZOV+0tuLCfH46eR3wz82sW+SsOkcJgVpz9ghRDswtVqFie1+lUZZ9WFS6vo3I9d2TfqpGfZPZ/Ur76gMwH0NT1jA28ItgYv9CVVkUtSc1t/gxJE4lQtLVi+aTZgraFTiJ7ZBuN4iDocu3OriNDUgMYQ3XWIlaqaeGLokP9taUxrSCw17oi+SL3eokaQzS+6a97bcmhOEd5WKhY6lkG5jfa8fE6w2jbV2uNslSOsS+E8pAzQ== 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=/RxzTUoV8jgy2CiyBX0UXxzArvENgGobz0Ayv8/770U=; b=SVS8g4TnyRSnO2O3RvdaZueKomCEzdAtrxdahJStLS5WFQ4dgeLLTbtwFQ2LvB+L18R1CIUsD3HTOQ/8q6lds+/nmaD+LYIyrG8C23GYAcophUxJ/jQKhKDO5CFVI07xJUqRaVt+CayOOVAx9+umjIIxLfjJ772AsnBLrg5qKrRm8sSqmnM76nUyJStZNXKAYhFYn32SGeCh0rVdkpk/N3UPrEXc3gJZK6O1D9Bt+3cdABuClLdv/EufjIFB0Za3JpZDlDLaSimZbSEc5IwJ6Wgxz6z3GjK0ZCdFoyPy72+s3ct18128rXTkQc0bt6peutjf/bErq9KKpLV4PagopA== 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=/RxzTUoV8jgy2CiyBX0UXxzArvENgGobz0Ayv8/770U=; b=1iEzx/dowqUhGg53pTeNzB5EWO4i+ou1y84sXBBYbLETH6rx+Oo8OyC5yq7I+yj1x6LleeqP8LPfqAscm4slXsd3OMx69eJi0ZARhQmU/22l5m7rTnrOMOSQ1UfUrPDwqg6ZT3SVCLYzwyXrH6HegUkEyJk2ajzmThKXmcQUnjM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wolfvision.net; Received: from VI1PR08MB4544.eurprd08.prod.outlook.com (2603:10a6:803:100::13) by AS8PR08MB6694.eurprd08.prod.outlook.com (2603:10a6:20b:39e::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.26; Tue, 14 Mar 2023 11:57:01 +0000 Received: from VI1PR08MB4544.eurprd08.prod.outlook.com ([fe80::b094:4fd2:abe3:9f08]) by VI1PR08MB4544.eurprd08.prod.outlook.com ([fe80::b094:4fd2:abe3:9f08%4]) with mapi id 15.20.6178.024; Tue, 14 Mar 2023 11:57:01 +0000 From: Gerald Loacker To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Thierry Reding , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Maxime Ripard , Michael Riesch , Gerald Loacker Subject: [PATCH 0/7] Add timing override to sitronix,st7789v Date: Tue, 14 Mar 2023 12:56:37 +0100 Message-Id: <20230314115644.3775169-1-gerald.loacker@wolfvision.net> X-Mailer: git-send-email 2.37.2 X-ClientProxiedBy: VI1PR0802CA0032.eurprd08.prod.outlook.com (2603:10a6:800:a9::18) To VI1PR08MB4544.eurprd08.prod.outlook.com (2603:10a6:803:100::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1PR08MB4544:EE_|AS8PR08MB6694:EE_ X-MS-Office365-Filtering-Correlation-Id: 14cc6cf7-964f-4783-9bd1-08db248338c1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: NOJB7ENW/sCyv/txEhxgwUL1pKMv2prEFC4znvuuGsdOviUkCdURqf+BDq257jjqxbDiv0vFrMgcXUOEb7fTnHSsvsvCeiZ2zu6ysMz2sUGjLIJHNeoxTXRv9eMh4NP13+oX38MheHlkSBcupOuHqLmpubYVCwxrir0CVub3EA9jNRmIh1HpyIHKVaD8FVwumefHIB0HGValUsATzaSKtJCAjf+qlh0Ge1aNwcHi7EXEbQ8bi1/+edRkODXIxmLxTotrWgVtjotSUuMPgim9IijSb9jcK4ljgzfJyMqc5KlxB8gzjEK+FoYr7nAfS2MJ0WIzyZneLBy/at4gWm6YSAGuxmDbEvLsZtTN6MSmqLuHfXFbuU4aEVmvl37evMQ4iRQKjkG4cPO7EhF5MKGgcsSimLlLQNarZodrTCXWeaOw+Mvl/ucByoOWXhfF4smXQIKXmiZ5pI43bWyxaelAKo8VpR1D7LBjsKzRWCMPfgAolWSnoz2J4v8FE7tS8/M112eBjNkp9gWSZALdQGt199NfBWSIeeG5n9KDrMNW9aEtw1sAhGnLqrXJJiprJvstGZ6Kors8i/p00BuN//oYwXamXmOCvEYL2P/kkfB5Cgnwe3mBJtBSVp2nHc1wcYNGtkMbkeIxg0h7IGLDzm7iATQpplN8yxoMfj1wt4X62QBMbX8sGjxBVwGHuHyIAM9WlG1CxzqbtuvI1YmrRsPwiA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR08MB4544.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230025)(4636009)(39850400004)(366004)(346002)(376002)(136003)(396003)(451199018)(7416002)(86362001)(478600001)(5660300002)(8676002)(2616005)(6666004)(36756003)(6486002)(186003)(2906002)(52116002)(1076003)(26005)(6512007)(6506007)(107886003)(4744005)(44832011)(41300700001)(38350700002)(4326008)(66556008)(66946007)(66476007)(38100700002)(83380400001)(8936002)(54906003)(316002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ju6wQdx39/0Vk2JIxzGnH/kvN+N3Bp5atXLbstSlnM9R9dpdWSpTuWHbMiTJUschMF08oBYz/QkybxfSMyAQHWjDPTRQgGCMRf62A+9M67VKpAgbUSoo5kgcwwPhTfiGp4ZnORLY5xgJFm+etqdHvo90tqNrtdyf4JkfIf6OVY+NOu1RdA8nxuAdzpf8jCr4NwONeRmAZP8KZS8QB2FlqbtIfmAKBGbbc6r7spikBcLrIeCA4dtzknTToXHJuqU4jg3aDCrAtMmKO7BqEzxJVb65rCq8U5WRQbgtA2RGQMOCD+YfwFuogWZX7eUuYEjtdyMD8ZqPuX9HGjn4yVFQcJH5hWhK+n1LaS43KmqTlVCmgz1CT8t0KBfyrhhbxbyXe/ZKFOKkevNoJ1y6KUCP1Fo5qDbcwphwuErCELcyPif7msEC5RBAN/TkO35nDjM3ealNctO0UUl924Ar57LgP15FRO8H4OMTKJhz7Cd3815pbuSM7N6W80WFoe12d05bNXmgUX59utnDZttvrdluh5HYWQ9P7DwxqUBIvOWYVDI/QEhTFl42IumqKKjDfFgBAX2OMv8wjv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vision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 14cc6cf7-964f-4783-9bd1-08db248338c1 X-MS-Exchange-CrossTenant-AuthSource: VI1PR08MB4544.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Mar 2023 11:57:01.5991 (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: i8MJAmmt3xlbk6MSlckAiWsA/dkLCbYZPRNXGhxXKarAThNAyKjsOqM/7rX4gVDijpNN4R99Y1QxtxcpYP4EvgbbIFTHZhPRrbVQ4rHSyA4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB6694 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760344728279569899?= X-GMAIL-MSGID: =?utf-8?q?1760344728279569899?= This patch set adds additional functionality to the sitronix,st7789v driver. Patches 1,3 and 4 propagate useful flags to the drm subsystem. Patch 2 adds the orientation property. Patch 5 parses the device tree for a panel-timing and makes it possible to override the default timing. Patches 6 and 7 add the new properties to the dt-bindings. Gerald Loacker (4): drm/panel: sitronix-st7789v: propagate h/v-sync polarity drm/panel: sitronix-st7789v: add bus_flags to connector drm/panel: sitronix-st7789v: parse device tree to override timing mode dt-bindings: display: add panel-timing property to sitronix,st7789v Michael Riesch (3): drm/panel: sitronix-st7789v: propagate RGB666 format drm/panel: sitronix-st7789v: add panel orientation support dt-bindings: display: add rotation property to sitronix,st7789v .../display/panel/sitronix,st7789v.yaml | 19 ++ .../gpu/drm/panel/panel-sitronix-st7789v.c | 204 +++++++++++++++--- 2 files changed, 191 insertions(+), 32 deletions(-)