[Concept,6/6] sandbox: Enable the mouse

Message ID 20250825204022.3655799-5-sjg@u-boot.org
State New
Headers
Series Provide basic support for a mouse |

Commit Message

Simon Glass Aug. 25, 2025, 8:40 p.m. UTC
  From: Simon Glass <sjg@chromium.org>

Enable support for an mouse in sandbox, implemented by SDL.

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

 arch/sandbox/dts/sandbox.dtsi | 4 ++++
 1 file changed, 4 insertions(+)
  

Patch

diff --git a/arch/sandbox/dts/sandbox.dtsi b/arch/sandbox/dts/sandbox.dtsi
index dd18bd26352..48e34a7aee5 100644
--- a/arch/sandbox/dts/sandbox.dtsi
+++ b/arch/sandbox/dts/sandbox.dtsi
@@ -203,6 +203,10 @@ 
 		};
 	};
 
+	mouse {
+		compatible = "sandbox,mouse";
+	};
+
 	pci@0 {
 		pci@1e,0 {
 			compatible = "sandbox,pmc";