kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: Alec Matthews <me@alecmatthews.dev>
To: kernelnewbies@kernelnewbies.org
Subject: Where do I put my new driver?
Date: Mon, 8 Aug 2022 11:20:45 -0700	[thread overview]
Message-ID: <YvFT/WD12V7hp7j9@ubuntu-server-dev> (raw)

I've created a new device driver that is responsible for controlling a
GPIO expander. This driver contains gpio_chip code, pinmux/pinconf,
code, pwm, and irq handlers. 

I'm not certain what I should name this driver. `pinctrl-*`, `gpio-*`,
or something else? 

I'm also not sure where this driver belongs in the source tree. Should
it exist in drivers/gpio, drivers/pinctrl, or drivers/pwm?

I have developed this driver out of tree, now I am trying to move it in
tree so I can begin the patch process. I appreciate any insight that
this list may have on where it belongs.


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

             reply	other threads:[~2022-08-08 18:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-08 18:20 Alec Matthews [this message]
2022-09-21 22:26 ` Where do I put my new driver? jim.cromie
2022-09-22  7:31   ` Greg KH

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=YvFT/WD12V7hp7j9@ubuntu-server-dev \
    --to=me@alecmatthews.dev \
    --cc=kernelnewbies@kernelnewbies.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).