Commit 5a336f97 authored by Ioana Ciornei's avatar Ioana Ciornei Committed by David S. Miller

Documentation: ACPI: DSD: fix block code comments

Use the '.. code-block:: none' to properly highlight the documented DSDT
entries. This also fixes warnings in the documentation build process.

Fixes: e71305ac ("Documentation: ACPI: DSD: Document MDIO PHY")
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarIoana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 79ab2b37
...@@ -27,7 +27,8 @@ network interfaces that have PHYs connected to MAC via MDIO bus. ...@@ -27,7 +27,8 @@ network interfaces that have PHYs connected to MAC via MDIO bus.
During the MDIO bus driver initialization, PHYs on this bus are probed During the MDIO bus driver initialization, PHYs on this bus are probed
using the _ADR object as shown below and are registered on the MDIO bus. using the _ADR object as shown below and are registered on the MDIO bus.
:: .. code-block:: none
Scope(\_SB.MDI0) Scope(\_SB.MDI0)
{ {
Device(PHY1) { Device(PHY1) {
...@@ -60,7 +61,9 @@ component (PHYs on the MDIO bus). ...@@ -60,7 +61,9 @@ component (PHYs on the MDIO bus).
a) Silicon Component a) Silicon Component
This node describes the MDIO controller, MDI0 This node describes the MDIO controller, MDI0
--------------------------------------------- ---------------------------------------------
::
.. code-block:: none
Scope(_SB) Scope(_SB)
{ {
Device(MDI0) { Device(MDI0) {
...@@ -80,7 +83,9 @@ This node describes the MDIO controller, MDI0 ...@@ -80,7 +83,9 @@ This node describes the MDIO controller, MDI0
b) Platform Component b) Platform Component
The PHY1 and PHY2 nodes represent the PHYs connected to MDIO bus MDI0 The PHY1 and PHY2 nodes represent the PHYs connected to MDIO bus MDI0
--------------------------------------------------------------------- ---------------------------------------------------------------------
::
.. code-block:: none
Scope(\_SB.MDI0) Scope(\_SB.MDI0)
{ {
Device(PHY1) { Device(PHY1) {
...@@ -98,7 +103,9 @@ DSDT entries representing MAC nodes ...@@ -98,7 +103,9 @@ DSDT entries representing MAC nodes
Below are the MAC nodes where PHY nodes are referenced. Below are the MAC nodes where PHY nodes are referenced.
phy-mode and phy-handle are used as explained earlier. phy-mode and phy-handle are used as explained earlier.
------------------------------------------------------ ------------------------------------------------------
::
.. code-block:: none
Scope(\_SB.MCE0.PR17) Scope(\_SB.MCE0.PR17)
{ {
Name (_DSD, Package () { Name (_DSD, Package () {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment