Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1727842pxj; Wed, 19 May 2021 12:27:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwjVTk5SXrw8Ib0AJnh2vKr+vLm2zDtBCfGXJVYv1y86jfUiEWE9tYmBw1a39gi40dGqgzh X-Received: by 2002:aa7:c9c9:: with SMTP id i9mr660287edt.17.1621452454070; Wed, 19 May 2021 12:27:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621452454; cv=none; d=google.com; s=arc-20160816; b=LV0F0ifsUf3iJtGWJu45QUi5ONQ8dB/4XwezdCclgVjvhgHKiljRAwQ1sl5W2n22US 7PbwEE0XDeVEq5uSHEjOcS1MLYhvx07x6viJa/a1byU+/+0i8LQw0PGe1gwqDScsWCjA FTXh365hV9OJHKXD3n+zLlyg6++xf4BVyT5kF1fKYUArRc87ZJxCWpJ+jHLiQWf+WSqC QSqUedo3RA0B/92UjfWVQeea+D9NHX6BZcsZ9AMO4CJEuuWKLiU7emPeHd8Syzi2WdEM mN2kJwXy5HKVV3DPq5cNNzhO+ik5EycEy+XH5sGNzHIUG+J9ULP34DgnS1wb4BYLlsRq hLjQ== 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=RyJAisgEJ+TPYeABWR6ttNbqUhSq9VJas1Z2NGZYmV9O0aaLZWodFRx+UhHiaJZUhd qW/EyXK8OolKT+7yBAObVZBuRpg22vxycnKxrcaSL5RX7kYAumApLV8fUNjBnxcBlamd /Kd2YNjL0kXZlo1OM+WIxWdzzY+3VpMJVr2AGsPrs4P4bXejYM97ueo3QgnfW6O/Fn23 tVitr8WoY5/98JMcOijhMGjr2mQZ9v/xgge3SuYNcA05+eclPFeOyhFFJOXAc+JstkzO To5phuXzIUu3LLRHk/pO0dGlGT8ZSib7SIJavVHe0waNFfPkgXosAD/U6G41WARclUnS PVXA== 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 ba29si70886edb.137.2021.05.19.12.27.09; Wed, 19 May 2021 12:27:34 -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 S1345424AbhESJWc (ORCPT + 99 others); Wed, 19 May 2021 05:22:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345173AbhESJV4 (ORCPT ); Wed, 19 May 2021 05:21:56 -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 54BB0C0613ED for ; Wed, 19 May 2021 02:20:33 -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 1ljINL-0007kQ-RF; Wed, 19 May 2021 11:20:23 +0200 Received: from ore by dude.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1ljINI-0005WQ-V1; Wed, 19 May 2021 11:20:20 +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 v3 3/5] dt-bindings: touchscreen: add touchscreen-x/y-plate-ohms property Date: Wed, 19 May 2021 11:20:16 +0200 Message-Id: <20210519092018.21139-4-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210519092018.21139-1-o.rempel@pengutronix.de> References: <20210519092018.21139-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