Re: [PATCH RFC] gpio: new driver for a gpio simulator

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 11, 2018 at 10:16:46AM +0200, Uwe Kleine-König wrote:
> @Vincent: What is your usecase? I currently cannot imagine a use case
> that can be done with the mockup driver but not with the simulator.

I just needed a fake GPIO chip with a bunch of pins that I could use
before I got the hardware with a real GPIO expander.  In my case I only
needed to test output so IIRC I didn't use the debugfs interface at all
but instead used ftrace to check that my userspace triggered the correct
operations on the "pins".

So, yes, that would probably have worked just as well with this
simulator instead of the mockup driver.



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux