From patchwork Mon Jan 13 17:13:56 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shiyan X-Patchwork-Id: 3479771 Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 43BC59F2E9 for ; Mon, 13 Jan 2014 17:25:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7294B200D7 for ; Mon, 13 Jan 2014 17:25:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C4FFA20125 for ; Mon, 13 Jan 2014 17:25:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754233AbaAMRY7 (ORCPT ); Mon, 13 Jan 2014 12:24:59 -0500 Received: from fallback6.mail.ru ([94.100.176.134]:43156 "EHLO fallback6.mail.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753715AbaAMRY6 (ORCPT ); Mon, 13 Jan 2014 12:24:58 -0500 X-Greylist: delayed 645 seconds by postgrey-1.27 at vger.kernel.org; Mon, 13 Jan 2014 12:24:57 EST Received: from smtp48.i.mail.ru (smtp48.i.mail.ru [94.100.177.108]) by fallback6.mail.ru (mPOP.Fallback_MX) with ESMTP id 13DB42D27FFB for ; Mon, 13 Jan 2014 21:14:11 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Message-Id:Date:Subject:Cc:To:From; bh=z9M4uEAPz+sjzyFV7w5aRVvvr5D/f8YU1oZKOpOWrek=; b=ESW+rfOJzCWwukwl8rZlL1KoaH5JDKWjqCqtuvh9dUdQu2WdWjAsFk0t2N5kAZWZeq7Ptn5pCK1YvbvyGgkLV7N+qzPTXsiTQBxuybVh42onenNcgXGqZh2JZTX2yXOc5L95/Q9xMGIX7k+mH5Nf7PquskKzrQUvvaNfrkNdzAA=; Received: from [188.134.40.128] (port=31758 helo=shc.zet) by smtp48.i.mail.ru with esmtpa (envelope-from ) id 1W2l5J-00021K-Pj; Mon, 13 Jan 2014 21:13:58 +0400 From: Alexander Shiyan To: linux-input@vger.kernel.org Cc: Dmitry Torokhov , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Alexander Shiyan Subject: [PATCH] input: Add commonly used event types Date: Mon, 13 Jan 2014 21:13:56 +0400 Message-Id: <1389633236-25917-1-git-send-email-shc_work@mail.ru> X-Mailer: git-send-email 1.8.3.2 X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Mras: Ok Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RDNS_NONE, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=no 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 Patch adds commonly used event types (EV_KEY and EV_SW) to devicetree bindings header for input subsystem. Signed-off-by: Alexander Shiyan --- include/dt-bindings/input/input.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/dt-bindings/input/input.h b/include/dt-bindings/input/input.h index 042e7b3..3a141d92 100644 --- a/include/dt-bindings/input/input.h +++ b/include/dt-bindings/input/input.h @@ -9,6 +9,9 @@ #ifndef _DT_BINDINGS_INPUT_INPUT_H #define _DT_BINDINGS_INPUT_INPUT_H +#define EV_KEY 0x01 +#define EV_SW 0x05 + #define KEY_RESERVED 0 #define KEY_ESC 1 #define KEY_1 2