From patchwork Fri Aug 4 11:23:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Riesch X-Patchwork-Id: 131156 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:44a:b0:3f2:4152:657d with SMTP id ez10csp238091vqb; Fri, 4 Aug 2023 05:51:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE1wDiy4RlkjJORuyffZojnr5IEYVy7exFr5cCDLlu4iZV1RfXJgmerdIIPkEbU0acVx9GO X-Received: by 2002:a17:906:318f:b0:992:2f67:cd34 with SMTP id 15-20020a170906318f00b009922f67cd34mr2038188ejy.22.1691153479991; Fri, 04 Aug 2023 05:51:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1691153479; cv=pass; d=google.com; s=arc-20160816; b=NxN4ut+Ema3RtMV/+9Y36TlIm3Pfc6qcMx1yjI1nVqS536BxXQfqvwVgIqC5eJ3Z04 6ztPi9zWM/oOSSmk7Bkz0Lwk0+0xQd0h1gkriQCabUHv36EsrwKcrdYJjXMGdFPbVinO MXv3FUkwckm9HdWkzjcRfBeyPV659d8TNuEyEF9MM9n9HFycmC10KNKfr8HKo+DA85eG +q6SdyFkssXM9uEDtNG+kBBwk4ADmrOFakBcyZ08qiJdKY490ljBtzFPToFOZCU02+SD MmptrJOW5yHpdyVeltJ2WQJ01jMV08ADlx2S+RQiQNvtRG4+NfeJputnzpkPOoCB12ds lstQ== 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:in-reply-to:references :message-id:content-transfer-encoding:subject:date:from :dkim-signature; bh=KQ/clY+OWy7UFsifIWw+74iLSR4Wu8gP35fXRLUXHH4=; fh=uBQ/eZ/jRuUMDwMCxYwGBCKZ7zdnORoPmoAmJnmuwpU=; b=ZCZEKf6Nm87Xyp9XX37n+cSv+TtkPB+fyni2ChNVJaMICc7ZfqlLgCjWlBNlNLlOR2 hFgFuAEQT8gGN20GLEoVHFTYdCc6ONAUPi9sP/AXRyDmM/rxKUuLA4saT/v93CBsUwVr sGtJOx6l/hxH+k5QlWmtE0W0TueXl+oeUokgHkQoceZDZkpmcTZwlRMgIiM6MEr3Qk01 w8FG+RGCA5F6NAihuL9F0t+LGL83IgkvMGbeYMFV6oOg79F+VWowHuzNoWceYIMrnXYe A1h1UHvKpVM/GVU1Y7AwCErxPNyEX4k1ucKC5jocu+GDUOjKoj+JoBkRoqHi/HoUoPgH HW3g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wolfvision.net header.s=selector2 header.b="2N/c6KHw"; 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 p21-20020a1709061b5500b00993a37afc87si1616379ejg.919.2023.08.04.05.50.55; Fri, 04 Aug 2023 05:51:19 -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="2N/c6KHw"; 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 S230151AbjHDLXZ (ORCPT + 99 others); Fri, 4 Aug 2023 07:23:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230094AbjHDLXX (ORCPT ); Fri, 4 Aug 2023 07:23:23 -0400 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2081.outbound.protection.outlook.com [40.107.105.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43E7711B; Fri, 4 Aug 2023 04:23:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nhQu766iSgxBaaCLdMOFijlXMUWJ/xIiamzT+SHWcsou2YyytIOyimHmHo7NfQKsdT389m8t8JQ/eWF0tKLN7q1F4yMqISnjiy8OqknHwrP9KlchgOe5ThuzKWTAanpGdE0+11Qj3Ox2KabZr2sfugWmNYiCiyYe6hGu/GbO/0a06lPV/KHZ1W/WyiCzXIMQYvG/PguEYL68M/0PmMsDaFzrOdKSzKwKDqhZPlXxF2gXlMOwsb9zccj1CLA8lHJmGNTMsL+9eJCjEPfbLUpHQTu/0tMQIDDyeZoYU1E67sl5zhQWW3S22YTm20MFnKWcpWZes05qP6tqj6PTQQGjQw== 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=KQ/clY+OWy7UFsifIWw+74iLSR4Wu8gP35fXRLUXHH4=; b=A3E6KiB/WM+OL5SBT9/zQyJNWiaxqSrUZqqip0DRUJtQnG9WJioOCWr3OtGwXivbGu4iWLwCs76nTBpC1jD+X2OLt8QbKADLrnVPeBP/69fdUJfRuXPTDQOIEPJUB2dvcTkBmm0G7V4+VXrvASO01xcASZuxFX8vJPAUdDKwaftKLasY4DLqRZneH/3EoQU06GFpPdkuCnI1Z0vvJuTB26ZuDaez0nas/HcE0GoCgj2TD3d8xp1UFm7UOUfF6zDqHs3tisIWTXT/f3ac2d7bQGFtBLH12HqqCWcdalTDsqNlyXg61fiCqHfnM2s9dIZnAkB9v44pPwtGQLZWeNQUMg== 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=KQ/clY+OWy7UFsifIWw+74iLSR4Wu8gP35fXRLUXHH4=; b=2N/c6KHw4g8E0d92O6cbt/AR0XQhjEeLovgM+ZoFmhcIBu2ubOKXa4i/rn7d9NiHXwTrNmIDxMcFPou4yvVy3qrk0x1yHIwZScvtUiUaTQ1NMF7Nu+JSB0qI2DiX5xWE6WA4koLGwJOw7PDzyikqpjpcK2f3DtgFj1tIrZkKqeE= 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 DB9PR08MB6729.eurprd08.prod.outlook.com (2603:10a6:10:2ac::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6652.21; Fri, 4 Aug 2023 11:23:19 +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 11:23:19 +0000 From: Michael Riesch Date: Fri, 04 Aug 2023 13:23:08 +0200 Subject: [PATCH v3 1/3] drm/panel: sitronix-st7789v: fix indentation in drm_panel_funcs Message-Id: <20230718-feature-st7789v-v3-1-157d68fb63e2@wolfvision.net> References: <20230718-feature-st7789v-v3-0-157d68fb63e2@wolfvision.net> In-Reply-To: <20230718-feature-st7789v-v3-0-157d68fb63e2@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 Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Michael Riesch X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1691148197; l=1121; i=michael.riesch@wolfvision.net; s=20230425; h=from:subject:message-id; bh=ERBlt++yFzlTkLnkmGnLA7blKLBR3PTGqOxYi0qVgk0=; b=Vf64TlMNuf9+C9SOo0ZLEMMaaP3SVjYgV2Vv4JlJbNCDgWc3ob0b4qtymkRmKSvUqOSF33bEA pmkVJpkn5a3D4CojCy1p76vyVp38EwNbO0sOXZIcmw5tnMJ937GtQsH X-Developer-Key: i=michael.riesch@wolfvision.net; a=ed25519; pk=1QQdXA2QbwdxaQn/VQK0hz04C8IBYhDowbK0hlNU4Ng= X-ClientProxiedBy: VI1PR07CA0281.eurprd07.prod.outlook.com (2603:10a6:803:b4::48) To DU0PR08MB9155.eurprd08.prod.outlook.com (2603:10a6:10:416::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR08MB9155:EE_|DB9PR08MB6729:EE_ X-MS-Office365-Filtering-Correlation-Id: d134cea5-27b1-4025-d8d3-08db94dd34ab X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4/39xwPPHhkffI8dezLtOj5yDl7efCpvQhi7pFe6Jd/N9MwOf32st0UwLrm9xYtMhdNCHlekt3MRjK++KcdPP3dJD4nRa3Bb6VGqBxPyXU8/PgAK/Q+cUef2qNq3+IJXvEsegGMr/xoN3myzCEFH+tZ/RRfvENlspJhRov135QjbemmnOiQ3/772i/e5wni+MiJi2w8XGoeOk2s4ujccRYbpTOZVA/TSrvCfL4S5AXEXmvfNfPaDw+Md9FKw5z484sw4Oc2hCC1qsrt2k7ErXn+bZeY1WDwEIyYbcc4bggAzRiG2HhRCWwiml2ewwrG9MPnxQOjnx9qwI+vMoPdNk39rdXkYy7juoRQm0PKX2gx9RSW/H0XdGdP33WCxVa9NFJsDCddCii2/DjfTV3E0Brt9F6v7XDoPw3q12lsHEsRXQQmk/S7qLO2tARdMs/ySEDwPpDB9ZE2QedoznAEbdpoiQKAZ+5UFJxHl5zhrusYRNMiFYdL3eiU84OcfwEiLVcTkxoAViNfUv4+dSoTmuCNeGJsDLRplkRnodutiOzyor4yO7dEeIMumZZlbrbJ4nGqY3nbSPvsTWLNjc5pz+n70jCzk4DTRB4hF2UCZK+fSMO9QItwrcI83tU6ZIIn89lglWpJplmMJa1Y6qaueMw== 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)(136003)(39850400004)(346002)(366004)(396003)(186006)(451199021)(1800799003)(44832011)(66476007)(66946007)(66556008)(4326008)(6636002)(2906002)(921005)(38100700002)(38350700002)(2616005)(6506007)(7416002)(83380400001)(110136005)(86362001)(6512007)(26005)(478600001)(107886003)(36756003)(52116002)(6486002)(6666004)(8936002)(8676002)(5660300002)(41300700001)(316002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?Ka1GbxOhB75ViN3CTmQyX8IKfut7?= =?utf-8?q?5sYAC6UQF6utUUPtQwBSYZ7VUERBuVJm3wzHQsmiSpQF7QETXK5wPoLXnVk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?vsJ91J5Ns4E+8F55IF8Rl9a8XD4jOg4Sz1sz5tlxUdl/KadGsOyhTCEK9XfSy2s9R?= =?utf-8?q?gyRzOiCxMOdk/7YqUM9pVQF1g7p3qa1F6U8hafm9QtvsjWXheoZ29+Tft5w/zObPe?= =?utf-8?q?kOUnabKCHmdCc6lLPf7MT5NpXstqqZETzi9AecbU5m9Ze9WNOEi7Q9tExTkZK1paf?= =?utf-8?q?bG/gnnQWuxuRTzFSzUFaPkZUH3gkRRuyIaBvZKTgIcZRtxQ5gZZRt7COK6A8MjMBV?= =?utf-8?q?/VF8HwToP8Ofccadk2Q7NDTCrpIrdpymUMticagnnAsFCZ1lBcTDYuHy8dVl8k2jC?= =?utf-8?q?SaMaLm8WaTQ5N2gje+XCeF3KjoMhCKl7xPP39kYLcfIWPPyXasL+hFK72NzMPhVcR?= =?utf-8?q?c6GEoZKoLrIJs7lT/XrcBrK9Gi1GZhN8+7lsLkpcovu6KAza+Zceyxc562jdVXPJg?= =?utf-8?q?ozxA+b0gNtP270aG+eU2f6mKqS9BS0xsO/UEhnOluWDQqibDikS8GkIJbR/brULea?= =?utf-8?q?PBkFLkdufJm2svorfbmgaZnXABPHSOgWI9phK3n6hLK8wGVW7zbMucJbN/QLN+pJB?= =?utf-8?q?yInf8FHDpn2smpFgr9IEaer9c3cPeosvCg=3D=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: d134cea5-27b1-4025-d8d3-08db94dd34ab X-MS-Exchange-CrossTenant-AuthSource: DU0PR08MB9155.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Aug 2023 11:23:19.6537 (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: 3/EQxLbk3Nm1KCaQeUAhVOlQK6ZSCfEuoRiNUL3A3LAOsYeesyNDy6IwVNwdSxjfuSwd+gdNGDEk6RqjDH5+kg4Xy6dQ7T3H6NTr+eTHMuo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB6729 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: 1773302951456826148 X-GMAIL-MSGID: 1773302951456826148 Fix indentation of the callbacks in struct drm_panel_funcs. No functional changes. Reviewed-by: Sebastian Reichel Signed-off-by: Michael Riesch --- 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 dc010d87a9ef..bc8df51224de 100644 --- a/drivers/gpu/drm/panel/panel-sitronix-st7789v.c +++ b/drivers/gpu/drm/panel/panel-sitronix-st7789v.c @@ -519,11 +519,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 Fri Aug 4 11:23:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Riesch X-Patchwork-Id: 131147 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:44a:b0:3f2:4152:657d with SMTP id ez10csp235965vqb; Fri, 4 Aug 2023 05:47:04 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG38T9BPMx+0D3cJBKesBQw2zdeQ7jhW9B4toJ6ydSHVSIR+PR3Fz5UVmCRtJMOf+BG0IBb X-Received: by 2002:a17:907:770b:b0:99b:605b:1f49 with SMTP id kw11-20020a170907770b00b0099b605b1f49mr1416160ejc.36.1691153224463; Fri, 04 Aug 2023 05:47:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1691153224; cv=pass; d=google.com; s=arc-20160816; b=1DLPLnS+gc0KFju5GtE1Z0+Jdbaaw9hJTdBoDPtQfZD+IeJHoDTSd7M4jVDcROWxus Gda2en4NdVgcS6IE/BhK+SBVORWKSE0dMshFS+0xlpqAY9whb8z2BcKzDjPmnDvKZi2r 9lKUhk5g93pcGuvtPCsLjp7no4l6aa8sJo1405fYh/hD1VMfm+Ac7r5NgP5Uwj5CrfCv AQqwKxdCK67Ty7Xz/shW7tdPRJAkyaLRquu8QxofEmT0Z9wYILchdHTWa5ZLSNWhtV4S QzWWJk8JBZFrtUQuqaOH/tg1PV36jvgIOJZygr+zqavMFwNBjJPOwhUf0yanx4i10JXt ZUog== 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:in-reply-to:references :message-id:content-transfer-encoding:subject:date:from :dkim-signature; bh=b9VBwqeIfG64Bdp5SOwixYwqJZmxKloYIiJ7xGDWDnY=; fh=uBQ/eZ/jRuUMDwMCxYwGBCKZ7zdnORoPmoAmJnmuwpU=; b=AxbTtTn318TdLAiymI9wiTVT3XwGSHgSKgxTt3THF+5AmegbPZeZ2XhVjjD0/xEp5o JcafNt7dPOKz8BETYbKelzBTXWw4euAwy8raHeVhNbsonQ2eNinPATOkM64TAjRqRor7 mHepIdt1YuATSFThtl8snSPndkwzoPIyUwuRERu3k1+KRP/I5pWn4d+kfMIm5MpzKsiy 2pfzecwIf/fNJjpa5NgAyGkmv18hD1ARDwQ93hpUBdyljoOCwAe2g9aEESbBMojTJjCa lIyoyV+o+cajed+fnp+DQ7fu01inCFNRjnrvlJvg/EPO6WmLQI9fFzaoVcGZh47KBQ/D oVBA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wolfvision.net header.s=selector2 header.b=EKZSj7Mu; 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 f18-20020a1709062c5200b0099bd1a97e1fsi160438ejh.995.2023.08.04.05.46.31; Fri, 04 Aug 2023 05:47:04 -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=EKZSj7Mu; 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 S230184AbjHDLX1 (ORCPT + 99 others); Fri, 4 Aug 2023 07:23:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229680AbjHDLXY (ORCPT ); Fri, 4 Aug 2023 07:23:24 -0400 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2041.outbound.protection.outlook.com [40.107.20.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06E37128; Fri, 4 Aug 2023 04:23:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JYtss5FUF1v+/cGdQHTINZ3MWhXoD46jgUQqmE1vCZ13aegRQXm1IyGyFL30ouQA1//mzum56Gj/tVPwoOLWruFS0LuutwuyjSP4I3UYYoGAnLMi6iSRIxYcH01OPUdS8R4Nln4e+Kha89YqDHkxRo0DfJE+cNl6YahIoJCKmWkewBlue9vecVH9nypfA7U1Yuly0BD6V9YizwFPQnhOk6h6vxwUcxIZ9nKbp1e9QlohNCIxEpS9VfvPYGvMbaN+KdniUmJT74hQLjI3ux42QuHhK5LcOe73C+6pcYhpojt+GWZRWULL3nHlJiX6d2xHOEacO5j2ucCr0Btbz24JYg== 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=b9VBwqeIfG64Bdp5SOwixYwqJZmxKloYIiJ7xGDWDnY=; b=hydYNJyIJe/Em6InLBj6j2UyYGDzB+C/3YPyHtPf1Oc0R0tGRayHYg7U0xDK3Rsr+epx1R1/E+6L3IWPo5IMSJHhPBaTjsDbUPejQfut67c3rAzwp8uuhBoyP0loFF95bzNT+eroNtCfp0/+JFmb+3Ut2dXmEev+9w2/QFnPCR9gpSfGjiT3e0Gy60q/sy6NIFKkvnz1L8+kmRPeZMta3fdGX4Qen0l2GsP1ey8b1uBZ5mtCCKOIky84lxQe1Vp1LsCG8NcL7ElGUZbj432krR9CFkfUBriFjdsygow8UVnfUY4YJN134QlwvbnpA96pgxblBm20LWRG/0CKw3bBBQ== 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=b9VBwqeIfG64Bdp5SOwixYwqJZmxKloYIiJ7xGDWDnY=; b=EKZSj7MuKxLEy7hwT53J/gHcEKvnQqFTewZBHZzxssxf1FVdGkeC1VNVS3K5c6uTZ4eTUy22MPzZXEdOy/SfxLEhBM+mTM9/bLNxr7yeGGvAA7gNTh0YxoBdxE1p5abcK2vJ6mjJiCCnmOvTsY2K8Fva2vTAUKTceUn0k9fqi+k= 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 DB5PR08MB10214.eurprd08.prod.outlook.com (2603:10a6:10:4a9::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6652.21; Fri, 4 Aug 2023 11:23:20 +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 11:23:20 +0000 From: Michael Riesch Date: Fri, 04 Aug 2023 13:23:09 +0200 Subject: [PATCH v3 2/3] drm/panel: sitronix-st7789v: add panel orientation support Message-Id: <20230718-feature-st7789v-v3-2-157d68fb63e2@wolfvision.net> References: <20230718-feature-st7789v-v3-0-157d68fb63e2@wolfvision.net> In-Reply-To: <20230718-feature-st7789v-v3-0-157d68fb63e2@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 Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Michael Riesch X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1691148197; l=2056; i=michael.riesch@wolfvision.net; s=20230425; h=from:subject:message-id; bh=vuZDK/ATsMHht5Q8uxKOQjXxmrTzLm7WsFyZBdFz4Po=; b=MmLlCwJPinoPV99u+Qk32aTdLZGbhhohfqn0Ub7warC/lM9pxEbUHuHvLUWKm5JT8Z2kSgDKa c2q7er0Q92JAaQcQ1qjpQ0vbcudaQZGwDsJNI1HIsz5CGnSqSeVYU9b X-Developer-Key: i=michael.riesch@wolfvision.net; a=ed25519; pk=1QQdXA2QbwdxaQn/VQK0hz04C8IBYhDowbK0hlNU4Ng= X-ClientProxiedBy: VI1PR07CA0281.eurprd07.prod.outlook.com (2603:10a6:803:b4::48) To DU0PR08MB9155.eurprd08.prod.outlook.com (2603:10a6:10:416::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR08MB9155:EE_|DB5PR08MB10214:EE_ X-MS-Office365-Filtering-Correlation-Id: e1fd9a35-6e8f-440c-a37e-08db94dd353f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yxDhC3Wt3cLTz2+yqk+VjX581y1Y3giK1sbnBWIxhZ36Yj9uuzB80okkdbYijJNjxrVlxBQjUDLaYXf19S+hL+yDeZvvrwRhywHq4DD3gva6STfV6RPZ7Kc8mV61Fheh5t0KEOoo5qVaB/cvOtk1dxwM1WViW8kc1L29AHdhMoP3ZS3Hf97lPNRY6WTJnBiTt0BsKQqfzMihX+b+rMfNGP2GCjtFo9L2IUpkk8BRhU0XLo0q6RrQ8jLpWcCGLZQep5ku9rklwumkQUsbqIYlDrDYcA9dijS3W2RxKJcNwJ9OpVgEkkRRo5nXIuLdhWf/IST738HE+qZ3MOmSstyBCXSPlkBECjNrjMBwOmd96LGaTSXKbGCbuajfm3j0cz3ekXKroZ/TdgtJK3vESd5ipv5pjhqcZ1IZdUThv6mk/e1/UbD0F/LAH5gkWgZ4naFkyFJoOUKNwJlSQR75XTMKG2T3o/Y2mHP2/hpRVFkpyjei0dh/KNb7RULpQvT+KtYAziXf0KopMdikvPGgXDuoXb0qD+irEEGYXitzluyDyd5kxSvToGCBPD9LuKWKwXK7UdgsHJWYbDmV8GaGitvoeKaciBQKxXNdbDAis5yCVL/2tA9DI1HRil29q7+804KiShHrSLs2lDA6DSiXwss6qw== 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)(136003)(376002)(39840400004)(366004)(346002)(396003)(451199021)(186006)(1800799003)(52116002)(6666004)(6486002)(6512007)(86362001)(6506007)(26005)(107886003)(36756003)(2616005)(38100700002)(38350700002)(921005)(5660300002)(41300700001)(8936002)(8676002)(6636002)(4326008)(2906002)(66556008)(66476007)(66946007)(316002)(7416002)(478600001)(44832011)(110136005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?wIM/EwnGLDCftp7IGD4Y0roVp2ZV?= =?utf-8?q?TRurEXZeFfQOgdHSQGVu8twFhJDptyOxRPwVdOZwNdywhC0aIFPhmcl/bxgyGptet?= =?utf-8?q?1ulUzwXBtupEC8LiZZakAIjlPLmixxQOE3eyaZL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uL7/x4I1ROohRyo5Ican0nlxKfI1HN?= =?utf-8?q?jmUBZmzw9IKTX/gKllgqGpatSfd2tt7jcAAT5C5Ef2QavLy1yABnukjQ4KIVNRQrW?= =?utf-8?q?SlnJvT3/R8KySG4Q4ws7RtbuixT0Sbdx6/jd9oj4zuf2eFfLZ7PfvC0n52PuDECh2?= =?utf-8?q?1k5gLZhVRXgo1kVLuxnGV+vmqjlucyAH038yVdMmgaH/MXEDqcZScvCD14/4c9U2m?= =?utf-8?q?ho321+XeGNVfcz3OhWFwtWNuKTXE3dpZKE1An8+mPSNABacjsjUWZaz4R15sREuQR?= =?utf-8?q?kmN7KYh8VnPEi+kvkqC1Gx2DqpugzJ6CAOelpjAw0NeHT4/L4BBk2bMbWur/U8eZ3?= =?utf-8?q?bYuxZ0t7ipC5Xsc7aUDJvihhyF2GBxLJtG08wq1mCRfy4WuDGOOh7p7lU7WZtO6cl?= =?utf-8?q?RT/vF6+4iP8mc7JkPp1mHuYgVsYt38RlKisJLMMAtLJtRBQJ29D7135whfvzU1nOI?= =?utf-8?q?FTx6tAUWf1bdQvEzg+w1IFSj7BjasXbAI2m77qfJsA0Q6ts2E331i1CQc53Xt5znY?= =?utf-8?q?PKfWJGsOGq1wdFIu8+QZASOL9tY80gLzjw=3D=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: e1fd9a35-6e8f-440c-a37e-08db94dd353f X-MS-Exchange-CrossTenant-AuthSource: DU0PR08MB9155.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Aug 2023 11:23:20.6284 (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: BuLR83R44fcr0aQ4KZW0NlSJwy4T8H8/CWCHnQKFyhN7GmAKwij0y/RD8qCL0ulMEWOEWIWKfK291d7c97ygZh3zFs6/+SQ4pWj6NHhAlI8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR08MB10214 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: 1773302683471342163 X-GMAIL-MSGID: 1773302683471342163 Determine the orientation of the display based on the device tree and propagate it. Reviewed-by: Neil Armstrong Reviewed-by: Sebastian Reichel Signed-off-by: Michael Riesch --- drivers/gpu/drm/panel/panel-sitronix-st7789v.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-sitronix-st7789v.c b/drivers/gpu/drm/panel/panel-sitronix-st7789v.c index bc8df51224de..0ded72ed2fcd 100644 --- a/drivers/gpu/drm/panel/panel-sitronix-st7789v.c +++ b/drivers/gpu/drm/panel/panel-sitronix-st7789v.c @@ -126,6 +126,7 @@ struct st7789v { struct spi_device *spi; struct gpio_desc *reset; struct regulator *power; + enum drm_panel_orientation orientation; }; enum st7789v_prefix { @@ -325,9 +326,22 @@ static int st7789v_get_modes(struct drm_panel *panel, drm_display_info_set_bus_formats(&connector->display_info, &ctx->info->bus_format, 1); + /* + * 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); @@ -522,6 +536,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, }; @@ -563,6 +578,8 @@ static int st7789v_probe(struct spi_device *spi) if (ret) return dev_err_probe(dev, ret, "Failed to get backlight\n"); + of_drm_get_panel_orientation(spi->dev.of_node, &ctx->orientation); + drm_panel_add(&ctx->panel); return 0; From patchwork Fri Aug 4 11:23:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Riesch X-Patchwork-Id: 131138 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:44a:b0:3f2:4152:657d with SMTP id ez10csp224360vqb; Fri, 4 Aug 2023 05:26:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IESADIixZw9YBjFCAhOUV/j0vXE5ldZiMeLx7GDYGD5SkbsIbQS4CEiX9e2Cc+/R9FLtMJQ X-Received: by 2002:a17:90a:69e1:b0:268:1b60:5031 with SMTP id s88-20020a17090a69e100b002681b605031mr1286472pjj.12.1691151965535; Fri, 04 Aug 2023 05:26:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1691151965; cv=pass; d=google.com; s=arc-20160816; b=TbCjhnuxO4C3SVTi3kGw2driT5b/iGk3HFhdeUjrhm5DV7dDIFCzRfERUT4T6Dzq/h 6A3zY0erUGJ6NHI0WfbS/6LKbX90svFmI9je11xiMkGILcMMizRr6NNA/XUiW0phYOU9 H452WduqvZ5awHvvpQ0EV2b7B90hCf4Yk/jTlN2wqDCVp4jLFqiby+067Pyf12Im+YT0 flKvrSc8O7fSQUBulbp/prW3YJRRPW3jNSlPVAjIFG85P3PUCVbS0zlSZQ249d3WwfP0 KUMvrdIBXYQN1qbmT5AT6nmzR6ylk+rK5s8DUqB7vGbPPvJZydGa83EnTInAvOIjjX9c 5Yuw== 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:in-reply-to:references :message-id:content-transfer-encoding:subject:date:from :dkim-signature; bh=Vpva6H/WX4nNEtyd9z8f+zfvIpnlZwf99+l2CohkpTc=; fh=qM/DiZpOlApnJoKInxwtc311S/fuacgl+6CREgETd6Y=; b=DMuHqDBGJd+vDiksXT0zSd5IGOl9lGMEinRwTtbM+roTlFfiovB5ocRkIEIdWxpNZm tyPaC9HnwInUgUK66uMEVSkjDXYQDUCQCuiMH9VTuk43POUqrZSNJE+SbgxwctVr/BGB MO60FnDsupMcg5ot7SrbsjV8Vcwq31wFOyKdQaQdDSIlu4UKHomno3mOGV/Y7Yl3TrRu 0sqU6bg5mJMeXUbG9gvYPcgkUYU6ZXWOX7t7g5lRoFEjw+m2zRdB0lDkdIXVbHr/OkJC 3Brg0BpDm9gcNkrfNMbXl+Kg79xVruLD+eFKqR4k5q3ceLxtvt+8JGFTQBPXxa20/XHi AWwg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wolfvision.net header.s=selector2 header.b=jZrTJlqM; 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 x16-20020a17090a789000b00267fe4a44b7si4940069pjk.176.2023.08.04.05.25.44; Fri, 04 Aug 2023 05:26:05 -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=jZrTJlqM; 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 S230287AbjHDLXf (ORCPT + 99 others); Fri, 4 Aug 2023 07:23:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230145AbjHDLXZ (ORCPT ); Fri, 4 Aug 2023 07:23:25 -0400 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2041.outbound.protection.outlook.com [40.107.20.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3BD4C11B; Fri, 4 Aug 2023 04:23:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VgpmMjQJ7GgoB5VA3rYleH/07TApfSsJpSs1vV0/66QTKTAq7EU02DRQVeL3iyGzGC1mqL2a2Z1ohaH03SXkaLPQdhNvUPxJUi3h4n9xLhtw6Ydc+IumvePURXvA0Kw1n0kgQvce1pZdT+jpgUufWWPLXHxZXfyPm+jNpZYs6nfmX27yeaC3e9Nj+x1/CMpSqTVWY4IjjbZh3SneY3YtDQ174n4Iyr6weEH+dewE0Tn9KmHkPPNPj5IwTrrMr8VJDpCeGmjM86PUYaz1Z7C7wkcwInILBBMCfI8UMuvA8vsFiN6STKM5H8GT5WzuyOyai65IaGdr01C1zj8DZwVmdQ== 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=Vpva6H/WX4nNEtyd9z8f+zfvIpnlZwf99+l2CohkpTc=; b=MpKU9FbvuKhbjb0YH0nMGk6mzvJz/hL9nbRrxRWeaLuGAXi1T28d8fX/JhCbG6W2RYGFZJ0yX34Q1BxQnTG9wvc8OIiw48hHfcNUem994QKxNDwBnKHLzUQaMrwXSUBAgN7U2aJGKmC441IaTHD7PQOxmZ6CfMLsrtnsD0T7BtFwvSUhqZUh0IS5E8HtEKJT6WuJrIzbMP9Hgt6NnDBG0fDV2So5CmtSpAFiU2HJYod7L4fOZUMVupwFXc48nnyUU+jktRhuaMguproVHL67gGeTnTSGrrbqYx2MoASHDCTpsatqNkmZpOo768H+tATqhw/maKBm9Vi6Hw4ZYHcejQ== 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=Vpva6H/WX4nNEtyd9z8f+zfvIpnlZwf99+l2CohkpTc=; b=jZrTJlqMw6C1A/gTZt8qe+IsC+b3gbVzHqDUYJIxgF8vyMH8+D+IbBIJqVrarRlzG6G6Vb7ZvIKs6srzDd1KA91E4CMREmVlDja2jSNuxSGr5WrqH/oTWVZrRip9DzgbMF6+/Mm1HkuSWRgR/gwR0y79IFvCMk7dEkFDYpNsKzY= 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 DB5PR08MB10214.eurprd08.prod.outlook.com (2603:10a6:10:4a9::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6652.21; Fri, 4 Aug 2023 11:23:21 +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 11:23:21 +0000 From: Michael Riesch Date: Fri, 04 Aug 2023 13:23:10 +0200 Subject: [PATCH v3 3/3] dt-bindings: display: add rotation property to sitronix,st7789v Message-Id: <20230718-feature-st7789v-v3-3-157d68fb63e2@wolfvision.net> References: <20230718-feature-st7789v-v3-0-157d68fb63e2@wolfvision.net> In-Reply-To: <20230718-feature-st7789v-v3-0-157d68fb63e2@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 Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Conor Dooley , Michael Riesch X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1691148197; l=1194; i=michael.riesch@wolfvision.net; s=20230425; h=from:subject:message-id; bh=51+dgMyblZdHf78k+gy2tvc9DDFORxX5ESbyVNy9IKw=; b=wogxheDo6OXh1+f0go41wAED7Pb5aMECwTDeOUGB0BsnMhuzAiXib59aezaLVwRSUdLXl5iun h7wGKWVztBABSqjrQEQ7ldGeF/vjGFc62WuUYHWkCeeD2GQ/RM/3EyK X-Developer-Key: i=michael.riesch@wolfvision.net; a=ed25519; pk=1QQdXA2QbwdxaQn/VQK0hz04C8IBYhDowbK0hlNU4Ng= X-ClientProxiedBy: VI1PR07CA0281.eurprd07.prod.outlook.com (2603:10a6:803:b4::48) To DU0PR08MB9155.eurprd08.prod.outlook.com (2603:10a6:10:416::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR08MB9155:EE_|DB5PR08MB10214:EE_ X-MS-Office365-Filtering-Correlation-Id: 4a23ffec-bafa-47e4-f732-08db94dd35dc X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2kRz4OlHSeVncYP5KMFWMKexhS27+knV+zcWHGjZCvP7CwoXJRo3oJQgA/5oZFryTzs3pSdqpbBt4f+03Ozoq0LIVthyeEGSpAcrC1eUebYnjsgcpVKXkt4r3ml8GQicHow74Yc4pAW99OVxZ6VwP8izUGiPRzVxJIXsjCV1LdUXWuwDSVLWFonFMn7PrcWVqMEagr8YksA8AL1lpfErSy9snAh9jpPerIhMALSY6nlVMjiFbsDCHR+VvVANfGbV20PG4RSnhA2cgWSOaMdLIdKfpfVKnGo0f6FPzn8pHG9WAkZxACOabL9XYckugQc4SnlV+dw0RtZXXioQnJo1hEsoIfSzHTrbSxMKBSf9P5vhWvhFfnKbjgcHfztvqy8DLODEkAagL0qKsJYDOwiWc3DDkHAy7NRj48WWGB6ydYG2qhcEyZO8NECf5395xYsZlHD1sx63BzdHwhCHvNNMMzQgMM0fuR41e9NZ0+EF3VSXfc5MWF07VzkRUueeOqmXmSURnpiZSNXOtT+enF6000c+lE531OyLvXX42l1omW06imuZ9CVDcnQRpAFnc99KjzptvfLid5RrzEGd5DpBKHAk4s6jdaQayiUPJOXbyieEItPF/0OJAs0/K10JenHJD3tdq1tOGUWqXEfdfnwpLQ== 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)(136003)(376002)(39840400004)(366004)(346002)(396003)(451199021)(186006)(1800799003)(52116002)(6666004)(6486002)(6512007)(86362001)(6506007)(26005)(107886003)(36756003)(2616005)(38100700002)(38350700002)(921005)(5660300002)(41300700001)(8936002)(8676002)(6636002)(4326008)(2906002)(66556008)(66476007)(66946007)(316002)(7416002)(478600001)(44832011)(110136005)(54906003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?5UqXyHKbeD6tg/Zrft5vnkVcpZzp?= =?utf-8?q?vr+4vZr88BP+37VcG1ZNxKtLs40APXi757ii5nQMFAWJsGl25vWDXbcdDS0HfzKrP?= =?utf-8?q?V3MM79QJIA2hABttcL0NKfHR8ZVfITzwGpWf+PViBkjTDOkeR+NjPr60EQcgOu/3C?= =?utf-8?q?myNq2MOX2SQJyJn/iWLJIaxEz8j7j2AodHGnjyaOH+8xx6LmVU0Ojtaf9fK94PnaS?= =?utf-8?q?jTdLZj9Uw6gET12SyJw4I51Vtaq8lWJIm80zt1e62FBaihTqKXjizOhQte2rsl/IJ?= =?utf-8?q?dWt/GEk07Y+uQc3DzaCttrbae5Ch1G3sBaPGggd0MTODzMyXg5L0HBPtIbP2WL3AP?= =?utf-8?q?5hDOD/bF+HMNq6wTwJh/AFl4OutfF56o+9JsU0qVDXxNPwqByyLJWzUxkqtphMqem?= =?utf-8?q?512B9xVPTxLx7Oy01wlkAlDrzBBb3o7b0RKAlOXd+qOY1jh88ox9sW8XN/oPgaTz+?= =?utf-8?q?5tpBZjZ/OhW39Ar22WgFvS0z7M5h4se6sxPyEESjHLaDGop8ejEGnGWHoCgbC+pZ3?= =?utf-8?q?HeYnK7iO2U6JjZHnyfBfjjMCxVKc4DcOK/7yfADhEkKTnh+DRfL/3tlm8N8EXrsAf?= =?utf-8?q?ir+3hN/rXfXXPrroTdGawQoLXjPvWDSesG48yzArRiTYl1q4XJ9U/rB/wKetaf3UK?= =?utf-8?q?wLZ/81NmHIoF+mX+gFMkkbJjKji6wcw6CzvPXEh9syWfN6UPUMfrwU3sB1r+qJAi9?= =?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ange-CrossTenant-Network-Message-Id: 4a23ffec-bafa-47e4-f732-08db94dd35dc X-MS-Exchange-CrossTenant-AuthSource: DU0PR08MB9155.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Aug 2023 11:23:21.6372 (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: 0lGE5Xj5zTkwZwP/wsylZYaC4zG3v4kLc5OgL+2w3jlwJ6fFWkdpgQdYFTnJqVup6ZvN9NPtKT35cgY3DWwLoBsvhoZtidvmu5Nler13QXY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR08MB10214 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: 1773301363301061805 X-GMAIL-MSGID: 1773301363301061805 The sitronix-st7789v driver now considers the rotation property. Add the property to the documentation. Acked-by: Conor Dooley Reviewed-by: Sebastian Reichel Signed-off-by: Michael Riesch --- 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 905c064cd106..0da4c7e05097 100644 --- a/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml +++ b/Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml @@ -25,6 +25,7 @@ properties: power-supply: true backlight: true port: true + rotation: true spi-cpha: true spi-cpol: true @@ -58,6 +59,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;