linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kent Gibson <warthog618@gmail.com>
To: "Jean-Michaël Celerier" <jmcelerier@sat.qc.ca>
Cc: linux-gpio@vger.kernel.org, linux-pwm@vger.kernel.org
Subject: Re: PWM-GPIO driver: how to configure it?
Date: Fri, 4 Oct 2024 15:06:55 +0800	[thread overview]
Message-ID: <20241004070655.GA60749@rigel> (raw)
In-Reply-To: <CAA=GyxYyTvweUa1SWGeHkdtRRNuhFTri8cPTrFQY6pO+84vS0A@mail.gmail.com>

On Wed, Oct 02, 2024 at 02:41:06PM -0400, Jean-Michaël Celerier wrote:
> Hello!
>

This is probably best asked on the PWM list, so cross-posting.

> I am curious of trying the new pwm-gpio driver in Linux 6.11 with a
> Diolan DLN-2 chip, which exposes a gpiochip accessible to linux over
> USB.
>
> I haven't managed to see where the configuration options of the driver
> are set: for instance, let's say I want to create a PWM output channel
> over gpiochip1 line 4, 6 and 12, what should my modprobe line look
> like ?
>

Good question.
I think it has to be setup by device tree, but that is just a guess.

Cheers,
Kent.

  reply	other threads:[~2024-10-04  7:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-02 18:41 PWM-GPIO driver: how to configure it? Jean-Michaël Celerier
2024-10-04  7:06 ` Kent Gibson [this message]
2024-10-04 13:57   ` Uwe Kleine-König
2024-10-04 14:00     ` Jean-Michaël Celerier
     [not found]     ` <CAA=GyxZskkS0D6R+dD8Auq3d+O_Jk-Hg12rGJTxqgv_RAoatEQ@mail.gmail.com>
2024-10-04 16:37       ` Uwe Kleine-König

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=20241004070655.GA60749@rigel \
    --to=warthog618@gmail.com \
    --cc=jmcelerier@sat.qc.ca \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-pwm@vger.kernel.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).