Received: by 10.223.176.5 with SMTP id f5csp1017250wra; Fri, 9 Feb 2018 10:58:55 -0800 (PST) X-Google-Smtp-Source: AH8x227OsdbdDwO+oH01FXqEMe6+VGPthPPs/G1ua8ZEbXkRz3d8n4NOjroV2B4L+7pjh6mXYdgA X-Received: by 10.98.135.204 with SMTP id i195mr3845737pfe.41.1518202734949; Fri, 09 Feb 2018 10:58:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518202734; cv=none; d=google.com; s=arc-20160816; b=Px7FdRX28BS9+s3GHqPN+vBVRBbpW8XBwVAyF04CAFfZmUYXiDNJ+5epNq29sEsLdT iKC6nJ+VRkd12uauiUjBbv/PcHO0+mpzW+OnEywtaCEfdZclBRN9gDLVP4WK6Q36ge1g vVqMiQqk7yhafDcUpaAUypR5b3mMAKu9lR6Oq10Ip2NL4OO6vY+K2kAhThcxyZE4HwM3 W4hcxI/lNT6H4QjqMW7Bko2ZiP6QmyLSEmyqib6hjSIQo100TG6ipvzL5/5ggig5zkuG Ua9OfZuzQpKg9t15ijD8VRFJyrZF5lCXVequWbNGRWybtMG44KcPalTcIxYIVJf9aJOc 8HXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :arc-authentication-results; bh=gcai02ufa5AbIQlV0PUdeQF0bjnV5GhWNuOOyLNviGM=; b=IwaakcJnJQ5OlEGO7msNLkztiB0BM6TBwSgeHtTmQTAGvuJjekbm4/e2PRyyhts2Vu pXZkB1SPk8x3Pk85kcaTKnrS7inXooyntswuclBdI9vnSjEz/0LtM58vIKyF1gskj4ri mFMvTnfc798V4akAT7++M9PMINHMOvhaieHXz9Leif2BO/sHpC+JBn/EN7tnCBBWDC+z 2X6KdPE2nnlRzIva/isd4Y0uzJ9GSA39NLKW+USgpc3brlGnN08KSFHTYou5x+wT+hhd 12PbtYrlXrnxPNZj2D458rtWHiszoyt3RkeOFBoTdlD0ZP4HZeQ27Y5oQxTNDvaTpwIu ozHg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x10si1685117pgc.192.2018.02.09.10.58.40; Fri, 09 Feb 2018 10:58:54 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752210AbeBIS57 (ORCPT + 99 others); Fri, 9 Feb 2018 13:57:59 -0500 Received: from mga06.intel.com ([134.134.136.31]:44632 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750835AbeBIS55 (ORCPT ); Fri, 9 Feb 2018 13:57:57 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Feb 2018 10:57:56 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,483,1511856000"; d="scan'208";a="200000943" Received: from spandruv-mobl.jf.intel.com ([10.254.98.210]) by orsmga005.jf.intel.com with ESMTP; 09 Feb 2018 10:57:56 -0800 Message-ID: <1518202676.1692.3.camel@linux.intel.com> Subject: Re: [PATCH 1/2] acpi/dptf: document sysfs atttributes From: Srinivas Pandruvada To: "Rafael J. Wysocki" , Aishwarya Pant Cc: "Rafael J. Wysocki" , Len Brown , ACPI Devel Maling List , Linux Kernel Mailing List , Jonathan Corbet , Greg KH , Julia Lawall Date: Fri, 09 Feb 2018 10:57:56 -0800 In-Reply-To: References: <01eb929d8dbfa3e2041d33619a7d30a6b0f4748c.1518009225.git.aishpant@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6 (3.22.6-2.fc25) Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2018-02-09 at 11:31 +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/cha > > rger_type > > +What:          /sys/bus/platform/devices/INT3407:00/dptf_power/ada > > pter_rating_mw > > +What:          /sys/bus/platform/devices/INT3407:00/dptf_power/max > > _platform_power_mw > > +What:          /sys/bus/platform/devices/INT3407:00/dptf_power/pla > > tform_power_source > > +What:          /sys/bus/platform/devices/INT3407:00/dptf_power/bat > > tery_steady_power > > There should be one entry per attribute AFAICS. > > Also I need Srinivas to tell me whether or not the descriptions are > accurate enough. Descriptions are correct. Thanks, Srinivas > > > +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. > > --