[PATCH v1 1/2] dt-bindings: trivial-devices: add toradex,lava-hat-spi
From: Francesco Dolcini
Date: Mon Apr 20 2026 - 07:46:59 EST
From: Francesco Dolcini <francesco.dolcini@xxxxxxxxxxx>
Add a compatible string for the SPI loopback device present on the
Toradex LAVA HAT test fixture.
The Toradex LAVA HAT is a board used for automated hardware-in-the-loop
(HIL) testing, it provides several test-related functionalities, and
exists in multiple variants depending on the board it is mated with. The
SPI function is implemented with a loopback on the MISO/MOSI signals.
As the device can be fully described using only "compatible" and "reg",
it is appropriate to list it under trivial-devices.yaml rather than
introducing a dedicated binding.
The SPI implementation is identical across all Toradex LAVA HAT
variants, so a single compatible string is sufficient.
Link: https://lore.kernel.org/all/20260310133254.GA51497@francesco-nb/
Link: https://lore.kernel.org/all/20260316073547.11437-3-francesco@xxxxxxxxxx/
Signed-off-by: Francesco Dolcini <francesco.dolcini@xxxxxxxxxxx>
---
Documentation/devicetree/bindings/trivial-devices.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml
index 23fd4513933a..95e78ff804af 100644
--- a/Documentation/devicetree/bindings/trivial-devices.yaml
+++ b/Documentation/devicetree/bindings/trivial-devices.yaml
@@ -519,6 +519,8 @@ properties:
- ti,tps546d24
# I2C Touch-Screen Controller
- ti,tsc2003
+ # Toradex Lava Hat SPI
+ - toradex,lava-hat-spi
# Winbond/Nuvoton H/W Monitor
- winbond,w83793
--
2.47.3