Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2859968pxj; Mon, 17 May 2021 11:30:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzPoHpKxbXtCiwmitPmMSG5O/muH8cKxIOXWiOkSjQ/jytYzbSndMwGULYpBUhIZ0ptOg38 X-Received: by 2002:a05:6e02:6c8:: with SMTP id p8mr843360ils.83.1621276211942; Mon, 17 May 2021 11:30:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621276211; cv=none; d=google.com; s=arc-20160816; b=eMnlw7tBMudVQCAx3w6GYU7c5xCCxQVgzGYBRsZjDKPBv40hWqoI4V2ss6+e7OpnD0 xW68+S+opK/WmmRmZoKE8l618FUPa361ET2DKm48ezD6r4OjSb3xLhu+2dveD1jO6bxe hLe2nLQ6qQfTzVtDAJryfwl2RWzgR9MFU7P6UqpXGtRDtosVsRFwapqzHcvviwXIi230 98MOt/kE6oEjrhJM9lZELMIr+stH7tNJnoM4eLUFVoF40HxiZPmmXez4AP5PSaiKcalK UEjK1jWHWW7QrQBNTQaovqv8XEZ26IO+/B67qjbjda0Wff50i+LQqH4FJ84oHTnNR2F+ agdA== 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=kdbEjdDIhoeYgknpQwuNbZE0aGdEi1tw4dEFJokgt0fmIL9FQje6vnZihOrHEzE73F Ku6WK3MET6iKnWSgO0pd7nDXYRilntBfxq8ONIQDU6trEJRDAooCw/RCO7NXaKLCEdx4 25Mtsesw5v/xo3RPsOw3BnUjbQAiRUScNDCL/SaKp3HnrUyuMj6nZj4b5Z8kQyURkNsy F0rjqNDx29g7DaRKJQTbmBOnDScaALKLYJC4tmW27S8Y9jZZcb0eJhGkixDupvbZUnmu XyzIvgXQtQSIvwyEwn5Lx1Bys2QYmRVwOOy9vOGTS2QWoOpaNf7at8MSFh9SR+h3AHOf Snvw== 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 v17si3017834jan.123.2021.05.17.11.29.58; Mon, 17 May 2021 11:30:11 -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 S237181AbhEQNAp (ORCPT + 99 others); Mon, 17 May 2021 09:00:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235200AbhEQNAf (ORCPT ); Mon, 17 May 2021 09:00:35 -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 88F42C061760 for ; Mon, 17 May 2021 05:59:19 -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 1licq0-0006di-NM; Mon, 17 May 2021 14:59:12 +0200 Received: from ore by dude.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1licpy-000390-Uy; Mon, 17 May 2021 14:59:10 +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: [RFC PATCH v1 1/3] dt-bindings: touchscreen: add touchscreen-x/y-plate-ohms property Date: Mon, 17 May 2021 14:59:07 +0200 Message-Id: <20210517125909.12024-2-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210517125909.12024-1-o.rempel@pengutronix.de> References: <20210517125909.12024-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