mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-14 14:34:28 +08:00
2ce6324ead
This driver adds support for Dynamic Platform and Thermal Framework (DPTF) PCH (Platform Controller Hub) FIVR (Fully Integrated Voltage Regulator) participant support. This participant is responsible for exposing platform telemetry and control for: freq_mhz_high_clock freq_mhz_low_clock These attributes are used to get and set PCH FIVR switching frequency for thermal and radio frequency interference mitigation. Refer to Documentation/ABI/testing/sysfs-platform-dptf for ABI details. ACPI methods description used in this driver: RFC0: This ACPI method to set PCH FIVR switching frequency when FIVR clock is 19.2MHz or 24MHz. The ACPI method takes a DWORD value. GFC0: This ACPI method to get PCH FIVR switching frequency when FIVR clock is 19.2MHz or 24MHz. RFC1: This ACPI method to set PCH FIVR switching frequency when FIVR clock is 38.4MHz. The ACPI method takes a DWORD value. GFC1: This ACPI method to get PCH FIVR switching frequency when FIVR clock is 38.4MHz. Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
111 lines
3.6 KiB
Plaintext
111 lines
3.6 KiB
Plaintext
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
|
|
bits[3:0] Current power source
|
|
0x00 = DC
|
|
0x01 = AC
|
|
0x02 = USB
|
|
0x03 = Wireless Charger
|
|
bits[7:4] Power source sequence number
|
|
|
|
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.
|
|
|
|
What: /sys/bus/platform/devices/INT3407:00/dptf_power/rest_of_platform_power_mw
|
|
Date: June, 2020
|
|
KernelVersion: v5.8
|
|
Contact: linux-acpi@vger.kernel.org
|
|
Description:
|
|
(RO) Shows the rest (outside of SoC) of worst-case platform power.
|
|
|
|
What: /sys/bus/platform/devices/INT3407:00/dptf_power/prochot_confirm
|
|
Date: June, 2020
|
|
KernelVersion: v5.8
|
|
Contact: linux-acpi@vger.kernel.org
|
|
Description:
|
|
(WO) Confirm embedded controller about a prochot notification.
|
|
|
|
What: /sys/bus/platform/devices/INT3532:00/dptf_battery/max_platform_power_mw
|
|
Date: June, 2020
|
|
KernelVersion: v5.8
|
|
Contact: linux-acpi@vger.kernel.org
|
|
Description:
|
|
(RO) The maximum platform power that can be supported by the battery in milli watts.
|
|
|
|
What: /sys/bus/platform/devices/INT3532:00/dptf_battery/max_steady_state_power_mw
|
|
Date: June, 2020
|
|
KernelVersion: v5.8
|
|
Contact: linux-acpi@vger.kernel.org
|
|
Description:
|
|
(RO) The maximum sustained power for battery in milli watts.
|
|
|
|
What: /sys/bus/platform/devices/INT3532:00/dptf_battery/high_freq_impedance_mohm
|
|
Date: June, 2020
|
|
KernelVersion: v5.8
|
|
Contact: linux-acpi@vger.kernel.org
|
|
Description:
|
|
(RO) The high frequency impedance value that can be obtained from battery
|
|
fuel gauge in milli Ohms.
|
|
|
|
What: /sys/bus/platform/devices/INT3532:00/dptf_battery/no_load_voltage_mv
|
|
Date: June, 2020
|
|
KernelVersion: v5.8
|
|
Contact: linux-acpi@vger.kernel.org
|
|
Description:
|
|
(RO) The no-load voltage that can be obtained from battery fuel gauge in
|
|
milli volts.
|
|
|
|
What: /sys/bus/platform/devices/INT3532:00/dptf_battery/current_discharge_capbility_ma
|
|
Date: June, 2020
|
|
KernelVersion: v5.8
|
|
Contact: linux-acpi@vger.kernel.org
|
|
Description:
|
|
(RO) The battery discharge current capability obtained from battery fuel gauge in
|
|
milli Amps.
|
|
|
|
What: /sys/bus/platform/devices/INTC1045:00/pch_fivr_switch_frequency/freq_mhz_low_clock
|
|
Date: November, 2020
|
|
KernelVersion: v5.10
|
|
Contact: linux-acpi@vger.kernel.org
|
|
Description:
|
|
(RW) The PCH FIVR (Fully Integrated Voltage Regulator) switching frequency in MHz,
|
|
when FIVR clock is 19.2MHz or 24MHz.
|
|
|
|
What: /sys/bus/platform/devices/INTC1045:00/pch_fivr_switch_frequency/freq_mhz_high_clock
|
|
Date: November, 2020
|
|
KernelVersion: v5.10
|
|
Contact: linux-acpi@vger.kernel.org
|
|
Description:
|
|
(RW) The PCH FIVR (Fully Integrated Voltage Regulator) switching frequency in MHz,
|
|
when FIVR clock is 38.4MHz.
|