[Concept,12/25] efi: arm: Provide a mapping from CHIDs to compatible

Message ID 20250903133639.3235920-13-sjg@u-boot.org
State New
Headers
Series Selection of devicetree using CHIDs |

Commit Message

Simon Glass Sept. 3, 2025, 1:36 p.m. UTC
  From: Simon Glass <sjg@chromium.org>

The compatible string cannot be detected on the host so is not shown by
fupdtool. Add a simple text file to provide the mapping.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 .../efi/efi-arm_app/hwids/compatible.hwidmap  | 45 +++++++++++++++++++
 1 file changed, 45 insertions(+)
 create mode 100644 board/efi/efi-arm_app/hwids/compatible.hwidmap
  

Patch

diff --git a/board/efi/efi-arm_app/hwids/compatible.hwidmap b/board/efi/efi-arm_app/hwids/compatible.hwidmap
new file mode 100644
index 00000000000..eaec651a728
--- /dev/null
+++ b/board/efi/efi-arm_app/hwids/compatible.hwidmap
@@ -0,0 +1,45 @@ 
+# SPDX-License-Identifier: GPL-2.0+
+#
+# Copyright 2025 Simon Glass <sjg@chromium.org>
+#
+# Maps filenames in this directory to a single compatible strings used by Linux
+# for devicetrees.
+
+# Format:
+# filename (without .txt suffix): compatible_string
+
+msm8998-lenovo-miix-630-81f1: lenovo,miix-630
+sc7180-acer-aspire1: acer,aspire1
+sc8180x-lenovo-flex-5g-81xe: lenovo,flex-5g
+sc8180x-lenovo-flex-5g-82ak: lenovo,flex-5g
+sc8280xp-huawei-gaokun3: huawei,gaokun3
+sc8280xp-lenovo-thinkpad-x13s-21bx: lenovo,thinkpad-x13s
+sc8280xp-lenovo-thinkpad-x13s-21by: lenovo,thinkpad-x13s
+sc8280xp-microsoft-blackrock: microsoft,blackrock
+
+sc8280xp-microsoft-surface-pro-9-5G: microsoft,arcata
+x1p42100-microsoft-surface-pro-12in: microsoft,arcata
+
+sdm850-lenovo-yoga-c630: lenovo,yoga-c630
+x1e001de-devkit: qcom,x1e001de-devkit
+
+x1e78100-lenovo-thinkpad-t14s-21n1: lenovo,thinkpad-x13s
+x1e78100-lenovo-thinkpad-t14s-21n2: lenovo,thinkpad-x13s
+
+x1p42100-lenovo-ideapad-5-2in1: none
+
+x1p42100-asus-vivobook-s15: asus,vivobook-s15
+x1e80100-asus-vivobook-s15: asus,vivobook-s15
+x1e80100-asus-zenbook-a14: asus,zenbook-a14-ux3407ra
+x1e80100-crd: qcom,x1e80100-crd
+x1e80100-dell-inspiron-14-plus-7441: dell,inspiron-14-plus-7441
+x1e80100-dell-latitude-7455: dell,latitude-7455
+x1e80100-dell-xps13-9345: dell,xps13-9345
+x1e80100-hp-omnibook-x14: hp,omnibook-x14
+x1e80100-lenovo-yoga-slim7x: lenovo,yoga-slim7x
+x1e80100-microsoft-denali: microsoft,denali
+x1e80100-microsoft-romulus13: microsoft,romulus13
+x1e80100-microsoft-romulus15: microsoft,romulus15
+x1p42100-asus-zenbook-a14: asus,zenbook-a14-ux3407qa-lcd
+x1p42100-hp-omnibook-x14: hp,omnibook-x14-fe1
+x1p64100-acer-swift-sf14-11: acer,swift-sf14-11