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: 130865 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f41:0:b0:3e4:2afc:c1 with SMTP id v1csp1410444vqx; Thu, 3 Aug 2023 14:15:53 -0700 (PDT) X-Google-Smtp-Source: APBJJlEJ4ZtgQb+/OtRa1m7eVTUyjFvkSGeuUBoYo8mhNYKJN4r8lsxc1dSuYR4HBu5UMEOrW0wm X-Received: by 2002:a17:906:224e:b0:99c:5712:f8cd with SMTP id 14-20020a170906224e00b0099c5712f8cdmr3663481ejr.7.1691097352783; Thu, 03 Aug 2023 14:15:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1691097352; cv=pass; d=google.com; s=arc-20160816; b=nw0/YyYx0KdHRAyEGmE+aXSGZAssfmZV5o3gh1tQ+BCDma245LMEy4luRJV9nz47JA oWGsh1zXH08HDhPt0heqQjT5IoyuQ2q0pE+qGI7PODAtzQ7+cpf/V2aQTSvhSw9VFS3t L5hjZSOggiPrnGHMSyiLjKsER7xFUxBDl/6A1Ev6Z8ae01vgVUcAD33X1zXiwBHDMj5x 9PnJYVtj3D+vtDibfNtsK3YY8iYOjKrhqGlwLmbHUqEgZIt73vyL6GTRxSG66Z1bdK2N S9S1qcoBgJY6FSzDH/2aN1NPFPNK11xJ3uEgMhBioDxawdJN5NFQoRQ382y2e1COWEyO swzQ== 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=1QCXRIN1I3230LemB+LqSCz7erRZWynE9vlerojKPFo=; fh=qM/DiZpOlApnJoKInxwtc311S/fuacgl+6CREgETd6Y=; b=b/h7I3I3QQcCCE+8vPTlQM4LUcfrnzdboscQNsxDiWXg3byL/H9V+835j0J3VWzQ+p AxBzrVxNqwx12J6I325jdvv/yBST/IPRFi3/yLPn+ceTiOKkPoUE+bw/helQJuE1t0Ms FtR8c6+rWqu3dkJOz2KSzp43h8UFbK56D6RLi2GzU9ePG811neSeCVUx4xmPLApylC61 +8Tlm9WA9KNxDhRqfsUO+1lI8xW4JnOn4UZpC8mDfR2RlsFpaYkeIwdwJiNErVUP7etX VJx5y++/9NqaLa8JU6UgTqvaW/+3/X9NmcBkbvAknOWb7oroVTZ6iuoLYyjVAVcQDV5H JIww== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wolfvision.net header.s=selector2 header.b=wa5iPsH5; 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 r13-20020a170906350d00b0098f99048058si421976eja.1015.2023.08.03.14.15.28; Thu, 03 Aug 2023 14:15:52 -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=wa5iPsH5; 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 S231908AbjHCUOS (ORCPT + 99 others); Thu, 3 Aug 2023 16:14:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231879AbjHCUOI (ORCPT ); Thu, 3 Aug 2023 16:14:08 -0400 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2044.outbound.protection.outlook.com [40.107.8.44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6B3D420F; Thu, 3 Aug 2023 13:14:06 -0700 (PDT) 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 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=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/m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oTCBs9efIu0Sw1U2p1mjPw5AqE16srNDdxcYW8fvn1EE+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-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 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: 1773244097968519681 X-GMAIL-MSGID: 1773244097968519681 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;