Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp3241830ybd; Fri, 28 Jun 2019 05:23:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqzbXHxwIeSANIY0+GHu3+LucSVi9g/TOSR3mJW0XUUhrAFpPqYpnGc0ibeCPRcdEH2zUmqh X-Received: by 2002:a17:90a:206a:: with SMTP id n97mr12977832pjc.10.1561724590077; Fri, 28 Jun 2019 05:23:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561724590; cv=none; d=google.com; s=arc-20160816; b=f2APk1jEwU5GjmsUs67HV3+BzSscFUtBa6J2X/6x0wAxiOhJYUuGoPzywhD9zUClEr PXpELDIvxGKYOyI2Ux4n/qFuY53qmYADcke1+Eu4GDqZUhJFbp3/FMD+RDquH7yDdVCy IYVNs+W7G4/tYYjPMndiEcarcpJD8Y4oG/vwaFBeikpC7GEb/T4FXo1eC/RJzo1NwPuN yNjpl9+dkiZBR7/qyTAmhpqat9mrokzH4VRGrgzXJenYOE9FW+uArJCVfe/lJZI1PZt+ v3Z5o2Z4yL2lafyqNWjW0oOsxtv7mxiHVP6S3Ltc5aFssibwOlVFqQESQp06QgimOUJu DXCA== 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=e/p5s9kPh9Okxti6tiCjNShPYmr+P3zu5C1O3NkUEuw=; b=hN7XKvYt0PqLbvhYvbWVhbZK2yYLmTnfNUn05pXKBzhvtkZX13fXAqVu4+VVRqi+va LCk3JCpzir2VUTh0Ehx43np+R3CCsW4XJsQcZeOukmqza2lXOpZMtxtDQfS3IhYTE1dz nFfXi00Q9Zd5mAnDqzBDtY1+lfKWtqikyRy31vnoMgyTjkSC2SaX+WiVh0hEeDccbdQc d9TAuitB2lMwZqnrJj1l6xndMHI2OD09CYz0nAevslNifJIXq8xqR/CjKwio62nfnrLd ifv0aQy2haKzDkXgO7pbtjX2TN0WM7Fq+OsEpoeaX+f7/lhbjCNgDktxYSxA1eiTCsik 1Hzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=XfHIw9jF; 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 g1si2047876plg.353.2019.06.28.05.22.53; Fri, 28 Jun 2019 05:23:10 -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=XfHIw9jF; 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 S1727127AbfF1MVC (ORCPT + 99 others); Fri, 28 Jun 2019 08:21:02 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:58900 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726846AbfF1MUs (ORCPT ); Fri, 28 Jun 2019 08:20:48 -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: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type: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=e/p5s9kPh9Okxti6tiCjNShPYmr+P3zu5C1O3NkUEuw=; b=XfHIw9jFUlDujWMe5N+7LKUGTH QDiwsd8VwPyDr0oKJBm0XOAIyktiMg02OFVgvGp4ydTV+Zq1lEJqlYcuOhjdB/qVCFGNpaCr8OqCK ++Xh4D7cxbf5zLT3uAj+lA9hL3JH785sVTEbbdTyhbAD8fUBfZDNhU/57RFGNalBqU4H1vs0ebVTj HRU+8X8CcRDG8lP3usczTVgwB26Ni5FdiZSqXgYJVNNasDTm4MfRJXLU7T5NrLBvjMtXBzaNtYDue LAGoO0kTaXbOTFwD7Uf7zOjXtoadh4ZLyl7erCduqPf4PoXQvbdy1j+lmfLW3BriWHgBZf95LLxaX ySmlOACA==; Received: from [186.213.242.156] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1hgprx-00009p-2Z; Fri, 28 Jun 2019 12:20:45 +0000 Received: from mchehab by bombadil.infradead.org with local (Exim 4.92) (envelope-from ) id 1hgpru-0005A6-70; Fri, 28 Jun 2019 09:20:42 -0300 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet , MyungJoo Ham , Chanwoo Choi , "Rafael J. Wysocki" , Len Brown , linux-acpi@vger.kernel.org Subject: [PATCH 41/43] docs: extcon: convert it to ReST and move to acpi dir Date: Fri, 28 Jun 2019 09:20:37 -0300 Message-Id: X-Mailer: git-send-email 2.21.0 In-Reply-To: References: 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 The intel-int3496.txt file is a documentation for an ACPI driver. There's no reason to keep it on a separate directory. So, instead of keeping it on some random location, move it to a sub-directory inside the ACPI documentation dir, renaming it to .rst. Signed-off-by: Mauro Carvalho Chehab --- .../acpi/extcon-intel-int3496.rst} | 14 ++++++++++---- Documentation/firmware-guide/acpi/index.rst | 1 + MAINTAINERS | 6 +++--- 3 files changed, 14 insertions(+), 7 deletions(-) rename Documentation/{extcon/intel-int3496.txt => firmware-guide/acpi/extcon-intel-int3496.rst} (66%) diff --git a/Documentation/extcon/intel-int3496.txt b/Documentation/firmware-guide/acpi/extcon-intel-int3496.rst similarity index 66% rename from Documentation/extcon/intel-int3496.txt rename to Documentation/firmware-guide/acpi/extcon-intel-int3496.rst index 8155dbc7fad3..5137ca834b54 100644 --- a/Documentation/extcon/intel-int3496.txt +++ b/Documentation/firmware-guide/acpi/extcon-intel-int3496.rst @@ -1,5 +1,6 @@ +===================================================== Intel INT3496 ACPI device extcon driver documentation ------------------------------------------------------ +===================================================== The Intel INT3496 ACPI device extcon driver is a driver for ACPI devices with an acpi-id of INT3496, such as found for example on @@ -13,15 +14,20 @@ between an USB host and an USB peripheral controller. The ACPI devices exposes this functionality by returning an array with up to 3 gpio descriptors from its ACPI _CRS (Current Resource Settings) call: -Index 0: The input gpio for the id-pin, this is always present and valid -Index 1: The output gpio for enabling Vbus output from the device to the otg +======= ===================================================================== +Index 0 The input gpio for the id-pin, this is always present and valid +Index 1 The output gpio for enabling Vbus output from the device to the otg port, write 1 to enable the Vbus output (this gpio descriptor may be absent or invalid) -Index 2: The output gpio for muxing of the data pins between the USB host and +Index 2 The output gpio for muxing of the data pins between the USB host and the USB peripheral controller, write 1 to mux to the peripheral controller +======= ===================================================================== There is a mapping between indices and GPIO connection IDs as follows + + ======= ======= id index 0 vbus index 1 mux index 2 + ======= ======= diff --git a/Documentation/firmware-guide/acpi/index.rst b/Documentation/firmware-guide/acpi/index.rst index ae609eec4679..90c90d42d9ad 100644 --- a/Documentation/firmware-guide/acpi/index.rst +++ b/Documentation/firmware-guide/acpi/index.rst @@ -24,3 +24,4 @@ ACPI Support acpi-lid lpit video_extension + extcon-intel-int3496 diff --git a/MAINTAINERS b/MAINTAINERS index fd6fab0dec77..2cf8abf6d48e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -321,7 +321,7 @@ F: drivers/pnp/pnpacpi/ F: include/linux/acpi.h F: include/linux/fwnode.h F: include/acpi/ -F: Documentation/acpi/ +F: Documentation/firmware-guide/acpi/ F: Documentation/ABI/testing/sysfs-bus-acpi F: Documentation/ABI/testing/configfs-acpi F: drivers/pci/*acpi* @@ -4896,7 +4896,7 @@ S: Maintained F: Documentation/ F: scripts/kernel-doc X: Documentation/ABI/ -X: Documentation/acpi/ +X: Documentation/firmware-guide/acpi/ X: Documentation/devicetree/ X: Documentation/i2c/ X: Documentation/media/ @@ -6073,7 +6073,7 @@ S: Maintained F: drivers/extcon/ F: include/linux/extcon/ F: include/linux/extcon.h -F: Documentation/extcon/ +F: Documentation/firmware-guide/acpi/extcon-intel-int3496.rst F: Documentation/devicetree/bindings/extcon/ EXYNOS DP DRIVER -- 2.21.0