Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp938760pxj; Fri, 21 May 2021 02:42:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxbr/PqVMq0C0nBIe71YaD2oe7xicxjcBpvxabCfIuccedTypEhqH3Ki1a3siwjE6VSmk+L X-Received: by 2002:a17:906:3712:: with SMTP id d18mr9446513ejc.155.1621590154808; Fri, 21 May 2021 02:42:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621590154; cv=none; d=google.com; s=arc-20160816; b=jnlEnqbQJFbaECvIJFH4e4SKIx8luZNyUmJAA6WTV4ROwLYndvdfFGAyW1hvCjXUi3 +GvflXgpsT32qHXW7KLMzqrwiGAk3QlHDOh6DFsSdlMRF+FTUWJ+e+Pz9F6QRqYilalI NyzSNBcPXYvSHlLoGe57XDfEBokq8ZUeD3XAmP9HOn58Z6r8WJqYZS8py5N1T0t4PdxM ZTOPikoDvVHSsrJVB4FNAJ2E5xrNUpXow9eaRASJtQnE4ejaHTfyqFumEcaUuyTPx07O mfJmO3TAPltfkNQlSHAz2xJKqygMZG7qhGc2wSaZ19ND1TiGrz+x32sI3FXrFDMOYvnE EMig== 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=ID5AqP7X1ztqR6peVd/L1JQM36G3JgBli+QIcvkgj2A=; b=noTjDjiisJW5RZryxZeMYzderizwtp9C6hlvlIAFH3aeZHsONc0nw7gStLpPj8W2j6 dmzB1UM4FSYu0ko5rQEvUyez0P6rXtjoA1vBzl0Zed4Z5amf66f8sKsm55v14FZNX9rB BDawKLOPZQQgW0f/zfdQz2dIaR1TegTV1aqXpXEYTqkYqqdqOeK0XBePq+d9ZDy6pws6 mt6xLdfFhh6en66uGpXfvDHphZmxWyPyqiiUt1L0zLm+YZZNhzEMeULRspCKSYc2mCtA Ege8KfdzXch5t0Kkdx47mg1RA0u7ETYGcOEaR2wW2W9GbQgILhZE5Fg+RIbhzeVMq4h1 fjJA== 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 w17si6354245ejb.702.2021.05.21.02.42.11; Fri, 21 May 2021 02:42: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 S239260AbhEUErT (ORCPT + 99 others); Fri, 21 May 2021 00:47:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239199AbhEUErO (ORCPT ); Fri, 21 May 2021 00:47: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 D9F09C06138A for ; Thu, 20 May 2021 21:45:51 -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 1ljx2d-0006ZA-AD; Fri, 21 May 2021 06:45:43 +0200 Received: from ore by dude.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1ljx2b-0002Fs-JN; Fri, 21 May 2021 06:45:41 +0200 From: Oleksij Rempel To: Dmitry Torokhov , Rob Herring , Jonathan Cameron Cc: Oleksij Rempel , Rob Herring , kernel@pengutronix.de, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, David Jander , devicetree@vger.kernel.org Subject: [PATCH v5 6/8] dt-bindings: touchscreen: add touchscreen-x/y-plate-ohms property Date: Fri, 21 May 2021 06:45:23 +0200 Message-Id: <20210521044525.7397-7-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210521044525.7397-1-o.rempel@pengutronix.de> References: <20210521044525.7397-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 Reviewed-by: Rob Herring --- .../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