1.\" 2.\" This file and its contents are supplied under the terms of the 3.\" Common Development and Distribution License ("CDDL"), version 1.0. 4.\" You may only use this file in accordance with the terms of version 5.\" 1.0 of the CDDL. 6.\" 7.\" A full copy of the text of the CDDL should have accompanied this 8.\" source. A copy of the CDDL is also available via the Internet at 9.\" http://www.illumos.org/license/CDDL. 10.\" 11.\" 12.\" Copyright 2022 Oxide Computer Company 13.\" 14.Dd September 17, 2022 15.Dt KGPIO 4D 16.Os 17.Sh NAME 18.Nm kgpio 19.Nd Kernel GPIO and DPIO driver 20.Sh SYNOPSIS 21.Pa /dev/dpio/ 22.Sh DESCRIPTION 23The 24.Nm 25driver provides access to general purpose and dedicated purpose I/O 26.Pq GPIO and DPIO respectively 27devices that are built using the kernel's GPIO framework. 28See 29.Xr gpio 7 30for general background and an overview of the system's design. 31GPIO controllers that are registered with the framework are made 32available to the system through this driver. 33In addition, when a DPIO is created, this 34driver is responsible for providing that abstraction. 35.Pp 36GPIO controllers, GPIO attributes, and the manipulation of DPIOs can be 37explored through the 38.Xr gpioadm 8 39utility. 40.Pp 41In general, the specific programming interfaces and aspects of the 42.Nm 43driver are considered private to the system and 44.Sy Volatile , 45subject to change without notice. 46.Sh SEE ALSO 47.Xr gpio 7 , 48.Xr gpioadm 8 49