Re: [PATCH v6] dt-bindings: misc: convert lis302.txt to YAML
From: Krzysztof Kozlowski
Date: Mon Jun 22 2026 - 01:28:05 EST
On 19/06/2026 15:14, Jad Keskes wrote:
> Replace the old lis302.txt with a YAML binding covering all four
> compatibles (st,lis3lv02d, st,lis302dl-spi, st,lis331dlh,
> st,lis33de) and their ~35 DT properties.
>
> The old txt documented st,click-thresh-* and st,click-click-time-limit
> but the code reads st,click-threshold-* and st,click-time-limit.
> Keep the old names as deprecated so existing DTBs don't break.
>
> Tested: dt_binding_check. dtbs_check against 7 omap/am335x DTBs
> (am335x-evm, am335x-evmsk, am335x-pepper, am437x-sk-evm, omap3-n900,
No. Impossible.
> omap3-n950, omap3-gta04a3) — no misc schema errors. Pre-existing
> IIO schema errors on paired compatible nodes unchanged.
>
> Signed-off-by: Jad Keskes <inasj268@xxxxxxxxx>
> ---
>
> v6:
> - ACTUALLY commit the changes this time (git add before git commit --amend)
> - Remove redundant select block
> - Remove Vdd-supply/Vdd_IO-supply: false from SPI branch
> - Split allOf into two independent if/then branches
> .../devicetree/bindings/iio/accel/lis302.txt | 119 ------
And ANOTHER version!
Slow down. You sent five versions within one hour. You did not even wait
for any feedback, so what is the point?
This is already being done by other people.
https://lore.kernel.org/all/?q=dfn%3Alis302
Best regards,
Krzysztof