Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1727449pxj; Wed, 19 May 2021 12:26:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzeBDwP29RqFn2MjsYD0IHTqi/Eu4/A6xl+zVePX/ydt1xwTRArQ1VsaD04iPG/I2de51cH X-Received: by 2002:a6b:7b08:: with SMTP id l8mr1166300iop.50.1621452416246; Wed, 19 May 2021 12:26:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621452416; cv=none; d=google.com; s=arc-20160816; b=OcLRLy6cP/xAFJKBTtsBglLWI9qyBXCaofCLmEIewRV5gtTcYD432IqU8e3kNGNL8g rWraghz3+w1PexSZbUZTgZnHAbJIZaiBTgNO/ZW1DxupI3dImw2SYAZb7+lKgCNRW6wf moHseVJ8LsUSA27Zzg4z14kNpTVULt7JidbsaLTwAl1LFxFTzOMppwBEHcYpwoi/ke3n FeTE4FSYbyotZGHRK75WL/XFBgWUvej5YP5YioT8aHRh3WOK6RMwfO2x5WW/KtgeksxC +Kp5uIIgGuoSmNHgMvTVo7NZ2MRKzQjllDdnmO1nEarz3rIA/0mXlpo5CvXEVdHDg1+h BYlw== 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=JDaKVATfM+utuGhKs5kpTpolOH3FJiyUufDCWD6mykI=; b=oVeuoBFZpXTV2ZbXfKX0wZ3uvbCE4WudUbuOyOl1pn+Sg76GeJIBsW3vTknUSwwqds fAlzPXem0rddiZuWvFhx2TUL0q6bWDFpbSkP7Gdya9+zf+ZXfof338yqXqQDQzDIZ102 VFG7VOgx1CcD3Ph4XFg/6FIjMHPiM8K/uinmGxZGZNo25w1t8PTCy48cZfBj3XxmdA7o iowFHWpUoBOhH7lCCum+8yn8s8EAe48N/72Ka5jTUV6F6FaNGSHtDMDQ+//Nsi1rZzFq QS/qLOfX6wByPYS2F0BVa1E9wXRjW40+2qhIYOcPWOlO+EDxneWPdrVfF0RTI1TXC8Rt drEg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w14si632512ilu.141.2021.05.19.12.26.44; Wed, 19 May 2021 12:26:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345900AbhESJn6 (ORCPT + 99 others); Wed, 19 May 2021 05:43:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344688AbhESJnu (ORCPT ); Wed, 19 May 2021 05:43:50 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2EB3C061760 for ; Wed, 19 May 2021 02:42:30 -0700 (PDT) Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ljIie-0002Bj-GO; Wed, 19 May 2021 11:42:24 +0200 Received: from ore by dude.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1ljIic-0007Oi-Pm; Wed, 19 May 2021 11:42:22 +0200 From: Oleksij Rempel To: Dmitry Torokhov , Rob Herring , Jonathan Cameron Cc: Oleksij Rempel , kernel@pengutronix.de, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, David Jander , devicetree@vger.kernel.org Subject: [PATCH v4 3/5] dt-bindings: touchscreen: add touchscreen-x/y-plate-ohms property Date: Wed, 19 May 2021 11:42:19 +0200 Message-Id: <20210519094221.27792-4-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210519094221.27792-1-o.rempel@pengutronix.de> References: <20210519094221.27792-1-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::7 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Te calculate the pressure on a restrictive touchscreen we need need to know resistance at least of X plate. Some calculations need to use both X and Y values. So, add generic properties which can be used by all drivers Signed-off-by: Oleksij Rempel --- .../devicetree/bindings/input/touchscreen/touchscreen.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml b/Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml index 057e1063759c..2d7b039ce47f 100644 --- a/Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml +++ b/Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml @@ -77,6 +77,12 @@ properties: touchscreen-y-mm: description: vertical length in mm of the touchscreen + touchscreen-x-plate-ohms: + description: Resistance of the X-plate in Ohms + + touchscreen-y-plate-ohms: + description: Resistance of the Y-plate in Ohms + dependencies: touchscreen-size-x: [ touchscreen-size-y ] touchscreen-size-y: [ touchscreen-size-x ] -- 2.29.2