-
-
Notifications
You must be signed in to change notification settings - Fork 22
NUC BOX v0.9.2 #879
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dasharo
Are you sure you want to change the base?
NUC BOX v0.9.2 #879
Changes from all commits
4486200
77cab38
5d4138c
10b2cdb
bebd678
1540e8c
8af5556
1702aca
734be4f
584a316
d4d957f
b8097e1
cd10823
80d5d6c
68fe887
d1d73c5
93deeea
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,30 @@ | ||
| /* SPDX-License-Identifier: GPL-2.0-only */ | ||
|
|
||
| #include <intelblocks/gpio.h> | ||
|
|
||
| /* | ||
| * Enable/disable dynamic clock gating for all GPIO communities. | ||
| * Arg0 - MISCCFG_GPIO_PM_CONFIG_BITS to enable, 0 to disable. | ||
| */ | ||
| Method (PGPM, 1, Serialized) | ||
| { | ||
| For (Local0 = 0, Local0 < 6, Local0++) | ||
| { | ||
| \_SB.PCI0.CGPM (Local0, Arg0) | ||
| } | ||
| } | ||
|
|
||
| /* Method called from _PTS prior to enter sleep state */ | ||
| Method (MPTS, 1) { | ||
| Method (MPTS, 1, Serialized) { | ||
| PGPM (MISCCFG_GPIO_PM_CONFIG_BITS) | ||
| \_SB.SIO.PTS() | ||
| } | ||
|
|
||
| /* Method called from _WAK prior to wakeup */ | ||
| Method (MWAK, 1) { | ||
| Method (MWAK, 1, Serialized) { | ||
| \_SB.SIO.WAK() | ||
| PGPM (0) | ||
| If (CondRefOf (\_SB.PCI0.TXHC)) { | ||
| \_SB.TCWK (Arg0) | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,9 @@ | ||
| chip soc/intel/meteorlake | ||
|
|
||
| # set EPP to 45%: 45 * 256/100 = 115 = 0x73 | ||
| register "enable_energy_perf_pref" = "true" | ||
| register "energy_perf_pref_value" = "0x73" | ||
|
philipanda marked this conversation as resolved.
|
||
|
|
||
| device domain 0 on | ||
| #TODO: all the devices have different subsystem product IDs | ||
| #subsystemid 0x1849 TODO inherit | ||
|
|
@@ -30,6 +35,8 @@ chip soc/intel/meteorlake | |
| end | ||
| device ref tcss_dma0 on end | ||
| device ref xhci on | ||
| register "usb2_wake_enable_bitmap" = "0xFF" | ||
| register "usb3_wake_enable_bitmap" = "0x3" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why these values?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There are 10 USB2 ports defined (
And as for The front and Type-C USB3 lanes are on TCSS. So yes, this config covers all the ports, I've tested USB wake on each, including the Type-C's. |
||
| register "usb2_ports" = "{ | ||
| [0] = USB2_PORT_MID(OC_SKIP), /* USB3 Rear */ | ||
| [1] = USB2_PORT_MID(OC_SKIP), /* USB3 Rear */ | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.