From patchwork Thu Jun 17 15:55:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ioana Ciornei X-Patchwork-Id: 12328261 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HK_RANDOM_FROM,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1A420C2B9F4 for ; Thu, 17 Jun 2021 15:56:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EC51A613F3 for ; Thu, 17 Jun 2021 15:56:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233538AbhFQP6V (ORCPT ); Thu, 17 Jun 2021 11:58:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233526AbhFQP6T (ORCPT ); Thu, 17 Jun 2021 11:58:19 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E01D3C061574 for ; Thu, 17 Jun 2021 08:56:09 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id z12so4751642edc.1 for ; Thu, 17 Jun 2021 08:56:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=F3bb/y20kvOIvEReavUtM+18IobnvDpkflfokuL0Za8=; b=I+kz8Ur/v0J4O87esyLqUmNX1VvESaxn8ykuJxJaPgb9lTDKCJi3vVnVgcOQFwJ1mO ppXO8Pz5mXKpOBT01hdk1TKhHxtuM/ugDnYQe/ZDaEn9YDzzzHs1vHNaczRysOBHSGFi y/FsrFfzfCK36w1Jce+oZEm6u/JPTJKPOZhXdfsEkjz1FpgIkrYpQYXU1OsZMdpiLgig yXJm3TY6PyF2pBYOXQHeXg+VNlRKDq2dZVpzSKm2biEtZT9LpU6d0ag26475KKAHaQU9 oA91vEjPvboSKd16WQ6X1WAaxR0OiQ3ieaz2/+jcVXH48DFkrYreS/9maPuVtR4vAHMt M3Xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=F3bb/y20kvOIvEReavUtM+18IobnvDpkflfokuL0Za8=; b=AB5SZqaPdbWO3HndBXjg/FSEOmzHX32NpaiNyQk0oLYglwR3CN4CV2Djb6KTDNGUb7 SGlOco3r8KaPDFCHI3HKRvdf3I4QDNxfeKhxjrG83EyBmKCpm08iXymtXc415M8/CwE8 XcDy9IvQ4NeD7SU1dhErcNAFlO83328eO0rXQ4bn7Io7j40jzC7rLKytVxbjaMc3MsqR 8sC7QSoTmGtB+JZVDl9RB5mA0NB31dZ+zgehqfGBqjXFHW1p+yBN45hpCum7U1muX3v9 qFCOQZKKc6NHj94e5GZoIQiN9B6rCe1hdfHdPoXHrPp9poKOvmbNNECTOonPPew16JQu CY3w== X-Gm-Message-State: AOAM5309lVKq0Ak7HHOs60IlFLeb3vNjwMKIfumtlAl/OAJzkXxF3ITZ nlSJ8zMI2hyZifXApV7NTvY= X-Google-Smtp-Source: ABdhPJxXUbzUNILe5nlvGL3p385Y+MhRWl8N1Bf0C8DzrenVmL0Btycswy2d7DehUkKZX23wYg4D8Q== X-Received: by 2002:a05:6402:12d8:: with SMTP id k24mr7523148edx.47.1623945368448; Thu, 17 Jun 2021 08:56:08 -0700 (PDT) Received: from yoga-910.localhost ([188.26.224.68]) by smtp.gmail.com with ESMTPSA id x13sm4097220ejj.21.2021.06.17.08.56.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Jun 2021 08:56:08 -0700 (PDT) From: Ioana Ciornei To: davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org Cc: rjw@rjwysocki.net, calvin.johnson@oss.nxp.com, grant.likely@arm.com, lenb@kernel.org, Ioana Ciornei , Stephen Rothwell Subject: [PATCH net-next 2/2] Documentation: ACPI: DSD: fix block code comments Date: Thu, 17 Jun 2021 18:55:52 +0300 Message-Id: <20210617155552.1776011-3-ciorneiioana@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210617155552.1776011-1-ciorneiioana@gmail.com> References: <20210617155552.1776011-1-ciorneiioana@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org From: Ioana Ciornei Use the '.. code-block:: none' to properly highlight the documented DSDT entries. This also fixes warnings in the documentation build process. Fixes: e71305acd81c ("Documentation: ACPI: DSD: Document MDIO PHY") Reported-by: Stephen Rothwell Signed-off-by: Ioana Ciornei --- Documentation/firmware-guide/acpi/dsd/phy.rst | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/Documentation/firmware-guide/acpi/dsd/phy.rst b/Documentation/firmware-guide/acpi/dsd/phy.rst index 7d01ae8b3cc6..0d49bad2ea9c 100644 --- a/Documentation/firmware-guide/acpi/dsd/phy.rst +++ b/Documentation/firmware-guide/acpi/dsd/phy.rst @@ -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 using the _ADR object as shown below and are registered on the MDIO bus. -:: +.. code-block:: none + Scope(\_SB.MDI0) { Device(PHY1) { @@ -60,7 +61,9 @@ component (PHYs on the MDIO bus). a) Silicon Component This node describes the MDIO controller, MDI0 --------------------------------------------- -:: + +.. code-block:: none + Scope(_SB) { Device(MDI0) { @@ -80,7 +83,9 @@ This node describes the MDIO controller, MDI0 b) Platform Component The PHY1 and PHY2 nodes represent the PHYs connected to MDIO bus MDI0 --------------------------------------------------------------------- -:: + +.. code-block:: none + Scope(\_SB.MDI0) { Device(PHY1) { @@ -98,7 +103,9 @@ DSDT entries representing MAC nodes Below are the MAC nodes where PHY nodes are referenced. phy-mode and phy-handle are used as explained earlier. ------------------------------------------------------ -:: + +.. code-block:: none + Scope(\_SB.MCE0.PR17) { Name (_DSD, Package () {