Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3784883yba; Tue, 23 Apr 2019 09:33:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqzhih4yVm49eHyOTrRITXqHLyTnyspH0p5QPaos13/Oka03ZYnTzrTrdkMmCHC+axgjKfSr X-Received: by 2002:a63:171a:: with SMTP id x26mr26197468pgl.438.1556037189489; Tue, 23 Apr 2019 09:33:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556037189; cv=none; d=google.com; s=arc-20160816; b=ZREQ1ADfKerVEvdLWsL6ICgLssJPJsuYPzinJRdg/M1TDC+GI4wV+FnHkQKHXiaiBy 5lptnFoQbZcn/RiHpEJ4HCApnDgLtfrAk5o1AbsOF0yKAAb0i1sALiCY0h1Qik+jeeyw b2JQvH6IjthlTJEt0DfulYg9WpOITXIpjLWC+dw3ukpWcZXIfnXhpj0AuondTDj4q/9q o6fj1gQ2wXQCZwDA9xWOu0Su0QxEaTvPuhzEsxmSmMIqOKLy+7bvYPrcqYxbmrY94SrL LmQwA2zNgoaISej/1t1nmEqlakkKDqWLohylYSDVgwV/oEDK4XEPuq+lJDEBWNMitODP eHig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Z9Aq19FQiDXcRtSj5P6rKh+DiG01WgKftvX0KyN8OgY=; b=xiVOuqElfo70imXvp2wtvICROsc0XSP5kCOj+OphsAE3LGk8a9sElgZd5gejUPcQ9q 03Jiss58BXQuPmjEoFsg67CUIgvpdJ81jPxi42nw6VnX7K7B2vpfL+57aPc8OtHw7cpx DQ2OZ4EvDQtbuLbyVkEk14Jy89NJk/+Xge38l+2k1K/LRGNHgdxR9UW4m6zxy2Rye79a 4TNJ8Adx0wiL50gsjENDX7HLMApxaYyPdVkCLyTNmFv7rEFmjlKjxSL/ITsvHSGsiZKh 21IzhcldxC95W2cZc9dpNfRB8wW1I6Z1sKlb8lB22PKTcsu8cLow2oK+q9CIRi/BhI8q RLgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KjVTVMA+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b23si16353596pls.430.2019.04.23.09.32.52; Tue, 23 Apr 2019 09:33:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KjVTVMA+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728850AbfDWQbY (ORCPT + 99 others); Tue, 23 Apr 2019 12:31:24 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:42947 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728672AbfDWQbW (ORCPT ); Tue, 23 Apr 2019 12:31:22 -0400 Received: by mail-pl1-f196.google.com with SMTP id x15so3432851pln.9; Tue, 23 Apr 2019 09:31:21 -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=Z9Aq19FQiDXcRtSj5P6rKh+DiG01WgKftvX0KyN8OgY=; b=KjVTVMA+ZvC2wQYsH7B1kORjqpOj8MQikSPGGXHSBFG/okNfaWiMyuU9YIg98yWILA 8R4O/2L2Gt+JcKrzE2jWnbGVcug3aluX30wsmsCcH15zT+vQWzjmyXJ2jJeFafRjpYH7 yRXxamuov3ycUcTj33vaDLP67UpgQ+nNYaPtLMQh13bouAGML4C/h0uQiPfuRn4fnkK6 ewm15Iz/6JGlgwJK9tet8bJqN6l46IMeEiGmpLhCka7JksEWKgsA8xU0VpJ06TOmTIVD weBpF02JU5hzU1Op+SEdOZUefBb1AjTUcDkXN7M+FyaXjuzsXm4zJrpNF3EMTS92fGDq Axrg== 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=Z9Aq19FQiDXcRtSj5P6rKh+DiG01WgKftvX0KyN8OgY=; b=qOMzLSwJP/RRKDAa6Q2ba7nXmzzwFtmCzP3fg+AEyBZPSV8+IYmTCSvbP1QwMOSTEZ 5LO7RfKqipThfu9ShSALIlgQ6ksArWRb8nV7mzpsIyotE9KwsGQZkADZvDcs+m874w9y 0s1QhFDWlRFaiA/jFv/NH/ziUia5futCWXUpsHjQUGp77WiJX5UQke4uD+j8iYic5xWw NnDvVdQSI1FHo9KrxWFKO8iEBXCHrrNdPy+CqHP0KL1GxKPXl30L+S4Q50hkZ+Ryv7kA gfz/RlpR4ZhIBfd6AbHZ7sklTwCGccZ5g6HkHQpiOKWPgRtxnx/8plgAIZA0YaGLbvri 0mYw== X-Gm-Message-State: APjAAAXwYjACBfzvel5cGZWm0IegVNRZUu7oLQgN4Aarkf6iUFdIewKm XAOSvbL2zCu3IWoTgNF/wwo= X-Received: by 2002:a17:902:b10c:: with SMTP id q12mr27686211plr.254.1556037081532; Tue, 23 Apr 2019 09:31:21 -0700 (PDT) Received: from localhost.localdomain ([104.238.181.70]) by smtp.gmail.com with ESMTPSA id v1sm24364801pff.81.2019.04.23.09.31.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Apr 2019 09:31:20 -0700 (PDT) From: Changbin Du To: Jonathan Corbet Cc: Bjorn Helgaas , rjw@rjwysocki.net, linux-pci@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, mingo@redhat.com, x86@kernel.org, fenghua.yu@intel.com, linuxppc-dev@lists.ozlabs.org, linux-acpi@vger.kernel.org, linux-gpio@vger.kernel.org, mchehab+samsung@kernel.org, Changbin Du Subject: [PATCH v4 07/63] Documentation: ACPI: move DSD-properties-rules.txt to firmware-guide/acpi and covert to reST Date: Wed, 24 Apr 2019 00:28:36 +0800 Message-Id: <20190423162932.21428-8-changbin.du@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190423162932.21428-1-changbin.du@gmail.com> References: <20190423162932.21428-1-changbin.du@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Changbin Du --- .../acpi/DSD-properties-rules.rst} | 21 +++++++++++-------- Documentation/firmware-guide/acpi/index.rst | 1 + 2 files changed, 13 insertions(+), 9 deletions(-) rename Documentation/{acpi/DSD-properties-rules.txt => firmware-guide/acpi/DSD-properties-rules.rst} (88%) diff --git a/Documentation/acpi/DSD-properties-rules.txt b/Documentation/firmware-guide/acpi/DSD-properties-rules.rst similarity index 88% rename from Documentation/acpi/DSD-properties-rules.txt rename to Documentation/firmware-guide/acpi/DSD-properties-rules.rst index 3e4862bdad98..4306f29b6103 100644 --- a/Documentation/acpi/DSD-properties-rules.txt +++ b/Documentation/firmware-guide/acpi/DSD-properties-rules.rst @@ -1,8 +1,11 @@ +.. SPDX-License-Identifier: GPL-2.0 + +================================== _DSD Device Properties Usage Rules ----------------------------------- +================================== Properties, Property Sets and Property Subsets ----------------------------------------------- +============================================== The _DSD (Device Specific Data) configuration object, introduced in ACPI 5.1, allows any type of device configuration data to be provided via the ACPI @@ -18,7 +21,7 @@ specific type) associated with it. In the ACPI _DSD context it is an element of the sub-package following the generic Device Properties UUID in the _DSD return package as specified in the -Device Properties UUID definition document [1]. +Device Properties UUID definition document [1]_. It also may be regarded as the definition of a key and the associated data type that can be returned by _DSD in the Device Properties UUID sub-package for a @@ -33,14 +36,14 @@ Property subsets are nested collections of properties. Each of them is associated with an additional key (name) allowing the subset to be referred to as a whole (and to be treated as a separate entity). The canonical representation of property subsets is via the mechanism specified in the -Hierarchical Properties Extension UUID definition document [2]. +Hierarchical Properties Extension UUID definition document [2]_. Property sets may be hierarchical. That is, a property set may contain multiple property subsets that each may contain property subsets of its own and so on. General Validity Rule for Property Sets ---------------------------------------- +======================================= Valid property sets must follow the guidance given by the Device Properties UUID definition document [1]. @@ -73,7 +76,7 @@ suitable for the ACPI environment and consequently they cannot belong to a valid property set. Property Sets and Device Tree Bindings --------------------------------------- +====================================== It often is useful to make _DSD return property sets that follow Device Tree bindings. @@ -91,7 +94,7 @@ expected to automatically work in the ACPI environment regardless of their contents. References ----------- +========== -[1] http://www.uefi.org/sites/default/files/resources/_DSD-device-properties-UUID.pdf -[2] http://www.uefi.org/sites/default/files/resources/_DSD-hierarchical-data-extension-UUID-v1.1.pdf +.. [1] http://www.uefi.org/sites/default/files/resources/_DSD-device-properties-UUID.pdf +.. [2] http://www.uefi.org/sites/default/files/resources/_DSD-hierarchical-data-extension-UUID-v1.1.pdf diff --git a/Documentation/firmware-guide/acpi/index.rst b/Documentation/firmware-guide/acpi/index.rst index 868bd25a3398..0e05b843521c 100644 --- a/Documentation/firmware-guide/acpi/index.rst +++ b/Documentation/firmware-guide/acpi/index.rst @@ -10,3 +10,4 @@ ACPI Support namespace enumeration osi + DSD-properties-rules -- 2.20.1