All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] dt-bindings: rtc: moxa,moxart-rtc: convert to json-schema
@ 2026-03-31 21:35 kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2026-03-31 21:35 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: <20260329184615.454887-1-robyserbanpascu06@gmail.com>
References: <20260329184615.454887-1-robyserbanpascu06@gmail.com>
TO: "Serban-Pascu Robert" <robyserbanpascu06@gmail.com>
TO: alexandre.belloni@bootlin.com
CC: robh@kernel.org
CC: krzk+dt@kernel.org
CC: conor+dt@kernel.org
CC: devicetree@vger.kernel.org
CC: linux-rtc@vger.kernel.org
CC: linux-kernel@vger.kernel.org
CC: daniel.baluta@nxp.com
CC: "Serban-Pascu Robert" <robyserbanpascu06@gmail.com>

Hi Serban-Pascu,

kernel test robot noticed the following build warnings:

[auto build test WARNING on abelloni/rtc-next]
[also build test WARNING on robh/for-next linus/master v7.0-rc6 next-20260330]
[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/Serban-Pascu-Robert/dt-bindings-rtc-moxa-moxart-rtc-convert-to-json-schema/20260330-111814
base:   https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git rtc-next
patch link:    https://lore.kernel.org/r/20260329184615.454887-1-robyserbanpascu06%40gmail.com
patch subject: [PATCH] dt-bindings: rtc: moxa,moxart-rtc: convert to json-schema
:::::: branch date: 2 days ago
:::::: commit date: 2 days ago
config: arm-randconfig-2052-20260330 (https://download.01.org/0day-ci/archive/20260331/202603312318.dkRDIuom-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project f43d6834093b19baf79beda8c0337ab020ac5f17)
dtschema: 2025.13.dev9+g4cd3cdfac
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260331/202603312318.dkRDIuom-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/202603312318.dkRDIuom-lkp@intel.com/

dtcheck warnings: (new ones prefixed by >>)
   arch/arm/boot/dts/moxa/moxart-uc7112lx.dtb: interrupt-controller@98800000 (moxa,moxart-ic): 'interrupt-mask' does not match any of the regexes: '^pinctrl-[0-9]+$'
   	from schema $id: http://devicetree.org/schemas/interrupt-controller/faraday,ftintc010.yaml
   arch/arm/boot/dts/moxa/moxart-uc7112lx.dtb: gpio@98700000 (moxa,moxart-gpio): 'oneOf' conditional failed, one must be fixed:
   	'interrupts' is a required property
   	'interrupts-extended' is a required property
   	from schema $id: http://devicetree.org/schemas/gpio/faraday,ftgpio010.yaml
   arch/arm/boot/dts/moxa/moxart-uc7112lx.dtb: gpio@98700000 (moxa,moxart-gpio): 'interrupt-controller' is a required property
   	from schema $id: http://devicetree.org/schemas/gpio/faraday,ftgpio010.yaml
   arch/arm/boot/dts/moxa/moxart-uc7112lx.dtb: gpio@98700000 (moxa,moxart-gpio): '#interrupt-cells' is a required property
   	from schema $id: http://devicetree.org/schemas/gpio/faraday,ftgpio010.yaml
>> arch/arm/boot/dts/moxa/moxart-uc7112lx.dtb: rtc (moxa,moxart-rtc): 'gpio-rtc-data', 'gpio-rtc-reset', 'gpio-rtc-sclk' do not match any of the regexes: '^pinctrl-[0-9]+$'
   	from schema $id: http://devicetree.org/schemas/rtc/moxa,moxart-rtc.yaml
>> arch/arm/boot/dts/moxa/moxart-uc7112lx.dtb: rtc (moxa,moxart-rtc): 'rtc-sclk-gpios' is a required property
   	from schema $id: http://devicetree.org/schemas/rtc/moxa,moxart-rtc.yaml
>> arch/arm/boot/dts/moxa/moxart-uc7112lx.dtb: rtc (moxa,moxart-rtc): 'rtc-data-gpios' is a required property
   	from schema $id: http://devicetree.org/schemas/rtc/moxa,moxart-rtc.yaml
>> arch/arm/boot/dts/moxa/moxart-uc7112lx.dtb: rtc (moxa,moxart-rtc): 'rtc-reset-gpios' is a required property
   	from schema $id: http://devicetree.org/schemas/rtc/moxa,moxart-rtc.yaml
   arch/arm/boot/dts/moxa/moxart-uc7112lx.dtb: /soc/dma@90500000: failed to match any schema with compatible: ['moxa,moxart-dma']
   arch/arm/boot/dts/moxa/moxart-uc7112lx.dtb: /soc/mmc@98e00000: failed to match any schema with compatible: ['moxa,moxart-mmc']
   arch/arm/boot/dts/moxa/moxart-uc7112lx.dtb: /soc/mdio@90900090: failed to match any schema with compatible: ['moxa,moxart-mdio']
   arch/arm/boot/dts/moxa/moxart-uc7112lx.dtb: /soc/mdio@90900090/ethernet-phy@1: failed to match any schema with compatible: ['moxa,moxart-rtl8201cp', 'ethernet-phy-ieee802.3-c22']
   arch/arm/boot/dts/moxa/moxart-uc7112lx.dtb: ethernet-phy@1 (moxa,moxart-rtl8201cp): compatible: 'oneOf' conditional failed, one must be fixed:
   	['moxa,moxart-rtl8201cp', 'ethernet-phy-ieee802.3-c22'] is too long
   	'ethernet-phy-ieee802.3-c22' was expected
   	'ethernet-phy-ieee802.3-c45' was expected
   	'moxa,moxart-rtl8201cp' does not match '^ethernet-phy-id[a-f0-9]{4}\\.[a-f0-9]{4}$'

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 3+ messages in thread
* [PATCH] dt-bindings: rtc: moxa,moxart-rtc: convert to json-schema
@ 2026-03-29 18:46 Serban-Pascu Robert
  2026-03-30  7:34 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 3+ messages in thread
From: Serban-Pascu Robert @ 2026-03-29 18:46 UTC (permalink / raw)
  To: alexandre.belloni
  Cc: robh, krzk+dt, conor+dt, devicetree, linux-rtc, linux-kernel,
	daniel.baluta, Serban-Pascu Robert

Convert the MOXA ART real-time clock text binding to DT schema.

Signed-off-by: Serban-Pascu Robert <robyserbanpascu06@gmail.com>
---
 .../bindings/rtc/moxa,moxart-rtc.txt          | 17 --------
 .../bindings/rtc/moxa,moxart-rtc.yaml         | 43 +++++++++++++++++++
 2 files changed, 43 insertions(+), 17 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/rtc/moxa,moxart-rtc.txt
 create mode 100644 Documentation/devicetree/bindings/rtc/moxa,moxart-rtc.yaml

diff --git a/Documentation/devicetree/bindings/rtc/moxa,moxart-rtc.txt b/Documentation/devicetree/bindings/rtc/moxa,moxart-rtc.txt
deleted file mode 100644
index 1374df7bf9d6..000000000000
--- a/Documentation/devicetree/bindings/rtc/moxa,moxart-rtc.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-MOXA ART real-time clock
-
-Required properties:
-
-- compatible : Should be "moxa,moxart-rtc"
-- rtc-sclk-gpios : RTC sclk gpio, with zero flags
-- rtc-data-gpios : RTC data gpio, with zero flags
-- rtc-reset-gpios : RTC reset gpio, with zero flags
-
-Example:
-
-	rtc: rtc {
-		compatible = "moxa,moxart-rtc";
-		rtc-sclk-gpios = <&gpio 5 0>;
-		rtc-data-gpios = <&gpio 6 0>;
-		rtc-reset-gpios = <&gpio 7 0>;
-	};
diff --git a/Documentation/devicetree/bindings/rtc/moxa,moxart-rtc.yaml b/Documentation/devicetree/bindings/rtc/moxa,moxart-rtc.yaml
new file mode 100644
index 000000000000..6b8f6e5f99e9
--- /dev/null
+++ b/Documentation/devicetree/bindings/rtc/moxa,moxart-rtc.yaml
@@ -0,0 +1,43 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/rtc/moxa,moxart-rtc.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: MOXA ART Real-time Clock
+
+maintainers:
+  - Serban-Pascu Robert <robyserbanpascu06@gmail.com>
+
+properties:
+  compatible:
+    const: moxa,moxart-rtc
+
+  rtc-sclk-gpios:
+    maxItems: 1
+    description: GPIO line for the RTC clock signal.
+
+  rtc-data-gpios:
+    maxItems: 1
+    description: GPIO line for the RTC data signal.
+
+  rtc-reset-gpios:
+    maxItems: 1
+    description: GPIO line for the RTC reset signal.
+
+required:
+  - compatible
+  - rtc-sclk-gpios
+  - rtc-data-gpios
+  - rtc-reset-gpios
+
+additionalProperties: false
+
+examples:
+  - |
+    rtc {
+        compatible = "moxa,moxart-rtc";
+        rtc-sclk-gpios = <&gpio 5 0>;
+        rtc-data-gpios = <&gpio 6 0>;
+        rtc-reset-gpios = <&gpio 7 0>;
+    };
-- 
2.43.0


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

end of thread, other threads:[~2026-03-31 21:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-31 21:35 [PATCH] dt-bindings: rtc: moxa,moxart-rtc: convert to json-schema kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2026-03-29 18:46 Serban-Pascu Robert
2026-03-30  7:34 ` Krzysztof Kozlowski

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.