Re: [PATCH v5] acpi: dptf_power: Add DPTF power participant

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jul 17, 2016 at 10:45 PM, Srinivas Pandruvada
<srinivas.pandruvada@xxxxxxxxxxxxxxx> wrote:
> This driver adds support for Dynamic Platform and Thermal Framework
> (DPTF) Platform Power Participant device (INT3407) support.
>
> This participant is responsible for exposing platform telemetry such as:
>     max_platform_power
>     platform_power_source
>     adapter_rating
>     battery_steady_power
>     charger_type
>
> These attributes are presented via sysfs interface under the INT3407
> platform device:
> $ls /sys/bus/platform/devices/INT3407\:00/dptf_power/
>     adapter_rating_mw
>     battery_steady_power_mw
>     charger_type
>     max_platform_power_mw
>     platform_power_source
>     `
> ACPI methods description used in this driver:
>     PMAX: Maximum platform power that can be supported by the battery in
>           mW.
>     PSRC: System charge source,
>             0x00 = DC
>             0x01 = AC
>             0x02 = USB
>             0x03 = Wireless Charger
>     ARTG: Adapter rating in mW (Maximum Adapter power) Must be 0 if no
>           AC adapter is plugged in.
>     CTYP: Charger Type,
>             Traditional : 0x01
>             Hybrid: 0x02
>             NVDC: 0x03
>     PBSS: Returns max sustained power for battery in milliWatts.
>
> The INT3407 also contains _BTS and _BIX objects, which are compliant to
> ACPI 5.0, specification. Those objects are already used by ACPI battery
> (PNP0C0A) driver and information about them is exported via Linux power
> supply class registration.
>
> Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@xxxxxxxxxxxxxxx>

This looks good to me.

You had a patch moving some other DPTF stuff to the dptf subdirectory,
can you please resend it?

Thanks,
Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux