Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754065AbbHGUyM (ORCPT ); Fri, 7 Aug 2015 16:54:12 -0400 Received: from mail-la0-f54.google.com ([209.85.215.54]:36351 "EHLO mail-la0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753805AbbHGUyH (ORCPT ); Fri, 7 Aug 2015 16:54:07 -0400 MIME-Version: 1.0 In-Reply-To: References: <20150804153439.GA28673@lunn.ch> <20150805162155.GE32760@lunn.ch> <20150806132926.GB19896@lunn.ch> <20150806171312.GI13421@lunn.ch> Date: Sat, 8 Aug 2015 02:24:04 +0530 Message-ID: Subject: Re: Armadaxp GPIO interrupts From: raghu MG To: Andrew Lunn Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Thomas Petazzoni , Sebastian Hesselbarth Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1181 Lines: 31 Hi Andrew, I added these entries into armada-xp-gp.dtb gpio_rtm { compatible = "gpio-rtm"; #address-cells = <1>; #size-cells = <0>; pinctrl-0 = <&keys_pin>; pinctrl-names = "default"; rtm@57 { label = "RTM JACKINOUT"; gpios = <&gpio1 26 GPIO_ACTIVE_LOW>; /* GPIO 57 */ }; }; So I understand the leaf nodes are specific purpose of GPIOs(input:keyboard,mouse,touchpad etc). 1)For the board I am working needs different implementation for GPIO 57 unlike input devices drivers driving GPIOs. 2)To implement the functionality I need to write driver specific to my board which will implement event specific to requirements. I hope I am going right here, can you name a simple driver(kernel source) where it would make my driver development easy. Thanks & Regards Raghu -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/