Re: [PATCH 02/12] dt-bindings: watchdog: qcom-wdt: do not allow fallback alone

From: Guenter Roeck
Date: Tue Jan 31 2023 - 12:31:15 EST


On Mon, Dec 12, 2022 at 05:35:22PM +0100, Krzysztof Kozlowski wrote:
> The compatible "qcom,kpss-wdt" is too generic and should not be used
> alone. Mark it as deprecated when not prepended by specific compatible.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
> Acked-by: Rob Herring <robh@xxxxxxxxxx>

Reviewed-by: Guenter Roeck <linux@xxxxxxxxxxxx>

> ---
> Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml b/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml
> index e76364c52fc7..3e0b30a817d6 100644
> --- a/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml
> +++ b/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml
> @@ -31,9 +31,10 @@ properties:
> - qcom,apss-wdt-sm8150
> - qcom,apss-wdt-sm8250
> - const: qcom,kpss-wdt
> + - const: qcom,kpss-wdt
> + deprecated: true
> - items:
> - enum:
> - - qcom,kpss-wdt
> - qcom,kpss-timer
> - qcom,kpss-wdt-apq8064
> - qcom,kpss-wdt-ipq8064