Linux-Watchdog Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] dt-binding: watchdog: add Rockchip compatibles to snps,dw-wdt.yaml
@ 2020-11-16 14:25 Johan Jonker
  2020-12-07 19:30 ` [PATCH] dt-binding: watchdog: add Rockchip compatibles to snps, dw-wdt.yaml Rob Herring
  2020-12-13 16:16 ` [PATCH] dt-binding: watchdog: add Rockchip compatibles to snps,dw-wdt.yaml Guenter Roeck
  0 siblings, 2 replies; 3+ messages in thread
From: Johan Jonker @ 2020-11-16 14:25 UTC (permalink / raw)
  To: heiko
  Cc: robh+dt, wim, linux, jamie, linux-watchdog, devicetree,
	linux-arm-kernel, linux-rockchip, linux-kernel

The Rockchip watchdog compatibles below are already in use,
but somehow never added to a document,
so add them to the snps,dw-wdt.yaml file.

"rockchip,rk3066-wdt", "snps,dw-wdt"
"rockchip,rk3188-wdt", "snps,dw-wdt"
"rockchip,rk3288-wdt", "snps,dw-wdt"
"rockchip,rk3368-wdt", "snps,dw-wdt"

make ARCH=arm dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml

make ARCH=arm64 dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
---
 Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml b/Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
index d9fc7bb85..f7ee9229c 100644
--- a/Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
+++ b/Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
@@ -14,7 +14,15 @@ maintainers:
 
 properties:
   compatible:
-    const: snps,dw-wdt
+    oneOf:
+      - const: snps,dw-wdt
+      - items:
+          - enum:
+              - rockchip,rk3066-wdt
+              - rockchip,rk3188-wdt
+              - rockchip,rk3288-wdt
+              - rockchip,rk3368-wdt
+          - const: snps,dw-wdt
 
   reg:
     maxItems: 1
-- 
2.11.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-binding: watchdog: add Rockchip compatibles to snps, dw-wdt.yaml
  2020-11-16 14:25 [PATCH] dt-binding: watchdog: add Rockchip compatibles to snps,dw-wdt.yaml Johan Jonker
@ 2020-12-07 19:30 ` Rob Herring
  2020-12-13 16:16 ` [PATCH] dt-binding: watchdog: add Rockchip compatibles to snps,dw-wdt.yaml Guenter Roeck
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2020-12-07 19:30 UTC (permalink / raw)
  To: Johan Jonker
  Cc: robh+dt, heiko, jamie, linux-arm-kernel, linux-watchdog,
	linux-rockchip, linux, linux-kernel, devicetree, wim

On Mon, 16 Nov 2020 15:25:39 +0100, Johan Jonker wrote:
> The Rockchip watchdog compatibles below are already in use,
> but somehow never added to a document,
> so add them to the snps,dw-wdt.yaml file.
> 
> "rockchip,rk3066-wdt", "snps,dw-wdt"
> "rockchip,rk3188-wdt", "snps,dw-wdt"
> "rockchip,rk3288-wdt", "snps,dw-wdt"
> "rockchip,rk3368-wdt", "snps,dw-wdt"
> 
> make ARCH=arm dtbs_check
> DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
> 
> make ARCH=arm64 dtbs_check
> DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
> 
> Signed-off-by: Johan Jonker <jbx6244@gmail.com>
> ---
>  Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml | 10 +++++++++-
>  1 file changed, 9 insertions(+), 1 deletion(-)
> 

Reviewed-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-binding: watchdog: add Rockchip compatibles to snps,dw-wdt.yaml
  2020-11-16 14:25 [PATCH] dt-binding: watchdog: add Rockchip compatibles to snps,dw-wdt.yaml Johan Jonker
  2020-12-07 19:30 ` [PATCH] dt-binding: watchdog: add Rockchip compatibles to snps, dw-wdt.yaml Rob Herring
@ 2020-12-13 16:16 ` Guenter Roeck
  1 sibling, 0 replies; 3+ messages in thread
From: Guenter Roeck @ 2020-12-13 16:16 UTC (permalink / raw)
  To: Johan Jonker
  Cc: heiko, robh+dt, wim, jamie, linux-watchdog, devicetree,
	linux-arm-kernel, linux-rockchip, linux-kernel

On Mon, Nov 16, 2020 at 03:25:39PM +0100, Johan Jonker wrote:
> The Rockchip watchdog compatibles below are already in use,
> but somehow never added to a document,
> so add them to the snps,dw-wdt.yaml file.
> 
> "rockchip,rk3066-wdt", "snps,dw-wdt"
> "rockchip,rk3188-wdt", "snps,dw-wdt"
> "rockchip,rk3288-wdt", "snps,dw-wdt"
> "rockchip,rk3368-wdt", "snps,dw-wdt"
> 
> make ARCH=arm dtbs_check
> DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
> 
> make ARCH=arm64 dtbs_check
> DT_SCHEMA_FILES=Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
> 
> Signed-off-by: Johan Jonker <jbx6244@gmail.com>
> Reviewed-by: Rob Herring <robh@kernel.org>

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

> ---
>  Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml | 10 +++++++++-
>  1 file changed, 9 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml b/Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
> index d9fc7bb85..f7ee9229c 100644
> --- a/Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
> +++ b/Documentation/devicetree/bindings/watchdog/snps,dw-wdt.yaml
> @@ -14,7 +14,15 @@ maintainers:
>  
>  properties:
>    compatible:
> -    const: snps,dw-wdt
> +    oneOf:
> +      - const: snps,dw-wdt
> +      - items:
> +          - enum:
> +              - rockchip,rk3066-wdt
> +              - rockchip,rk3188-wdt
> +              - rockchip,rk3288-wdt
> +              - rockchip,rk3368-wdt
> +          - const: snps,dw-wdt
>  
>    reg:
>      maxItems: 1

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-16 14:25 [PATCH] dt-binding: watchdog: add Rockchip compatibles to snps,dw-wdt.yaml Johan Jonker
2020-12-07 19:30 ` [PATCH] dt-binding: watchdog: add Rockchip compatibles to snps, dw-wdt.yaml Rob Herring
2020-12-13 16:16 ` [PATCH] dt-binding: watchdog: add Rockchip compatibles to snps,dw-wdt.yaml Guenter Roeck

Linux-Watchdog Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-watchdog/0 linux-watchdog/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-watchdog linux-watchdog/ https://lore.kernel.org/linux-watchdog \
		linux-watchdog@vger.kernel.org
	public-inbox-index linux-watchdog

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-watchdog


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git