Received: by 10.223.176.5 with SMTP id f5csp500156wra; Fri, 9 Feb 2018 02:32:29 -0800 (PST) X-Google-Smtp-Source: AH8x226TTABaeLz9MSKrpoGRwC3fGFog13KGg1QUcaJwArz/4ZO5KvXIj5/r8ElIUGEdAgUehp8W X-Received: by 2002:a17:902:1e5:: with SMTP id b92-v6mr2195545plb.144.1518172349798; Fri, 09 Feb 2018 02:32:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518172349; cv=none; d=google.com; s=arc-20160816; b=QhfaEI6I2H0KUsszvzwmlKP997kM8xLCqX07ui/sQPYVdd3lF/HWThcr8VMpYTXQ4a tx3CuIx3Z+b4EyGSsVIcq3tGY0/NikJMfkjLkt7o4hkXigle8wsnuelQRDwwkBZ5MDu4 Vrk9qBBhmEOihC5GIQULmCJ040+1yRHHG94kKgf9auCmUeALk8v+5L8yGQbM58ujWZjP stHnJuK9WFw8SZtT3ySABglN+PB4KQ4uGZtxsz4nPiqkzd//o+j1Lhm8BbXlj63T0zTz h2JJ1U/QpMYwCDn8rZ7EwntaELnR4ZDWP6XDVVEur0yuBCtr3u5ChdBJO/l64Q7sO6ue QORw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=RRYLGWs7nfMMSISLGnFj4oeF5NOm8srfCcd2k09qwAE=; b=Zg0ugeBxTaRDlB1Znx52aKuXv+c9DNlLePwikR6GRXa/pjmikcARwXrs8eIOgPrUF0 zxWhp/Xhz08iwwpR77xiBv/FAOAkHMtaQDn5pz7+8sR0XecrP9IFu01xnP+IiKV1+e46 dxuQ66Y9pGn5ttuHN9mHAnBplSLFISeXQq8LUW8mqb9vF7fNOC+PnsZacDAcLCBAPmyY GWwf/r6Vrd493QlUQTrD/GCtfEcsXMhh3zNc4Al6Rfsr8KqL0y+9Rd8mOzY8/33YN2lg WutrMxhFpiuf4jpcMDIBfH2iauvQnPdc7L3YRQRFiGttJViiY9qWVW6euueDqs6LsDOq S+0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=Y6sfGTiU; 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 bh1-v6si1281925plb.497.2018.02.09.02.32.15; Fri, 09 Feb 2018 02:32:29 -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=fail header.i=@gmail.com header.s=20161025 header.b=Y6sfGTiU; 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 S1751037AbeBIKbi (ORCPT + 99 others); Fri, 9 Feb 2018 05:31:38 -0500 Received: from mail-ot0-f196.google.com ([74.125.82.196]:35185 "EHLO mail-ot0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750925AbeBIKbg (ORCPT ); Fri, 9 Feb 2018 05:31:36 -0500 Received: by mail-ot0-f196.google.com with SMTP id a2so7318420otf.2; Fri, 09 Feb 2018 02:31:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=RRYLGWs7nfMMSISLGnFj4oeF5NOm8srfCcd2k09qwAE=; b=Y6sfGTiUNZQDIhdLG1OwkwM///fSvQMtKirtlXjfHso4l51bsS1rm7x/Nf5Rhw4xGL rL/Cv+CC91rZ50Xo1sidwSWUwFoovrJi+ThsCzacnDfBMYC8cUEpUoetXLOO6KRWoK08 guI4eCCSkXfNkdlBg2/sT6+JlaQtwOlkegrH1f8hWEiUHWt8Ibmz2tj7zwrBCrvH+xAc GyzUpH7hTmQFayjcmmQ0wJnTi60nGEgDTY/IYozos8/yxB2IYAVbAgscS6aMYQYDUEdu JVZYzuBhhTKZxUeEhJoHPJSXc3s9S9EtPf1y7xsZS3LgKcMrzsnkBy9wRrvS0KZpoBir fh7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=RRYLGWs7nfMMSISLGnFj4oeF5NOm8srfCcd2k09qwAE=; b=uZ5Kpac8I288yDERqbN5mebvEgimXr5En/JKK27KsX3WLg6Bf/FkDCVa42fFl+mFPN TpRfKj8coyqT2zatw9Rz/ZoTjiP4i8KqloFj8ScgunEqYGJmrqrtZZoUXfSXDuIssX7u 1Ma6jTVpTh9/jzXSkMBSSA6BKIZghKahT7kSd0PD51wS45GbXOi5q9o+HtKFfU24RsOd Q56QUlWnbfAMDUwoVPiFH+7fzOoB+j1yKoYrTkq1MP2vaLh5PfpBPbnYfpyhqPrB0Iun g6bWUFLW0tXOLvA+mO4CQxKxn8zb0Xn8Bd+CU77rDoEc57Q00ePMf4Q4m9WPyX5VA0Op 6usA== X-Gm-Message-State: APf1xPCmJ/Ms5ryu8GXcLAL2VQEnjfT+gbKLPezlhzr1+nWx0VFYakGh q2JkBZqK2eH8w0Di4rzpjoLPMpXjN67exS6TaI0= X-Received: by 10.157.12.215 with SMTP id o23mr1871624otd.322.1518172295677; Fri, 09 Feb 2018 02:31:35 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.46.234 with HTTP; Fri, 9 Feb 2018 02:31:35 -0800 (PST) In-Reply-To: <01eb929d8dbfa3e2041d33619a7d30a6b0f4748c.1518009225.git.aishpant@gmail.com> References: <01eb929d8dbfa3e2041d33619a7d30a6b0f4748c.1518009225.git.aishpant@gmail.com> From: "Rafael J. Wysocki" Date: Fri, 9 Feb 2018 11:31:35 +0100 X-Google-Sender-Auth: WUdArlj28DnuT5OYlbraPa6xAdw Message-ID: Subject: Re: [PATCH 1/2] acpi/dptf: document sysfs atttributes To: Aishwarya Pant Cc: "Rafael J. Wysocki" , Len Brown , ACPI Devel Maling List , Linux Kernel Mailing List , Jonathan Corbet , Greg KH , Julia Lawall , Srinivas Pandruvada Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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. > --