Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1991580yba; Thu, 25 Apr 2019 08:56:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqwxgt36+KK2J9ck/bTGjUXv/9TiEWTIJIUhLGFA491YLS/g1FuXWE+jGVvWyshpNgwkGATE X-Received: by 2002:a17:902:2702:: with SMTP id c2mr40057515plb.37.1556207765734; Thu, 25 Apr 2019 08:56:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556207765; cv=none; d=google.com; s=arc-20160816; b=oiBKVM646RQtfU2VBxIYnmeMU7NSgWcoS9A07NN549n92sNsPSYVLu7ruKIiax3Tsp 7kfcOdS+lZUhyfcbvTrNo+bGSb7dcbjbspyJbd7J5wulT2Cs6qGra6bI9Klz/XWUGClj FCsazKxMjbzFh1w099TT34mAYQBzQeLpnZDDvqzLITQ9PpVmZoPkmyCNM2P6ZiZZyOYP Ji1VAIocPt3qRUnJoepKLhVnCWVi5ojVopn410Td9CfZOqUyfzyMVHma+yrrkwqfg6GT 9yS25ckXE5FqZuERr9c3PRxCyoH4bHW6yo1V656m8RILqF8Md6VyZmw6VwyJ+HvxzmL0 ZvcQ== 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=TaCx91wAcR4ikyNBIoUaFJho1ovTMWA1CQykmERd8P8=; b=tKufQgGYC3qkwnN7R59Q7GOY7SterA3EdtbQQ9DPz3+xxipuwSZWeaOwYG9iGAYalt 39cAGQrU89pMwSR0oY6zdH4pq6GFYrXcLEYQri1lceOu5us5DeBPmBZyBNYYi9DYxc0+ q7dJDD4qTbMIy6BYWY1Nv06XdGQrpN3MpoEiuZOT4HdqZAnxpmjTBtsNufiMfYFd/iCv 98T1fhplVebpq2pluLwGh6QaexNB25txogsjCG2BTfJUQoJl5mP8/B/pin5B50+lHuT/ WX7bYc15d0G/fSOMiwN7G/GlZ3bsCKhpk8qPXVns0+mbszqQn2jtHrRfql+4quh7CZg5 tqRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Hdk3XlQR; 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 c14si23671524pfn.40.2019.04.25.08.55.50; Thu, 25 Apr 2019 08:56:05 -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=Hdk3XlQR; 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 S2387561AbfDYPcR (ORCPT + 99 others); Thu, 25 Apr 2019 11:32:17 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:40055 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387427AbfDYPcP (ORCPT ); Thu, 25 Apr 2019 11:32:15 -0400 Received: by mail-pl1-f196.google.com with SMTP id b3so11284089plr.7; Thu, 25 Apr 2019 08:32:15 -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=TaCx91wAcR4ikyNBIoUaFJho1ovTMWA1CQykmERd8P8=; b=Hdk3XlQRCv7evnLRIrBqNI6dKOKM/IAtVLukmn4hOfboTFMosGg/1qHBBboME7fsSV mgsDQX6YOUt0C+CyWn01xtR/CLYxDQkE815BTUxlY5LDT8bmCi0rWztMl8rKEvgLS0L7 HfT7yxZLK9PY8kxOLlVDTOfzpBIKYvNh1cJnM+uNyYnW854EQcaSuS443iIyiZ2U6Dnp thbuNE2QdB4pFr0CyyZGzY4sv0dTTgCYS/Wyqc4BiX7X7kTPIkrEwFd3FSquz/okgL4k An3nopJ2X09KuovKvKoLAPsyju3Z1PmebkjS/ctlAdK/v94yun4Je6bVUtP7qhTfsBYG BiJg== 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=TaCx91wAcR4ikyNBIoUaFJho1ovTMWA1CQykmERd8P8=; b=NVC1zDzdp24D/y+XbuwLMstc38LhKTBTAkg7wN9hiQW3WtbrUcwtKjlJ0D9GmtG/Go 1t4UGEmdPVuW4ekesGf+yx7PzIhwMoIX8PfkXz1KheezZGE1y8kNW/EFDQ9MVWPX/tRi f2oCj9v7SrIQbvnVFLsHF7HJ4Y41COWLaVn2gGWtBlx9/gLe8rxl/PaXVLaSsn4yuBj8 T4X3kABzI5FcJKKV0ju6pBx2FUvzMMB/8yw0NacTD9f8fOYhJuLDSNJsa02hzypCdB1d WugxvgDjt0Zpbj9PkiIztBHZZWHVU7Msl12rDWMTs2OxYG2Kwg2VSWGppq9sWi9dVS5w zkMg== X-Gm-Message-State: APjAAAUHYnesxlrycXLZzKg1LJjJmZTgXoWFD1cU7sbio2eNTD3xNHq3 SHEgHtC5Zjr/H0XMep/MEh0= X-Received: by 2002:a17:902:6843:: with SMTP id f3mr14305386pln.218.1556206334772; Thu, 25 Apr 2019 08:32:14 -0700 (PDT) Received: from localhost.localdomain ([104.238.181.70]) by smtp.gmail.com with ESMTPSA id c14sm2643363pgj.94.2019.04.25.08.32.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Apr 2019 08:32:14 -0700 (PDT) From: Changbin Du To: rjw@rjwysocki.net, Jonathan Corbet Cc: Bjorn Helgaas , linux-doc@vger.kernel.org, linux-kernel@vger.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 v6 07/24] Documentation: ACPI: move DSD-properties-rules.txt to firmware-guide/acpi and covert to reST Date: Thu, 25 Apr 2019 23:31:00 +0800 Message-Id: <20190425153117.16057-8-changbin.du@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190425153117.16057-1-changbin.du@gmail.com> References: <20190425153117.16057-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 Reviewed-by: Mauro Carvalho Chehab --- .../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