Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp382208yba; Fri, 26 Apr 2019 01:32:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqxlQGpHWTuASOeZZFUTxpjsjACk6MVD/Lck6E3uO/ibm+QmgIR0B4nKcbDq5NSf5zIdnxzz X-Received: by 2002:a63:cc47:: with SMTP id q7mr16398902pgi.171.1556267579487; Fri, 26 Apr 2019 01:32:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556267579; cv=none; d=google.com; s=arc-20160816; b=BJ6tAZ6WYPWRPqd/2qjU+AiC+3nBtxEf2MqNPo1wrtb3pwjS830JrX2yPfNaivuXHw xdRnjg3gibFt1T8Y4Yukm+cJXcFeyGG/dmykJsWgxWN0Kga7ULjyLQ+Ug2JDtgKj5TO3 vTkTnA5dipICKFCDMlUaPgQtYWmd0XCS6zviAsI2RPzZW5N/yTAEqhBJ3T0OMdIM6T92 ANFliUjThOgZ3HCSfa5j68pm+23FH8p6d/VxVRJ5i0dQfeiSx2vz32F/5XG90lnZ52wF wpuPbEE/7yQLctXosIzcAQCrrB89kjO4nlD+vZeeae5UfKGzyz/Y82ZVfeKvKkBum6jy 5Y2A== 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=vAOHbQD3fIA2ldehNDt3ZciBPA4fmTrUu5q/9crhKDVxDA4F3hUtmE/IEG5DivAm9i bYyMFtTiRTP58fOLKajN/nY3jGA3d0RliwyThqvLMOB51ODI1Mpa/jqoxEv4Vvjn0xnn ty4C4Tt/b4ecG3QKk3EJdHpEh0ymxqdMJioKGgfCCL/qsLUXRBg7K/7rzot30Hmz7YmM 9iN7pSmyFYyuSwX+cPerJeNIiM4eX7+I7Lvxu758WoC7OA+zn7efT8RglVyZeTkj4pDL 0YwXgKC6mQCqC749VMvCpRAzexb1KBlioCTfSyFlp5pdtB++fKFzR0U6WAgNJXq8z2iR Qu+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ysoft.com header.s=20160406-ysoft-com header.b=mz545dlf; 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 w10si1945898pgp.356.2019.04.26.01.32.42; Fri, 26 Apr 2019 01:32:59 -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=mz545dlf; 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 S1726242AbfDZIbo (ORCPT + 99 others); Fri, 26 Apr 2019 04:31:44 -0400 Received: from uho.ysoft.cz ([81.19.3.130]:56125 "EHLO uho.ysoft.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725993AbfDZIbm (ORCPT ); Fri, 26 Apr 2019 04:31:42 -0400 Received: from iota-build.ysoft.local (unknown [10.1.5.151]) by uho.ysoft.cz (Postfix) with ESMTP id 45B54A6C6C; Fri, 26 Apr 2019 10:31:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ysoft.com; s=20160406-ysoft-com; t=1556267500; bh=3fqHTQWwFFxlsRLtnrTf/2ecqWmAHakKFLqkKHlonlU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mz545dlfPtJHx7U/umxGLUgQhr8HJpGFC3qEpTym3UyB0bvCp4ArTWOvELl/uOnw4 uIhyD7gd2ZFYXQENGJWOZEKRBxZeuxG0YXdfLKFGFcrXrVQPSNjIJvgD4dmVAyhbIC yEYggcs8FlsIyByhgxFWzFQ0glxTMvAsuaU/Ka/s= 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 4/4] ARM: dts: imx6dl-yapp4: Enable MPR121 touch keypad on Hydra Date: Fri, 26 Apr 2019 10:30:20 +0200 Message-Id: <1556267420-93219-5-git-send-email-michal.vokac@ysoft.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1556267420-93219-1-git-send-email-michal.vokac@ysoft.com> References: <1556267420-93219-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