* Re: [PATCH] dt-bindings: watchdog: Convert nuvoton,npcm-wdt to DT schema
@ 2025-09-11 2:03 kernel test robot
0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2025-09-11 2:03 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp
::::::
:::::: Manual check reason: "dtcheck: binding changes may go via different trees"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20250909142201.3209482-1-robh@kernel.org>
References: <20250909142201.3209482-1-robh@kernel.org>
TO: "Rob Herring (Arm)" <robh@kernel.org>
Hi Rob,
kernel test robot noticed the following build warnings:
[auto build test WARNING on robh/for-next]
[also build test WARNING on linus/master v6.17-rc5 next-20250910]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Rob-Herring-Arm/dt-bindings-watchdog-Convert-nuvoton-npcm-wdt-to-DT-schema/20250909-222349
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
patch link: https://lore.kernel.org/r/20250909142201.3209482-1-robh%40kernel.org
patch subject: [PATCH] dt-bindings: watchdog: Convert nuvoton,npcm-wdt to DT schema
:::::: branch date: 35 hours ago
:::::: commit date: 35 hours ago
config: arm64-randconfig-051-20250910 (https://download.01.org/0day-ci/archive/20250911/202509110951.OkX2vN3y-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 13.4.0
dtschema version: 2025.8
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250911/202509110951.OkX2vN3y-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/202509110951.OkX2vN3y-lkp@intel.com/
dtcheck warnings: (new ones prefixed by >>)
arch/arm64/boot/dts/nuvoton/nuvoton-npcm845-evb.dtb: system-controller@f0800000 (nuvoton,npcm845-gcr): compatible: ['nuvoton,npcm845-gcr', 'syscon'] is too short
from schema $id: http://devicetree.org/schemas/soc/nuvoton/nuvoton,npcm-gcr.yaml#
arch/arm64/boot/dts/nuvoton/nuvoton-npcm845-evb.dtb: ahb (simple-bus): apb:ranges: [[0, 0, 4026531840, 3145728], [4293918720, 0, 4293918720, 90112]] is not of type 'boolean'
from schema $id: http://devicetree.org/schemas/simple-bus.yaml#
arch/arm64/boot/dts/nuvoton/nuvoton-npcm845-evb.dtb: reset-controller@f0801000 (nuvoton,npcm845-reset): '#clock-cells' is a required property
from schema $id: http://devicetree.org/schemas/reset/nuvoton,npcm750-reset.yaml#
arch/arm64/boot/dts/nuvoton/nuvoton-npcm845-evb.dtb: reset-controller@f0801000 (nuvoton,npcm845-reset): 'clocks' is a required property
from schema $id: http://devicetree.org/schemas/reset/nuvoton,npcm750-reset.yaml#
arch/arm64/boot/dts/nuvoton/nuvoton-npcm845-evb.dtb: timer@8000 (nuvoton,npcm845-timer): 'clock-names' does not match any of the regexes: '^pinctrl-[0-9]+$'
from schema $id: http://devicetree.org/schemas/timer/nuvoton,npcm7xx-timer.yaml#
>> arch/arm64/boot/dts/nuvoton/nuvoton-npcm845-evb.dtb: watchdog@901c (nuvoton,npcm845-wdt): Unevaluated properties are not allowed ('syscon' was unexpected)
from schema $id: http://devicetree.org/schemas/watchdog/nuvoton,npcm750-wdt.yaml#
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 4+ messages in thread* [PATCH] dt-bindings: watchdog: Convert nuvoton,npcm-wdt to DT schema
@ 2025-09-09 14:21 Rob Herring (Arm)
2025-09-09 15:45 ` Guenter Roeck
2025-09-18 19:49 ` Rob Herring (Arm)
0 siblings, 2 replies; 4+ messages in thread
From: Rob Herring (Arm) @ 2025-09-09 14:21 UTC (permalink / raw)
To: Avi Fishman, Tomer Maimon, Tali Perry, Patrick Venture,
Nancy Yuen, Benjamin Fair, Wim Van Sebroeck, Guenter Roeck,
Krzysztof Kozlowski, Conor Dooley, Joel Stanley
Cc: openbmc, linux-watchdog, devicetree, linux-kernel
Convert the Nuvoton watchdog binding to DT schema format. It's a
straight-forward conversion.
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
.../bindings/watchdog/nuvoton,npcm-wdt.txt | 30 ----------
.../watchdog/nuvoton,npcm750-wdt.yaml | 60 +++++++++++++++++++
2 files changed, 60 insertions(+), 30 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/watchdog/nuvoton,npcm-wdt.txt
create mode 100644 Documentation/devicetree/bindings/watchdog/nuvoton,npcm750-wdt.yaml
diff --git a/Documentation/devicetree/bindings/watchdog/nuvoton,npcm-wdt.txt b/Documentation/devicetree/bindings/watchdog/nuvoton,npcm-wdt.txt
deleted file mode 100644
index 866a958b8a2b..000000000000
--- a/Documentation/devicetree/bindings/watchdog/nuvoton,npcm-wdt.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-Nuvoton NPCM Watchdog
-
-Nuvoton NPCM timer module provides five 24-bit timer counters, and a watchdog.
-The watchdog supports a pre-timeout interrupt that fires 10ms before the
-expiry.
-
-Required properties:
-- compatible : "nuvoton,npcm750-wdt" for NPCM750 (Poleg), or
- "nuvoton,wpcm450-wdt" for WPCM450 (Hermon), or
- "nuvoton,npcm845-wdt" for NPCM845 (Arbel).
-- reg : Offset and length of the register set for the device.
-- interrupts : Contain the timer interrupt with flags for
- falling edge.
-
-Required clocking property, have to be one of:
-- clocks : phandle of timer reference clock.
-- clock-frequency : The frequency in Hz of the clock that drives the NPCM7xx
- timer (usually 25000000).
-
-Optional properties:
-- timeout-sec : Contains the watchdog timeout in seconds
-
-Example:
-
-timer@f000801c {
- compatible = "nuvoton,npcm750-wdt";
- interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
- reg = <0xf000801c 0x4>;
- clocks = <&clk NPCM7XX_CLK_TIMER>;
-};
diff --git a/Documentation/devicetree/bindings/watchdog/nuvoton,npcm750-wdt.yaml b/Documentation/devicetree/bindings/watchdog/nuvoton,npcm750-wdt.yaml
new file mode 100644
index 000000000000..7aa30f5b5c49
--- /dev/null
+++ b/Documentation/devicetree/bindings/watchdog/nuvoton,npcm750-wdt.yaml
@@ -0,0 +1,60 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/watchdog/nuvoton,npcm750-wdt.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Nuvoton NPCM Watchdog
+
+maintainers:
+ - Joel Stanley <joel@jms.id.au>
+
+description:
+ Nuvoton NPCM timer module provides five 24-bit timer counters, and a watchdog.
+ The watchdog supports a pre-timeout interrupt that fires 10ms before the
+ expiry.
+
+allOf:
+ - $ref: watchdog.yaml#
+
+properties:
+ compatible:
+ oneOf:
+ - enum:
+ - nuvoton,npcm750-wdt
+ - nuvoton,wpcm450-wdt
+ - items:
+ - enum:
+ - nuvoton,npcm845-wdt
+ - const: nuvoton,npcm750-wdt
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ maxItems: 1
+
+ clocks:
+ maxItems: 1
+
+ clock-frequency:
+ description: Frequency in Hz of the clock that drives the NPCM timer.
+
+required:
+ - compatible
+ - reg
+ - interrupts
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
+ #include <dt-bindings/clock/nuvoton,npcm7xx-clock.h>
+
+ watchdog@f000801c {
+ compatible = "nuvoton,npcm750-wdt";
+ interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
+ reg = <0xf000801c 0x4>;
+ clocks = <&clk NPCM7XX_CLK_TIMER>;
+ };
--
2.51.0
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [PATCH] dt-bindings: watchdog: Convert nuvoton,npcm-wdt to DT schema
2025-09-09 14:21 Rob Herring (Arm)
@ 2025-09-09 15:45 ` Guenter Roeck
2025-09-18 19:49 ` Rob Herring (Arm)
1 sibling, 0 replies; 4+ messages in thread
From: Guenter Roeck @ 2025-09-09 15:45 UTC (permalink / raw)
To: Rob Herring (Arm), Avi Fishman, Tomer Maimon, Tali Perry,
Patrick Venture, Nancy Yuen, Benjamin Fair, Wim Van Sebroeck,
Krzysztof Kozlowski, Conor Dooley, Joel Stanley
Cc: openbmc, linux-watchdog, devicetree, linux-kernel
On 9/9/25 07:21, Rob Herring (Arm) wrote:
> Convert the Nuvoton watchdog binding to DT schema format. It's a
> straight-forward conversion.
>
> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Acked-by: Guenter Roeck <linux@roeck-us.net>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] dt-bindings: watchdog: Convert nuvoton,npcm-wdt to DT schema
2025-09-09 14:21 Rob Herring (Arm)
2025-09-09 15:45 ` Guenter Roeck
@ 2025-09-18 19:49 ` Rob Herring (Arm)
1 sibling, 0 replies; 4+ messages in thread
From: Rob Herring (Arm) @ 2025-09-18 19:49 UTC (permalink / raw)
To: Rob Herring (Arm)
Cc: Wim Van Sebroeck, devicetree, Avi Fishman, Tali Perry,
Joel Stanley, linux-watchdog, Patrick Venture, openbmc,
Krzysztof Kozlowski, Nancy Yuen, Conor Dooley, Tomer Maimon,
linux-kernel, Guenter Roeck, Benjamin Fair
On Tue, 09 Sep 2025 09:21:59 -0500, Rob Herring (Arm) wrote:
> Convert the Nuvoton watchdog binding to DT schema format. It's a
> straight-forward conversion.
>
> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
> ---
> .../bindings/watchdog/nuvoton,npcm-wdt.txt | 30 ----------
> .../watchdog/nuvoton,npcm750-wdt.yaml | 60 +++++++++++++++++++
> 2 files changed, 60 insertions(+), 30 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/watchdog/nuvoton,npcm-wdt.txt
> create mode 100644 Documentation/devicetree/bindings/watchdog/nuvoton,npcm750-wdt.yaml
>
Applied, thanks!
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-09-18 19:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-11 2:03 [PATCH] dt-bindings: watchdog: Convert nuvoton,npcm-wdt to DT schema kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2025-09-09 14:21 Rob Herring (Arm)
2025-09-09 15:45 ` Guenter Roeck
2025-09-18 19:49 ` Rob Herring (Arm)
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.