From patchwork Tue Dec 1 13:55:04 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nikita Kiryanov X-Patchwork-Id: 7737421 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D19AABEEE1 for ; Tue, 1 Dec 2015 13:56:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E1D5A206B7 for ; Tue, 1 Dec 2015 13:56:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 215C32069B for ; Tue, 1 Dec 2015 13:56:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756336AbbLAN4c (ORCPT ); Tue, 1 Dec 2015 08:56:32 -0500 Received: from softlayer.compulab.co.il ([50.23.254.55]:34362 "EHLO compulab.co.il" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756247AbbLAN42 (ORCPT ); Tue, 1 Dec 2015 08:56:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=compulab.co.il; s=default; h=References:In-Reply-To:Message-Id:Date:Subject :Cc:To:From; bh=A8iNZBj4tLx/tMTL85sFj8FpywRqshT2JHg2xQEnrN8=; b=YKwyWT39SpB2y UBh/QkRmpnJ+/yh32P28lD3LvSJlYZzIqVhZ6lf5gKwODEatFPnwhdZVG+dWl7kA//55CtgYtssEN R4QY3AWApti2xcTiLsCBzJICkEPNt2hpRuXqbPba6yurEwR9uVISSoUDO0YYTM6Athq/l3NhmI0V5 MFO8=; Received: from [62.90.235.247] (port=35329 helo=zimbra-mta.compulab.co.il) by softlayer.compulab.co.il with esmtp (Exim 4.86) (envelope-from ) id 1a3lPu-0002dg-Tm; Tue, 01 Dec 2015 15:56:27 +0200 Received: from localhost (localhost [127.0.0.1]) by zimbra-mta.compulab.co.il (Postfix) with ESMTP id 07963488DBC; Tue, 1 Dec 2015 15:56:26 +0200 (IST) Received: from zimbra-mta.compulab.co.il ([127.0.0.1]) by localhost (zimbra-mta.compulab.co.il [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id KqHMB7KL0mTP; Tue, 1 Dec 2015 15:56:25 +0200 (IST) Received: from localhost (localhost [127.0.0.1]) by zimbra-mta.compulab.co.il (Postfix) with ESMTP id D740C488DC1; Tue, 1 Dec 2015 15:56:24 +0200 (IST) X-Virus-Scanned: amavisd-new at zimbra-mta.compulab.co.il Received: from zimbra-mta.compulab.co.il ([127.0.0.1]) by localhost (zimbra-mta.compulab.co.il [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id GS_qrYNs96La; Tue, 1 Dec 2015 15:56:24 +0200 (IST) Received: from skynet.compulab.local (nikita-pc.compulab.local [192.168.11.211]) by zimbra-mta.compulab.co.il (Postfix) with ESMTP id A6F83488DB5; Tue, 1 Dec 2015 15:56:24 +0200 (IST) From: Nikita Kiryanov To: tony@atomide.com Cc: linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, devicetree@vger.kernel.org, Nikita Kiryanov , Benoit Cousson , Rob Herring , Mark Rutland , Pawel Moll , Igor Grinberg , Dmitry Lifshitz , Ian Campbell Subject: [PATCH V2 09/14] ARM: dts: am437x: cm-t43: add touchscreen support Date: Tue, 1 Dec 2015 15:55:04 +0200 Message-Id: <1448978109-5614-10-git-send-email-nikita@compulab.co.il> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1448978109-5614-1-git-send-email-nikita@compulab.co.il> References: <1448978109-5614-1-git-send-email-nikita@compulab.co.il> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - softlayer.compulab.co.il X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - compulab.co.il X-Get-Message-Sender-Via: softlayer.compulab.co.il: acl_c_recent_authed_mail_ips_text_entry: nikita@compulab.co.il|compulab.co.il X-Authenticated-Sender: softlayer.compulab.co.il: nikita@compulab.co.il Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP AM437x has an internal touchscreen controller. Add support for it on cm-t43. Signed-off-by: Nikita Kiryanov Cc: Tony Lindgren Cc: Benoit Cousson Cc: Rob Herring Cc: Mark Rutland Cc: Pawel Moll Cc: Igor Grinberg Cc: Dmitry Lifshitz Cc: Ian Campbell --- Changes in V2: - No changes. arch/arm/boot/dts/am437x-cm-t43.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/am437x-cm-t43.dts b/arch/arm/boot/dts/am437x-cm-t43.dts index 1011acc..8677f4c 100644 --- a/arch/arm/boot/dts/am437x-cm-t43.dts +++ b/arch/arm/boot/dts/am437x-cm-t43.dts @@ -398,6 +398,20 @@ status = "okay"; }; +&tscadc { + status = "okay"; + tsc { + ti,wires = <4>; + ti,x-plate-resistance = <200>; + ti,coordiante-readouts = <5>; + ti,wire-config = <0x00 0x11 0x22 0x33>; + }; + + adc { + ti,adc-channels = <4 5 6 7>; + }; +}; + &cpu { cpu0-supply = <&dcdc2>; operating-points = <1000000 1330000>,