Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp474091imm; Wed, 25 Jul 2018 00:04:01 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd8Q6kRp628sJfHtCnfWV1Jzjp0eE+5U56HfGSLXXWEXu1yJJQGSuB5ocqRaQZl21K7mnqt X-Received: by 2002:a62:3856:: with SMTP id f83-v6mr21011961pfa.48.1532502241388; Wed, 25 Jul 2018 00:04:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532502241; cv=none; d=google.com; s=arc-20160816; b=fRDyi6oN/TT5i3vEVjgRyyQwPWgvpFfkjMFQ+zU8c+yYLSn66xEPvgG7G4OKMymZKV lJRxTeNwquuPqu5QWAqtJyZc+fVsEsTBFNDgclvk5cY6tp9oTR/acRLQQjawvzu5GqOa 3DrahfV/7+aAc2iay31MPozYDZRKXZAUKN+mOQJzw3bqTA6D5Ikwnc6d720P0bYgo++T b77lcw9TJwXQYWNdrY6D6Ux3C7K3crDtWXb4E2n/iXhfIDuxNU5WuQ1/RgbEC0cdDHz0 XCEuJFVGahpC7Mm2Y9lHZEOuJaJ3vpnyQSVXgVvne1myYCFkRkcZHaLG//1uKXng+1nz HVXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=ZlSWnyjXEOR1bqkdOHgVyjt2aH+UYR2RyU1NKoZ01nM=; b=IP0SDr06vY9/nttob/Up1C0nrmXqiTQguRu+JhDACNLkUSvwCQYRPjrsmQtznNZ3zm rL/TkpVlEuGQji5YfZZqlhhpvikM6bngjjlHKRSINedYDG7iUfNHUKRq6zYfmJwGTMS5 2wLMWXMgXNyflbF6DPFxqhQf2JBj89TnLeORNcienvF+gedK4asSoo8eypd8E665dEpg tLkOzxjjmYjHwh10gpkcyIm1RAPuQF1RdvuXFAMpAU/+ER3IxOoBR4YvmUvGuPIZMeTX RtJiwNC7s2xppOWLQTn4a9+ueqxQt7iPvnhsfNNinpTXP9dd/DU0b8okkjfScj1Ls8SQ qHSg== 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 87-v6si14074183pfi.60.2018.07.25.00.03.46; Wed, 25 Jul 2018 00:04:01 -0700 (PDT) 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 S1729049AbeGYILS (ORCPT + 99 others); Wed, 25 Jul 2018 04:11:18 -0400 Received: from mo4-p03-ob.smtp.rzone.de ([85.215.255.103]:28506 "EHLO mo4-p03-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728680AbeGYIJe (ORCPT ); Wed, 25 Jul 2018 04:09:34 -0400 X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMhflhwDubTJ9o12DNO4Ij0pB1ZSLA74=" X-RZG-CLASS-ID: mo00 Received: from iMac.fritz.box by smtp.strato.de (RZmta 43.13 DYNA|AUTH) with ESMTPSA id 6047f4u6P6x7d5U (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Wed, 25 Jul 2018 08:59:07 +0200 (CEST) From: "H. Nikolaus Schaller" To: Marek Belisko , =?UTF-8?q?Beno=C3=AEt=20Cousson?= , Tony Lindgren , Rob Herring , Mark Rutland Cc: linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, letux-kernel@openphoenux.org, "H. Nikolaus Schaller" Subject: [PATCH 07/32] ARM: dts: omap3-gta04: fix touchscreen tsc2007 Date: Wed, 25 Jul 2018 08:58:39 +0200 Message-Id: <7bb1a5e9d1179d39585a391fb65d396dfc68471a.1532501910.git.hns@goldelico.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org we fix penirq polarity, add penirq pinmux and touchscreen properties. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap3-gta04.dtsi | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi index e5c1395182bf..c5549d528437 100644 --- a/arch/arm/boot/dts/omap3-gta04.dtsi +++ b/arch/arm/boot/dts/omap3-gta04.dtsi @@ -301,6 +301,13 @@ OMAP3_CORE1_IOPAD(0x2134, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio112 */ >; }; + + penirq_pins: pinmux_penirq_pins { + pinctrl-single,pins = < + /* here we could enable to wakeup the cpu from suspend by a pen touch */ + OMAP3_CORE1_IOPAD(0x2194, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio160 */ + >; + }; }; &omap3_pmx_core2 { @@ -441,10 +448,19 @@ tsc2007@48 { compatible = "ti,tsc2007"; reg = <0x48>; + pinctrl-names = "default"; + pinctrl-0 = <&penirq_pins>; interrupt-parent = <&gpio6>; interrupts = <0 IRQ_TYPE_EDGE_FALLING>; /* GPIO_160 */ - gpios = <&gpio6 0 GPIO_ACTIVE_LOW>; + gpios = <&gpio6 0 GPIO_ACTIVE_LOW>; /* GPIO_160 */ ti,x-plate-ohms = <600>; + touchscreen-size-x = <480>; + touchscreen-size-y = <640>; + touchscreen-max-pressure = <1000>; + touchscreen-fuzz-x = <3>; + touchscreen-fuzz-y = <8>; + touchscreen-fuzz-pressure = <10>; + touchscreen-inverted-y; }; /* RFID EEPROM */ -- 2.12.2