Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3249810ybd; Fri, 28 Jun 2019 05:31:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqwE6HSnq946tXGAaLseoaOMtXwHrXwNXfck8afGJ10tStwY9Eg/9lFoAzs29LJVxxH8jKRq X-Received: by 2002:a17:90a:b00b:: with SMTP id x11mr13038366pjq.120.1561725083848; Fri, 28 Jun 2019 05:31:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561725083; cv=none; d=google.com; s=arc-20160816; b=soMwi/04L3bq3emijUksv5o3dvpMIbDkuYryatggVptu32V7RW1jMFh/lEffA0EDSG GiFRbZOdoUCTWxmUQljTlWbD+f858foT6CqrXyL12MAfOi1UgEzNeXjFCF5Oy7HM5npv lycYFtwjmS44tA4r9A6rZuWerhWN+4t9n73Xk9Oi5PvSSP96pOf7xQxFrHMKafU/emae IHltT2LG7fRapJnPRwuAzvRZMmEP6dF8hUG52GSDl/Bopyl40BQem7qQ5WFaKSh5I+xd b9KMMk5wAZvtZnU+KCfaVU1i8YxbUj5X4pkAXP+PfVzQav1EcebKiJxmAtZ8H5b/nBwk 3nDw== 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=3U5YF3xQh+S36YR0v52vw6kYXLIHMHgDOgr+vXVq2+g=; b=fQHk4Pc/NCsXHg0SV/OCpJBtq/pS29m8QB+i2IurkfWaBX5G3v7aTr8hxrG7mvVw8E SfhqHyoVKnvqFk85nuALu98GxAG77AwvXwXNELA+cw54XUo0E+s1I2gi6Q+mw1RJCkJC FrBezx1KInfz8ndeJ3et1ht4+sjolX+Zs80O52hvYdzJ4FVQb9UNACl1ON02STSp1ill 0dWxLHXioe7PFRohjo3KK7AqxGLhl/fYHORWLNUQJNh0WSf2MaH++GrZNyqwHw3TXO62 B+Qg8OqrkHQ6az4cUH8pCQOK3V8r4hJ58ZyaKdtmCkAW76LZykcsywtjBWjrv27JSMm4 ZUng== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=dCsKIK9u; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m35si2182105pje.84.2019.06.28.05.31.06; Fri, 28 Jun 2019 05:31:23 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=dCsKIK9u; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727266AbfF1Maw (ORCPT + 99 others); Fri, 28 Jun 2019 08:30:52 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:39490 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727086AbfF1Mao (ORCPT ); Fri, 28 Jun 2019 08:30:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=3U5YF3xQh+S36YR0v52vw6kYXLIHMHgDOgr+vXVq2+g=; b=dCsKIK9u+Ckb2ZK3dWXuawb317 vhUfkryiDkUDvvVgbPlo1ljfy3QC+8DgdmwFJ01Mskjwvd8nbcEXI4s7FtJl3LC+cMZ4knFdyHEtr 9uJhwh6aWt+jZjIG1M07LKYuHjtA0h8tKG4DlZLDYSxw77iO8SKrl1W2UVb93Syde95hkO8X15ZyR Vws41hMk6idyjYqZEI11+LFHu1NC78F8b7Evst5mz20YZjriR2rhR5ZlSrNbnYobbDnsw9N2vVZU3 X5jwYMqx0LCMXOhGEeW09Ac1o0f+B1p+txh+WeEs79FQiTzp4cUC0l7SvSC+6SccXUHRqNHbm5D8L rJ+e71/w==; Received: from [186.213.242.156] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1hgq1W-00054q-0t; Fri, 28 Jun 2019 12:30:38 +0000 Received: from mchehab by bombadil.infradead.org with local (Exim 4.92) (envelope-from ) id 1hgq1S-0005U2-VA; Fri, 28 Jun 2019 09:30:34 -0300 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet , Linus Walleij , Bartosz Golaszewski , "Rafael J. Wysocki" , Len Brown , Harry Wei , Alex Shi , linux-gpio@vger.kernel.org, linux-acpi@vger.kernel.org Subject: [PATCH 39/39] docs: gpio: add sysfs interface to the admin-guide Date: Fri, 28 Jun 2019 09:30:32 -0300 Message-Id: <1ecff14ec37c0c434f003d93c4b86b1cd3dac834.1561724493.git.mchehab+samsung@kernel.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org While this is stated as obsoleted, the sysfs interface described there is still valid, and belongs to the admin-guide. Signed-off-by: Mauro Carvalho Chehab --- Documentation/ABI/obsolete/sysfs-gpio | 2 +- Documentation/{ => admin-guide}/gpio/index.rst | 2 +- Documentation/{ => admin-guide}/gpio/sysfs.rst | 0 Documentation/admin-guide/index.rst | 1 + Documentation/firmware-guide/acpi/enumeration.rst | 2 +- Documentation/translations/zh_CN/gpio.txt | 4 ++-- MAINTAINERS | 2 +- 7 files changed, 7 insertions(+), 6 deletions(-) rename Documentation/{ => admin-guide}/gpio/index.rst (78%) rename Documentation/{ => admin-guide}/gpio/sysfs.rst (100%) diff --git a/Documentation/ABI/obsolete/sysfs-gpio b/Documentation/ABI/obsolete/sysfs-gpio index 40d41ea1a3f5..e0d4e5e2dd90 100644 --- a/Documentation/ABI/obsolete/sysfs-gpio +++ b/Documentation/ABI/obsolete/sysfs-gpio @@ -11,7 +11,7 @@ Description: Kernel code may export it for complete or partial access. GPIOs are identified as they are inside the kernel, using integers in - the range 0..INT_MAX. See Documentation/gpio for more information. + the range 0..INT_MAX. See Documentation/admin-guide/gpio for more information. /sys/class/gpio /export ... asks the kernel to export a GPIO to userspace diff --git a/Documentation/gpio/index.rst b/Documentation/admin-guide/gpio/index.rst similarity index 78% rename from Documentation/gpio/index.rst rename to Documentation/admin-guide/gpio/index.rst index 09a4a553f434..a244ba4e87d5 100644 --- a/Documentation/gpio/index.rst +++ b/Documentation/admin-guide/gpio/index.rst @@ -1,4 +1,4 @@ -:orphan: +.. SPDX-License-Identifier: GPL-2.0 ==== gpio diff --git a/Documentation/gpio/sysfs.rst b/Documentation/admin-guide/gpio/sysfs.rst similarity index 100% rename from Documentation/gpio/sysfs.rst rename to Documentation/admin-guide/gpio/sysfs.rst diff --git a/Documentation/admin-guide/index.rst b/Documentation/admin-guide/index.rst index 2c20607e90cd..367097abec78 100644 --- a/Documentation/admin-guide/index.rst +++ b/Documentation/admin-guide/index.rst @@ -90,6 +90,7 @@ configure specific aspects of kernel behavior to your liking. cputopology device-mapper/index efi-stub + gpio/index highuid hw_random iostats diff --git a/Documentation/firmware-guide/acpi/enumeration.rst b/Documentation/firmware-guide/acpi/enumeration.rst index 1252617b520f..0a72b6321f5f 100644 --- a/Documentation/firmware-guide/acpi/enumeration.rst +++ b/Documentation/firmware-guide/acpi/enumeration.rst @@ -316,7 +316,7 @@ specifies the path to the controller. In order to use these GPIOs in Linux we need to translate them to the corresponding Linux GPIO descriptors. There is a standard GPIO API for that and is documented in -Documentation/gpio/. +Documentation/admin-guide/gpio/. In the above example we can get the corresponding two GPIO descriptors with a code like this:: diff --git a/Documentation/translations/zh_CN/gpio.txt b/Documentation/translations/zh_CN/gpio.txt index 4cb1ba8b8fed..a23ee14fc927 100644 --- a/Documentation/translations/zh_CN/gpio.txt +++ b/Documentation/translations/zh_CN/gpio.txt @@ -1,4 +1,4 @@ -Chinese translated version of Documentation/gpio +Chinese translated version of Documentation/admin-guide/gpio If you have any comment or update to the content, please contact the original document maintainer directly. However, if you have a problem @@ -10,7 +10,7 @@ Maintainer: Grant Likely Linus Walleij Chinese maintainer: Fu Wei --------------------------------------------------------------------- -Documentation/gpio 的中文翻译 +Documentation/admin-guide/gpio 的中文翻译 如果想评论或更新本文的内容,请直接联系原文档的维护者。如果你使用英文 交流有困难的话,也可以向中文版维护者求助。如果本翻译更新不及时或者翻 diff --git a/MAINTAINERS b/MAINTAINERS index cda68bbd9d1c..a49698b3becd 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -6812,7 +6812,7 @@ T: git git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git S: Maintained F: Documentation/devicetree/bindings/gpio/ F: Documentation/driver-api/gpio/ -F: Documentation/gpio/ +F: Documentation/admin-guide/gpio/ F: Documentation/ABI/testing/gpio-cdev F: Documentation/ABI/obsolete/sysfs-gpio F: drivers/gpio/ -- 2.21.0