Received: by 10.223.176.5 with SMTP id f5csp646175wra; Wed, 7 Feb 2018 05:19:08 -0800 (PST) X-Google-Smtp-Source: AH8x224+eiMKxpDUkCOJqej5PJsW3UBGdMJVtZWCRSpEtRGlZ9hDFRYMHQTXZfxTLzlbI57Hby4Z X-Received: by 10.99.107.200 with SMTP id g191mr4859853pgc.165.1518009548801; Wed, 07 Feb 2018 05:19:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518009548; cv=none; d=google.com; s=arc-20160816; b=zYOpAz89VIOX+55UkVGmSBB80xsB0jkN0QAYPWsC0djS9J0b2/3XrHXlGGufqu7tae ayHSCYD9GaALiDzgPpkp9OVMqORZgjUg+HYNbDAdC5DzUrJk8mdI+KILBDTzvcRCERAJ VTnYpiID7sygLbc9jIwTHjcjQaATu7KJ48odl+B2RWZxhPsd2h8Xx6MejDX4L4GpKG31 wqvLhyQKAKE/gKfHLAVTsZ6+sq16t3c/WjHmgC1zN5zuSdq6D42OxXM/CpzKIJfbPlEK ugp7OCxjMxKBW4GAHTtZXyYpTXaghpV4vpFBr0yMk1zYMoggyK3eRepZaej65QUJYUyw rVCQ== 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=91wWZipCTzk6iYvou9uJ9ZRjhQIhVXvTC3eT0tKNxeA=; b=DIW0wZswcBCk8BTmESFrI4Mj2Uli3+0aCycItpWVHa+L7IgHZ+bNWgy46fGJkPFI16 EycoMHlbDd/4RLrnjC5oi+RYIUsiuA/o9klhEc4KlVxRCD6FYEoa56VdZo3bMmWO5w6M PDnUV7+90nOTx56iG1QciW465tb4XiK+Xvj/zr5/MTodeSP7bRZTUC3ieIwQSke/tT1Z QHwnlaRmSlnHk9QYBYSqt3H2FvT789B2kPlyOlbZdkCVBnN3/qhYLVaB6iE7Oe1VuKLM 0hsSOqNVmY4G7QCYgtzJnnIFdlPjvVs/l3DNNQKFI0EFXGdmrRi0viZYkINb7wzRYzjw v2gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IBmGbDV6; 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 c23si1099823pfl.392.2018.02.07.05.18.54; Wed, 07 Feb 2018 05:19:08 -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=IBmGbDV6; 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 S1753989AbeBGNSK (ORCPT + 99 others); Wed, 7 Feb 2018 08:18:10 -0500 Received: from mail-it0-f66.google.com ([209.85.214.66]:37340 "EHLO mail-it0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753643AbeBGNSI (ORCPT ); Wed, 7 Feb 2018 08:18:08 -0500 Received: by mail-it0-f66.google.com with SMTP id h129so2197398ita.2; Wed, 07 Feb 2018 05:18:08 -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=91wWZipCTzk6iYvou9uJ9ZRjhQIhVXvTC3eT0tKNxeA=; b=IBmGbDV6NuVQJ6xd2NfsLFChnpJZeil7gHiAHKg86Wk/0yRvywuWQHjng7CBh0XRFv +F4FwbY5JQykaaS9vTAyxUWVXPWPUFPdRRAZcMeDMv9ZSE9iQB5xIkDASilpg2KF+4NQ nCQpmldFylv0VAOm6vzhtz+jti9opjetPpLLhZRH2sW1GsaDfPEt5LqXu4ufWHB+wDa/ FePjA8zbjjIZ8vJIHVa/xBTn0q1aR5n4MRh+ClwxtD8z6/HQfT+CCCy8L1obLWFPKtCm Qc8lYNY9qJjnIGfxuDJxJm0clzHWx5xj86DR2Q6CKS9Jo+cY9U4VltXaONJcSx8wj5N5 OlJw== 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=91wWZipCTzk6iYvou9uJ9ZRjhQIhVXvTC3eT0tKNxeA=; b=lMm0Od3DQ9fdb+OuFxVXX1ZuwJU57fof42gPUmNU5sNFisGgjD+gFw6me+QIqZFk17 2/06+MWGbPzSYqbdZlqwts4/uGomyw6NQ360v98te1nQHRCDuTVRUmDnpcZ0IhQJU6iH ++rcoa1yX8VgQw9DHrkOjhFqZk0o7499GsThsTaMuW6C/aZl0xeiu0zmtNKfXdImTdqk c1xjgzoz3uNbjFoa80ybcHA55tfZ2FinMErsgjAHyhrN6yXh/ZsUH4Muu8+T0/+91CN5 X2I3JsoJE3As/sbhMQEral8GdmNIL9NtcUWHs7iqV+QDdyxmmb7IzHeMSoefV8P4dApy g4kQ== X-Gm-Message-State: APf1xPBfNvyyXzg4q+Pi4Ql6TRoJZjXwr93zFKdDAdX9ZuNmZdlrOSKz SA+WKdSypu/RIYMcp22i/EpcqvbuqIc= X-Received: by 10.36.250.195 with SMTP id v186mr8029327ith.151.1518009487977; Wed, 07 Feb 2018 05:18:07 -0800 (PST) Received: from mordor.localdomain ([106.216.161.135]) by smtp.gmail.com with ESMTPSA id h63sm2181660ith.40.2018.02.07.05.18.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 07 Feb 2018 05:18:07 -0800 (PST) Date: Wed, 7 Feb 2018 18:48:00 +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 1/2] acpi/dptf: document sysfs atttributes Message-ID: <01eb929d8dbfa3e2041d33619a7d30a6b0f4748c.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 The descriptions have been collected from git commit logs and reading through code. Signed-off-by: Aishwarya Pant --- Documentation/ABI/testing/sysfs-platform-dptf | 30 +++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-platform-dptf diff --git a/Documentation/ABI/testing/sysfs-platform-dptf b/Documentation/ABI/testing/sysfs-platform-dptf new file mode 100644 index 000000000000..e8168e5198d7 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-platform-dptf @@ -0,0 +1,30 @@ +sysfs interface for ACPI DPTF platform power driver +--------------------------------------------------- + +What: /sys/bus/platform/devices/INT3407:00/dptf_power/charger_type +What: /sys/bus/platform/devices/INT3407:00/dptf_power/adapter_rating_mw +What: /sys/bus/platform/devices/INT3407:00/dptf_power/max_platform_power_mw +What: /sys/bus/platform/devices/INT3407:00/dptf_power/platform_power_source +What: /sys/bus/platform/devices/INT3407:00/dptf_power/battery_steady_power +Date: Jul, 2016 +KernelVersion: v4.10 +Contact: linux-acpi@vger.kernel.org +Description: + charger_type: (RO) The charger type- Traditional, + Hybrid or NVDC. + + adapter_rating_mw: (RO) Adapter rating in milliwatts (the + maximum Adapter power). Must be 0 if no + AC Adaptor is plugged in. + + max_platform_power_mw: (RO) Maximum platform power that can be + supported by the battery in milliwatts. + + platform_power_source: (RO) Display the platform power source + 0x00 = DC + 0x01 = AC + 0x02 = USB + 0x03 = Wireless Charger + + battery_steady_power_mw:(RO) The maximum sustained power for + battery in milliwatts. -- 2.16.1