Index: share/man/man4/Makefile =================================================================== --- share/man/man4/Makefile +++ share/man/man4/Makefile @@ -70,6 +70,7 @@ audit.4 \ auditpipe.4 \ aue.4 \ + aw_rsb.4 axe.4 \ axge.4 \ bce.4 \ @@ -593,6 +594,7 @@ MLINKS+=ath_pci.4 if_ath_pci.4 MLINKS+=an.4 if_an.4 MLINKS+=aue.4 if_aue.4 +MLINKS+=aw_rsb.4 aw_p2wi.4 MLINKS+=axe.4 if_axe.4 MLINKS+=bce.4 if_bce.4 MLINKS+=bfe.4 if_bfe.4 Index: share/man/man4/aw_rsb.4 =================================================================== --- /dev/null +++ share/man/man4/aw_rsb.4 @@ -0,0 +1,70 @@ +.\"- +.\" Copyright (c) 2017 Emmanuel Vadot +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" +.\" $FreeBSD$ +.\" +.Dd Dec 25, 2017 +.Dt AW_RSB 4 +.Os +.Sh NAME +.Nm aw_rsb +.Nd driver for the Reduced Serial Bus/Push-Pull Two Wire Interface present +on some Allwinner SoCs. +.Sh SYNOPSIS +.Cd "device rsb" +.Cd "device p2wi" +.Sh DESCRIPTION +The +.Nm +device driver provides support for either the RSB or P2WI interface present +on Allwinner SoCs. RSB/P2WI is an interface close to i2c developped and used +by Allwinner. +.Sh HARDWARE +The current version of the +.Nm +driver supports SoCs with one of the following compatible strings : +.Pp +.Bl -bullet -compact +.It +allwinner,sun6i-a31-p2wi +.It +allwinner,sun8i-a23-rsb +.Sh SEE ALSO +.Xr fdt 4, +.Xr iicbus 4, +.Xr mmc 4 +.Re +.Sh HISTORY +The +.Nm +device driver first appeared in +.Fx 11.0 . +.Sh AUTHORS +The +.Nm +device driver was written by +.An Jared McNeill Aq Mt jmcneill@invisible.ca . +Later work and this manual page was done by +.An Emmanuel Vadot Aq Mt manu@freebsd.org .