Skip to content

Commit 5d48a71

Browse files
committed
util: Add Laptop 13 Intel Core Ultra Series 3 enum variant
Signed-off-by: Daniel Schaefer <dhs@frame.work>
1 parent e1926af commit 5d48a71

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

framework_lib/src/ccgx/device.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ impl PdPort {
6666
Platform::Framework13Amd7080
6767
| Platform::Framework13AmdAi300
6868
| Platform::Framework16Amd7080
69+
| Platform::IntelCoreUltra3
6970
| Platform::Framework16AmdAi300,
7071
PdPort::Right01,
7172
) => 0x42,
@@ -93,6 +94,7 @@ impl PdPort {
9394
| Platform::IntelGen11
9495
| Platform::IntelGen12
9596
| Platform::IntelGen13
97+
| Platform::IntelCoreUltra3
9698
| Platform::IntelCoreUltra1,
9799
PdPort::Left23,
98100
) => 0x40,
@@ -124,6 +126,7 @@ impl PdPort {
124126
| Platform::Framework16Amd7080
125127
| Platform::Framework16AmdAi300
126128
| Platform::IntelCoreUltra1
129+
| Platform::IntelCoreUltra3
127130
| Platform::Framework13AmdAi300
128131
| Platform::Framework12IntelGen13,
129132
PdPort::Right01,
@@ -133,6 +136,7 @@ impl PdPort {
133136
| Platform::Framework16Amd7080
134137
| Platform::Framework16AmdAi300
135138
| Platform::IntelCoreUltra1
139+
| Platform::IntelCoreUltra3
136140
| Platform::Framework13AmdAi300
137141
| Platform::Framework12IntelGen13,
138142
PdPort::Left23,

framework_lib/src/util.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ pub enum Platform {
2929
IntelGen13,
3030
/// Framework 13 - Intel Core Ultra Series 1, Codenamed MeteorLake
3131
IntelCoreUltra1,
32+
/// Framework 13 - Intel Core Ultra Series 3, Codenamed PantherLake
33+
IntelCoreUltra3,
3234
/// Framework 13 - AMD Ryzen 7080 Series
3335
Framework13Amd7080,
3436
/// Framework 13 - AMD Ryzen AI 300 Series
@@ -66,7 +68,8 @@ impl Platform {
6668
| Platform::IntelGen11
6769
| Platform::IntelGen12
6870
| Platform::IntelGen13
69-
| Platform::IntelCoreUltra1 => Some(CpuVendor::Intel),
71+
| Platform::IntelCoreUltra1
72+
| Platform::IntelCoreUltra3 => Some(CpuVendor::Intel),
7073
Platform::Framework13Amd7080
7174
| Platform::Framework13AmdAi300
7275
| Platform::Framework16Amd7080
@@ -83,6 +86,7 @@ impl Platform {
8386
| Platform::IntelGen12
8487
| Platform::IntelGen13
8588
| Platform::IntelCoreUltra1
89+
| Platform::IntelCoreUltra3
8690
| Platform::Framework13Amd7080
8791
| Platform::Framework13AmdAi300 => Some(PlatformFamily::Framework13),
8892
Platform::Framework16Amd7080 => Some(PlatformFamily::Framework16),

0 commit comments

Comments
 (0)