Index: share/man/man4/Makefile =================================================================== --- share/man/man4/Makefile +++ share/man/man4/Makefile @@ -72,6 +72,7 @@ aue.4 \ ${_aw_gpio.4} \ ${_aw_mmc.4} \ + ${_aw_rsb.4} \ ${_aw_rtc.4} \ axe.4 \ axge.4 \ @@ -596,6 +597,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 @@ -762,6 +764,8 @@ .if ${MACHINE_CPUARCH} == "arm" || ${MACHINE_CPUARCH} == "aarch64" _aw_gpio.4= aw_gpio.4 _aw_mmc.4= aw_mmc.4 +_aw_p2wi.4= aw_p2wi.4 +_aw_rsb.4= aw_rsb.4 _aw_rtc.4= aw_rtc.4 .endif Index: share/man/man4/aw_rsb.4 =================================================================== --- /dev/null +++ share/man/man4/aw_rsb.4 @@ -0,0 +1,68 @@ +.\"- +.\" Copyright (c) 2018 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 Jan 01, 2018 +.Dt AW_RSB 4 +.Os +.Sh NAME +.Nm aw_rsb +.Nd driver for the Reduced Serial Bus/Push-Pull Two Wire Interface +.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 similar to i2c developed and used by Allwinner. +.Sh HARDWARE +The current version of the +.Nm +driver supports SoCs with one of these compatible strings: +.Pp +.Bl -bullet -compact +.It +allwinner,sun6i-a31-p2wi +.It +allwinner,sun8i-a23-rsb +.El +.Sh SEE ALSO +.Xr fdt 4 , +.Xr iicbus 4 +.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 . +This manual page was written by +.An Emmanuel Vadot Aq Mt manu@freebsd.org .