From af3aa74f7e51d82dfb01c854ad7c880d64c7e6dd Mon Sep 17 00:00:00 2001 From: dlg Date: Wed, 19 Apr 2023 00:07:21 +0000 Subject: [PATCH] have a go at a manpage for dwmshc. i have a headache, so this isn't very good. --- share/man/man4/Makefile | 5 ++-- share/man/man4/dwmshc.4 | 56 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+), 2 deletions(-) create mode 100644 share/man/man4/dwmshc.4 diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile index dbbad2b1e39..eee25122b33 100644 --- a/share/man/man4/Makefile +++ b/share/man/man4/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.837 2023/04/02 01:40:52 dlg Exp $ +# $OpenBSD: Makefile,v 1.838 2023/04/19 00:07:21 dlg Exp $ MAN= aac.4 abcrtc.4 abl.4 ac97.4 acphy.4 acrtc.4 \ acpi.4 acpiac.4 acpials.4 acpiasus.4 acpibat.4 \ @@ -29,7 +29,8 @@ MAN= aac.4 abcrtc.4 abl.4 ac97.4 acphy.4 acrtc.4 \ com.4 cue.4 cwfg.4 cy.4 cz.4 \ dapmic.4 \ dc.4 dcphy.4 ddb.4 de.4 diskmap.4 divert.4 drm.4 dsxrtc.4 dt.4 \ - dwctwo.4 dwdog.4 dwge.4 dwgpio.4 dwiic.4 dwmmc.4 dwpcie.4 dwxe.4 \ + dwctwo.4 dwdog.4 dwge.4 dwgpio.4 dwiic.4 dwmmc.4 dwmshc.4 dwpcie.4 \ + dwxe.4 \ eap.4 ec.4 eephy.4 ef.4 eg.4 ehci.4 eisa.4 el.4 em.4 emc.4 gcu.4 \ emu.4 enc.4 endrun.4 envy.4 eoip.4 ep.4 epic.4 esa.4 escodec.4 \ eso.4 ess.4 et.4 etherip.4 etphy.4 ex.4 exphy.4 exrtc.4 \ diff --git a/share/man/man4/dwmshc.4 b/share/man/man4/dwmshc.4 new file mode 100644 index 00000000000..04c099d65a3 --- /dev/null +++ b/share/man/man4/dwmshc.4 @@ -0,0 +1,56 @@ +.\" $OpenBSD: dwmshc.4,v 1.1 2023/04/19 00:07:21 dlg Exp $ +.\" +.\" Copyright (c) 2023 David Gwynne +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.Dd $Mdocdate: April 19 2023 $ +.Dt DWMSHC 4 +.Os +.Sh NAME +.Nm dwmshc +.Nd Synopsys DesignWare Mobile Storage Host Controller +.Sh SYNOPSIS +.Cd "dwmshc* at fdt?" +.Cd "sdmmc* at dwmshc?" +.Sh DESCRIPTION +The +.Nm +driver provides support for the Synopsys DesignWare Mobile Storage +Host Controller core. +This core is used on the Rockchip RK3566 and RK3568 +.\" and RK3588 +SoCs as the eMMC controller. +.Pp +The Synopsys DesignWare Mobile Storage Host Controller core implements +the SD Host Controller Standard Simplified Specification, but +requires non-standard support for high clock rates. +.\" The +.\" .Nm +.\" driver is a wrapper around the +.\" .Xr sdhc 4 +.\" driver. +.Pp +The +.Xr sdmmc 4 +subsystem performs SD/MMC transactions to communicate with the +MMC/SD/SDIO devices connected to the controller. +.Sh SEE ALSO +.Xr intro 4 , +.Xr sdhc 4 , +.Xr sdmmc 4 +.Sh HISTORY +The +.Nm +driver first appeared in +.Ox 7.4 . -- 2.20.1