[Concept,14/17] efi: arm: x86: Enable the mouse

Message ID 20250915104705.937780-13-sjg@u-boot.org
State New
Headers
Series mouse: Provide some support for using a mouse |

Commit Message

Simon Glass Sept. 15, 2025, 10:46 a.m. UTC
  From: Simon Glass <sjg@chromium.org>

Provide a devicetree fragment to enable the mouse for x86 and arm, when
running as an EFI app.

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

 arch/arm/dts/efi-arm_app.dts | 5 +++++
 arch/x86/dts/efi-x86_app.dts | 4 ++++
 2 files changed, 9 insertions(+)
  

Patch

diff --git a/arch/arm/dts/efi-arm_app.dts b/arch/arm/dts/efi-arm_app.dts
index 38cab04e510..d2a008fba6a 100644
--- a/arch/arm/dts/efi-arm_app.dts
+++ b/arch/arm/dts/efi-arm_app.dts
@@ -23,9 +23,14 @@ 
 		compatible = "efi,reset";
 		bootph-all;
 	};
+
 	efi-fb {
 		compatible = "efi-fb";
 		bootph-some-ram;
 	};
 
+	mouse {
+		compatible = "efi,mouse";
+	};
+
 };
diff --git a/arch/x86/dts/efi-x86_app.dts b/arch/x86/dts/efi-x86_app.dts
index 59e2e402d5e..1daba34d5f0 100644
--- a/arch/x86/dts/efi-x86_app.dts
+++ b/arch/x86/dts/efi-x86_app.dts
@@ -30,4 +30,8 @@ 
 		bootph-some-ram;
 	};
 
+	mouse {
+		compatible = "efi,mouse";
+	};
+
 };