From patchwork Wed Apr 6 19:14:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 558373 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BAB45C433F5 for ; Wed, 6 Apr 2022 20:54:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229840AbiDFU42 (ORCPT ); Wed, 6 Apr 2022 16:56:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232017AbiDFUzg (ORCPT ); Wed, 6 Apr 2022 16:55:36 -0400 Received: from mail-oa1-f46.google.com (mail-oa1-f46.google.com [209.85.160.46]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 808AD1427FC; Wed, 6 Apr 2022 12:14:43 -0700 (PDT) Received: by mail-oa1-f46.google.com with SMTP id 586e51a60fabf-df02f7e2c9so3967335fac.10; Wed, 06 Apr 2022 12:14:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=KLlQ1IkC9C7bQI/xLa19AUtFnnf5phT7CLkzx6EP4rY=; b=a/kH/8PHIUGzMiUcDdAGDg10E6K0aygneiWqQaswahBDdbn6vgC4s2WIVLwjVag8FE kuE8rjIz7McWrF03Zmu8zq7P/LbXoLTPtNu+1Tohw8cCm8Ozo3LG3ez2lCexxAcb5FEf a9WRc1ncuaRQvJeFM7BbBPYpKfhqEsmJ5W06GTP1oO12lR/fbq2XDhXhJUaGS+ECYRp/ xQX0wjinRpcDlOiY9ygEUFshtPe9GKheOZLivIF2e0fLRk7YTL31twCqskavF4JSHkck LtyUwpmAVyN+zBaPmezRYCi1ZXjytOaroDWVVnnT2Wsu+Pd/ljO8me40hIJkvNyxfX/7 EKgw== X-Gm-Message-State: AOAM5315CbeyWQmplu7tmzjWYH3y++JM/NhTE2XjHiamEA9mkXV2vn3S 24gyG8+UpA5/3GtcsfvYQQ== X-Google-Smtp-Source: ABdhPJwY9QQB+z+KYwgWqsBU+dz27vO7uUH6/wlQdpbxYv3cBkEB3Dyo+UvlDBXEWsQzvoybZ2OsEw== X-Received: by 2002:a05:6870:14c3:b0:da:3703:329b with SMTP id l3-20020a05687014c300b000da3703329bmr4664346oab.54.1649272482843; Wed, 06 Apr 2022 12:14:42 -0700 (PDT) Received: from robh.at.kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id f7-20020aca3807000000b002eef684bd2fsm6786167oia.40.2022.04.06.12.14.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 12:14:42 -0700 (PDT) Received: (nullmailer pid 2610582 invoked by uid 1000); Wed, 06 Apr 2022 19:14:41 -0000 Date: Wed, 6 Apr 2022 14:14:41 -0500 From: Rob Herring To: Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , soc@kernel.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [RESEND PATCH] arm64: dts: imx: Fix imx8*-var-som touchscreen property sizes Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Mailer: git-send-email 2.32.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The common touchscreen properties are all 32-bit, not 16-bit. These properties must not be too important as they are all ignored in case of an error reading them. Signed-off-by: Rob Herring --- Can someone apply this for 5.18. arch/arm64/boot/dts/freescale/imx8mm-var-som.dtsi | 8 ++++---- arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-var-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-var-som.dtsi index 1dc9d187601c..a0bd540f27d3 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-var-som.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-var-som.dtsi @@ -89,12 +89,12 @@ touchscreen@0 { pendown-gpio = <&gpio1 3 GPIO_ACTIVE_LOW>; ti,x-min = /bits/ 16 <125>; - touchscreen-size-x = /bits/ 16 <4008>; + touchscreen-size-x = <4008>; ti,y-min = /bits/ 16 <282>; - touchscreen-size-y = /bits/ 16 <3864>; + touchscreen-size-y = <3864>; ti,x-plate-ohms = /bits/ 16 <180>; - touchscreen-max-pressure = /bits/ 16 <255>; - touchscreen-average-samples = /bits/ 16 <10>; + touchscreen-max-pressure = <255>; + touchscreen-average-samples = <10>; ti,debounce-tol = /bits/ 16 <3>; ti,debounce-rep = /bits/ 16 <1>; ti,settle-delay-usec = /bits/ 16 <150>; diff --git a/arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi index b16c7caf34c1..87b5e23c766f 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi @@ -70,12 +70,12 @@ touchscreen@0 { pendown-gpio = <&gpio1 3 GPIO_ACTIVE_LOW>; ti,x-min = /bits/ 16 <125>; - touchscreen-size-x = /bits/ 16 <4008>; + touchscreen-size-x = <4008>; ti,y-min = /bits/ 16 <282>; - touchscreen-size-y = /bits/ 16 <3864>; + touchscreen-size-y = <3864>; ti,x-plate-ohms = /bits/ 16 <180>; - touchscreen-max-pressure = /bits/ 16 <255>; - touchscreen-average-samples = /bits/ 16 <10>; + touchscreen-max-pressure = <255>; + touchscreen-average-samples = <10>; ti,debounce-tol = /bits/ 16 <3>; ti,debounce-rep = /bits/ 16 <1>; ti,settle-delay-usec = /bits/ 16 <150>;