Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1835329yba; Fri, 17 May 2019 06:16:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqxzpI04OBvVGuK3ExFlm94kct30vt9cQ98lXIZieane6kjTM74wBF9bg9UMMNcd4Zvv0M2D X-Received: by 2002:a63:1c4:: with SMTP id 187mr29675071pgb.317.1558098966890; Fri, 17 May 2019 06:16:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558098966; cv=none; d=google.com; s=arc-20160816; b=whA8uOfgjntDrR/3gTXIeDWPIu2EDrqIqxW5wvFtlmgP7tPyqnTbhfcsMXZNGSnrs5 oZrkn7EwZTCzJ/JZHoakAJLoNw0hTHzCu/yx+LsIguqWwmejXQBQSMt+DbnSeyrhEzQQ M9DL4m11BVpkgaYi8Gjm7J9ZhoHRZAkmMrS7SxubSxosouimrZXFffMprec41xNKAKI4 Z/UJj0qzR+1yJeP/o5upX9N0rHvSLKSzXJDd9j7ZrUXSVAsjdJpFQ+OwH69nIEr9aI4Q ZEmff/kjYrIRBwjb+qoQmikgO7+MmEKY26ZaBVgB5IPPztDCRNmp5BHMeUZ/7SYCdB1Z MAgA== 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:cc:to:from :dkim-signature; bh=3fqHTQWwFFxlsRLtnrTf/2ecqWmAHakKFLqkKHlonlU=; b=AUvrDszD/RM8uQOnV1DQLjBrezncp7IGJlbSC3NnV3A0xCGfGrrrcdHlDqPbgsw+Fv ekTZhlUWAeMqahpM4u8z99VSWzr2QBftO1hRlNOgWzXeZLkUIYx69Ku3TWNvb72rejCl EnUilAKEM6Fu1Z7J08XFrmGV2OCdA8idXfh8n3/OsfodcrEcaTkJXSVBXA5D01NJb4bn Fq1xnS/kyvsPSoV6iOQY+HLBfCLwnrlgPimEmzCtNtsxbLLhGZuuK25dIOdkFbFCLV54 mlb2Wtex4aHUzBkd80TUacxweEvCbemBIaAX7cMWr1t0mKEEcAqOikNGhAB2FqmLKzWJ S5+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ysoft.com header.s=20160406-ysoft-com header.b="Qvea1/7z"; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ysoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l4si8001992plb.305.2019.05.17.06.15.52; Fri, 17 May 2019 06:16:06 -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; dkim=pass (test mode) header.i=@ysoft.com header.s=20160406-ysoft-com header.b="Qvea1/7z"; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ysoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728720AbfEQNN0 (ORCPT + 99 others); Fri, 17 May 2019 09:13:26 -0400 Received: from uho.ysoft.cz ([81.19.3.130]:33865 "EHLO uho.ysoft.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728425AbfEQNNN (ORCPT ); Fri, 17 May 2019 09:13:13 -0400 Received: from iota-build.ysoft.local (unknown [10.1.5.151]) by uho.ysoft.cz (Postfix) with ESMTP id 6EDDDA5237; Fri, 17 May 2019 15:13:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ysoft.com; s=20160406-ysoft-com; t=1558098790; bh=3fqHTQWwFFxlsRLtnrTf/2ecqWmAHakKFLqkKHlonlU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Qvea1/7zBUyKK/QmHvm2t+OSYWM8gWwChVAPWRmYb0ba7LTRoheLc4Lv9OBilytKO hBOLHcvwAWo1lEBd6u3zZDDRuEcze6m5aLCEkWa44Z0KoyIlxKNxKxxwRyz+Z+8bxQ OBICb3iu/ZX6mfuxSkOj8POjlnsj2rSNh6RlM0uQ= From: =?UTF-8?q?Michal=20Vok=C3=A1=C4=8D?= To: Dmitry Torokhov , Rob Herring Cc: Mark Rutland , Shawn Guo , Sascha Hauer , Fabio Estevam , linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Pengutronix Kernel Team , =?UTF-8?q?Michal=20Vok=C3=A1=C4=8D?= Subject: [RFC PATCH v2 4/4] ARM: dts: imx6dl-yapp4: Enable MPR121 touch keypad on Hydra Date: Fri, 17 May 2019 15:12:53 +0200 Message-Id: <1558098773-47416-5-git-send-email-michal.vokac@ysoft.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1558098773-47416-1-git-send-email-michal.vokac@ysoft.com> References: <1558098773-47416-1-git-send-email-michal.vokac@ysoft.com> 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 Enable the I2C connected touch keypad on Hydra board. Use the polled binding as the interrupt line is not available. Signed-off-by: Michal Vokáč --- arch/arm/boot/dts/imx6dl-yapp4-common.dtsi | 12 ++++++++++++ arch/arm/boot/dts/imx6dl-yapp4-hydra.dts | 4 ++++ 2 files changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi index e8d800fec637..65a670e5bd4f 100644 --- a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi +++ b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi @@ -4,6 +4,7 @@ #include #include +#include #include / { @@ -330,6 +331,17 @@ vcc-supply = <&sw2_reg>; status = "disabled"; }; + + touchkeys: keys@5a { + compatible = "fsl,mpr121-touchkey-polled"; + reg = <0x5a>; + vdd-supply = <&sw2_reg>; + autorepeat; + linux,keycodes = , , , , , + , , , , + , , ; + status = "disabled"; + }; }; &iomuxc { diff --git a/arch/arm/boot/dts/imx6dl-yapp4-hydra.dts b/arch/arm/boot/dts/imx6dl-yapp4-hydra.dts index f97927064750..84c275bfdd38 100644 --- a/arch/arm/boot/dts/imx6dl-yapp4-hydra.dts +++ b/arch/arm/boot/dts/imx6dl-yapp4-hydra.dts @@ -45,6 +45,10 @@ status = "okay"; }; +&touchkeys { + status = "okay"; +}; + &usdhc3 { status = "okay"; }; -- 2.1.4