Received: by 2002:a05:7412:bb8d:b0:d7:7d3a:4fe2 with SMTP id js13csp1096636rdb; Wed, 16 Aug 2023 01:13:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHHTDUWXvXXnyZ4/ZUOn8fKi1DA2yYPbmzePIWF7Z42wDZ0HS//A6Js1LcmMqfjDLUy8YPl X-Received: by 2002:a17:906:20dc:b0:99b:ed53:5c12 with SMTP id c28-20020a17090620dc00b0099bed535c12mr838610ejc.17.1692173610688; Wed, 16 Aug 2023 01:13:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692173610; cv=none; d=google.com; s=arc-20160816; b=I3NgGQWdHvmkRBB2zg4AKTm5PSfLmLjldrCfmctvKsxjSLdcRmubFP6Wo8C/jmdYOv AAXAgL+kKnp0vmFxbmJHmox+GDuFpWYXAsPnr7mHwJV4GBRFrm01c/fsANqszlajELrQ cIftaXzfDUBEZwN1S91cfxSUOuZvDGnb6qmkmPTbgcoqJU0uvh2OQs1wbwIz6yZgVzIH 6/MZd5po8ihBFTQB5BXuUTbn6o+FZgwAPvMolJbugpqtRfpcPVPl0Def09Wmc+jFkLdh n59ydM5X8UsAZslbGzdOwtsHA09lVuH6iaC1JzuttfmEGycNnmQvp7qVSkcaO2/iY7tP r66A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=dJn7YjtFYL/KTZ73hWDvBQgLlqopRLV8CZDPQ+FsyPo=; fh=V8iAieFyRYEzBvA/VG+aAukEprWlyjzwQtL2ZE5iOkI=; b=ISgq+S2BNxgL/frPlVYGNIu5HfUd/DnUQmNGjda76Lvwg/PDRZOdV3MwVaf1qeJ+MW DIIvDKfSOfnDTIQFEA3gjOX7k3O7IRqfyEqwNf8yNM1b+ZoCY1Niw47h4/T60oyLMsuu N7EFCFUscHdu9LKR7AwCFKGrZbLU9/JfJO02vgdBe09KtcKwj1/Q0dRVCqlcmvKV64fO A4UpL7kgBHsJGILkb90ocd8PBOW9AcZe0lWNG3PgN52RbHSGmsA8eCOFxF2cR7VNYKgO ecqqr/mGP2NkFcy7IuRXaPsFCX1V8MtCHuvXbQRmX4IKmbIJg2nRy3mciDi7aFYo8Q82 M8zA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t15-20020a170906948f00b0099d9704cb52si6197913ejx.164.2023.08.16.01.13.05; Wed, 16 Aug 2023 01:13:30 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239719AbjHOS6v (ORCPT + 99 others); Tue, 15 Aug 2023 14:58:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239695AbjHOS6U (ORCPT ); Tue, 15 Aug 2023 14:58:20 -0400 Received: from mail.andi.de1.cc (mail.andi.de1.cc [IPv6:2a02:c205:3004:2154::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB2081FE6; Tue, 15 Aug 2023 11:58:06 -0700 (PDT) Received: from p200300ccff31d1001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:cc:ff31:d100:1a3d:a2ff:febf:d33a] helo=aktux) by mail.andi.de1.cc with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qVynp-002fC8-Iy; Tue, 15 Aug 2023 20:30:01 +0200 Received: from andi by aktux with local (Exim 4.96) (envelope-from ) id 1qVynp-000tJJ-0e; Tue, 15 Aug 2023 20:30:01 +0200 From: Andreas Kemnade To: dmitry.torokhov@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, rydberg@bitmath.org, u.kleine-koenig@pengutronix.de, linus.walleij@linaro.org, Jonathan.Cameron@huawei.com, linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Andreas Kemnade Subject: [PATCH 4/4] ARM: dts: imx6sl-tolino-shine2hd: fix touchscreen rotation Date: Tue, 15 Aug 2023 20:29:48 +0200 Message-Id: <20230815182948.212575-5-andreas@kemnade.info> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230815182948.212575-1-andreas@kemnade.info> References: <20230815182948.212575-1-andreas@kemnade.info> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS 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 The display is in landscape orientation, but the touchscreen is in portrait orientation. Specify that properly in the devicetree. Signed-off-by: Andreas Kemnade --- arch/arm/boot/dts/nxp/imx/imx6sl-tolino-shine2hd.dts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6sl-tolino-shine2hd.dts b/arch/arm/boot/dts/nxp/imx/imx6sl-tolino-shine2hd.dts index 815119c12bd4..5636fb3661e8 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6sl-tolino-shine2hd.dts +++ b/arch/arm/boot/dts/nxp/imx/imx6sl-tolino-shine2hd.dts @@ -141,8 +141,10 @@ zforce: touchscreen@50 { interrupts = <6 IRQ_TYPE_EDGE_FALLING>; vdd-supply = <&ldo1_reg>; reset-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>; - x-size = <1072>; - y-size = <1448>; + touchscreen-size-x = <1072>; + touchscreen-size-y = <1448>; + touchscreen-swapped-x-y; + touchscreen-inverted-x; }; /* TODO: TPS65185 PMIC for E Ink at 0x68 */ -- 2.39.2