Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4058242pxj; Mon, 24 May 2021 22:49:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8Ai3/hgrmG/QPo2bs6qheOKnJzJeAF5OJpBH+EYDchdsANOWU3ty9C8VVEIEZPgLvUYML X-Received: by 2002:a92:1a04:: with SMTP id a4mr16697030ila.38.1621921786147; Mon, 24 May 2021 22:49:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621921786; cv=none; d=google.com; s=arc-20160816; b=oCQMwizznlMLXCex4P1W3xpsiJORsNmBivL74ZD2oQCQJJLMsMmiWMPuLfV2vFZRR4 J5bXIOrx+pesgR1pe/ok89/i59PfF7WJ/u6nEw4/A+MVQtdzy66aMWl2EyDYjms9pAzz 8hdjGIKYQHeWGxhCzq/LLUyugD7zVOxKmGJhpplu5zLoHLI5rZLEzfFWAiCTtsF0BXBV Pmtqsr9xZvPDj+QGfmisVmjdEDnUiG4y+siS+7BKNPHB0nVa79vCMw7m35Gzwlhrmsgh vOWwNltcbyj/JMNc6skr0YzDzSaWw+8PRb2LfEHL4PxIS3FEWg8tAkNT+HCmNMV81Krp jQFQ== 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=j7RMMVrnAXLr3sZ3YMRyEJRli+F0EbLW+ZWbqy6tJMHlkYR5jBrCvc6aGEemcy/iB5 6cqWfTNksxca2vm9YK+Qly+DfRCSHDKK0PrzDbqz2S/i8VvuQt+c/FWnpGuPSx3L0Cpy YT7CsFr05L6WzHreTSSnPY4FPJ93zgEP2sZTtf+F4+lYJ/8pymS/ITbxUgVk5zXGJWqM dqXjwSfzsBLZKUh2fl+mbNFRNv6nZH4PMTORs8JhqO+q7zMcP2rbNH2Z/+91nvoV2FyS xoZDg1EW7cfBjyIzR7ECimKf64BRCQ1lSq7uJLrFv98e896Hts8dYFtEHjYP71yRZW3j gUjQ== 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 p26si16981307jal.111.2021.05.24.22.49.32; Mon, 24 May 2021 22:49:46 -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 S230523AbhEYFsZ (ORCPT + 99 others); Tue, 25 May 2021 01:48:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230500AbhEYFsR (ORCPT ); Tue, 25 May 2021 01:48:17 -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 0CC1AC06138F for ; Mon, 24 May 2021 22:46:47 -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 1llPtm-0000As-0P; Tue, 25 May 2021 07:46:38 +0200 Received: from ore by dude.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1llPtk-0002PY-4H; Tue, 25 May 2021 07:46:36 +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 v6 2/4] dt-bindings: touchscreen: add touchscreen-x/y-plate-ohms property Date: Tue, 25 May 2021 07:46:32 +0200 Message-Id: <20210525054634.9134-3-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210525054634.9134-1-o.rempel@pengutronix.de> References: <20210525054634.9134-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