CVS log for src/usr.sbin/gpioctl/gpioctl.8
Up to [cvs.NetBSD.org] / src / usr.sbin / gpioctl
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.20.26.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:05:52 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.20.26.1: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.26.1: +11 -5
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Oct 20 17:45:08 2019 UTC (5 years, 1 month ago) by wiz
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
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
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -4
lines
Be consistent in not marking up "GPIO".
Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun Oct 20 09:41:53 2019 UTC (5 years, 1 month ago) by tnn
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +10 -2
lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 10 22:10:30 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -2
lines
Sync with HEAD
Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Feb 13 11:40:41 2019 UTC (5 years, 10 months ago) by wiz
Branches: MAIN
CVS tags: phil-wifi-20190609,
netbsd-9-base,
netbsd-9-4-RELEASE,
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
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -2
lines
Bump date for previous.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue Feb 12 21:41:38 2019 UTC (5 years, 10 months ago) by mlelstv
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -1
lines
Document options to select alternate GPIO modes.
Revision 1.16.6.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:05:08 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.16.6.1: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.6.1: +2 -2
lines
Rebase to HEAD as of a few days ago.
Revision 1.14.2.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:43:03 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.14.2.1: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.2.1: +16 -9
lines
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 - view: text, markup, annotated - select for diffs
Tue Mar 18 18:20:46 2014 UTC (10 years, 8 months ago) by riastradh
Branches: 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-3-RELEASE,
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
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +1 -1
lines
Merge riastradh-drm2 to HEAD.
Revision 1.18.2.1: download - view: text, markup, annotated - select for diffs
Tue Jul 23 21:07:40 2013 UTC (11 years, 4 months ago) by riastradh
Branches: riastradh-drm2
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +3 -3
lines
sync with HEAD
Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat Jul 20 21:40:01 2013 UTC (11 years, 4 months ago) by wiz
Branches: MAIN
CVS tags: riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -3
lines
Use Mt for email addresses.
Revision 1.16.6.1: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:29:04 2013 UTC (11 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +14 -7
lines
resync from head
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun May 19 15:31:23 2013 UTC (11 years, 6 months ago) by mbalmer
Branches: MAIN
CVS tags: riastradh-drm2-base
Branch point for: riastradh-drm2
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +12 -3
lines
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 - view: text, markup, annotated - select for diffs
Sun May 19 14:06:35 2013 UTC (11 years, 6 months ago) by mbalmer
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -5
lines
Remove stray 'To'.
Revision 1.14.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:09:46 2012 UTC (12 years, 8 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -20
lines
sync with head
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Nov 13 14:39:42 2011 UTC (13 years, 1 month ago) by mbalmer
Branches: 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
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +1 -2
lines
Fix a "lonely name".
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Nov 13 13:20:02 2011 UTC (13 years, 1 month ago) by mbalmer
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -19
lines
Remove software pulsing in gpio(4), this functionality is now provided
by the gpiopwm(4) driver.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Oct 6 11:06:44 2011 UTC (13 years, 2 months ago) by wiz
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base
Branch point for: yamt-pagecache
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3
lines
Sort SEE ALSO.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Oct 3 11:16:48 2011 UTC (13 years, 2 months ago) by mbalmer
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +7 -8
lines
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 - view: text, markup, annotated - select for diffs
Sun Oct 2 12:43:53 2011 UTC (13 years, 2 months ago) by mbalmer
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2
lines
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 - view: text, markup, annotated - select for diffs
Sun Oct 2 09:33:19 2011 UTC (13 years, 2 months ago) by mbalmer
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -2
lines
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 - view: text, markup, annotated - select for diffs
Sun Aug 28 17:10:37 2011 UTC (13 years, 3 months ago) by wiz
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +7 -6
lines
Use Cm to mark up command arguments. Use An -nosplit to avoid linebreak in sentence.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Aug 28 07:48:50 2011 UTC (13 years, 3 months ago) by mbalmer
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +24 -5
lines
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 - view: text, markup, annotated - select for diffs
Fri Aug 12 08:02:33 2011 UTC (13 years, 4 months ago) by mbalmer
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2
lines
Make some functions static, use getprogname() instead of
'extern char *__progname'.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Sep 25 20:27:50 2009 UTC (15 years, 2 months ago) by mbalmer
Branches: MAIN
CVS tags: matt-premerge-20091211,
matt-mips64-premerge-20101231,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3
lines
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 - view: text, markup, annotated - select for diffs
Fri Sep 25 19:37:03 2009 UTC (15 years, 2 months ago) by mbalmer
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -2
lines
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 - view: text, markup, annotated - select for diffs
Sat Jul 25 16:18:09 2009 UTC (15 years, 4 months ago) by mbalmer
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +110 -84
lines
Reworked gpioctl(8) command to reflect recent gpio(4) changes.
Revision 1.2.10.1: download - view: text, markup, annotated - select for diffs
Sun Mar 23 00:50:06 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +9 -2
lines
sync with HEAD
Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Jan 9 15:56:27 2008 UTC (16 years, 11 months ago) by xtraeme
Branches: 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
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +7 -1
lines
Add support for GPIO_PIN_PULLDOWN, GPIO_PIN_INVIN, GPIO_PIN_INVOUT,
from OpenBSD.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Jan 9 15:50:00 2008 UTC (16 years, 11 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -2
lines
Xref gcscpcib(4).
Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Sep 27 09:16:20 2005 UTC (19 years, 2 months ago) by wiz
Branches: 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
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +8 -7
lines
Remove default argument from .Nm. Add a missing article. Mention NetBSD import.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Sep 27 02:54:27 2005 UTC (19 years, 2 months ago) by jmcneill
Branches: MAIN
Import userland utility for playing with gpio devices. From OpenBSD.
CVSweb <webmaster@jp.NetBSD.org>