Skip to content

Commit 428fc82

Browse files
committed
Add Framework12IntelGen13
Signed-off-by: Daniel Schaefer <dhs@frame.work>
1 parent df56687 commit 428fc82

4 files changed

Lines changed: 6 additions & 0 deletions

File tree

framework_lib/src/ccgx/device.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,15 @@ impl PdPort {
8080
| Platform::Framework16Amd7080
8181
| Platform::IntelCoreUltra1
8282
| Platform::Framework13AmdAi300
83+
| Platform::Framework12IntelGen13,
8384
PdPort::Left01,
8485
) => 1,
8586
(
8687
Platform::Framework13Amd7080
8788
| Platform::Framework16Amd7080
8889
| Platform::IntelCoreUltra1
8990
| Platform::Framework13AmdAi300
91+
| Platform::Framework12IntelGen13,
9092
PdPort::Right23,
9193
) => 2,
9294
// TODO: It only has a single PD controller

framework_lib/src/chromium_ec/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ pub fn has_mec() -> bool {
132132
| Platform::Framework16Amd7080
133133
| Platform::IntelCoreUltra1
134134
| Platform::Framework13AmdAi300
135+
| Platform::Framework12IntelGen13
135136
| Platform::FrameworkDesktopAmdAiMax300
136137
)
137138
}

framework_lib/src/smbios.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ pub fn get_platform() -> Option<Platform> {
265265
"Laptop 13 (AMD Ryzen 7040Series)" => Some(Platform::Framework13Amd7080),
266266
"Laptop 13 (AMD Ryzen 7040 Series)" => Some(Platform::Framework13Amd7080),
267267
"Laptop 13 (AMD Ryzen AI 300 Series)" => Some(Platform::Framework13AmdAi300),
268+
"Laptop 12 (13th Gen Intel Core)" => Some(Platform::Framework12IntelGen13),
268269
"Laptop 13 (Intel Core Ultra Series 1)" => Some(Platform::IntelCoreUltra1),
269270
"Laptop 16 (AMD Ryzen 7040 Series)" => Some(Platform::Framework16Amd7080),
270271
"Desktop (AMD Ryzen AI Max 300 Series)" => Some(Platform::FrameworkDesktopAmdAiMax300),

framework_lib/src/util.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ use crate::smbios;
1717

1818
#[derive(Debug, PartialEq, Clone, Copy)]
1919
pub enum Platform {
20+
/// Framework 12
21+
Framework12IntelGen13,
2022
/// Framework 13 - Intel 11th Gen, Codenamed TigerLake
2123
IntelGen11,
2224
/// Framework 13 - Intel 11th Gen, Codenamed AlderLake

0 commit comments

Comments
 (0)