Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp883035imj; Fri, 15 Feb 2019 08:20:29 -0800 (PST) X-Google-Smtp-Source: AHgI3IZBMwy6ZRfe21Fh5YZtEx4bg/fo5YSYsk3JK/AgUQ5gziKcEu5tq9rKawNnZ2oryPH/THU0 X-Received: by 2002:a17:902:a70b:: with SMTP id w11mr10975635plq.84.1550247629428; Fri, 15 Feb 2019 08:20:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550247629; cv=none; d=google.com; s=arc-20160816; b=R8Rp/DbCT8+/UXQ24rnL2Jye57CLU3iXX5oit5bu5l6vJAn36oonaa6AAuHkSNYpm0 MqVNOHWjeUdGcJA3RklhWhhirip4MBFnish9stgW1rscvjAVOgtECJr/CGM42Y1VHFdD TbNxeXYtSm7KVzmbUl8VKcYeHkKQwAE4PBpgkSxUtJZn5BXnE6PrOmJJCyTqhvE40E7+ /UOfDd7dRbUwttwJwVgRXExPSZ9JWBKVRls4B4ZbTmSBNwOcmWfQpSKjVhvPVw4OVUU/ aDJn+AY6nOG/4Tk5Mn+eX+k6BCP9/bvBbgwWa5UjwEEc+hbHXZlZaiar2uUpzIdhVLub hXuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from; bh=diYH4pO4rm/s1atyoA3RnqLJNgLF64oWeVly+6qPpoY=; b=lqFaxO8/RuhmyExEwzKa4+2YXehnLNclW9UZub/KuxQhlG9r4rA0wuFkGXEXYQi0Nx /5tlV/34ZZClDnrY1viEWZa7p3freizrkzbMJZFYnnxWHZH7QwNUzAPFjW6pAB9gKP6s qNdSWKry6Hwx9ysR1pON5Rpxdddp7VjjXdJJVE+Z60MsINZEb6rdkCTyfZcPCx8mvZT5 UTDtRwoR2jQymJ8JmlU8SJVrLz3FZyxjLSzFceeeL82XEXECEekuRD4u/g0oSTIbzd7r z+D5MgupCGAfBYfJfCDrEcFETnQkEwgoYtuwPnPkmiYbQLgI6HWlIxN9iPDwjYYotdHp Wv5A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n14si5363325pgv.572.2019.02.15.08.20.13; Fri, 15 Feb 2019 08:20:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405873AbfBOOMA (ORCPT + 99 others); Fri, 15 Feb 2019 09:12:00 -0500 Received: from honk.sigxcpu.org ([24.134.29.49]:44667 "EHLO honk.sigxcpu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729136AbfBOOL6 (ORCPT ); Fri, 15 Feb 2019 09:11:58 -0500 Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id 4CDDFFB02; Fri, 15 Feb 2019 15:11:56 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at honk.sigxcpu.org Received: from honk.sigxcpu.org ([127.0.0.1]) by localhost (honk.sigxcpu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BYd1oskSEwld; Fri, 15 Feb 2019 15:11:55 +0100 (CET) Received: by bogon.sigxcpu.org (Postfix, from userid 1000) id 4566848DC0; Fri, 15 Feb 2019 15:11:53 +0100 (CET) From: =?UTF-8?q?Guido=20G=C3=BCnther?= To: Dmitry Torokhov , Rob Herring , Mark Rutland , Bastien Nocera , Matthias Brugger , =?UTF-8?q?Guido=20G=C3=BCnther?= , linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH v3 2/3] dt-bindings: input: Refer to touchscreen.txt for goodix ts Date: Fri, 15 Feb 2019 15:11:52 +0100 Message-Id: <99085b90c327193f6bdb9b0a505daa6a9848e1c6.1550239328.git.agx@sigxcpu.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Refer to touchscreen.txt for generic touch properties. This avoids duplication and we're using the generic code to parse these in the driver. While at that add touchscreen-size-{x,y} which are respected by the driver as well. Signed-off-by: Guido Günther --- .../bindings/input/touchscreen/goodix.txt | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/input/touchscreen/goodix.txt b/Documentation/devicetree/bindings/input/touchscreen/goodix.txt index 57d3d8870a09..8cf0b4d38a7e 100644 --- a/Documentation/devicetree/bindings/input/touchscreen/goodix.txt +++ b/Documentation/devicetree/bindings/input/touchscreen/goodix.txt @@ -19,11 +19,14 @@ Optional properties: - irq-gpios : GPIO pin used for IRQ. The driver uses the interrupt gpio pin as output to reset the device. - reset-gpios : GPIO pin used for reset - - - touchscreen-inverted-x : X axis is inverted (boolean) - - touchscreen-inverted-y : Y axis is inverted (boolean) - - touchscreen-swapped-x-y : X and Y axis are swapped (boolean) - (swapping is done after inverting the axis) + - touchscreen-inverted-x + - touchscreen-inverted-y + - touchscreen-size-x + - touchscreen-size-y + - touchscreen-swapped-x-y + +The touchscreen-* properties are documented in touchscreen.txt in this +directory. Example: -- 2.20.1