Skip to content

Commit

Permalink
Add addw4
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Crawford <tcrawford@system76.com>
  • Loading branch information
crawfxrd committed Mar 8, 2024
1 parent 27192d2 commit 4f8731e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/graphics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ const EXTERNAL_DISPLAY_REQUIRES_NVIDIA: &[&str] = &[
"addw1",
"addw2",
"addw3",
"addw4",
"bonw15",
"gaze14",
"gaze15",
Expand Down
12 changes: 12 additions & 0 deletions src/hotplug/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,18 @@ impl HotPlugDetect {
],
}),
}),
"addw4" => Ok(Self {
integrated: Integrated::Intel(Intel {
sideband: Sideband::new(0xE000_0000)?,
port: 0x6E,
pins: [
0x02, // USB-C
0x04, // HDMI
NO_PIN, // NC
NO_PIN, // NC
],
}),
}),
"bonw15" => Ok(Self {
integrated: Integrated::Intel(Intel {
sideband: Sideband::new(0xE000_0000)?,
Expand Down

0 comments on commit 4f8731e

Please sign in to comment.