From patchwork Fri Apr 27 07:20:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anson Huang X-Patchwork-Id: 10367569 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C77C4601D3 for ; Fri, 27 Apr 2018 07:25:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A4AA72930E for ; Fri, 27 Apr 2018 07:25:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 98E1429319; Fri, 27 Apr 2018 07:25:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, DKIM_VALID, MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 228802930E for ; Fri, 27 Apr 2018 07:25:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=E0UEhWXWGioeoLbVvCYy1epBZcUWwMBQ0YvC1QXN++s=; b=Q5tMdv4RmIIkye fF5A13LI+QjuDoNIhZxXeI5EIZr4eFmDtjdcTwUb2ZNYynCR6k/0cvgZrygz656i6VRlsvZ+oB8Oh sNqvcWYuPraR8OTzzDIyu6L3V4TM8Cn8nrqPyaiiYGMrDLfWDxPgjU5axFm3qXaD2IXwjZW8UNqD8 EQ7nG3GiFJY3YZJNPvSiN5NlJRpLIftpQgpgFhpxtk2ihKywQp7K5K5mGB/b9W//IVQmU+vNBpubZ FIWrupB5XbwIP238JDIHrMSYvbW9TL6SR57DHSgcSpj1jocP5ENV7bOYu8F7oC/RAOOVtSkUBIVZX WWAqkyYfr9qGWYG1KOpw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fBxl9-0005Zp-Ul; Fri, 27 Apr 2018 07:25:35 +0000 Received: from mail-ve1eur01on0077.outbound.protection.outlook.com ([104.47.1.77] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fBxl6-0005Y0-9b for linux-arm-kernel@lists.infradead.org; Fri, 27 Apr 2018 07:25:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=EUXP06Jx4dTr3ZW1EU35SAv1NFZrVV8O9E/ljJiGfgA=; b=qfoNf9gebdkhUjowZ/5Tj1vsqSV2eQXWtBeGJFtYG/tMLXjcC1MOeChEA5k69FWrTIuK7RhOtRDa+dCCmoqebz/udXP4vsvUZr2N0qUce/9cwtt4I+m7uFl/ztsUavQzZa4suiHrIW8LpxfUW3H2a8IyzfGthdotoOFgbltvM4o= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; Received: from anson-OptiPlex-790.ap.freescale.net (119.31.174.66) by HE1PR04MB1324.eurprd04.prod.outlook.com (2a01:111:e400:588a::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.696.15; Fri, 27 Apr 2018 07:25:11 +0000 From: Anson Huang To: shawnguo@kernel.org, kernel@pengutronix.de, fabio.estevam@nxp.com, robh+dt@kernel.org, mark.rutland@arm.com, haibo.chen@nxp.com Subject: [PATCH] ARM: dts: imx6sx-sabreauto: add egalax touch screen support Date: Fri, 27 Apr 2018 15:20:50 +0800 Message-Id: <1524813650-19241-1-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: TYAPR01CA0045.jpnprd01.prod.outlook.com (2603:1096:404:28::33) To HE1PR04MB1324.eurprd04.prod.outlook.com (2a01:111:e400:588a::11) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(48565401081)(2017052603328)(7153060)(7193020); SRVR:HE1PR04MB1324; X-Microsoft-Exchange-Diagnostics: 1; HE1PR04MB1324; 3:0vPDyi5lrTzqieZRCjogusREvHclGWqWhERqr5+Wji12P18umLc8pQaPIZ/yQRl7OdTPaTzw9/KyexglKd10bgp3yicjTUOttRwPjLTJd02XQW6Xh/AaEeqYaR9OvQnNGvOwmqb/klfT+xox89eSvwTejBLkU8w9P3GrWa7MPYA4P0RyFvGHdU09Co2SqoeyzdygBpViw/yo3HjDMOeiUEwwzVmvB1F1EfCbzcTEG4ywCv74skfN7g+Bg2fL4S93; 25:PBzFQEoIRG4edDy0QlcJsPtg2g0FDlSoNrVU/s2bguHh637v8EHCEK6Un3qxcH/MzYaIeQV/CZGHtJbk0eLIZR2HfbJVHF4sc/x2IMQeVNwLtt7IUBuZOFspR4TCDmkHLO/MrxX75IwmajnLMvjTRpQsncfpvnt3JC52i4uPM2gKzDGFoznT92Vt4SkegwjTZkrP78IRVnMETUd0pDWCR+7c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ybrY2DOPjwucP7qm12G8dhPA6g0nmaJ2eQNJ4TxZvsn1XcOEyh6d6pXgegXbe2wZ86qL1AnIvP5tPSApR3Xpg1bYIaxFlsxzQWYkoAHbsBiiiyDa1rgqhwU76o4DHr9j49RX6hOQL3QmmJ9wL1judsyzw7tgqiGU5FLz4SdngVwU9vBbo8cohfkBlujg/o5BHZwFpbFxF9yWAJB305xIvrz9ugGRFsFE6CmlaMKYgnQu14dMn7Y3Wr4E4= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(101931422205132); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(3231232)(944501410)(52105095)(3002001)(93006095)(93001095)(6055026)(6041310)(20161123558120)(20161123562045)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:HE1PR04MB1324; BCL:0; PCL:0; RULEID:; SRVR:HE1PR04MB1324; X-Forefront-PRVS: 0655F9F006 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(376002)(39380400002)(346002)(39860400002)(396003)(199004)(189003)(305945005)(6512007)(6666003)(4326008)(53936002)(16526019)(6506007)(2906002)(386003)(3846002)(6116002)(7736002)(6636002)(26005)(86362001)(50466002)(68736007)(186003)(36756003)(47776003)(81166006)(81156014)(51416003)(8676002)(52116002)(97736004)(66066001)(16586007)(8936002)(1857600001)(316002)(48376002)(2616005)(486006)(6486002)(956004)(476003)(105586002)(5660300001)(106356001)(50226002)(25786009)(478600001)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR04MB1324; H:anson-OptiPlex-790.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR04MB1324; 23:UJfdU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0IXkVr0GrrOL8v4jLZWbHzfE9g==; 5:Xs3XwPUpaAKyKLzdzmSmvyB1nN6bqlS/PkAY1uG7GFT+WH3n6w9fIYztR4qKGFmxhv1VGm5kDrl04CFgRopk0e9WHRnDAzRD8nr3a4ZBWkvHnyhucRHCHnpec0Q1OE8V1TUP5ClW9vCBECEumyz4vzKjILMZu+Pv4hKsDWfd960=; 24:eamI+W7VdbrJQgSEPTomg4VqYaLH5F+q1slhyH00Dy9rkpcZhqby2li9KHQnj9JUmbTQjC0e1rii1uWZQBqmzzDgPx098EjhayPHCz/88+Q= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR04MB1324; 7:b8Z9vWgXR4eehgMlXVIJaH1wMviNCDaCcFbXFZbGVU94l4mGsc+BfuxHrCD0xs+gd6lMDPQUj38ckUEbhvGposTH1+fLuWBE4FHWe/xPARRghaE+6LJqzd8f6iP2mzZ3DDlfiVvQBsvNL/UHaZD2ZFYVGUsAdSXcHoKwiFvhYSFNN/GMEwt/m1zGWz1bnFnk8t+ltqBCnk717HYqK4zU8dPLh1rFd/0hAh4rWIuZ7Cz5C4Xx1unfaoJkYh3n8K0g X-MS-Office365-Filtering-Correlation-Id: 340c5168-6e5c-4f09-96df-08d5ac1005ca X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Apr 2018 07:25:11.4877 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 340c5168-6e5c-4f09-96df-08d5ac1005ca X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR04MB1324 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180427_002532_499744_E92D6DD4 X-CRM114-Status: GOOD ( 11.27 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Haibo Chen Add egalax touch screen support on i2c2 bus. Signed-off-by: Haibo Chen Signed-off-by: Anson Huang --- this patch is based on patch (ARM: dts: imx6sx-sabreauto: add debug LED support) I sent out for review. arch/arm/boot/dts/imx6sx-sabreauto.dts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/imx6sx-sabreauto.dts b/arch/arm/boot/dts/imx6sx-sabreauto.dts index 6b94f24..2f6e474 100644 --- a/arch/arm/boot/dts/imx6sx-sabreauto.dts +++ b/arch/arm/boot/dts/imx6sx-sabreauto.dts @@ -131,6 +131,12 @@ &iomuxc { imx6x-sabreauto { + pinctrl_egalax_int: egalax_intgrp { + fsl,pins = < + MX6SX_PAD_SD4_RESET_B__GPIO6_IO_22 0x80000000 + >; + }; + pinctrl_led: ledgrp { fsl,pins = < MX6SX_PAD_CSI_PIXCLK__GPIO1_IO_24 0x17059 @@ -274,6 +280,16 @@ pinctrl-0 = <&pinctrl_i2c2_1>; status = "okay"; + egalax_ts@04 { + compatible = "eeti,egalax_ts"; + reg = <0x04>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_egalax_int>; + interrupt-parent = <&gpio6>; + interrupts = <22 IRQ_TYPE_EDGE_FALLING>; + wakeup-gpios = <&gpio6 22 GPIO_ACTIVE_HIGH>; + }; + max7322: gpio@68 { compatible = "maxim,max7322"; reg = <0x68>;