* [PATCH v2 0/2] acpi: document sysfs interfaces
@ 2018-02-10 8:55 Aishwarya Pant
2018-02-10 8:57 ` [PATCH v2 1/2] acpi/dptf: document sysfs atttributes Aishwarya Pant
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Aishwarya Pant @ 2018-02-10 8:55 UTC (permalink / raw)
To: Rafael J. Wysocki, Len Brown, linux-acpi, linux-kernel,
Jonathan Corbet, Greg KH
Cc: Julia Lawall
Patchset contains documentation for two acpi drivers- dock and dptf. Description
was collected from git history and reading through code. This might be useful
for tracking changes in the ABI.
Changes in v2:
- Split up multiple attribute definitions
Aishwarya Pant (2):
acpi/dptf: document sysfs atttributes
acpi/dock: document sysfs interface
.../ABI/testing/sysfs-devices-platform-dock | 39 +++++++++++++++++++++
Documentation/ABI/testing/sysfs-platform-dptf | 40 ++++++++++++++++++++++
2 files changed, 79 insertions(+)
create mode 100644 Documentation/ABI/testing/sysfs-devices-platform-dock
create mode 100644 Documentation/ABI/testing/sysfs-platform-dptf
--
2.16.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2 1/2] acpi/dptf: document sysfs atttributes
2018-02-10 8:55 [PATCH v2 0/2] acpi: document sysfs interfaces Aishwarya Pant
@ 2018-02-10 8:57 ` Aishwarya Pant
2018-02-10 8:57 ` [PATCH v2 2/2] acpi/dock: document sysfs interface Aishwarya Pant
2018-02-14 9:27 ` [PATCH v2 0/2] acpi: document sysfs interfaces Rafael J. Wysocki
2 siblings, 0 replies; 4+ messages in thread
From: Aishwarya Pant @ 2018-02-10 8:57 UTC (permalink / raw)
To: Rafael J. Wysocki, Len Brown, linux-acpi, linux-kernel,
Jonathan Corbet, Greg KH
Cc: Julia Lawall
The descriptions have been collected from git commit logs and reading
through code.
Signed-off-by: Aishwarya Pant <aishpant@gmail.com>
---
Changes in v2:
- Split up attribute definitions
Documentation/ABI/testing/sysfs-platform-dptf | 40 +++++++++++++++++++++++++++
1 file changed, 40 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..325dc0667dbb
--- /dev/null
+++ b/Documentation/ABI/testing/sysfs-platform-dptf
@@ -0,0 +1,40 @@
+What: /sys/bus/platform/devices/INT3407:00/dptf_power/charger_type
+Date: Jul, 2016
+KernelVersion: v4.10
+Contact: linux-acpi@vger.kernel.org
+Description:
+ (RO) The charger type - Traditional, Hybrid or NVDC.
+
+What: /sys/bus/platform/devices/INT3407:00/dptf_power/adapter_rating_mw
+Date: Jul, 2016
+KernelVersion: v4.10
+Contact: linux-acpi@vger.kernel.org
+Description:
+ (RO) Adapter rating in milliwatts (the maximum Adapter power).
+ Must be 0 if no AC Adaptor is plugged in.
+
+What: /sys/bus/platform/devices/INT3407:00/dptf_power/max_platform_power_mw
+Date: Jul, 2016
+KernelVersion: v4.10
+Contact: linux-acpi@vger.kernel.org
+Description:
+ (RO) Maximum platform power that can be supported by the battery
+ in milliwatts.
+
+What: /sys/bus/platform/devices/INT3407:00/dptf_power/platform_power_source
+Date: Jul, 2016
+KernelVersion: v4.10
+Contact: linux-acpi@vger.kernel.org
+Description:
+ (RO) Display the platform power source
+ 0x00 = DC
+ 0x01 = AC
+ 0x02 = USB
+ 0x03 = Wireless Charger
+
+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:
+ (RO) The maximum sustained power for battery in milliwatts.
--
2.16.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH v2 2/2] acpi/dock: document sysfs interface
2018-02-10 8:55 [PATCH v2 0/2] acpi: document sysfs interfaces Aishwarya Pant
2018-02-10 8:57 ` [PATCH v2 1/2] acpi/dptf: document sysfs atttributes Aishwarya Pant
@ 2018-02-10 8:57 ` Aishwarya Pant
2018-02-14 9:27 ` [PATCH v2 0/2] acpi: document sysfs interfaces Rafael J. Wysocki
2 siblings, 0 replies; 4+ messages in thread
From: Aishwarya Pant @ 2018-02-10 8:57 UTC (permalink / raw)
To: Rafael J. Wysocki, Len Brown, linux-acpi, linux-kernel,
Jonathan Corbet, Greg KH
Cc: Julia Lawall
Description has been collected from git commit history and reading
through code.
Signed-off-by: Aishwarya Pant <aishpant@gmail.com>
---
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.
--
2.16.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v2 0/2] acpi: document sysfs interfaces
2018-02-10 8:55 [PATCH v2 0/2] acpi: document sysfs interfaces Aishwarya Pant
2018-02-10 8:57 ` [PATCH v2 1/2] acpi/dptf: document sysfs atttributes Aishwarya Pant
2018-02-10 8:57 ` [PATCH v2 2/2] acpi/dock: document sysfs interface Aishwarya Pant
@ 2018-02-14 9:27 ` Rafael J. Wysocki
2 siblings, 0 replies; 4+ messages in thread
From: Rafael J. Wysocki @ 2018-02-14 9:27 UTC (permalink / raw)
To: Aishwarya Pant
Cc: Len Brown, linux-acpi, linux-kernel, Jonathan Corbet, Greg KH,
Julia Lawall
On Saturday, February 10, 2018 9:55:53 AM CET Aishwarya Pant wrote:
> Patchset contains documentation for two acpi drivers- dock and dptf. Description
> was collected from git history and reading through code. This might be useful
> for tracking changes in the ABI.
>
> Changes in v2:
> - Split up multiple attribute definitions
>
> Aishwarya Pant (2):
> acpi/dptf: document sysfs atttributes
> acpi/dock: document sysfs interface
>
> .../ABI/testing/sysfs-devices-platform-dock | 39 +++++++++++++++++++++
> Documentation/ABI/testing/sysfs-platform-dptf | 40 ++++++++++++++++++++++
> 2 files changed, 79 insertions(+)
> create mode 100644 Documentation/ABI/testing/sysfs-devices-platform-dock
> create mode 100644 Documentation/ABI/testing/sysfs-platform-dptf
Both patches applied with minor modifications, thanks!
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-02-14 9:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-10 8:55 [PATCH v2 0/2] acpi: document sysfs interfaces Aishwarya Pant
2018-02-10 8:57 ` [PATCH v2 1/2] acpi/dptf: document sysfs atttributes Aishwarya Pant
2018-02-10 8:57 ` [PATCH v2 2/2] acpi/dock: document sysfs interface Aishwarya Pant
2018-02-14 9:27 ` [PATCH v2 0/2] acpi: document sysfs interfaces Rafael J. Wysocki
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.