Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1899325yba; Fri, 17 May 2019 07:16:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqzAlKskLH734b+vzcSh8xout2vlqzoZnZFqGBgToZ3Q2Z/rw+V9mR9ON253VoPNdtK5PpiR X-Received: by 2002:a17:902:ca:: with SMTP id a68mr31982183pla.7.1558102573711; Fri, 17 May 2019 07:16:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558102573; cv=none; d=google.com; s=arc-20160816; b=o02mPkwKI2uak/E34f+8V9fAQqMIZXHRaEHrufl+cS75NlCGqa/78TEPzNrHPN3gAY 7UaTITuPgDRYi5p4ONo6kJW2MVlr970QqRHrP1Q4UfOWgKxr80DVHLjWfhFVH2cOyjQL K2ifahADLJobKgqF8mvaVMuoiDCOEvrOOy11Y3eG98S4ac299bebRxrkP8RZu2I7S90T /ZK23S//W9Lwslfw5Ybq5FAZeCSMwfFCHev0TIMerx0ps75/PLPY4YDv5c/7DOpFsJ4g 8rEQKyFq10hZlCIU/Xkd2kaPap1rpcgevIc3l/xsUHhbiWy50aShjRIupkS1g63M9Sja JjQA== 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=YOn6mM87TjxR80/dccn4u4pUAqod87oqS9b7+tHqE/E=; b=ZWurDFE+EtO8Y/L7PVKq8fP/4eusbIx3V3SX9qhDuvXiuMa2Fn6SgjEQcu8nsCUrD1 pEs71pPcqlZgfmzutdFCixWrAWnyJ2coTpvswkFX/UfRnWh7k4IRGNfN4a00j5gpZ7NA ukKP/OnfbiKE0dkKAhys+s2Y+v73EH94lPTVeIYcRGmNFtwXXKnt9WWv0PJFhh+vzAIf BnY0QHjFMDZI830Qm4IDzCKMlAhruhvmMpNxyg9214ff/sspP2e24U9aIx6FGnLWlds+ b/7MbDbBfpyNXebPVTSn7ywxIx5zP4XoU10Ncv69Cg8VDICP8MMkGTQcDlOH5/cL0e0/ p8zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ysoft.com header.s=20160406-ysoft-com header.b=As8u2HFF; 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 l35si8664928plb.276.2019.05.17.07.15.56; Fri, 17 May 2019 07:16:13 -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=As8u2HFF; 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 S1728482AbfEQNNM (ORCPT + 99 others); Fri, 17 May 2019 09:13:12 -0400 Received: from uho.ysoft.cz ([81.19.3.130]:33846 "EHLO uho.ysoft.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728434AbfEQNNM (ORCPT ); Fri, 17 May 2019 09:13:12 -0400 Received: from iota-build.ysoft.local (unknown [10.1.5.151]) by uho.ysoft.cz (Postfix) with ESMTP id BBFD3A0795; Fri, 17 May 2019 15:13:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ysoft.com; s=20160406-ysoft-com; t=1558098789; bh=YOn6mM87TjxR80/dccn4u4pUAqod87oqS9b7+tHqE/E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=As8u2HFFsehCUZ8yhzq1ZjgrEuTFXiGZ79yV0NvbyuJMzjC2tBW/dWp8sgT+8xTz9 X1OcEJAOPLKIXsDktkDQJ8vdzWi02mSIeXV+AonOgC37YCkjMLZbxy2A/Vdq5n66NM +f1WR8cG/VX3pelWaP1qid/KxC2QJIN6PEHQE/2Q= 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 1/4] dt-bindings: input: Add support for the MPR121 without interrupt line Date: Fri, 17 May 2019 15:12:50 +0200 Message-Id: <1558098773-47416-2-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 Normally, the MPR121 controller uses separate interrupt line to notify the I2C host that a key was touched/released. To support platforms that can not use the interrupt line, polling of the MPR121 registers can be used. Signed-off-by: Michal Vokáč --- Changes since v1: - Document the polled binding in the original file, do not create a new one. (Rob) Documentation/devicetree/bindings/input/mpr121-touchkey.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/input/mpr121-touchkey.txt b/Documentation/devicetree/bindings/input/mpr121-touchkey.txt index b7c61ee5841b..97f55273d473 100644 --- a/Documentation/devicetree/bindings/input/mpr121-touchkey.txt +++ b/Documentation/devicetree/bindings/input/mpr121-touchkey.txt @@ -1,9 +1,14 @@ -* Freescale MPR121 Controllor +* Freescale MPR121 Controller Required Properties: -- compatible: Should be "fsl,mpr121-touchkey" +- compatible: Should be one of: + - "fsl,mpr121-touchkey" - MPR121 with interrupt line + - "fsl,mpr121-touchkey-polled" - MPR121 with polling - reg: The I2C slave address of the device. - interrupts: The interrupt number to the cpu. + In case of "fsl,mpr121-touchkey-polled" the interrupt + line is not used and hence the interrupts property is + not required. - vdd-supply: Phandle to the Vdd power supply. - linux,keycodes: Specifies an array of numeric keycode values to be used for reporting button presses. The array can -- 2.1.4