forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'acpi-5.10-rc1' of git://git.kernel.org/pub/scm/linux/kerne…
…l/git/rafael/linux-pm Pull ACPI updates from Rafael Wysocki: "These add support for generic initiator-only proximity domains to the ACPI NUMA code and the architectures using it, clean up some non-ACPICA code referring to debug facilities from ACPICA, reduce the overhead related to accessing GPE registers, add a new DPTF (Dynamic Power and Thermal Framework) participant driver, update the ACPICA code in the kernel to upstream revision 20200925, add a new ACPI backlight whitelist entry, fix a few assorted issues and clean up some code. Specifics: - Add support for generic initiator-only proximity domains to the ACPI NUMA code and the architectures using it (Jonathan Cameron) - Clean up some non-ACPICA code referring to debug facilities from ACPICA that are not actually used in there (Hanjun Guo) - Add new DPTF driver for the PCH FIVR participant (Srinivas Pandruvada) - Reduce overhead related to accessing GPE registers in ACPICA and the OS interface layer and make it possible to access GPE registers using logical addresses if they are memory-mapped (Rafael Wysocki) - Update the ACPICA code in the kernel to upstream revision 20200925 including changes as follows: + Add predefined names from the SMBus sepcification (Bob Moore) + Update acpi_help UUID list (Bob Moore) + Return exceptions for string-to-integer conversions in iASL (Bob Moore) + Add a new "ALL <NameSeg>" debugger command (Bob Moore) + Add support for 64 bit risc-v compilation (Colin Ian King) + Do assorted cleanups (Bob Moore, Colin Ian King, Randy Dunlap) - Add new ACPI backlight whitelist entry for HP 635 Notebook (Alex Hung) - Move TPS68470 OpRegion driver to drivers/acpi/pmic/ and split out Kconfig and Makefile specific for ACPI PMIC (Andy Shevchenko) - Clean up the ACPI SoC driver for AMD SoCs (Hanjun Guo) - Add missing config_item_put() to fix refcount leak (Hanjun Guo) - Drop lefrover field from struct acpi_memory_device (Hanjun Guo) - Make the ACPI extlog driver check for RDMSR failures (Ben Hutchings) - Fix handling of lid state changes in the ACPI button driver when input device is closed (Dmitry Torokhov) - Fix several assorted build issues (Barnabás Pőcze, John Garry, Nathan Chancellor, Tian Tao) - Drop unused inline functions and reduce code duplication by using kobj_to_dev() in the NFIT parsing code (YueHaibing, Wang Qing) - Serialize tools/power/acpi Makefile (Thomas Renninger)" * tag 'acpi-5.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (64 commits) ACPICA: Update version to 20200925 Version 20200925 ACPICA: Remove unnecessary semicolon ACPICA: Debugger: Add a new command: "ALL <NameSeg>" ACPICA: iASL: Return exceptions for string-to-integer conversions ACPICA: acpi_help: Update UUID list ACPICA: Add predefined names found in the SMBus sepcification ACPICA: Tree-wide: fix various typos and spelling mistakes ACPICA: Drop the repeated word "an" in a comment ACPICA: Add support for 64 bit risc-v compilation ACPI: button: fix handling lid state changes when input device closed tools/power/acpi: Serialize Makefile ACPI: scan: Replace ACPI_DEBUG_PRINT() with pr_debug() ACPI: memhotplug: Remove 'state' from struct acpi_memory_device ACPI / extlog: Check for RDMSR failure ACPI: Make acpi_evaluate_dsm() prototype consistent docs: mm: numaperf.rst Add brief description for access class 1. node: Add access1 class to represent CPU to memory characteristics ACPI: HMAT: Fix handling of changes from ACPI 6.2 to ACPI 6.3 ACPI: Let ACPI know we support Generic Initiator Affinity Structures x86: Support Generic Initiator only proximity domains ...
- Loading branch information
Showing
78 changed files
with
953 additions
and
328 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,3 +92,19 @@ Contact: [email protected] | |
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: [email protected] | ||
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: [email protected] | ||
Description: | ||
(RW) The PCH FIVR (Fully Integrated Voltage Regulator) switching frequency in MHz, | ||
when FIVR clock is 38.4MHz. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -405,7 +405,7 @@ F: drivers/platform/x86/i2c-multi-instantiate.c | |
ACPI PMIC DRIVERS | ||
M: "Rafael J. Wysocki" <[email protected]> | ||
M: Len Brown <[email protected]> | ||
R: Andy Shevchenko <[email protected]> | ||
R: Andy Shevchenko <[email protected]> | ||
R: Mika Westerberg <[email protected]> | ||
L: [email protected] | ||
S: Supported | ||
|
@@ -8953,7 +8953,7 @@ F: drivers/gpio/gpio-*cove.c | |
F: drivers/gpio/gpio-msic.c | ||
|
||
INTEL PMIC MULTIFUNCTION DEVICE DRIVERS | ||
R: Andy Shevchenko <[email protected]> | ||
M: Andy Shevchenko <[email protected]> | ||
S: Maintained | ||
F: drivers/mfd/intel_msic.c | ||
F: drivers/mfd/intel_soc_pmic* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,39 +7,28 @@ | |
* Wu, Jeff <[email protected]> | ||
*/ | ||
|
||
#include <linux/clk-provider.h> | ||
#include <linux/platform_data/clk-fch.h> | ||
#include <linux/platform_device.h> | ||
#include <linux/pm_domain.h> | ||
#include <linux/clkdev.h> | ||
#include <linux/acpi.h> | ||
#include <linux/clkdev.h> | ||
#include <linux/clk-provider.h> | ||
#include <linux/err.h> | ||
#include <linux/io.h> | ||
#include <linux/pm.h> | ||
#include <linux/platform_data/clk-fch.h> | ||
#include <linux/platform_device.h> | ||
|
||
#include "internal.h" | ||
|
||
ACPI_MODULE_NAME("acpi_apd"); | ||
struct apd_private_data; | ||
|
||
/** | ||
* ACPI_APD_SYSFS : add device attributes in sysfs | ||
* ACPI_APD_PM : attach power domain to device | ||
*/ | ||
#define ACPI_APD_SYSFS BIT(0) | ||
#define ACPI_APD_PM BIT(1) | ||
|
||
/** | ||
* struct apd_device_desc - a descriptor for apd device | ||
* @flags: device flags like %ACPI_APD_SYSFS, %ACPI_APD_PM | ||
* @fixed_clk_rate: fixed rate input clock source for acpi device; | ||
* 0 means no fixed rate input clock source | ||
* @properties: build-in properties of the device such as UART | ||
* @setup: a hook routine to set device resource during create platform device | ||
* | ||
* Device description defined as acpi_device_id.driver_data | ||
*/ | ||
struct apd_device_desc { | ||
unsigned int flags; | ||
unsigned int fixed_clk_rate; | ||
struct property_entry *properties; | ||
int (*setup)(struct apd_private_data *pdata); | ||
|
@@ -71,7 +60,6 @@ static int acpi_apd_setup(struct apd_private_data *pdata) | |
} | ||
|
||
#ifdef CONFIG_X86_AMD_PLATFORM_DEVICE | ||
|
||
static int misc_check_res(struct acpi_resource *ares, void *data) | ||
{ | ||
struct resource res; | ||
|
@@ -142,7 +130,7 @@ static const struct apd_device_desc cz_uart_desc = { | |
static const struct apd_device_desc fch_misc_desc = { | ||
.setup = fch_misc_setup, | ||
}; | ||
#endif | ||
#endif /* CONFIG_X86_AMD_PLATFORM_DEVICE */ | ||
|
||
#ifdef CONFIG_ARM64 | ||
static const struct apd_device_desc xgene_i2c_desc = { | ||
|
@@ -184,13 +172,9 @@ static const struct apd_device_desc hip08_spi_desc = { | |
.setup = acpi_apd_setup, | ||
.fixed_clk_rate = 250000000, | ||
}; | ||
#endif | ||
#endif /* CONFIG_ARM64 */ | ||
|
||
#else | ||
|
||
#define APD_ADDR(desc) (0UL) | ||
|
||
#endif /* CONFIG_X86_AMD_PLATFORM_DEVICE */ | ||
#endif | ||
|
||
/** | ||
* Create platform device during acpi scan attach handle. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.