Re: [RFC PATCH v3 4/5] dt-bindings: input: hid-over-spi: add the Surface Laptop 7 touchpad

From
Jizhou Tong <hidden>
Date
2026-11-21 16:24:13
Also in
linux-devicetree, linux-spi
Reply to
Conor Dooley, 2026-11-06
Hi Conor,

I rechecked this: spi-peripheral-props.yaml defines both bus-width
properties as uint32-array, including in current mainline [1]. With
dt-schema 2026.6, changing these constraints to plain "const: 4" makes
the valid example fail with "spi-rx-bus-width: 4 was expected" (and
likewise for TX).

The one-element items form passes the examples and rejects missing,
incorrect and multiple widths. I have kept it for now; is there a
preferred form for this array constraint?

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/spi/spi-peripheral-props.yaml

Thanks,
Jizhou
Thread (56 messages) 56 messages, 6 authors, last reply 18h ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help