Skip to content

Commit

Permalink
devices: Add Dell XPS 13 9345
Browse files Browse the repository at this point in the history
Co-authored-by: Aleksandrs Vinarskis <[email protected]>
  • Loading branch information
TravMurav and alexVinarskis committed Sep 22, 2024
1 parent bbee15f commit 1c8858a
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ attemtps to simplify running Linux-based or other OS that use DT by providing:

- <!-- sc7180 --> Acer Aspire 1
- <!-- x1e80100 --> ASUS Vivobook S 15
- *<!-- x1e80100 --> Dell XPS 13 9345*
- *<!-- x1e80100 --> HP Omnibook X 14*
- <!-- sc8180x --> Lenovo Flex 5G
- <!-- msm8998 --> Lenovo Miix 630
Expand Down
32 changes: 32 additions & 0 deletions scripts/hwids/x1e80100-dell-tributo-13.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
Computer Information
--------------------
BiosVendor: Dell Inc.
BiosVersion: 2.0.0
BiosMajorRelease: 2
BiosMinorRelease: 0
FirmwareMajorRelease: ff
FirmwareMinorRelease: ff
Manufacturer: Dell Inc.
Family: XPS
ProductName: XPS 13 9345
ProductSku: C69
EnclosureKind: a
BaseboardManufacturer: Dell Inc.
BaseboardProduct: DXPNM
Hardware IDs
------------
{eedeb5d9-1a0e-56e6-9137-eb6a723e58d1} <- Manufacturer + Family + ProductName + ProductSku + BiosVendor + BiosVersion + BiosMajorRelease + BiosMinorRelease
{1eb87d70-2f37-5f18-85de-30e46c17d540} <- Manufacturer + Family + ProductName + BiosVendor + BiosVersion + BiosMajorRelease + BiosMinorRelease
{1d1baf60-e2f3-5821-9d98-19a131bf8d93} <- Manufacturer + ProductName + BiosVendor + BiosVersion + BiosMajorRelease + BiosMinorRelease
{7c7c2920-cb59-56ad-bc8a-939e803b0192} <- Manufacturer + Family + ProductName + ProductSku + BaseboardManufacturer + BaseboardProduct
{940c6349-f0a5-54ba-8deb-10e709e0b76c} <- Manufacturer + Family + ProductName + ProductSku
{3b9a1d76-f2e8-52e8-84de-14c5942b3d41} <- Manufacturer + Family + ProductName
{3c2649a7-2275-5130-a0c4-cc5f9809a2c1} <- Manufacturer + ProductSku + BaseboardManufacturer + BaseboardProduct
{36e8dd88-512d-5a74-86a4-039333f9e15a} <- Manufacturer + ProductSku
{e656b5f2-69c3-55da-bf22-4dd58d5f6d4f} <- Manufacturer + ProductName + BaseboardManufacturer + BaseboardProduct
{bc685cec-e979-5cb9-bf02-e15586c7cb4b} <- Manufacturer + ProductName
{81972cb8-6fc7-5e08-b140-b0063ed4fefa} <- Manufacturer + Family + BaseboardManufacturer + BaseboardProduct
{61178075-a8fd-563c-9045-44227d8c121f} <- Manufacturer + Family
{5c163113-9296-5c8d-a92d-ae04eb59a0f7} <- Manufacturer + EnclosureKind
{1302793c-52b1-5354-b1cf-f2cd9206c157} <- Manufacturer + BaseboardManufacturer + BaseboardProduct
{85d38fda-fc0e-5c6f-808f-076984ae7978} <- Manufacturer
30 changes: 30 additions & 0 deletions src/devices/dell_xps_13_9345.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// SPDX-License-Identifier: BSD-3-Clause

#include <efi.h>
#include <device.h>

static EFI_GUID dell_inc__xps_13_9345_hwids[] = {
{ 0xeedeb5d9, 0x1a0e, 0x56e6, { 0x91, 0x37, 0xeb, 0x6a, 0x72, 0x3e, 0x58, 0xd1 } },
{ 0x1eb87d70, 0x2f37, 0x5f18, { 0x85, 0xde, 0x30, 0xe4, 0x6c, 0x17, 0xd5, 0x40 } },
{ 0x1d1baf60, 0xe2f3, 0x5821, { 0x9d, 0x98, 0x19, 0xa1, 0x31, 0xbf, 0x8d, 0x93 } },
{ 0x7c7c2920, 0xcb59, 0x56ad, { 0xbc, 0x8a, 0x93, 0x9e, 0x80, 0x3b, 0x01, 0x92 } },
{ 0x940c6349, 0xf0a5, 0x54ba, { 0x8d, 0xeb, 0x10, 0xe7, 0x09, 0xe0, 0xb7, 0x6c } },
{ 0x3b9a1d76, 0xf2e8, 0x52e8, { 0x84, 0xde, 0x14, 0xc5, 0x94, 0x2b, 0x3d, 0x41 } },
{ 0x3c2649a7, 0x2275, 0x5130, { 0xa0, 0xc4, 0xcc, 0x5f, 0x98, 0x09, 0xa2, 0xc1 } },
{ 0x36e8dd88, 0x512d, 0x5a74, { 0x86, 0xa4, 0x03, 0x93, 0x33, 0xf9, 0xe1, 0x5a } },
{ 0xe656b5f2, 0x69c3, 0x55da, { 0xbf, 0x22, 0x4d, 0xd5, 0x8d, 0x5f, 0x6d, 0x4f } },
{ 0xbc685cec, 0xe979, 0x5cb9, { 0xbf, 0x02, 0xe1, 0x55, 0x86, 0xc7, 0xcb, 0x4b } },
{ 0x81972cb8, 0x6fc7, 0x5e08, { 0xb1, 0x40, 0xb0, 0x06, 0x3e, 0xd4, 0xfe, 0xfa } },
{ 0x61178075, 0xa8fd, 0x563c, { 0x90, 0x45, 0x44, 0x22, 0x7d, 0x8c, 0x12, 0x1f } },
{ 0x5c163113, 0x9296, 0x5c8d, { 0xa9, 0x2d, 0xae, 0x04, 0xeb, 0x59, 0xa0, 0xf7 } },
{ 0x1302793c, 0x52b1, 0x5354, { 0xb1, 0xcf, 0xf2, 0xcd, 0x92, 0x06, 0xc1, 0x57 } },
{ 0x85d38fda, 0xfc0e, 0x5c6f, { 0x80, 0x8f, 0x07, 0x69, 0x84, 0xae, 0x79, 0x78 } },
{ }
};

static struct device dell_inc__xps_13_9345_dev = {
.name = L"Dell Inc. XPS 13 9345",
.dtb = L"qcom\\x1e80100-dell-tributo-13.dtb",
.hwids = dell_inc__xps_13_9345_hwids,
};
DEVICE_DESC(dell_inc__xps_13_9345_dev);

0 comments on commit 1c8858a

Please sign in to comment.