From 0a76e3ccaa4a59535de361b857184808caf4c7ef Mon Sep 17 00:00:00 2001 From: bullwinkle3000 <91431084+bullwinkle3000@users.noreply.github.com> Date: Tue, 9 Jan 2024 13:17:11 -0500 Subject: [PATCH] Bad driver name and renamed to @spi0 --- .idea/workspace.xml | 14 +++++++++++--- config/boards/shields/wyld_dm/wyld_dm_left.overlay | 4 ++-- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index bc369d6..6dda574 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -11,7 +11,7 @@ - + diff --git a/config/boards/shields/wyld_dm/wyld_dm_left.overlay b/config/boards/shields/wyld_dm/wyld_dm_left.overlay index 21fc71a..6534e57 100644 --- a/config/boards/shields/wyld_dm/wyld_dm_left.overlay +++ b/config/boards/shields/wyld_dm/wyld_dm_left.overlay @@ -58,14 +58,14 @@ // }; //}; -&blackpill_spi { +&spi0 { status = "okay"; compatible = "nordic,nrf-spim"; cs-gpios = <&gpio0 31 GPIO_ACTIVE_LOW>; trackball: trackball@0 { status = "okay"; - compatible = "pixart,pmw3660"; + compatible = "pixart,pmw3360"; reg = <0>; spi-max-frequency = <2000000>; irq-gpios = <&gpio0 3 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;