Received: by 10.223.176.5 with SMTP id f5csp520381wra; Fri, 9 Feb 2018 02:55:28 -0800 (PST) X-Google-Smtp-Source: AH8x2255KHa1HgZGWkH+WIhEfJinSrfiCBigxbR1lx0ZBf/f6A5O6f1ej4rHBtnLVfvUnZWNm6Mu X-Received: by 10.98.16.9 with SMTP id y9mr2453245pfi.189.1518173728243; Fri, 09 Feb 2018 02:55:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518173728; cv=none; d=google.com; s=arc-20160816; b=QZ+zOPSij4kIbeI6yxfj1OZ7Gvb7mrUQOU1gVTk2u9s83ZSZPSQUJG9M/AjE2z1P5M L4TBKJ9lvA3h3LMcs34t7VL0FO+pf1WhimH4zXXvtMb8LqY1Gf2Xh31KWLogJCnsIkPq CGTDSciLxrZ5MNm04RNnjTQVlxHdJmRdnhQtAF/lBkqgegRpgOkFfaIqT4aeIic0LQuo AXhxFxf4/UVc3DzjRIjF4SNwupoEcj2ruq4GS73KepVAnPrzTahQYlH22oze4nlI4uyd UpFknWFa5X3psCgOlneS19+u3JkYeclNQQCoJsFpfatnyRrMCIzKRyD/jj6AdGh0W/ZM VS0Q== 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=Xa8JNSYl/ghqeujkgtblGG+BxwUTFdDvOXAkj3ygqbY=; b=gY5hM2VkrUZnvQ7LJD0+rlYTENFIWcEiedeTgwPs+G3bnEtxa6eFS43FbKIKeDCdcP LcF5iqcEFzLGwowNdi5B6PBhf7Z6k33kbr7/rgr7fyWQ/MUcqy3P7w2cYrPGnj89GhKU fajOAC08w5gEEuRLeYnPZ8Y2bkye9VykKIxYTlUqajLAA0cnh0mLtF1QQHdABUg6i8JF qUHTRtMWDGlaPzhD2ccRIrfcGk9cBNyCw8pQ6zW0DWweLllC1UrEuqxhJYd8L4HwkgDo ffqXGyARuSsFg8MmGxSQkmSBxCbMQo533wt41xdpffpU/y1jnorxBwJXshUYszHgbsnq pzuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hhAOCN1E; 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 q25si1238098pge.457.2018.02.09.02.55.14; Fri, 09 Feb 2018 02:55:28 -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=hhAOCN1E; 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 S1751195AbeBIKyh (ORCPT + 99 others); Fri, 9 Feb 2018 05:54:37 -0500 Received: from mail-io0-f194.google.com ([209.85.223.194]:34295 "EHLO mail-io0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750878AbeBIKyf (ORCPT ); Fri, 9 Feb 2018 05:54:35 -0500 Received: by mail-io0-f194.google.com with SMTP id x188so2645876iod.1; Fri, 09 Feb 2018 02:54:35 -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=Xa8JNSYl/ghqeujkgtblGG+BxwUTFdDvOXAkj3ygqbY=; b=hhAOCN1EBTxuITZfTSMwMvHUJiYXH31/s97u1jJxRHx7oQjdyHD9xYwVcZLUsqhzg2 a4R8871Gt9BGEDg+FyBwXaXNc9IiZ+/De6MkPo3SMHa5eBytp/TDXxO/ks509+nzqrsW kzG3ysw+eGG7qRVQs9saDaatOlRJYJL4HSvYuonTbJzzJWL8ozfjjzCGUsabIksYxaDp 3Vkzec6fBTgMnFOocEFjlt8TA+FTAu9O+22oqAViL5NJNQqpnNxlosMDsX+bH7+7c8gl Ne/KZ4rmqliuP+6qMSHVmtgBqrMw9wP1t5Bas2MTdONoa6wigz7aHsEMXmKqoj4ymm83 /L4A== 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=Xa8JNSYl/ghqeujkgtblGG+BxwUTFdDvOXAkj3ygqbY=; b=V0E4Rzu+g2wD05VpsCtW/hHiAuNh0wKLTQfUjhuXw/VG/2AAai+8pcvM+LgeM8jptr ZYFQFDaQoaaeu1hTjJtdiExf1LHEBpXgQQo0lYDyWt5vA8kpO0zS4umWcN2cBypLdSbo gpZUay3q11hcqm4UjBWzNHSHQI38WwlXXWjhEAlzZy9MIrPaJ7YDakoVZY8gPRkg+pVI Cg4d/Ox0CvfkYSvlYtIhAYiOcWIMMcKcQM8S/ac6pWZoWdyWRKwAmhnjZIJILkXGP5CZ M6QY/LELP1CuOcG6KYvQ19vpKWo5SgCAME4L13J41OisXZOMkdGq2FTqAowCGFX9ZMUT jtVg== X-Gm-Message-State: APf1xPC5cm8ZGoVJTnNeME+v+9JkTwTzC1gFBYIskNS8nI0zZEhq3Ul0 465tG5kKuVTV1HIJHEFjQHA= X-Received: by 10.107.190.67 with SMTP id o64mr2535544iof.286.1518173674544; Fri, 09 Feb 2018 02:54:34 -0800 (PST) Received: from mordor.localdomain ([2405:204:508c:7260:aef4:4043:3506:de34]) by smtp.gmail.com with ESMTPSA id r205sm1693980ior.33.2018.02.09.02.54.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 09 Feb 2018 02:54:34 -0800 (PST) Date: Fri, 9 Feb 2018 16:24:25 +0530 From: Aishwarya Pant To: "Rafael J. Wysocki" Cc: "Rafael J. Wysocki" , Len Brown , ACPI Devel Maling List , Linux Kernel Mailing List , Jonathan Corbet , Greg KH , Julia Lawall , Srinivas Pandruvada Subject: Re: [PATCH 1/2] acpi/dptf: document sysfs atttributes Message-ID: <20180209105425.GA24487@mordor.localdomain> References: <01eb929d8dbfa3e2041d33619a7d30a6b0f4748c.1518009225.git.aishpant@gmail.com> 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 On Fri, Feb 09, 2018 at 11:31:35AM +0100, Rafael J. Wysocki wrote: > On Wed, Feb 7, 2018 at 2:18 PM, Aishwarya Pant wrote: > > 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 > > +--------------------------------------------------- > > The header isn't necessary. > > > + > > +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 > > There should be one entry per attribute AFAICS. I grouped attributes by the date in which they were added for brevity, because otherwise fields like Date added, KernelVersion and Contact information are the same. I can split them up if it makes more sense... Aishwarya > > Also I need Srinivas to tell me whether or not the descriptions are > accurate enough. > > > +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. > > --