The NetBSD Project

CVS log for src/usr.sbin/gpioctl/gpioctl.8

[BACK] Up to [cvs.NetBSD.org] / src / usr.sbin / gpioctl

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.20.26.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:05:52 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.20.26.1: +11 -5 lines
Diff to previous 1.20.26.1 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.24 / (download) - annotate - [select for diffs], Sun Oct 20 17:45:08 2019 UTC (4 years, 5 months ago) by wiz
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, HEAD
Changes since 1.23: +2 -4 lines
Diff to previous 1.23 (colored)

Be consistent in not marking up "GPIO".

Revision 1.23 / (download) - annotate - [select for diffs], Sun Oct 20 09:41:53 2019 UTC (4 years, 5 months ago) by tnn
Branch: MAIN
Changes since 1.22: +10 -2 lines
Diff to previous 1.22 (colored)

gpioctl: implement support for "gpioctl gpioN list". Like pcictl(8).

For drivers that name their pins, this can be used to determine how the
logical pins are mapped to physical pins. Example from sunxigpio(4):

# gpioctl gpio0 list
0: PA0
1: PA1
2: PA2
...

Revision 1.20.26.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:10:30 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.20: +4 -2 lines
Diff to previous 1.20 (colored)

Sync with HEAD

Revision 1.22 / (download) - annotate - [select for diffs], Wed Feb 13 11:40:41 2019 UTC (5 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

Bump date for previous.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Feb 12 21:41:38 2019 UTC (5 years, 2 months ago) by mlelstv
Branch: MAIN
Changes since 1.20: +3 -1 lines
Diff to previous 1.20 (colored)

Document options to select alternate GPIO modes.

Revision 1.16.6.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:05:08 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.16.6.1: +2 -2 lines
Diff to previous 1.16.6.1 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.14.2.2 / (download) - annotate - [select for diffs], Thu May 22 11:43:03 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.14.2.1: +16 -9 lines
Diff to previous 1.14.2.1 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.20 / (download) - annotate - [select for diffs], Tue Mar 18 18:20:46 2014 UTC (10 years, 1 month ago) by riastradh
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi
Changes since 1.19: +1 -1 lines
Diff to previous 1.19 (colored)

Merge riastradh-drm2 to HEAD.

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Tue Jul 23 21:07:40 2013 UTC (10 years, 8 months ago) by riastradh
Branch: riastradh-drm2
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored) next main 1.19 (colored)

sync with HEAD

Revision 1.19 / (download) - annotate - [select for diffs], Sat Jul 20 21:40:01 2013 UTC (10 years, 8 months ago) by wiz
Branch: MAIN
CVS Tags: riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

Use Mt for email addresses.

Revision 1.16.6.1 / (download) - annotate - [select for diffs], Sun Jun 23 06:29:04 2013 UTC (10 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.16: +14 -7 lines
Diff to previous 1.16 (colored)

resync from head

Revision 1.18 / (download) - annotate - [select for diffs], Sun May 19 15:31:23 2013 UTC (10 years, 10 months ago) by mbalmer
Branch: MAIN
CVS Tags: riastradh-drm2-base
Branch point for: riastradh-drm2
Changes since 1.17: +12 -3 lines
Diff to previous 1.17 (colored)

Make it easier to use gpioctl(8) in shell scripts:  Add a -s flag which
instructs gpioctl(8) to only output a single numeric value, either the
number of pins if no pin number was passed as argumenti, or, the current
state of the pin.

Revision 1.17 / (download) - annotate - [select for diffs], Sun May 19 14:06:35 2013 UTC (10 years, 10 months ago) by mbalmer
Branch: MAIN
Changes since 1.16: +3 -5 lines
Diff to previous 1.16 (colored)

Remove stray 'To'.

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:09:46 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.14: +3 -20 lines
Diff to previous 1.14 (colored)

sync with head

Revision 1.16 / (download) - annotate - [select for diffs], Sun Nov 13 14:39:42 2011 UTC (12 years, 5 months ago) by mbalmer
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, agc-symver-base, agc-symver
Branch point for: tls-maxphys
Changes since 1.15: +1 -2 lines
Diff to previous 1.15 (colored)

Fix a "lonely name".

Revision 1.15 / (download) - annotate - [select for diffs], Sun Nov 13 13:20:02 2011 UTC (12 years, 5 months ago) by mbalmer
Branch: MAIN
Changes since 1.14: +3 -19 lines
Diff to previous 1.14 (colored)

Remove software pulsing in gpio(4), this functionality is now provided
by the gpiopwm(4) driver.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Oct 6 11:06:44 2011 UTC (12 years, 6 months ago) by wiz
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

Sort SEE ALSO.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Oct 3 11:16:48 2011 UTC (12 years, 6 months ago) by mbalmer
Branch: MAIN
Changes since 1.12: +7 -8 lines
Diff to previous 1.12 (colored)

Remove the GPIODETACH gpio(4) ioctl (it is still available in COMPAT_50) and
the 'detach' command line option from gpioctl(8).  Drivers that are
attached to gpio pins can be detached using the drvctl(8) command.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Oct 2 12:43:53 2011 UTC (12 years, 6 months ago) by mbalmer
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

It's actually 'the flag locator', not 'flags' (as 'flags' can not be used
as a locator name for reasons unknown to me.)

Revision 1.11 / (download) - annotate - [select for diffs], Sun Oct 2 09:33:19 2011 UTC (12 years, 6 months ago) by mbalmer
Branch: MAIN
Changes since 1.10: +3 -2 lines
Diff to previous 1.10 (colored)

Add a ga_flags field to the gpio_attach structure to hand driver
specific flags to drivers being attached at gpio pins.  gpioiic(4)
uses this to reverse the SDA/SCL signal order.  gpioctl(8) accepts
the flag values as optional argument to the attach command.
While here, make sure we retain backwards compatability and wrap compat
code in #ifdef COMPAT_50/#endif.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Aug 28 17:10:37 2011 UTC (12 years, 7 months ago) by wiz
Branch: MAIN
Changes since 1.9: +7 -6 lines
Diff to previous 1.9 (colored)

Use Cm to mark up command arguments. Use An -nosplit to avoid linebreak in sentence.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Aug 28 07:48:50 2011 UTC (12 years, 7 months ago) by mbalmer
Branch: MAIN
Changes since 1.8: +24 -5 lines
Diff to previous 1.8 (colored)

Add a new ioctl, GPIOPULSE to gpio(4) to allow for pulsing a pin.
If a pin can pulse in hardware, that will be used, else it will
be pulsed in software.  There is no way yet to set the pulse frequency
for pins that pulse in hardware.  While here, make the code mpsafe and
allow more than one thread in the driver (access to ioctl is serialized).

Revision 1.8 / (download) - annotate - [select for diffs], Fri Aug 12 08:02:33 2011 UTC (12 years, 8 months ago) by mbalmer
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

Make some functions static, use getprogname() instead of
'extern char *__progname'.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Sep 25 20:27:50 2009 UTC (14 years, 6 months ago) by mbalmer
Branch: MAIN
CVS Tags: matt-premerge-20091211, matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

Rename 'pulse' to 'pulsate' to make clear it is a continuous strain of
pulses and and not a single shot pulse that is emitted by devices
supporting this kind of operation.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Sep 25 19:37:03 2009 UTC (14 years, 6 months ago) by mbalmer
Branch: MAIN
Changes since 1.5: +4 -2 lines
Diff to previous 1.5 (colored)

Jonatha Kollasch has a GPIO device that can pulse the output lines.
Support it wuth the GPIO_PIN_PULSE attribute and the 'pulse' paramater
to gpioctl.  Discussed with Jonathan.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Jul 25 16:18:09 2009 UTC (14 years, 8 months ago) by mbalmer
Branch: MAIN
Changes since 1.4: +110 -84 lines
Diff to previous 1.4 (colored)

Reworked gpioctl(8) command to reflect recent gpio(4) changes.

Revision 1.2.10.1 / (download) - annotate - [select for diffs], Sun Mar 23 00:50:06 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.2: +9 -2 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

sync with HEAD

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jan 9 15:56:27 2008 UTC (16 years, 3 months ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, mjf-devfs2, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, hpcarm-cleanup-base
Changes since 1.3: +7 -1 lines
Diff to previous 1.3 (colored)

Add support for GPIO_PIN_PULLDOWN, GPIO_PIN_INVIN, GPIO_PIN_INVOUT,
from OpenBSD.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Jan 9 15:50:00 2008 UTC (16 years, 3 months ago) by xtraeme
Branch: MAIN
Changes since 1.2: +3 -2 lines
Diff to previous 1.2 (colored)

Xref gcscpcib(4).

Revision 1.2 / (download) - annotate - [select for diffs], Tue Sep 27 09:16:20 2005 UTC (18 years, 6 months ago) by wiz
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: matt-armv6
Changes since 1.1: +8 -7 lines
Diff to previous 1.1 (colored)

Remove default argument from .Nm. Add a missing article. Mention NetBSD import.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Sep 27 02:54:27 2005 UTC (18 years, 6 months ago) by jmcneill
Branch: MAIN

Import userland utility for playing with gpio devices. From OpenBSD.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>