Skip to content

Commit

Permalink
virtio-sound: Maintain sound device spec in separate directory
Browse files Browse the repository at this point in the history
Place device specification, its driver and device
conformance into its own directory to have self contained device
specification.

Fixes: #153

Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Parav Pandit <parav@nvidia.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
  • Loading branch information
paravmellanox authored and cohuck committed Jan 30, 2023
1 parent b1cf73e commit 6813e3c
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 32 deletions.
33 changes: 2 additions & 31 deletions conformance.tex
Original file line number Diff line number Diff line change
Expand Up @@ -146,20 +146,7 @@ \section{Conformance Targets}\label{sec:Conformance / Conformance Targets}
\input{device-types/fs/driver-conformance.tex}
\input{device-types/rpmb/driver-conformance.tex}
\input{device-types/iommu/driver-conformance.tex}

\conformance{\subsection}{Sound Driver Conformance}\label{sec:Conformance / Driver Conformance / Sound Driver Conformance}

A sound driver MUST conform to the following normative statements:

\begin{itemize}
\item \ref{drivernormative:Device Types / Sound Device / Device Initialization}
\item \ref{drivernormative:Device Types / Sound Device / Item Information Request}
\item \ref{drivernormative:Device Types / Sound Device / Device Operation / PCM Stream Parameters}
\item \ref{drivernormative:Device Types / Sound Device / Device Operation / PCM Output Stream}
\item \ref{drivernormative:Device Types / Sound Device / Device Operation / PCM Input Stream}
\item \ref{drivernormative:Device Types / Sound Device / Device Operation / Control Element Value}
\item \ref{drivernormative:Device Types / Sound Device / Device Operation / Control Element Metadata}
\end{itemize}
\input{device-types/sound/driver-conformance.tex}

\conformance{\subsection}{Memory Driver Conformance}\label{sec:Conformance / Driver Conformance / Memory Driver Conformance}

Expand Down Expand Up @@ -289,23 +276,7 @@ \section{Conformance Targets}\label{sec:Conformance / Conformance Targets}
\input{device-types/fs/device-conformance.tex}
\input{device-types/rpmb/device-conformance.tex}
\input{device-types/iommu/device-conformance.tex}

\conformance{\subsection}{Sound Device Conformance}\label{sec:Conformance / Device Conformance / Sound Device Conformance}

A sound device MUST conform to the following normative statements:

\begin{itemize}
\item \ref{devicenormative:Device Types / Sound Device / Device Operation / Jack Information}
\item \ref{devicenormative:Device Types / Sound Device / Device Operation / PCM Stream Information}
\item \ref{devicenormative:Device Types / Sound Device / Device Operation / PCM Stream Parameters}
\item \ref{devicenormative:Device Types / Sound Device / Device Operation / PCM Stream Release}
\item \ref{devicenormative:Device Types / Sound Device / Device Operation / PCM Output Stream}
\item \ref{devicenormative:Device Types / Sound Device / Device Operation / PCM Input Stream}
\item \ref{devicenormative:Device Types / Sound Device / Device Operation / Channel Map Information}
\item \ref{devicenormative:Device Types / Sound Device / Device Operation / Control Element Information}
\item \ref{devicenormative:Device Types / Sound Device / Device Operation / Control Element Metadata}
\item \ref{devicenormative:Device Types / Sound Device / Device Operation / Control Element Notifications}
\end{itemize}
\input{device-types/sound/device-conformance.tex}

\conformance{\subsection}{Memory Device Conformance}\label{sec:Conformance / Device Conformance / Memory Device Conformance}

Expand Down
2 changes: 1 addition & 1 deletion content.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3016,7 +3016,7 @@ \chapter{Device Types}\label{sec:Device Types}
\input{device-types/fs/description.tex}
\input{device-types/rpmb/description.tex}
\input{device-types/iommu/description.tex}
\input{virtio-sound.tex}
\input{device-types/sound/description.tex}
\input{virtio-mem.tex}
\input{virtio-i2c.tex}
\input{virtio-scmi.tex}
Expand Down
File renamed without changes.
16 changes: 16 additions & 0 deletions device-types/sound/device-conformance.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
\conformance{\subsection}{Sound Device Conformance}\label{sec:Conformance / Device Conformance / Sound Device Conformance}

A sound device MUST conform to the following normative statements:

\begin{itemize}
\item \ref{devicenormative:Device Types / Sound Device / Device Operation / Jack Information}
\item \ref{devicenormative:Device Types / Sound Device / Device Operation / PCM Stream Information}
\item \ref{devicenormative:Device Types / Sound Device / Device Operation / PCM Stream Parameters}
\item \ref{devicenormative:Device Types / Sound Device / Device Operation / PCM Stream Release}
\item \ref{devicenormative:Device Types / Sound Device / Device Operation / PCM Output Stream}
\item \ref{devicenormative:Device Types / Sound Device / Device Operation / PCM Input Stream}
\item \ref{devicenormative:Device Types / Sound Device / Device Operation / Channel Map Information}
\item \ref{devicenormative:Device Types / Sound Device / Device Operation / Control Element Information}
\item \ref{devicenormative:Device Types / Sound Device / Device Operation / Control Element Metadata}
\item \ref{devicenormative:Device Types / Sound Device / Device Operation / Control Element Notifications}
\end{itemize}
13 changes: 13 additions & 0 deletions device-types/sound/driver-conformance.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
\conformance{\subsection}{Sound Driver Conformance}\label{sec:Conformance / Driver Conformance / Sound Driver Conformance}

A sound driver MUST conform to the following normative statements:

\begin{itemize}
\item \ref{drivernormative:Device Types / Sound Device / Device Initialization}
\item \ref{drivernormative:Device Types / Sound Device / Item Information Request}
\item \ref{drivernormative:Device Types / Sound Device / Device Operation / PCM Stream Parameters}
\item \ref{drivernormative:Device Types / Sound Device / Device Operation / PCM Output Stream}
\item \ref{drivernormative:Device Types / Sound Device / Device Operation / PCM Input Stream}
\item \ref{drivernormative:Device Types / Sound Device / Device Operation / Control Element Value}
\item \ref{drivernormative:Device Types / Sound Device / Device Operation / Control Element Metadata}
\end{itemize}

0 comments on commit 6813e3c

Please sign in to comment.