From patchwork Sat Feb 10 08:57:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aishwarya Pant X-Patchwork-Id: 10210387 X-Patchwork-Delegate: rjw@sisk.pl 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 433F0602D8 for ; Sat, 10 Feb 2018 08:57:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3680728D2D for ; Sat, 10 Feb 2018 08:57:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 29A9328D49; Sat, 10 Feb 2018 08:57:47 +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 B600628D2D for ; Sat, 10 Feb 2018 08:57:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751091AbeBJI5p (ORCPT ); Sat, 10 Feb 2018 03:57:45 -0500 Received: from mail-it0-f68.google.com ([209.85.214.68]:52670 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750934AbeBJI5p (ORCPT ); Sat, 10 Feb 2018 03:57:45 -0500 Received: by mail-it0-f68.google.com with SMTP id o13so1284189ito.2; Sat, 10 Feb 2018 00:57:44 -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=KC/xvYbcoSBaXlH+IQ3phb/1sJpYauN0C9my7sRNl4I=; b=bVd08x2AqxCDRAA1VhAMe1zW/Y9Og2WaFQsp+AhFaQXJ7T+I7mamAvRlZHq3TpI2we ABNbBPVHiTfu1dgLgz5pgyv2p9I6CZjsSb1OBPTbop6xF9a0+z6z5T2APPA+YTHAz++Z GA/JYC8RYx9lqdXYvEeoNN7n9LrsaX1eaSW3dYk6YK88uRpZc1IqkfoWGDzWklfaj6yT pP/kpC2BkvnnASuq/jLnxN1/Mnql6J5r9pwCQyYBbW07mA6B8GzFQ7pWLeEAFlKFsMZ6 JpWcR8+g00bo4UmJKYhgg4TMd+cB1qXaCjTIWdf5M6VBa9HS40L2UZXBhjZ/n7TN3Ayo 0RQw== 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=KC/xvYbcoSBaXlH+IQ3phb/1sJpYauN0C9my7sRNl4I=; b=rx80y02l9sCIOrBFof/v5n5SYw/cxX97zMWRAe0iHtOO2h8edQgdmCCeOQDMSgkfyz ikR7TYyLzsl5IZeQ5Gi8C95NLrAvbPaWDHmvotR+CXFw1ye8AZ+3B6h0ZVUKdy/3naWF b1U4tY92ZaFUvi/pSOZSCpY8mvrF1dFdVmitKGMVTqfXAv4apM3sTfVDS0BR2umS495R //9FkwClhED/IQ2oUnc1zBf/0opxH2uQOnp/BumBXu4rCafjKWLnPfA1rRmnoJgHkOoD 7gH5t0ZKoxrqnA7M2WfV3f/ytPh53bMC+AzxxnxIlku+yuqCqOU/kSc7UP5weRGKMZKQ mdQw== X-Gm-Message-State: APf1xPA/M1DAN5XhrHfCMcZaHI+BlRyj1zB1aodqTXYmaafudGyocr14 MVgYLYCfnnKujU2W0a8EXfI= X-Google-Smtp-Source: AH8x225uO0IhTCj6SxnYO6d59sgkfxbK6QqMN+/HnKnasGv9EPVLwuYaAZECWd5eMusxTzaPPmYRDg== X-Received: by 10.36.146.196 with SMTP id l187mr7035237itd.115.1518253064255; Sat, 10 Feb 2018 00:57:44 -0800 (PST) Received: from mordor.localdomain ([49.205.217.191]) by smtp.gmail.com with ESMTPSA id x28sm4674914ioi.83.2018.02.10.00.57.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 10 Feb 2018 00:57:43 -0800 (PST) Date: Sat, 10 Feb 2018 14:27:38 +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 v2 2/2] acpi/dock: document sysfs interface Message-ID: <4766f754e929cf4888ebe4da8d406d29bf07436c.1518252138.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 --- Changes in v2: - Split up attribute definitions .../ABI/testing/sysfs-devices-platform-dock | 39 ++++++++++++++++++++++ 1 file changed, 39 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..1d8c18f905c7 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-devices-platform-dock @@ -0,0 +1,39 @@ +What: /sys/devices/platform/dock.N/docked +Date: Dec, 2006 +KernelVersion: 2.6.19 +Contact: linux-acpi@vger.kernel.org +Description: + (RO) Value 1 or 0 indicates whether the software believes the + laptop is docked in a docking station. + +What: /sys/devices/platform/dock.N/undock +Date: Dec, 2006 +KernelVersion: 2.6.19 +Contact: linux-acpi@vger.kernel.org +Description: + (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.