Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1673387pxj; Wed, 19 May 2021 11:09:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzuErfp8Vrvp7cdXzt3Xn+ZGxH+0kA3jZqEEc1cLcJQJouLL2IgQjxGf4xp9PlunG7wng5P X-Received: by 2002:a50:f744:: with SMTP id j4mr308125edn.211.1621447743559; Wed, 19 May 2021 11:09:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621447743; cv=none; d=google.com; s=arc-20160816; b=N9wg/LyRA9d7gVHq8jn3WacAFnuiNhgON5/UYiUpB6VGh2q2OGDjVLLK2oHrsFTDbS 0uDDTXw3eMo/E7Z0CSk/0oP0gurtElJOHTlzLWHOHiGQiHvKfHb4xjpBUuLhQ1nlq8mc Kte2WRbR2ZWFtqm9yczjkASuJDNx9P9Wp2NE1D0fnnwEK6vlEiqrifKeOvCdavMUlYOd ua9p1xonUuuoXRuzpUB4X/gydggG6LDFTVpMA0/54VJhdlqykI6zwJsnAJIh49gsd/kW wqFYWH+2hrN9DsFzc8ILBzdBh5b40ZvQwsuyQqO9RqidJFfnklRg1fdHAEDoAcZDqMnT JMVw== 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=v1o76uU2HQ9lTZV6EsqgQCaiVLLV0F3NKRZuPrjcMCU=; b=B/a1TkfuYzvKvWbxuP09aReotyBLfe14NPg2136Bc493CKrC8LepOr7L7cb+khasv/ saLKRhRioXfRbalx12Rn71TnayQ5dGdw2M6OodmFoA5nFodusJz1VlZUQihx/jw5Z6al Yj87jx5aIxCjBUpFAGRJSe8O0Igji65a2OYkp3GqErEOatwl+TKH4GtFc2oNOr2Zd7Qy uhlaA2t3+7ImtX043Lfw8TiNAs41RIa8cGkGObP7wo3xnq+UwQW05vw5CxMAHbCYOZBt bFeH4GLrlFxrEFMQwtQl50s2A1cS2jjUrCMyhmpkw5vqSX93pnl6UTfN6s1aQRdk6Uu6 c4JA== 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 fi25si338907ejb.552.2021.05.19.11.08.40; Wed, 19 May 2021 11:09:03 -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 S232346AbhERM7Q (ORCPT + 99 others); Tue, 18 May 2021 08:59:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229693AbhERM7O (ORCPT ); Tue, 18 May 2021 08:59:14 -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 7DF28C061756 for ; Tue, 18 May 2021 05:57:56 -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 1lizIE-0002tk-99; Tue, 18 May 2021 14:57:50 +0200 Received: from ore by dude.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1lizID-00077t-Qf; Tue, 18 May 2021 14:57:49 +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 v2 2/4] dt-bindings: touchscreen: add touchscreen-x/y-plate-ohms property Date: Tue, 18 May 2021 14:57:46 +0200 Message-Id: <20210518125748.26823-3-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210518125748.26823-1-o.rempel@pengutronix.de> References: <20210518125748.26823-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 046ace461cc9..4b5b212c772c 100644 --- a/Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml +++ b/Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml @@ -74,6 +74,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