* Re: [PATCH V4 0/2] pwm: Add GPIO PWM driver [not found] <20240204220851.4783-1-wahrenst@gmx.net> @ 2024-02-05 5:55 ` Dhruva Gole 2024-02-05 7:08 ` Stefan Wahren 0 siblings, 1 reply; 2+ messages in thread From: Dhruva Gole @ 2024-02-05 5:55 UTC (permalink / raw) To: Stefan Wahren Cc: Uwe Kleine-König, Rob Herring, Krzysztof Kozlowski, Conor Dooley, andy.shevchenko, Angelo Compagnucci, Philip Howard, Sean Young, Linus Walleij, linux-pwm, devicetree, linux-gpio, linux-doc Hi, On Feb 04, 2024 at 23:08:49 +0100, Stefan Wahren wrote: > Add a software PWM which toggles a GPIO from a high-resolution timer. > > Recent discussions in the Raspberry Pi community revealt that a lot > of users still use MMIO userspace tools for GPIO access. One argument > for this approach is the lack of a GPIO PWM kernel driver. So this > series tries to fill this gap. > > This continues the work of Vincent Whitchurch [1], which is easier > to read and more consequent by rejecting sleeping GPIOs than Nicola's > approach [2]. > > The work has been tested on a Raspberry Pi 3 B+ and a cheap logic > analyzer. I recently came across this series and I have to say that it will sure be a nice to have feature to be able to use any GPIO as a PWM. However, just a minor suggestion is that we should make sure it's well documented how to actually use this. It would be much appreciated if you could include some basic documentation of a few sysfs commands or any userspace library that you used to test what you've mentioned above. Maybe add another patch for this page? https://docs.kernel.org/driver-api/pwm.html#using-pwms-with-the-sysfs-interface This will ensure people know about this feature and will actually be able to use it. -- Best regards, Dhruva Gole <d-gole@ti.com> ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH V4 0/2] pwm: Add GPIO PWM driver 2024-02-05 5:55 ` [PATCH V4 0/2] pwm: Add GPIO PWM driver Dhruva Gole @ 2024-02-05 7:08 ` Stefan Wahren 0 siblings, 0 replies; 2+ messages in thread From: Stefan Wahren @ 2024-02-05 7:08 UTC (permalink / raw) To: Dhruva Gole Cc: Uwe Kleine-König, Rob Herring, Krzysztof Kozlowski, Conor Dooley, andy.shevchenko, Angelo Compagnucci, Philip Howard, Sean Young, Linus Walleij, linux-pwm, devicetree, linux-gpio, linux-doc Hi Dhruva, Am 05.02.24 um 06:55 schrieb Dhruva Gole: > Hi, > > On Feb 04, 2024 at 23:08:49 +0100, Stefan Wahren wrote: >> Add a software PWM which toggles a GPIO from a high-resolution timer. >> >> Recent discussions in the Raspberry Pi community revealt that a lot >> of users still use MMIO userspace tools for GPIO access. One argument >> for this approach is the lack of a GPIO PWM kernel driver. So this >> series tries to fill this gap. >> >> This continues the work of Vincent Whitchurch [1], which is easier >> to read and more consequent by rejecting sleeping GPIOs than Nicola's >> approach [2]. >> >> The work has been tested on a Raspberry Pi 3 B+ and a cheap logic >> analyzer. > I recently came across this series and I have to say that it will sure be > a nice to have feature to be able to use any GPIO as a PWM. > > However, just a minor suggestion is that we should make sure it's well > documented how to actually use this. It would be much appreciated if you > could include some basic documentation of a few sysfs commands or any > userspace library that you used to test what you've mentioned above. i used the PWM sysfs for testing and this PWM driver doesn't change anything on this well known interface. Sorry, i don't understand what needs to be documented additionally? > > Maybe add another patch for this page? > https://docs.kernel.org/driver-api/pwm.html#using-pwms-with-the-sysfs-interface > > This will ensure people know about this feature and will actually be > able to use it. > ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-02-05 7:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20240204220851.4783-1-wahrenst@gmx.net>
2024-02-05 5:55 ` [PATCH V4 0/2] pwm: Add GPIO PWM driver Dhruva Gole
2024-02-05 7:08 ` Stefan Wahren
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox