From patchwork Thu Aug 3 20:13:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Riesch X-Patchwork-Id: 13340818 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 F078EC001DB for ; Thu, 3 Aug 2023 20:14:06 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 313B310E108; Thu, 3 Aug 2023 20:14:05 +0000 (UTC) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2079.outbound.protection.outlook.com [40.107.8.79]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0477C10E0E8 for ; Thu, 3 Aug 2023 20:14:03 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FhHY99pW7VYrZZyW6U4h9OU3b69zJO5HtclnqTfvU9DKbu+gzQlu6Dl/ARNCRbvPzEotHANbdlNBP/JNxPnyuixOwJRrj9e5bB1qQQMgynpaCoFRQIFv+uLh+0ll/0QpLAbCK5F+GzLdXJHSAjRN08ZYha9rbOPetV6oDIY0IaNS3kfolfd8JRmCNK92jknm7LG62u413UJn5VzZEi/IW830V3tt174uFq/R0XePTlVqJBhRbcL3xzB+p7pCkjHzKErAhP2zCIAMQ6gWaUvDULZqCUicQm+/Y/8NKwIxS2QGIDVMSyU9tW4sctcWN5dF3qBpTcSDUU6wY0jmN80FiQ== 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=cvPI1iVYMBth950TZCNYwnLFEwJbwbjyRIULNsaab90=; b=YVir59KkfWY63+XyGvJdcd/79LC6Ydkl60Y5XJOPqC8BfmvFTI+hI9uurqDDylA+Dn0umxaSsBiNMmh1DND6xUzyVexhqOwStsER3iGk95JjP8cAxNb0Ko9Y6WkdzkhJJVpF/dib26hYb4FPwG5YOl9KgsLaPNrs9J+Wt6MrSXSiCA6vGJQJNkXc3qGBuFvQpZMqQeHDI8hte4EKnqMXWYvMbyYG4ZzH1ISM9/6u0ndJOU5n2egM5oEgybbUUEGGYFa4b43XcRGTs7bcfwtHuwR6YIgfm+0RUXzjPA+VrrVt3cl4zddABWI9bkYfMc3Z3HP6nh/ABCw/slYc11hyjA== 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=cvPI1iVYMBth950TZCNYwnLFEwJbwbjyRIULNsaab90=; b=XcigGzstWzRYhM7ArMZu8Y3DKN216a5DPmctnKLbEvd1m2Sa4td/PzzNtXcVpImuaZ1+GGEEbh0DrK3KIIthNRAMQ2Dqlt8O8paA9Sf3p9OCPj+hb7MEjUoOA6/G8usJ4DfuaH8QNYv/9pbPPRgwzSkXLsDqHmP62ECbT7hYHJY= 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 DU0PR08MB8277.eurprd08.prod.outlook.com (2603:10a6:10:40f::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6631.47; Thu, 3 Aug 2023 20:14:00 +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; Thu, 3 Aug 2023 20:14:00 +0000 From: Michael Riesch Subject: [PATCH v2 0/3] drm/panel: sitronix-st7789v: add panel orientation support Date: Thu, 03 Aug 2023 22:13:47 +0200 Message-Id: <20230718-feature-st7789v-v2-0-207cb1baea0f@wolfvision.net> X-B4-Tracking: v=1; b=H4sIAHsKzGQC/3WOwQ6DIBAFf8XsudsAGtGe+h+NB4S1khhsAGkbw 7+X2nOPM8nLvB0CeUsBLtUOnpINdnUFxKkCPSt3J7SmMAgmaiZ5hxOpuHnCEKXs+oSNYVrolkQ jeiirUQXC0Sun57Jz27IU+fA02deRuQ2FZxvi6t9HNfGv/R9IHBnK1rRa9WPNTXd9rsv0e3p2F GHIOX8A3PxQTMgAAAA= To: Neil Armstrong , Sam Ravnborg , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Ripard , Miquel Raynal , Sebastian Reichel , Gerald Loacker X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1691093639; l=1301; i=michael.riesch@wolfvision.net; s=20230425; h=from:subject:message-id; bh=pWS+L59LeT6fJyyBipZIrBzSA/Dcwys16bLwyZu4IFk=; b=AlqMDVYr17+Vgj7VhkHdvX8dkPOXPfvPHfRToBjmtmXV1eTYo7/CRo6ROGSsUDPUG+GrbcREF iUUShZGW2QEAWx71hZFXhtNJ75JaQt7lAbOYVMxLCybp5/0M2hX01dF X-Developer-Key: i=michael.riesch@wolfvision.net; a=ed25519; pk=1QQdXA2QbwdxaQn/VQK0hz04C8IBYhDowbK0hlNU4Ng= X-ClientProxiedBy: VI1PR06CA0212.eurprd06.prod.outlook.com (2603:10a6:802:2c::33) To DU0PR08MB9155.eurprd08.prod.outlook.com (2603:10a6:10:416::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR08MB9155:EE_|DU0PR08MB8277:EE_ X-MS-Office365-Filtering-Correlation-Id: 7f8fd2fb-ccd4-42af-636c-08db945e2cb4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: psCM1qn3g1sutO+8naop3YyVtLSsIIrlbvSc8QreDEMRgSeF/xGCaTUS08xMVzAXuam6IxnlDuNL5hwLUw9gapOrCWkn0U6aw0QF5fJC7CFYoYfYSYoolfUgJ64nSs/DFRsetuyBSe81CDY1uFuWeOF+Wotwlq9mjVLVYvvflS+fPD5oDy8FwkOPmbAnoA2zHJYWVAyo+Go7QxZp3iNUJF1nALdpAjIFDKFK0d4X5KkPXIgf9Wjh1dqwcxgK2trvPwgCKHAoPK3LVcfyKfHHZQNa+WA624+TDs3vnPSlRvvguyP+LmRjhNqdb4+OIZC7vI9YsKyPGNPde2UsCuTaUHuBklS7JIMbpInV9vd2oC13DdmR8iAkHrAls9jqYUqNpf1GTSroykYqjtjbdaXDYNWHC5pxhUeFw7FNMDQ4uDVKPhbDbCK2oLF1OgycCBt6JCqm7nqVYlB5Y8zJHGLYzfZSJLt5A96VIEPEqGj3shYWdg6fAREzZ/KbSNxC9rrkhyi+Z/9FKupPPUp1dG1NqytgMcEV2OnG39Z4oD9abj8BNLiLOdu3l7UGJamEoBO/E/3JSAgUDHHh2v+tFEDjqXFbzP30hRyxmoCVp+vHAEWZRZxdJDz3d5RDWSvTAB2+ 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)(376002)(396003)(366004)(39840400004)(136003)(346002)(451199021)(2616005)(6506007)(186003)(8676002)(83380400001)(26005)(66476007)(2906002)(316002)(66556008)(6636002)(4326008)(66946007)(5660300002)(7416002)(44832011)(8936002)(41300700001)(966005)(6666004)(6486002)(6512007)(54906003)(52116002)(110136005)(478600001)(38350700002)(921005)(38100700002)(36756003)(86362001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?Rh+1faszv7jeiYKoMeJ4Dxq4PrVJ?= =?utf-8?q?KDfpPA/5pioRrXkcgSlWMncR9o6EfZBv2qpF6p4GogRoge3qAqn4i3ryrBpfjQYsM?= =?utf-8?q?OlQACMKjRey4nrvMjZ9kbdadPGrw/FcX/4x/omPtjiSbEDUQRJWFfBkgXq/4phMpk?= =?utf-8?q?czGNMXiZgWFfGUPZVD2yykVyWwYZ57hwKQXJHqSXrWHON2RvqL6gjEOw6OsDYhEmb?= =?utf-8?q?Qc2LL5nWrdfUAD1/PjlPPMf2WnoyRmU+CwmDxxku/OOCmWH9FaBEvQPRk9MLzpQH6?= =?utf-8?q?rNziT+DCnCNur/K6pVz0OQbvGjkS9uTxJLoz7eJnzNXQPRuS5qt7JKJaE+/aQ7iZU?= =?utf-8?q?y6KUfFmfF0VLUQt0t8H1aOxQ+Skpu/EzqMbyAImHyC46TjjXY6N7MM/aL2ZMijBXB?= =?utf-8?q?yeKmjSSqQ281mh2uEsvq+4VvIvswxG+eo50hetVzJTLNTUVgO38eIP8aeGUpO5BgP?= =?utf-8?q?dDQD5TQhiRodpg2b2HdfrF8j8Xs7UoVI/o+oaD4OR9g7wfaAgg0G0z29OmdPBixeO?= =?utf-8?q?FNKxqArPZb20pNTooK6jA6Fp+uXQlZ8EV6P1rURXDl00JzG4UXUz1t2GIwMYLso0x?= =?utf-8?q?IpNNsPR67ah+yKDiEPjv8R2Y0+RgHAJOQ38QGo1EhNvRpnu9zbVtY70HMEFreqcre?= =?utf-8?q?5PjZUl8rRwC0DDghuLY1oM7Txt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nF1Q=3D=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 7f8fd2fb-ccd4-42af-636c-08db945e2cb4 X-MS-Exchange-CrossTenant-AuthSource: DU0PR08MB9155.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Aug 2023 20:14:00.2221 (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: BLuTDEiwZfKyqxV4WbrQ8ItnYFHm03GzbpTvnDd0sV2K21GXpDfYtzQDPR1bKKF9N9rNv/0tP8k3d/JZo/KAoI3iu4gbch0mDbWQCe78Tzk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR08MB8277 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, Conor Dooley , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Michael Riesch Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi all, This series adds support for orientation specification in the device tree to the Sitronix ST7789V panel driver. This is can be seen as reduced version of [0] (some things of [0] have been implemented in more general fashion in the scope of [1], other things have been rejected). Looking forward to your comments! [0] https://lore.kernel.org/lkml/20230314115644.3775169-1-gerald.loacker@wolfvision.net/ [1] https://lore.kernel.org/lkml/20230714013756.1546769-1-sre@kernel.org/ --- Changes in v2: - Move indentation fix to separate patch (as suggested by Neil) - Link to v1: https://lore.kernel.org/r/20230718-feature-st7789v-v1-0-76d6ca9b31d8@wolfvision.net --- Michael Riesch (3): drm/panel: sitronix-st7789v: fix indentation in drm_panel_funcs drm/panel: sitronix-st7789v: add panel orientation support dt-bindings: display: add rotation property to sitronix,st7789v .../bindings/display/panel/sitronix,st7789v.yaml | 2 ++ drivers/gpu/drm/panel/panel-sitronix-st7789v.c | 28 ++++++++++++++++++---- 2 files changed, 25 insertions(+), 5 deletions(-) --- base-commit: 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5 change-id: 20230718-feature-st7789v-4d0c2c6e2429 Best regards,