The NetBSD Project

CVS log for src/share/man/man4/gpioirq.4

[BACK] Up to [cvs.NetBSD.org] / src / share / man / man4

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.2.14.1 / (download) - annotate - [select for diffs], Sun Nov 26 11:45:16 2023 UTC (4 months, 2 weeks ago) by bouyer
Branch: netbsd-10
CVS Tags: netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2
Changes since 1.2: +58 -8 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

Pull up following revision(s) (requested by brad in ticket #461):
	sys/dev/gpio/gpiovar.h: revision 1.19
	share/man/man4/gpioirq.4: revision 1.4 via patch
	sys/dev/gpio/gpio.c: revision 1.73
	etc/MAKEDEV.tmpl: revision 1.234
	sys/conf/majors: revision 1.103
	sys/dev/gpio/gpioirq.c: revision 1.2
gpioirq(4) version 2
This update makes this driver more than just an example and allows for:
o More than one pin to be attached to a gpioirq instance.  That is,
  the mask parameter can be greater than 0x01 now.
o A /dev/gpioirqN device that allows GPIO pin interrupts to be
  transported into userland.  This is a device that can be opened for
  reading with a simple fixed output indicating the device unit, pin
  number and current pin state.
This update was used as part of a physical intrusion detection system
where multiple switches (i.e. window magnetic reed switches and etc.)
are tied to a bunch of GPIO inputs with userland software that reacts
to the pins changing state.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Nov 6 00:35:05 2023 UTC (5 months, 1 week ago) by brad
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +58 -8 lines
Diff to previous 1.3 (colored)



gpioirq(4) version 2

This update makes this driver more than just an example and allows for:

o More than one pin to be attached to a gpioirq instance.  That is,
  the mask parameter can be greater than 0x01 now.

o A /dev/gpioirqN device that allows GPIO pin interrupts to be
  transported into userland.  This is a device that can be opened for
  reading with a simple fixed output indicating the device unit, pin
  number and current pin state.


This update was used as part of a physical intrusion detection system
where multiple switches (i.e. window magnetic reed switches and etc.)
are tied to a bunch of GPIO inputs with userland software that reacts
to the pins changing state.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Aug 1 20:39:15 2023 UTC (8 months, 1 week ago) by andvar
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

s/intrerrupt/interrupt/.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Mon May 21 04:35:56 2018 UTC (5 years, 10 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.2.2.1: +97 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync with HEAD

Revision 1.2.2.1, Sun May 20 12:08:46 2018 UTC (5 years, 10 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.2: +0 -97 lines
FILE REMOVED

file gpioirq.4 was added on branch pgoyette-compat on 2018-05-21 04:35:56 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Sun May 20 12:08:46 2018 UTC (5 years, 10 months ago) by wiz
Branch: MAIN
CVS Tags: phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, 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, 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, netbsd-10-base, netbsd-10-0-RC1, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: pgoyette-compat, netbsd-10
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

End sentence with a dot.

Revision 1.1 / (download) - annotate - [select for diffs], Sat May 19 14:15:39 2018 UTC (5 years, 10 months ago) by thorpej
Branch: MAIN

Add an example "gpioirq" driver that demonstrates interrupts on GPIO
pins.  Will be enhanced in the future to support sending events to
user space on edge-triggered interrupt events.

Based on initial work by Brad Spencer.
PR kern/51676

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>