From patchwork Wed Feb 7 13:18:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aishwarya Pant X-Patchwork-Id: 10205173 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4D7316020F for ; Wed, 7 Feb 2018 13:18:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2F0E428F1C for ; Wed, 7 Feb 2018 13:18:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 22D6D28F27; Wed, 7 Feb 2018 13:18:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B594628F1C for ; Wed, 7 Feb 2018 13:18:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754049AbeBGNS0 (ORCPT ); Wed, 7 Feb 2018 08:18:26 -0500 Received: from mail-it0-f66.google.com ([209.85.214.66]:39636 "EHLO mail-it0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753931AbeBGNSY (ORCPT ); Wed, 7 Feb 2018 08:18:24 -0500 Received: by mail-it0-f66.google.com with SMTP id c80so2189603itb.4; Wed, 07 Feb 2018 05:18:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Zq7vQBszJtft0Pv1q7Tk+0UdZoM+J0otqiP27P1D9co=; b=b7D6NGmN5Y38055tQ7dAdvr2ozNOARnZkNY0/askeCuGhXLkJ7nOdB+IQpM3X36diq 26IH37L7zUuNaFq3td46WoEtJg2iyhWn6QdqMRLhWBEFJl10lyxAXksRyz1xCcNXy+Z4 gT773K6f3b5W9xOr40VvgOBEKfwQjRHtxCqazo+AIJfDlNxsJLI9MtkeK/FiOEGnsvJp ruHW6cPvV/A+Ev0xoiwIX+RgQ2IwzINCqbzRJ7KKIPerSnl9sMK582drTjKiFRxuuBZ7 o7ZbkLpQUy5dPydfLXs3yPQ9dGdBf/aGOqaRL1XW9KF7prhSba+Uq9W0B0Nwp7hiPtZ2 fl0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Zq7vQBszJtft0Pv1q7Tk+0UdZoM+J0otqiP27P1D9co=; b=ZYxisi5O1ahVyOElTXgBtvi7GkYECfc5olRBSqv73f89k+rr5PA+4mHYPHlKg/qtIv 2nB1BeuiWNxc5KCEy81iow+PfgqOureQ6LVAwhzibWf8MIjUgAC6rgHCDq/50AuAtyqd L8tFzRxsUCAzv7qaZ9fkZKsdnhYbRhn53uXVsRmeWZ5/vlGObxbwdjtxqxduq+8bRlZJ o4PJr9vG6Rjv8Ngb9InCazKipy+0E8ZdGzkdI10lyYLIeTUdOBUlPSjDm8vcO8S2+pcq huzHJ91r3H335jcVhq1TetTesvVjsxKMO9t7d/RyORcaryhJVK2YRm33R7NX2X8zQzgm bFqw== X-Gm-Message-State: APf1xPBS1uOYog8qfIp2mrTb/vnUZmKGQsOhoqJp9Kr0iaLdrAb6udBa +NPKjj9XlyrkE9ue70eE8ek= X-Google-Smtp-Source: AH8x227uyxeSdcfeTjA0bq/0cmF1Xxvit+YgAnBCpbDrJJFR2FPYp/zQONbZtiGihmazJ5iZfZxt4w== X-Received: by 10.36.66.143 with SMTP id i137mr8049706itb.30.1518009503917; Wed, 07 Feb 2018 05:18:23 -0800 (PST) Received: from mordor.localdomain ([106.216.161.135]) by smtp.gmail.com with ESMTPSA id n89sm1838461ioe.46.2018.02.07.05.18.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 07 Feb 2018 05:18:23 -0800 (PST) Date: Wed, 7 Feb 2018 18:48:17 +0530 From: Aishwarya Pant To: "Rafael J. Wysocki" , Len Brown , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, Jonathan Corbet , Greg KH Cc: Julia Lawall Subject: [PATCH v1 2/2] acpi/dock: document sysfs interface Message-ID: <9dff9dee68daf82305de32c45604757eca93afaf.1518009225.git.aishpant@gmail.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Description has been collected from git commit history and reading through code. Signed-off-by: Aishwarya Pant --- .../ABI/testing/sysfs-devices-platform-dock | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-devices-platform-dock diff --git a/Documentation/ABI/testing/sysfs-devices-platform-dock b/Documentation/ABI/testing/sysfs-devices-platform-dock new file mode 100644 index 000000000000..0bb0d42e9126 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-devices-platform-dock @@ -0,0 +1,38 @@ +sysfs interface for ACPI dock station driver +-------------------------------------------- + +What: /sys/devices/platform/dock.N/docked +What: /sys/devices/platform/dock.N/undock +Date: Dec, 2006 +KernelVersion: 2.6.19 +Contact: linux-acpi@vger.kernel.org +Description: + docked: (RO) Value 1 or 0 indicates whether the software + believes the laptop is docked in a docking station. + + undock: (WO) Writing to this file causes the software to + initiate an undock request to the firmware. + +What: /sys/devices/platform/dock.N/uid +Date: Feb, 2007 +KernelVersion: v2.6.21 +Contact: linux-acpi@vger.kernel.org +Description: + (RO) Displays the docking station the laptop is docked to. + +What: /sys/devices/platform/dock.N/flags +Date: May, 2007 +KernelVersion: v2.6.21 +Contact: linux-acpi@vger.kernel.org +Description: + (RO) Show dock station flags, useful for checking if undock + request has been made by the user (from the immediate_undock + option). + +What: /sys/devices/platform/dock.N/type +Date: Aug, 2008 +KernelVersion: v2.6.27 +Contact: linux-acpi@vger.kernel.org +Description: + (RO) Display the dock station type- dock_station, ata_bay or + battery_bay.