Re: [PATCH v2] docs: dt: writing-bindings: Extend compatible fallbacks guideline

From: Rob Herring (Arm)

Date: Tue May 05 2026 - 11:46:42 EST



On Mon, 27 Apr 2026 18:07:40 +0200, Krzysztof Kozlowski wrote:
> Extend the guidelines when to use fallback compatibles to cover to
> common review responses. Devices are most likely compatible and should
> use fallbacks when having:
>
> 1. Compatible programming interface, meaning one is a subset, and Linux
> device drivers can use the subset to correctly match/bind and still
> operate with the subset features.
>
> 2. Device variant discovery through some means, like registers.
>
> Devices are incompatible and fallback is not suitable when that
> fallback cannot be used by the drivers to match/bind. In the same time
> commit message should clearly explain when the code suggests devices
> are compatible, but the binding does not define them as such.
>
> Acked-by: Conor Dooley <conor.dooley@xxxxxxxxxxxxx>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>
>
> ---
>
> Changes in v2:
> 1. Include Conor's suggestion about commit msg, a bit rephrased.
> 2. Add tag
> 3. Drop double-space, because file does not use that format (old habit).
> ---
> .../devicetree/bindings/writing-bindings.rst | 12 +++++++++++-
> 1 file changed, 11 insertions(+), 1 deletion(-)
>

Applied, thanks!