Received: by 10.223.176.5 with SMTP id f5csp646776wra; Wed, 7 Feb 2018 05:19:47 -0800 (PST) X-Google-Smtp-Source: AH8x2267BdLi/XMzwAXtbu2yZ+3bhIckWoJxWlaujZrAqtccmnnTsgiNdvoykVch5RESf/EyhQAu X-Received: by 10.98.204.75 with SMTP id a72mr6036704pfg.33.1518009587614; Wed, 07 Feb 2018 05:19:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518009587; cv=none; d=google.com; s=arc-20160816; b=JkauOO2/D9vwLbLpT1O0WwcsxE7dqRiS9VadXqopZvryvViDmV3Wbz+i3G3i32+Rhi 17bmJmPWZJLhkk+wN6bIqn6OfQcEbEBwuL+IJWMP+ugF8+Ks93OBIe6GQBXSGXx5L6Mm rZjbCDoBPT5QfhP2IHZ6voYTEU7r9maG1P6PVgqmvwP5d5mKyf0xXoci4G0v6GwvJuEZ iU5tvLhukYng2L5PS6yUJY8IdtdnjoAILcopJiaQTuQrWgNp/mBNqKwSXJv16y2m3B3m uupXQVVHY8BfHbJWpx4G6bFzDUXt1ljoWlxWJINL3O1A6S3dBykloYvw6Fukwf2DF24f 1FkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=Zq7vQBszJtft0Pv1q7Tk+0UdZoM+J0otqiP27P1D9co=; b=xw1oZaYShMSsf6e/Ucj1zV30eG3dCOwWd1/x/q8LT4zUFYE7G3G30Z+T/KK3vZPrCS NCyQMw0sfU1B23dNxzbHR6q5Z8HHl5EmH7pn5JfH9WRNQL+ok6v/TMdWFii0/oqiWXAL LdRWi/FWONP4DvyrrI9LBEQkiIDvKL9qAaJptS4xTGnZvOjW1c8KLn3tG7hqjaIlhMay YzqRO+YjNDtQzkJWqSJgdYNdasI/Toi6JUmi+WCY1ctRbCpKG2ViSbkinvbgYecGCAio 412kTD9kV3ZmKFam4xl6WIZVrQXNY5A8tvijO3j1gpTkTi2xDouKHNSjdVfwzqXSf/H6 UNgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=b7D6NGmN; 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 r10si1109812pfe.402.2018.02.07.05.19.33; Wed, 07 Feb 2018 05:19:47 -0800 (PST) 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=b7D6NGmN; 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 S1754126AbeBGNS0 (ORCPT + 99 others); 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-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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -- 2.16.1