From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752105AbcHLEyb (ORCPT ); Fri, 12 Aug 2016 00:54:31 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:43541 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750922AbcHLEyZ (ORCPT ); Fri, 12 Aug 2016 00:54:25 -0400 From: Vignesh R To: Dmitry Torokhov CC: Rob Herring , Mark Rutland , Tony Lindgren , Russell King , Arnd Bergmann , John Stultz , S Twiss , Jorge Ramirez-Ortiz , Moritz Fischer , Daniel Hung-yu Wu , Vignesh R , Grant Grundler , , , , , Subject: [PATCH 0/2] AM335x-ICE: Add support for rotary switch Date: Fri, 12 Aug 2016 10:22:27 +0530 Message-ID: <20160812045229.29241-1-vigneshr@ti.com> X-Mailer: git-send-email 2.9.2 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series adds support for rotary-switch on AM335x-ICE that is connected to TI PCA9536 I2C GPIO expander. First patch adds new generic driver to read status of group of GPIO lines and report the value as an input event. The second patch adds DT entries for the same. Vignesh R (2): input: misc: Add generic input driver to read encoded GPIO lines ARM: dts: am335x-icev2: Add nodes for gpio-decoder .../devicetree/bindings/input/gpio-decoder.txt | 23 ++++ arch/arm/boot/dts/am335x-icev2.dts | 9 ++ drivers/input/misc/Kconfig | 12 ++ drivers/input/misc/Makefile | 1 + drivers/input/misc/gpio_decoder.c | 128 +++++++++++++++++++++ 5 files changed, 173 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/gpio-decoder.txt create mode 100644 drivers/input/misc/gpio_decoder.c -- 2.9.2