linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: andrew@lunn.ch (Andrew Lunn)
To: linux-arm-kernel@lists.infradead.org
Subject: Armadaxp GPIO interrupts
Date: Sat, 8 Aug 2015 00:10:52 +0200	[thread overview]
Message-ID: <20150807221052.GJ26884@lunn.ch> (raw)
In-Reply-To: <CAG1O52VTqkiGbQ2Et98WyL_vqAhcx6VXxPmHMpLnSJx5wCLe-w@mail.gmail.com>

On Sat, Aug 08, 2015 at 02:24:04AM +0530, raghu MG wrote:
> 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 at 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.

Given the name "RTM JACKINOUT", how about

sound/soc/soc-jack.c

	Andrew

  reply	other threads:[~2015-08-07 22:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAG1O52Xg88OsifBzmpSdqvC8wQaOW78nC9nnfxugFv1VU1m1LQ@mail.gmail.com>
2015-08-04 15:34 ` Armadaxp GPIO interrupts Andrew Lunn
2015-08-05  5:07   ` raghu MG
     [not found]     ` <CAG1O52VQPpeGkA8bqYbPMTiT9Mua1yHi3H3osqJsHqm-RRKzow@mail.gmail.com>
2015-08-05 16:21       ` Andrew Lunn
2015-08-06  5:54         ` raghu MG
2015-08-06 13:29           ` Andrew Lunn
2015-08-06 16:58             ` raghu MG
2015-08-06 17:13               ` Andrew Lunn
2015-08-06 18:18                 ` raghu MG
2015-08-07 20:54                   ` raghu MG
2015-08-07 22:10                     ` Andrew Lunn [this message]
2015-08-05 15:02   ` raghu MG

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150807221052.GJ26884@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).