Re: [PATCH v2 1/2] dt-bindings: watchdog: realtek,otto-wdt: Add fallback compatible

From: Krzysztof Kozlowski

Date: Thu May 14 2026 - 12:09:38 EST


On 14/05/2026 02:20, Guenter Roeck wrote:
>> + oneOf:
>> + - items:
>> + - enum:
>> + - realtek,rtl8380-wdt
>> + - realtek,rtl8390-wdt
>> + - realtek,rtl9300-wdt
>> + - realtek,rtl9310-wdt
>> + - const: realtek,otto-wdt
>
> For the Apple watchdog driver, the generic property "apple,wdt" is
> considered to be bad and is not supposed to be used for newer chips.
> For this watchdog driver, a generic property is introduced.
>
> What is the overall logic ? Is there some rule when a generic property
> such as "realtek,otto-wdt" is appropriate and preferred, and when it isn't
> (as in "apple,wdt") ?

Except what Rob said, it is also documented:

https://elixir.bootlin.com/linux/v7.1-rc3/source/Documentation/devicetree/bindings/writing-bindings.rst#L60

Best regards,
Krzysztof