From patchwork Thu Aug 3 20:13:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Riesch X-Patchwork-Id: 13340820 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 08AA2C001DB for ; Thu, 3 Aug 2023 20:14:17 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E975910E21B; Thu, 3 Aug 2023 20:14:08 +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 6DE2210E0E8 for ; Thu, 3 Aug 2023 20:14:04 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bupS3+HBRdRR14y4IQfX+t3JgOl4wuLwGwKqUrZDRerldKBtNsz56WBuCILZJZ/GZC2zFkMHHFneVf95UP1TtV6gEsEh2zUUcVvV50Ok+YQF3JPdAuK4qzR9qLSBjw/8ZYaY1QZW+mq/AaKJEI73PhQ4Oqzqg7HrfO3/gxy3GV+e+VUAn0/XGxTHOBw1+euIMfs8aQwkNNhQx+QyaxN3BzTp03Fz9KWQ4ayTJhgGff6YCtMcR2Jz1C3PZ5OivpLL9aFIlXMpDLFLpTNtHp4Q3hLb+b1oPNZRog6kdPWrHFr+UKc8xIW/If6Sb225XsreX6A8itXfeLxH1RU4CBUOdw== 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=EUr501IUuspCEdQe3Qu5HSBpESl3w9Cz4Tbq8OLmvms=; b=mm/L4EcgBb8T0XveK+0Tb1ybjG0pHN4MPDeSG22tPTxfYHLQputv468i9HqIdTDsntGWFE0XyvTemCdv5o7QBqSaCB+c/9cizzI9dOdL5yYjSKjh5g7mquTRhlhIQGul4Li+YI/mhu+FLtFlu2i1+aqH81GvLuVu3BnBTHAOVxSTdeUV6Wpu0Mkubhg7jbtzUvXFl5kCUncvkyQU0zW2ajMhXim0kk9m1l5GpSzjGyygQ4F4uEZ6Rgk1RCeMTiLXQ2xKn8NZSnR4P4OYd+qVLcpfJjTf2OIgYWuA8WmH/wtylTJ77M6ZchARJwGxQLdLDVRqme9joRiBzO0VvbOLGg== 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=EUr501IUuspCEdQe3Qu5HSBpESl3w9Cz4Tbq8OLmvms=; b=rMLZpOjIrXfw1wuQ3N7XaStYmZdHcT8hPDj+iBoU3IbxxdvLmzIljm6vUEdC80z/siAo9zu3cXufLsHpIXGcOLe2F1t179dXX86UNiHNK5SS9gr9CGz046S1xWCSrwAFr5e5AevVtrZbbrfU3Tz6UgyZLULNP1sUm+0ffdIaBqg= 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:01 +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:01 +0000 From: Michael Riesch Date: Thu, 03 Aug 2023 22:13:48 +0200 Subject: [PATCH v2 1/3] drm/panel: sitronix-st7789v: fix indentation in drm_panel_funcs Message-Id: <20230718-feature-st7789v-v2-1-207cb1baea0f@wolfvision.net> References: <20230718-feature-st7789v-v2-0-207cb1baea0f@wolfvision.net> In-Reply-To: <20230718-feature-st7789v-v2-0-207cb1baea0f@wolfvision.net> 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=1072; i=michael.riesch@wolfvision.net; s=20230425; h=from:subject:message-id; bh=YB4ONAvYgx0+mzq4tpPeUDh4qNY1DT3r5vCGxuztUV8=; b=abZCbMBXq8+JKdPFRTCnc5GBTri7Dxg9gBeMTWkBgsVRygPc1pi2jhxBSG/oI5oOrRtf6OCUf oG9X2C0VTAbDoCH/se7t/f+6lnhgvDnuOQbNK0JCZ11VD5QrGn3tHEx 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: 51715b8e-5e44-4b90-f0f7-08db945e2d4c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: VsII806W81X6b0LPMmzEsFvcrKAWGl5uE13COVn3Sw/fO2lH8htHHcQDhYgrNOWmTmnA0grGLFczEuHy7QqAFAscm+tik3OaY5qER6grVhAtGmogi9eSXLsTXdnO4t/UMtDo0m8M7bJDZ3LoUgs7a1NzDGWsMu7ix/s2bEhSPPGNGJ8Zn6N1yV4J298Ro67weFXPJzCe1h8lUhx3JLOHtxcgShFgqGcsjqE/245cepyT3QLyxUssYSR0B7zvf2Kuj6OlafmQpRu2ldFizwR5dTK1Id2UNkcxQ3wcwqM1A1ji1D3ilxgosNpwFJBTO8KzKczBk6giGAe1KKVfFisShFlBcxIGyy9F3HVGx3aiAUEMabLQPjRsHd7lSL1EOJCVpWPq09us0OeSJp4utDEhTF+jPTPYs67i5kK0yyiZFnw0oVuOxQY2kDlOyRTQv34m+YmrY2cz1PEFS61VGKljm9gmipEtOQUgEIEpR1FX6Q4JIJYjOcIXqR/DiGVOZTmwe55O5A5sphfMjyLNwLm+xEpkvhJAe9YLm3L08PqVkn2wORtQ8PgUakPaaSWuevRT+mEUpHHhif9XE6BH/8iAa5GdQraPO6qdj1teNUT5fUudNoLbtbUOo3hRU3seGk9Gseia8ZnYYNLnVdlSD27mVA== 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)(107886003)(6506007)(186003)(8676002)(83380400001)(26005)(66476007)(2906002)(316002)(66556008)(6636002)(4326008)(66946007)(5660300002)(7416002)(44832011)(8936002)(41300700001)(6666004)(6486002)(6512007)(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?25l1nXOnUnYpbf99TFS41UZFlDYW?= =?utf-8?q?W92tVwo8zexo9daSQWLN6XlzH6XxA4A79Wj+6pLcoOcntgVHYZoPMQOr4sdxZZXws?= =?utf-8?q?ddgpEDQjA+gcB5uy99FhHvdFy3s4nGKfFnwUxUA9F4XhzlpjWd3UgemmghNhmunUd?= =?utf-8?q?m1+50rTSMwRypI7nvFqIiCqKnI7g961n4aLfyhLeLZoT+5uyKrfdnUgM+XHDtqG62?= =?utf-8?q?nod2OPju5imtg1zWXKX0YUslmOlPhzPATJE4GOOBDnV0aE7hpE2HWMQEL0ToDMH9W?= =?utf-8?q?U0HajayZ2pSfdT7KIx3meph1Vc/aC7Be++YOIvGlWPCxu1hB3H9R4HZV6Ib8B3Q3Z?= =?utf-8?q?wmMBEw2ddp7qTuBblyWHmJNwCEazamQSlXq0ObR+z8M9LBpt4TWf5r25j/JR63o0c?= =?utf-8?q?neFK7fqdb1f6HrtM7zvIjy1OOUS/h0hVGjSMTIW+dPDE9D0nRRM6AmzctwSd+iMnM?= =?utf-8?q?nblfYlglQrBkOW55ibC3/7etBfjm7Rwuib8sZd1xCGGmYLcqOglEEVz5TTxJP0DGm?= =?utf-8?q?hBn5SMPuA+LzYsWMCFB2QchrT5YWLu+AS3FjICJ3tOmmW44u2rsLekO21oDHr7BGM?= =?utf-8?q?6BRDl8cpjDs3Dd1UQ4FLl8wljO9gQ0WWX3an5Rzu2MvWKZTkAg1qHwLCall1bZcKR?= =?utf-8?q?T6lYblyQfurzIuwgvjKnlfpH4TvkcvLL69OH3uQE6JAlg4giSvpfzmlLik4rNPekV?= =?utf-8?q?Ci4dQdtDrGeVb/9YQ5odAbAj394glsDdVM4/Fg0CBKxpeXtr0fwgNbtJC71tBnP+M?= =?utf-8?q?4B7yV1lEAUz6hw37Ra3Erj7wf8Cc8oB2odWV993NIOdk3EBFVrUclkzjD0YCesjwR?= =?utf-8?q?Kg8T8K7daQzrXdbyRxDB1KstHwiqPaFymS1Ga8XsklgX0ZE2usOXMN+egICT1GV/y?= =?utf-8?q?ZMFnseAjLoZrcCjDNH6pk3P07NORnnQyVtwAky9WxuEc3rvkLUuDM2C2zmQAHoBWf?= =?utf-8?q?xQi6HM1MqDvEDm8ymAp+wZET3c6qn86DK6MLGSrIfDh8XmhXhIgpH0Xfc5/3SeQAc?= =?utf-8?q?8CbyDfbzh1aVgOlrseyss9GESSON1lJ5Jr54GdaoovPVHs0Hkmt35CQ+fdDIvUt3z?= =?utf-8?q?Z3Xnm8cM1FJsK2a2Bf4y6+KbiyhAmq84BgD429mReo9IfiZo0vIAzEd9CInapirr1?= =?utf-8?q?ibOWMUZNk4Gs5fwQva2X5wiS2cS+Kp58/qA7R32PxuRf5r/d19eAwc16sgAMIKuJ2?= =?utf-8?q?rB8MaZnLLGS2SFrsd8jG96tqQioIBVMa/rEXJeaq87eu4qW8QR4GQKmnR26Hk900V?= =?utf-8?q?JUoFvHY7VczLSMwEdAqJmXRq7zRYc7cvgsprnGiEDghzPhpdGNpr+IjFIR1iWF4xF?= =?utf-8?q?HOGatWEPEyv8y+M7p7oO2YzjwuJZMqjBZSONb1gpukBv8yfMxwfnkfGdbH1M9h9vs?= =?utf-8?q?CcG/cTIKi4KoExOfGm7l8pV9o/VqnTtbfHNknyCs8/QXLLYh5ZUuqrlNhk13h4yxm?= =?utf-8?q?WIB4vjGXqlCJNa3ZgIJWfHN3VRwsBsS3CIFbhEUPjgPE7cVjxyg0w7sg82X2Mo2KI?= =?utf-8?q?DFGgoEcqEK68c/RU/Rs2b5Ku+viEt002Gw=3D=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 51715b8e-5e44-4b90-f0f7-08db945e2d4c 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:01.1877 (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: q/bHdCXgUYz6p8jr/BUZEXy/+2ObWD+cGS4p1L3I9U6y8aHvMTcvM3wKCoSG460CvEH2oZGdVX48QSd4i2qwyjjCtAjc3EVYm8O6Bk+06+Y= 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, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Michael Riesch Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fix indentation of the callbacks in struct drm_panel_funcs. No functional changes. Signed-off-by: Michael Riesch Reviewed-by: Sebastian Reichel --- drivers/gpu/drm/panel/panel-sitronix-st7789v.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-sitronix-st7789v.c b/drivers/gpu/drm/panel/panel-sitronix-st7789v.c index bbc4569cbcdc..c7cbfe6ca82c 100644 --- a/drivers/gpu/drm/panel/panel-sitronix-st7789v.c +++ b/drivers/gpu/drm/panel/panel-sitronix-st7789v.c @@ -346,11 +346,11 @@ static int st7789v_unprepare(struct drm_panel *panel) } static const struct drm_panel_funcs st7789v_drm_funcs = { - .disable = st7789v_disable, - .enable = st7789v_enable, - .get_modes = st7789v_get_modes, - .prepare = st7789v_prepare, - .unprepare = st7789v_unprepare, + .disable = st7789v_disable, + .enable = st7789v_enable, + .get_modes = st7789v_get_modes, + .prepare = st7789v_prepare, + .unprepare = st7789v_unprepare, }; static int st7789v_probe(struct spi_device *spi) From patchwork Thu Aug 3 20:13: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: 13340821 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 86C95C001DB for ; Thu, 3 Aug 2023 20:14:19 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3157C10E21D; Thu, 3 Aug 2023 20:14:13 +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 D715010E0E8 for ; Thu, 3 Aug 2023 20:14:04 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NAVApeQy4zKnEZVY5wk3ZBqBJdLCbBTah5Q4znYvvR60h1yMZL8bt302r2IVNyPUKCaKWqn8euzhak8Q7JXvyzjUcp2Z8pN3Bddu0ZHuPlnPwZYOukwnQg/9WWeBNEyWJBE2EXpQZg75XHipCkXWt04VeICTvnqStgTUoIZq/fxwbiCHnioc6+oULzwaP3F7XjQxW1PC+MT4hSShGbdq+JvuLKNMpvX+9wtjSHevPZSoDnwuU1ojOXLA4VE9KLZIJFwMxhM7d+O8irzk8S7+yk+/sUhVN4A98JhwljEUcLEp4I1/z/A2KltU/NqviFiEOwu0McRAYhMxmZG5A6tEeA== 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=l6/2iniA8O0andcTwDOuMihh4iRLN0psaXlKy0CoB64=; b=nmMysDniKINo2bfuUONaGgHkdBrb/zMM9s7kPzD9ESj4PislrMTQJlOXiroO7eqKjbxMSHoA9Z8mAvLtFgWqZwlTN4gmcVq/l5wOKPqBQubjgN5iD9nc6v9bl68fDHF5aQeMVMf65xDaz7FWCkSvs4ouVIpA0NDWpW/NoXZnLFDn5mMow1rDzNGd1Bp7BW3PvJzOxn4XPkq4V5FaGglblP/dxmxJvQkWxoKJ13mIC642+rGZYkXRESbTEu9mdQK0a30UcYl+NH/MfBNJMuAlwvj7J+miVoTpajJPcRuDJ3LA9nM3YdUgYXN8j6FkL9IKvsMv0rhBDfLXGEG2//+paQ== 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=l6/2iniA8O0andcTwDOuMihh4iRLN0psaXlKy0CoB64=; b=0idcW0RnxIC6rGzXe8D3tao0d3cmHYK4RtoUH59fsUCFrYhSXJLsNpcCuC71wbFQo2NgqsuOv0rKVuF+fBUiimUwx+Iq/pStP6EVTKSh29PNIS8RuKUr42wWIVXDUGW1/GhBDmhwawEiJr86Sw3IW1gjPsIodnj6HLK7BsMZkXo= 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:02 +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:02 +0000 From: Michael Riesch Date: Thu, 03 Aug 2023 22:13:49 +0200 Subject: [PATCH v2 2/3] drm/panel: sitronix-st7789v: add panel orientation support Message-Id: <20230718-feature-st7789v-v2-2-207cb1baea0f@wolfvision.net> References: <20230718-feature-st7789v-v2-0-207cb1baea0f@wolfvision.net> In-Reply-To: <20230718-feature-st7789v-v2-0-207cb1baea0f@wolfvision.net> 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=2273; i=michael.riesch@wolfvision.net; s=20230425; h=from:subject:message-id; bh=eiS9/88u4XxZT6MMZeo59P5+V2nbWgGsv8Uu0rvAgNk=; b=Qt8Jb3TGp4g6yriM2yjgA5uc12NKd5fgcKaOXAFjAknYqpxuHxxHD5naj5OlKOCT+fTRj36A1 C6DInwu9HGlBQsPgr+zvCbhkkw73M8GF8CWZ6a1CMIQcat22VlfP3D7 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: e648029e-8b94-4918-5baa-08db945e2dde X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qBDoy4rqgNBvvQk0DXTFZh3Y1FcelufOC91QXJ/jK9lfNhQHjMP1tWMdLSKiR5JQHcY1HAZboZe8lrXPK6TeuCB7BFubfOdjtEJYJrghyD3A3mFr7RsX69Y6kX73KlWqUCdNyiOX0GhhELl4EI+2f8WQASEkqlJqj1HxZNEGVxBmUrSLgjmIyvTavpoIZWZ2zNBLZ+G/1r8XTopa2wKvRb02GJ4R5AyuOfTq0DqshAnqBuAh1E+GWShLuQX56VIyjvXEdEp6s2KEFBCuPkSTlq8hd1IQ5ewhH1eOTPDQaC7JjjFqmBeueF0rTSnsUvEDXG6v0Fg87Lb9JOgftoRuoJh3JGFGcgFdbv5sbEEJ8AZ9nM+Q0lsO2WI/CUvq3QhtNmf6abjnHpcybHVR4M4VevjaF10nyIPv85ulPj3eqZmJ1gE38JnCZbB2YqLg+dpFhOZCQabo+rg3TW0wLmmKLOnVizrlCvWPgmlC/2qaf85kJul6jpuA5/tpLY3sklv32rwkBAzgWQERaZC+HeuDCr+KmzgWh3iLcEFP+TPkw16TjtIg9ei2Usl4xWaNjOqjbGocNN44BUFr5EvpLvJ+mKwCMv0avqb3Ox6PParu6aN0e2M3TqddAQeNm4g3QYQlhU+YbGeCq0fwc+v0YhMdtA== 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)(107886003)(6506007)(186003)(8676002)(26005)(66476007)(2906002)(316002)(66556008)(6636002)(4326008)(66946007)(5660300002)(7416002)(44832011)(8936002)(41300700001)(6666004)(6486002)(6512007)(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?0M0lrx2CBLOhhASLz76Xfe9LxcSX?= =?utf-8?q?XvEiluoMEqGgVUvrO21fgDAO1YURy4DK61y7zms6yFXgVyV4XK9x80zdFcQs103u3?= =?utf-8?q?P9NRYL7Dpc/WhUVQbMIbRa3mkz+d2RKHzFv2GRw1FMvrWfxa7okwVwtrfyLsth8nx?= =?utf-8?q?X2ZdcjBrTHJtbLsbknD27qnol2VD0aFNgC59KamZCQWu++OmOV2e5SSZFgXMfp20Y?= =?utf-8?q?oLfK7Qhv+ZnQxcRpYEaJ3iTkNaimyB6PyUyUe3W3IiEW1JeJO6YGIO2BI1oVO99kX?= =?utf-8?q?dnKg11uzAiNecTFiNx8EcJ56MEnM7xJutQP682KgQb3lTzHwTV6wFuu9MhO4aGQnB?= =?utf-8?q?cm9vsndBmOPp1/Hz7Gr0UYfbnVXKiylWl0ZVkwCi2FZLYgdyEb8n4HCFKf6wbxVf9?= =?utf-8?q?pi29lo4mm8PqY8UUQDlbvIn7NHPYJYcAF69MKiojIAOutbYhIEtNwRy9TFf3nOc9w?= =?utf-8?q?fUQ1dNeqyMPgUAPdvcDgP2RZFymK4ow+2gFXTfuFw2gEwAk+Z4e6I99pqk1Wh37Zf?= =?utf-8?q?B/ugNQepRXdVPUFp6RfQqgWaZOdS+7/JnntgFtCOGmT95wsCrM+qd4HEayWbw9Yh5?= =?utf-8?q?ysTVuakn3pyDXKKV5OkJ5DhBaKDLOG9j5+ghQSI2LCv1rWvVsk+S5UTs+3kLfZr1F?= =?utf-8?q?Aj69Q38DYE+rAhNj9lChahFA8drLyeIIvogh7Fk5DjF5O3kPa1Bd2qlAFj253p3Bi?= =?utf-8?q?pe471ZP1eOxbAuP8P2OSBDiNn6ygJaLCkZkX5EHBgaZTjfp9SFvJhLxprmKhcpRKo?= =?utf-8?q?VxrbvHfSM2LBv5cx8sVlxRGDc9d7xX7CNuC023MzYEWEyuVjpLPy5Rx1qpb/ZB3K7?= =?utf-8?q?ykVcEvwjdQoTrsCCfJX+I1wYrMvXeOpTGpN5iF0ndI97YwopCpewqebvXT70shH97?= =?utf-8?q?wb6i7mld10xQaCJ4MFqbI/R8Cr1an9gQ4wf27m1DZtsdqddF41cMm4f7EyNL6EFyQ?= =?utf-8?q?MDYao9gN2jRfI5DkK85ZZ2jQtTKS0mf28y3sSFH8ZvandHvO1k3j5DLWAm9fjRYcx?= =?utf-8?q?pzUmKbqEuEjcrFVGXwrSQmhZWu+uzequX08PYKNYdGz3tnBJRYtA6nq07REF5scQ9?= =?utf-8?q?UCDVmCtvGxhgfWubt4MCX19n1yh3GRE/Qe+uW2YcYLTKbprQfeRLi+LhRDbpmmrHY?= =?utf-8?q?5rR7mCE48/quVp000kbftfPPL+Sn3wnchRFRmzIYoidBHSLa3KPyO9ArB0V6xOh84?= =?utf-8?q?Os7VNzMUYI84LvDVeUkC04GWwg3NxLgzeyz3XaLZiX0trG00HeCzX/zJHpVIY0GXd?= =?utf-8?q?Nv21z0pc628ih7s76nk9jDxpny0glKmMRCDlrEgtjU35PM3e5UfYZgHa3QfKSBPVi?= =?utf-8?q?06nA6A3x7jIxMrD3c5mjYMlSuzFv5hL1KlMyb678IOwf3SwLJ+X0GbhZkEPBjsjNu?= =?utf-8?q?+ybohvUq4I6O5dVPykEMusx32kYveOOABFwWOEG8YNcIa+Xj5fe18UyjKGh/F85aw?= =?utf-8?q?LxDePgbm9JJy1u2JNObzls1z1U/LHKsR2e3LTcxptw5VtTRNyyowMKTwV0B7QqAiF?= =?utf-8?q?rAvQ0aYK3mthOMPMgMJUp/iX+zd2/gZRWg=3D=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: e648029e-8b94-4918-5baa-08db945e2dde 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:02.1358 (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: +9QVD71lflZ6IhpCt68rvQwNiQAQoXbJjz3FjJ0af85TFdFuhhXU3GAUo1dxIDApLJoFX+XjLcb6iWSTcNs1a4jXHcsDzREMZ/JZQ/U8FjY= 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, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Michael Riesch Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Determine the orientation of the display based on the device tree and propagate it. Reviewed-by: Neil Armstrong Signed-off-by: Michael Riesch Reviewed-by: Sebastian Reichel --- drivers/gpu/drm/panel/panel-sitronix-st7789v.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-sitronix-st7789v.c b/drivers/gpu/drm/panel/panel-sitronix-st7789v.c index c7cbfe6ca82c..6575f07d49e3 100644 --- a/drivers/gpu/drm/panel/panel-sitronix-st7789v.c +++ b/drivers/gpu/drm/panel/panel-sitronix-st7789v.c @@ -116,6 +116,7 @@ struct st7789v { struct spi_device *spi; struct gpio_desc *reset; struct regulator *power; + enum drm_panel_orientation orientation; }; enum st7789v_prefix { @@ -170,6 +171,7 @@ static const struct drm_display_mode default_mode = { static int st7789v_get_modes(struct drm_panel *panel, struct drm_connector *connector) { + struct st7789v *ctx = panel_to_st7789v(panel); struct drm_display_mode *mode; mode = drm_mode_duplicate(connector->dev, &default_mode); @@ -188,9 +190,22 @@ static int st7789v_get_modes(struct drm_panel *panel, connector->display_info.width_mm = 61; connector->display_info.height_mm = 103; + /* + * TODO: Remove once all drm drivers call + * drm_connector_set_orientation_from_panel() + */ + drm_connector_set_panel_orientation(connector, ctx->orientation); + return 1; } +static enum drm_panel_orientation st7789v_get_orientation(struct drm_panel *p) +{ + struct st7789v *ctx = panel_to_st7789v(p); + + return ctx->orientation; +} + static int st7789v_prepare(struct drm_panel *panel) { struct st7789v *ctx = panel_to_st7789v(panel); @@ -349,6 +364,7 @@ static const struct drm_panel_funcs st7789v_drm_funcs = { .disable = st7789v_disable, .enable = st7789v_enable, .get_modes = st7789v_get_modes, + .get_orientation = st7789v_get_orientation, .prepare = st7789v_prepare, .unprepare = st7789v_unprepare, }; @@ -382,6 +398,8 @@ static int st7789v_probe(struct spi_device *spi) if (ret) return ret; + of_drm_get_panel_orientation(spi->dev.of_node, &ctx->orientation); + drm_panel_add(&ctx->panel); return 0; From patchwork Thu Aug 3 20:13:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Riesch X-Patchwork-Id: 13340819 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 DCA81C001DB for ; Thu, 3 Aug 2023 20:14:13 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5E2FD10E0E8; Thu, 3 Aug 2023 20:14:07 +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 4B11D10E1F5 for ; Thu, 3 Aug 2023 20:14:05 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZiSlexwkeXzA5PYdh4I6xkbFioE8i9JuC+1W6hBpYLMowWAMh5HDf25xBKwoca3DgRUqEnDbRNkJT981hOuXMoNbY8hsmQ7PpkMOUF9czFtStTYDaEnl3/5sk7II9SBp5RDlgLH95XaaTk8xYybtpQIx34PaBirBwHSELHrsjuqMfKdINaTFoBxF8lkOiOkpoNTYZ0N0lxkMW/2kwMpFHaJL3dHKLIIjlyJfIyw6V7zvDXxFpSoNIQoyuSl379mLXeW4kC6kglrRf4YA5H/xacj063Hb7sXZe79rh1qGc5Yx1Vak5NlLxuV6hj/K3KYWzcWPfHxLRIv3YCSzSgTWUg== 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=1QCXRIN1I3230LemB+LqSCz7erRZWynE9vlerojKPFo=; b=ICnLDVDdvP7+1Hr+ICMvIiezVwOC1bHgqr+I/lGKOHn+oJ6MVxqI3+rL2V5fM+hli4RS10lVEQMRCt8Ys5G0Xadt0YEwjJDu/h9EPyl9W4IQjRnJ0dO+gKsj5arApJwu945CZ9aurq5+3tXo3/VJpXBHFhfVdWdkXIfb2jJJn2CTKBbSsGhViag7Hx32ckmdyOE02AAMnju9LdkFImAVMlQiXdH+eUAkodx7NwrVpfkyOiHcY75naW1tp2Zav/eXR3O77ij14t4OPtQSj3wYslO3JteNn/qBiXOFigC1/H4A6JLoS53XhKFIiQ7ystFbPzyt01amB9n5gJejQitdfA== 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=1QCXRIN1I3230LemB+LqSCz7erRZWynE9vlerojKPFo=; b=wa5iPsH5tUpFZa2F2tqTwVFSHdAKrQRN3eqqWKyRjCG1kCY7w3K1oO70HHlR1W9U0vzpR9iX1xgfIblDjp00KhJh77L1XQUvKmmcmf5iPOFiYK8H+i5/j0L0qFIWKHtF10+QHvB+xWX3TJhKTCRLEfspqDEF3JjoQx+v3PVG3+g= 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:03 +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:03 +0000 From: Michael Riesch Date: Thu, 03 Aug 2023 22:13:50 +0200 Subject: [PATCH v2 3/3] dt-bindings: display: add rotation property to sitronix,st7789v Message-Id: <20230718-feature-st7789v-v2-3-207cb1baea0f@wolfvision.net> References: <20230718-feature-st7789v-v2-0-207cb1baea0f@wolfvision.net> In-Reply-To: <20230718-feature-st7789v-v2-0-207cb1baea0f@wolfvision.net> 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=1145; i=michael.riesch@wolfvision.net; s=20230425; h=from:subject:message-id; bh=PB0tfTx2W3+0I3R0IVOtpWhMbgFN5MTykJQXb79SCOE=; b=dDT9X1fQSrvlT41cV5SJFfjuwy7P/XUE8PHPo+t/oYIxcDLSuin8Hewp97Z+fqkyNq3qp3GO2 ZrOfNc16ruCDNIPlGRLWEmmlPsHlxDALtwX5o10G5/le6tS66NgMVvr 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: d542d29c-0d69-4ebc-ea51-08db945e2e76 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Ry3eSZAQf30Mk7oRYRq95JUxS9D3jzSBmCGp0IyBpaUUWOyb54eXgEpDCqWHGN5zTesg8wWTHQ4HCvR+HIMPvKzYkteSZi3auYYleyYW4yLMfau101NVrnRiox21IXVAmxZhkx6d3wof45/8ZHygsQ+aM+I39oy415eOqBwGbacwDaIGyPjBarW2g7R+17gVczw920yuGpZpOS37I/NBsErvafSPMQFSSWGB2DH04Hcq3o0j7ufiD4GRR+H476Imw2OGvDBaZ8fEi5bVuLIIn2hwpukhFpFW+PpNtpZz8Nm24XQrIyxfmg2YmzQgEiBq7uEsPdDacpHCDJlJ1/yU0jCwr0bMoz7NP2E2kHzGfp3+L/n+RYnNuqjVL27duv7/4xRPnCgFQbF0xAyGs5AF955WwqWQD2gXLboQYO2F7ldDiJrgzWo6PQD1VLcnhHf1E7wcfn24t1yz2hgOfZd/sXWw/6JSPsyOpQjHzNOo1PwHKJ9zXJ0Q3qafGBg5d+bjWBMpu1Q65zWxElsqRA+JnXI6aC5UTJYKTs03vCtVarqV2vvQoeFesrjPvG3mg+BnNgh9hF6tDQesyImdP+eM5W0EwmC+gdWsv+1nObXkghOBOAB77ngnotZEhD5RxPXb4qOQc4NTOGqca2/ZIpp7gw== 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)(107886003)(6506007)(186003)(8676002)(26005)(4744005)(66476007)(2906002)(316002)(66556008)(6636002)(4326008)(66946007)(5660300002)(7416002)(44832011)(8936002)(41300700001)(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?1KkLpwChEW+vryKnE3Du6yxsxrHB?= =?utf-8?q?i5UJnkb9i6ymNPDdYZn+WqBEe2ypsQLRmD++1LYzioxgbR/IIEiCK2nKrwAODyI7m?= =?utf-8?q?buzIVW7VBcl/mFw7u2fIZXDzD8z8yoluiQKU4JggPnWwneJAEiVwkEOrfkRXu2iKK?= =?utf-8?q?OsXjHY9ARdhhzLRDMQyb5M+H/e3OP1y/MLSbqynUH+wM0fLkNEEUvO7+d5kdPIIdy?= =?utf-8?q?H+wnCLUNTaJcif544Y9ljAbuYi7qbnN0kGoDDJeQTn0Cq8dvtTbuww8Xh+acqt7tQ?= =?utf-8?q?Xq+POjXVO+Ip08XN6riOXsBeys/OW4k4yQVAAsy28gCjD9IYlxSURXkLhURpFhnOT?= =?utf-8?q?BYABSIh0H5ZmN9tXl0zgbOnx32H2U8A1I4Vqg0lCq4BdfxbbIh5i4CERkynIssPNb?= =?utf-8?q?9kcZv+OMPwIe7PbMQbL3o1WmgIA1Ja+qgvsvir43WOEX5CHhtXInEtzBUPIN0HQCq?= =?utf-8?q?b08AavNJrKYrCp+FXkg9X+WblQF84RDalL401hWj7IoDpTecePqgVwZg0eSvB4cLu?= =?utf-8?q?ESf5LeURdEPG50LSYMfm4DRctYCCWxQx1oyaBtKmLj955Ja7PI5GfyImRuGw3FS7Z?= =?utf-8?q?oC+uqJPAcerWotsvYs8o9+avdZvTfQNgzyYVI2Q2AU3u0n+vEiHejsXrjxv7i0SRK?= =?utf-8?q?ImNUTMzNk0etL0zx4/nK+NFlcqg/0Wp9EFX0DkBI8Mm8VWMWSbj/kqs4Bhwnhm7lE?= =?utf-8?q?oMaNIxu2AM6W6cDWgKD1Mk1JZtyaZJ1XJ14SXyLhc4wzuAQr4qjzC4vTSv6auMdPB?= =?utf-8?q?SWSETI/gPHsHYxpOu36T9sVSjEukOjFFyT1HIhBoTvIRkXNebSRkSVXZj6qrw4lYN?= =?utf-8?q?PmSvzS3jxoWflq6ZQ1Lg2aFJlRQXybaVzc2C24bUWFPIdy+p6b75KO6z6Di198z6z?= =?utf-8?q?tQb9qotGM3cwQGd/UpXRBKPhTpry/c4+lS4ZxKUxVLKxbM0e+vDov4jKhzBSAN0Oa?= =?utf-8?q?GttNJZ6TyoTCBs9efIu0Sw1U2p1mjPw5AqE16srNDdxcYW8fvn1EE+min1CgMkQIB?= =?utf-8?q?2GCC62nrTiygkDuyeJKaPyS79DaEAcArdNjSiiaTFzu7z2Wf6K+WIVlhzggDTuj6k?= =?utf-8?q?7msn29MM2r3yW4lnd2pHJYEFbnXtLHfkwrpBfcaZxyKJTckYjzOeUvviiA0GJAdMb?= =?utf-8?q?AF1v8qlNZta7FktjnjY2TPsPLrIUk4NnMTdhmF/pD8XkMhYGuhymCjzsbwWn1PiFR?= =?utf-8?q?VGn+hAbg4halOyEfiLdHHoTn/zf99ddaajL8Jc+IchMGI2e5uKevuVRPWU7kLEmaw?= =?utf-8?q?yNIlq9ljPThk7K+gc7rOnCPqqpU8L//Sdw4+YBizfcZD6uU1bbKPdAvbWtl33VLtN?= =?utf-8?q?wbkqQKrL6kmBDeDD4uKBz9clcFRRSjVhb0J6JM1RC83YJF+i4T1bJYgnlS47sTotM?= =?utf-8?q?AJm8zT41SxtcTabonQQ3SaW74qsBe1F0jAhpzXvpkNs0Ykfv3CoYX+muW6UBkPUYh?= =?utf-8?q?rKigQME5qx3pTI/LAH2vRuIar4QIZe70SHkhANnCXP0Hq06F9Gb88Acq1SCynZDA0?= =?utf-8?q?7MKUw8entu/Hau7GR2SR8XZoMSyx48kYKQ=3D=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: d542d29c-0d69-4ebc-ea51-08db945e2e76 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:03.1381 (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: Ffu5PPHw6p68R1PaoxXEjS5K47lmQ2oIjdzkIkfG84Mq3d/RERnKhZMH9S6DrfTdFOX8N863g35SQynkHBs91H6pfwbFMTCRNTd5qVRlZTo= 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" The sitronix-st7789v driver now considers the rotation property. Add the property to the documentation. Acked-by: Conor Dooley Signed-off-by: Michael Riesch Reviewed-by: Sebastian Reichel --- Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml b/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml index fa6556363cca..694d7f771d0c 100644 --- a/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml +++ b/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml @@ -22,6 +22,7 @@ properties: power-supply: true backlight: true port: true + rotation: true spi-cpha: true spi-cpol: true @@ -52,6 +53,7 @@ examples: reset-gpios = <&pio 6 11 GPIO_ACTIVE_LOW>; backlight = <&pwm_bl>; power-supply = <&power>; + rotation = <180>; spi-max-frequency = <100000>; spi-cpol; spi-cpha;