Pull x86 platform driver updates from Ilpo Järvinen: - New acer-wmi HW support - Support for new revision of amd/pmf heartbeat notify - Correctly handle asus-wmi HW without LEDs - fujitsu-laptop battery charge control support - Support for new hp-wmi thermal profiles - Support ideapad-laptop refresh rate key - Put intel/pmc AI accelerator (GNA) into D3 if it has no driver to allow entry into low-power modes, and temporarily removed Lunar Lake SSRAM support due to breaking FW changes causing probe fail (further breaking FW changes are still pending) - Report pmc/punit_atom devices that prevent reacing low power levels - Surface Fan speed function support - Support for more sperial keys and complete the list of models with non-standard fan registers in thinkpad_acpi - New DMI touchscreen HW support - Continued modernization efforts of wmi - Removal of obsoleted ledtrig-audio call and the related dependency - Debug & metrics interface improvements - Miscellaneous cleanups / fixes / improvements * tag 'platform-drivers-x86-v6.9-1' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86: (87 commits) platform/x86/intel/pmc: Improve PKGC residency counters debug platform/x86: asus-wmi: Consider device is absent when the read is ~0 Documentation/x86/amd/hsmp: Updating urls platform/mellanox: mlxreg-hotplug: Remove redundant NULL-check platform/x86/amd/pmf: Update sps power thermals according to the platform-profiles platform/x86/amd/pmf: Add support to get sps default APTS index values platform/x86/amd/pmf: Add support to get APTS index numbers for static slider platform/x86/amd/pmf: Add support to notify sbios heart beat event platform/x86/amd/pmf: Add support to get sbios requests in PMF driver platform/x86/amd/pmf: Disable debugfs support for querying power thermals platform/x86/amd/pmf: Differentiate PMF ACPI versions x86/platform/atom: Check state of Punit managed devices on s2idle platform/x86: pmc_atom: Check state of PMC clocks on s2idle platform/x86: pmc_atom: Check state of PMC managed devices on s2idle platform/x86: pmc_atom: Annotate d3_sts register bit defines clk: x86: Move clk-pmc-atom register defines to include/linux/platform_data/x86/pmc_atom.h platform/x86: make fw_attr_class constant platform/x86/intel/tpmi: Change vsec offset to u64 platform/x86: intel_scu_pcidrv: Remove unused intel-mid.h platform/x86: intel_scu_wdt: Remove unused intel-mid.h ...
Showing the changes to include/linux/platform_data (1 of 58 files). Show all
Unified · Split
| @@ -43,6 +43,19 @@ · 42 unmodified lines | ||
| 43 | 43 | BIT_ORED_DEDICATED_IRQ_GPSC | \ |
| 44 | 44 | BIT_SHARED_IRQ_GPSS) |
| 45 | 45 | |
| 46 | +/* External clk generator settings */ | |
| 47 | +#define PMC_CLK_CTL_OFFSET 0x60 | |
| 48 | +#define PMC_CLK_CTL_SIZE 4 | |
| 49 | +#define PMC_CLK_NUM 6 | |
| 50 | +#define PMC_CLK_CTL_GATED_ON_D3 0x0 | |
| 51 | +#define PMC_CLK_CTL_FORCE_ON 0x1 | |
| 52 | +#define PMC_CLK_CTL_FORCE_OFF 0x2 | |
| 53 | +#define PMC_CLK_CTL_RESERVED 0x3 | |
| 54 | +#define PMC_MASK_CLK_CTL GENMASK(1, 0) | |
| 55 | +#define PMC_MASK_CLK_FREQ BIT(2) | |
| 56 | +#define PMC_CLK_FREQ_XTAL (0 << 2) /* 25 MHz */ | |
| 57 | +#define PMC_CLK_FREQ_PLL (1 << 2) /* 19.2 MHz */ | |
| 58 | + | |
| 46 | 59 | /* The timers accumulate time spent in sleep state */ |
| 47 | 60 | #define PMC_S0IR_TMR 0x80 |
| 48 | 61 | #define PMC_S0I1_TMR 0x84 |
| @@ -104,14 +117,14 @@ · 55 unmodified lines | ||
| 104 | 117 | #define BIT_SCC_SDIO BIT(9) |
| 105 | 118 | #define BIT_SCC_SDCARD BIT(10) |
| 106 | 119 | #define BIT_SCC_MIPI BIT(11) |
| 107 | −#define BIT_HDA BIT(12) | |
| 120 | +#define BIT_HDA BIT(12) /* CHT datasheet: reserved */ | |
| 108 | 121 | #define BIT_LPE BIT(13) |
| 109 | 122 | #define BIT_OTG BIT(14) |
| 110 | −#define BIT_USH BIT(15) | |
| 111 | −#define BIT_GBE BIT(16) | |
| 112 | −#define BIT_SATA BIT(17) | |
| 113 | −#define BIT_USB_EHCI BIT(18) | |
| 114 | −#define BIT_SEC BIT(19) | |
| 123 | +#define BIT_USH BIT(15) /* CHT datasheet: reserved */ | |
| 124 | +#define BIT_GBE BIT(16) /* CHT datasheet: reserved */ | |
| 125 | +#define BIT_SATA BIT(17) /* CHT datasheet: reserved */ | |
| 126 | +#define BIT_USB_EHCI BIT(18) /* CHT datasheet: XHCI! */ | |
| 127 | +#define BIT_SEC BIT(19) /* BYT datasheet: reserved */ | |
| 115 | 128 | #define BIT_PCIE_PORT0 BIT(20) |
| 116 | 129 | #define BIT_PCIE_PORT1 BIT(21) |
| 117 | 130 | #define BIT_PCIE_PORT2 BIT(22) |