* [PATCH 1/1] dt-bindings: counter: Convert ftm-quaddec.txt to yaml format
@ 2025-04-10 22:25 Frank Li
2025-04-11 19:31 ` Rob Herring (Arm)
2025-04-11 21:46 ` kernel test robot
0 siblings, 2 replies; 3+ messages in thread
From: Frank Li @ 2025-04-10 22:25 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Patrick Havelange,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list, open list:FLEXTIMER FTM-QUADDEC DRIVER
Cc: imx
Convert ftm-quaddec.txt to yaml format.
Additional changes:
- Remove "status" at example.
- Remove label at example.
Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
.../bindings/counter/fsl,ftm-quaddec.yaml | 36 +++++++++++++++++++
.../bindings/counter/ftm-quaddec.txt | 18 ----------
2 files changed, 36 insertions(+), 18 deletions(-)
create mode 100644 Documentation/devicetree/bindings/counter/fsl,ftm-quaddec.yaml
delete mode 100644 Documentation/devicetree/bindings/counter/ftm-quaddec.txt
diff --git a/Documentation/devicetree/bindings/counter/fsl,ftm-quaddec.yaml b/Documentation/devicetree/bindings/counter/fsl,ftm-quaddec.yaml
new file mode 100644
index 0000000000000..384ca63b64d53
--- /dev/null
+++ b/Documentation/devicetree/bindings/counter/fsl,ftm-quaddec.yaml
@@ -0,0 +1,36 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/counter/fsl,ftm-quaddec.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: FlexTimer Quadrature decoder counter
+
+description:
+ Exposes a simple counter for the quadrature decoder mode.
+
+maintainers:
+ - Frank Li <Frank.li@nxp.com>
+
+properties:
+ compatible:
+ const: fsl,ftm-quaddec
+
+ reg:
+ maxItems: 1
+
+ big-endian: true
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ counter@29d0000 {
+ compatible = "fsl,ftm-quaddec";
+ reg = <0x29d0000 0x10000>;
+ big-endian;
+ };
diff --git a/Documentation/devicetree/bindings/counter/ftm-quaddec.txt b/Documentation/devicetree/bindings/counter/ftm-quaddec.txt
deleted file mode 100644
index 4d18cd7220745..0000000000000
--- a/Documentation/devicetree/bindings/counter/ftm-quaddec.txt
+++ /dev/null
@@ -1,18 +0,0 @@
-FlexTimer Quadrature decoder counter
-
-This driver exposes a simple counter for the quadrature decoder mode.
-
-Required properties:
-- compatible: Must be "fsl,ftm-quaddec".
-- reg: Must be set to the memory region of the flextimer.
-
-Optional property:
-- big-endian: Access the device registers in big-endian mode.
-
-Example:
- counter0: counter@29d0000 {
- compatible = "fsl,ftm-quaddec";
- reg = <0x0 0x29d0000 0x0 0x10000>;
- big-endian;
- status = "disabled";
- };
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] dt-bindings: counter: Convert ftm-quaddec.txt to yaml format
2025-04-10 22:25 [PATCH 1/1] dt-bindings: counter: Convert ftm-quaddec.txt to yaml format Frank Li
@ 2025-04-11 19:31 ` Rob Herring (Arm)
2025-04-11 21:46 ` kernel test robot
1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring (Arm) @ 2025-04-11 19:31 UTC (permalink / raw)
To: Frank Li
Cc: Conor Dooley, linux-kernel, Patrick Havelange, linux-iio,
devicetree, Krzysztof Kozlowski, imx
On Thu, 10 Apr 2025 18:25:05 -0400, Frank Li wrote:
> Convert ftm-quaddec.txt to yaml format.
>
> Additional changes:
> - Remove "status" at example.
> - Remove label at example.
>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
> .../bindings/counter/fsl,ftm-quaddec.yaml | 36 +++++++++++++++++++
> .../bindings/counter/ftm-quaddec.txt | 18 ----------
> 2 files changed, 36 insertions(+), 18 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/counter/fsl,ftm-quaddec.yaml
> delete mode 100644 Documentation/devicetree/bindings/counter/ftm-quaddec.txt
>
Applied, thanks!
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] dt-bindings: counter: Convert ftm-quaddec.txt to yaml format
2025-04-10 22:25 [PATCH 1/1] dt-bindings: counter: Convert ftm-quaddec.txt to yaml format Frank Li
2025-04-11 19:31 ` Rob Herring (Arm)
@ 2025-04-11 21:46 ` kernel test robot
1 sibling, 0 replies; 3+ messages in thread
From: kernel test robot @ 2025-04-11 21:46 UTC (permalink / raw)
To: Frank Li; +Cc: oe-kbuild-all
Hi Frank,
kernel test robot noticed the following build warnings:
[auto build test WARNING on robh/for-next]
[also build test WARNING on krzk-dt/for-next linus/master v6.15-rc1 next-20250411]
[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/Frank-Li/dt-bindings-counter-Convert-ftm-quaddec-txt-to-yaml-format/20250411-062639
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
patch link: https://lore.kernel.org/r/20250410222509.3242241-1-Frank.Li%40nxp.com
patch subject: [PATCH 1/1] dt-bindings: counter: Convert ftm-quaddec.txt to yaml format
reproduce: (https://download.01.org/0day-ci/archive/20250412/202504120545.rYEBkZGj-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/oe-kbuild-all/202504120545.rYEBkZGj-lkp@intel.com/
All warnings (new ones prefixed by >>):
Warning: Documentation/translations/zh_CN/dev-tools/gdb-kernel-debugging.rst references a file that doesn't exist: Documentation/dev-tools/gdb-kernel-debugging.rst
Warning: Documentation/translations/zh_TW/admin-guide/README.rst references a file that doesn't exist: Documentation/dev-tools/kgdb.rst
Warning: Documentation/translations/zh_TW/dev-tools/gdb-kernel-debugging.rst references a file that doesn't exist: Documentation/dev-tools/gdb-kernel-debugging.rst
Warning: Documentation/userspace-api/netlink/index.rst references a file that doesn't exist: Documentation/networking/netlink_spec/index.rst
Warning: Documentation/userspace-api/netlink/specs.rst references a file that doesn't exist: Documentation/networking/netlink_spec/index.rst
>> Warning: MAINTAINERS references a file that doesn't exist: Documentation/devicetree/bindings/counter/ftm-quaddec.txt
Warning: MAINTAINERS references a file that doesn't exist: Documentation/devicetree/bindings/leds/backlight/ti,lp8864.yaml
Can't build as 1 mandatory dependency is missing at ./scripts/sphinx-pre-install line 984.
make[2]: *** [Documentation/Makefile:121: htmldocs] Error 255
make[1]: *** [Makefile:1801: htmldocs] Error 2
make: *** [Makefile:248: __sub-make] Error 2
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-04-11 21:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-10 22:25 [PATCH 1/1] dt-bindings: counter: Convert ftm-quaddec.txt to yaml format Frank Li
2025-04-11 19:31 ` Rob Herring (Arm)
2025-04-11 21:46 ` kernel test robot
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.