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