[PATCH 2/3] dt-bindings: watchdog: Allow node names named 'pmic'

Krzysztof Kozlowski posted 3 patches 3 months, 3 weeks ago
[PATCH 2/3] dt-bindings: watchdog: Allow node names named 'pmic'
Posted by Krzysztof Kozlowski 3 months, 3 weeks ago
Watchdog is often part of more complex devices like Power Management ICs
(PMIC), e.g. on rohm,bd96801, and the schema can be referenced by a
binding describing parent (main) node.  Allow another typical name for
such PMIC devices: pmic.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 Documentation/devicetree/bindings/watchdog/watchdog.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/watchdog/watchdog.yaml b/Documentation/devicetree/bindings/watchdog/watchdog.yaml
index be0327f587eb..77ac23516d6d 100644
--- a/Documentation/devicetree/bindings/watchdog/watchdog.yaml
+++ b/Documentation/devicetree/bindings/watchdog/watchdog.yaml
@@ -21,7 +21,7 @@ select:
 
 properties:
   $nodename:
-    pattern: "^(timer|watchdog)(@.*|-([0-9]|[1-9][0-9]+))?$"
+    pattern: "^(pmic|timer|watchdog)(@.*|-([0-9]|[1-9][0-9]+))?$"
 
   timeout-sec:
     maxItems: 1

-- 
2.48.1
Re: [PATCH 2/3] dt-bindings: watchdog: Allow node names named 'pmic'
Posted by Rob Herring (Arm) 3 months, 2 weeks ago
On Mon, 20 Oct 2025 18:52:21 +0200, Krzysztof Kozlowski wrote:
> Watchdog is often part of more complex devices like Power Management ICs
> (PMIC), e.g. on rohm,bd96801, and the schema can be referenced by a
> binding describing parent (main) node.  Allow another typical name for
> such PMIC devices: pmic.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  Documentation/devicetree/bindings/watchdog/watchdog.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Acked-by: Rob Herring (Arm) <robh@kernel.org>
Re: [PATCH 2/3] dt-bindings: watchdog: Allow node names named 'pmic'
Posted by Guenter Roeck 3 months, 3 weeks ago
On 10/20/25 09:52, Krzysztof Kozlowski wrote:
> Watchdog is often part of more complex devices like Power Management ICs
> (PMIC), e.g. on rohm,bd96801, and the schema can be referenced by a
> binding describing parent (main) node.  Allow another typical name for
> such PMIC devices: pmic.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Reviewed-by: Guenter Roeck <linux@roeck-us.net>

> ---
>   Documentation/devicetree/bindings/watchdog/watchdog.yaml | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/watchdog/watchdog.yaml b/Documentation/devicetree/bindings/watchdog/watchdog.yaml
> index be0327f587eb..77ac23516d6d 100644
> --- a/Documentation/devicetree/bindings/watchdog/watchdog.yaml
> +++ b/Documentation/devicetree/bindings/watchdog/watchdog.yaml
> @@ -21,7 +21,7 @@ select:
>   
>   properties:
>     $nodename:
> -    pattern: "^(timer|watchdog)(@.*|-([0-9]|[1-9][0-9]+))?$"
> +    pattern: "^(pmic|timer|watchdog)(@.*|-([0-9]|[1-9][0-9]+))?$"
>   
>     timeout-sec:
>       maxItems: 1
>