Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756689AbdLVPKf (ORCPT ); Fri, 22 Dec 2017 10:10:35 -0500 Received: from esa1.microchip.iphmx.com ([68.232.147.91]:15795 "EHLO esa1.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756643AbdLVPKa (ORCPT ); Fri, 22 Dec 2017 10:10:30 -0500 X-IronPort-AV: E=Sophos;i="5.45,441,1508828400"; d="scan'208";a="10402517" From: Eugen Hristev To: , , , , , , , , , CC: Eugen Hristev Subject: [PATCH 14/14] ARM: dts: at91: sama5d2: Add resistive touch device Date: Fri, 22 Dec 2017 17:07:21 +0200 Message-ID: <1513955241-10985-15-git-send-email-eugen.hristev@microchip.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1513955241-10985-1-git-send-email-eugen.hristev@microchip.com> References: <1513955241-10985-1-git-send-email-eugen.hristev@microchip.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1183 Lines: 40 Add the resistive touchscreen device, and the cell numbers to the ADC device. Signed-off-by: Eugen Hristev --- arch/arm/boot/dts/sama5d2.dtsi | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi index b1a26b4..30b3797 100644 --- a/arch/arm/boot/dts/sama5d2.dtsi +++ b/arch/arm/boot/dts/sama5d2.dtsi @@ -402,7 +402,6 @@ compatible = "atmel,hlcdc-display-controller"; #address-cells = <1>; #size-cells = <0>; - port@0 { #address-cells = <1>; #size-cells = <0>; @@ -1431,6 +1430,17 @@ atmel,max-sample-rate-hz = <20000000>; atmel,startup-time-ms = <4>; atmel,trigger-edge-type = ; + #io-channel-cells = <1>; + #io-trigger-cells = <1>; + status = "disabled"; + }; + + resistive_touch: resistive-touch { + compatible = "microchip,sama5d2-resistive-touch"; + io-channels = <&adc 19>, <&adc 20>, <&adc 21>; + io-channel-names = "x", "y", "pressure"; + io-triggers = <&adc 1>; + microchip,pressure-threshold = <10000>; status = "disabled"; }; -- 2.7.4