Re: [PATCH 1/1] dt-bindings: rtc: convert hym8563 bindings to json-schema

From: Rob Herring
Date: Fri Oct 21 2022 - 17:00:38 EST


On Fri, 21 Oct 2022 19:06:05 +0200, Sebastian Reichel wrote:
> Convert RTC binding for Haoyu Microelectronics HYM8563 to Device Tree
> Schema format.
>
> Signed-off-by: Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>
> ---
> .../devicetree/bindings/rtc/haoyu,hym8563.txt | 30 ----------
> .../bindings/rtc/haoyu,hym8563.yaml | 55 +++++++++++++++++++
> 2 files changed, 55 insertions(+), 30 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/rtc/haoyu,hym8563.txt
> create mode 100644 Documentation/devicetree/bindings/rtc/haoyu,hym8563.yaml
>

Running 'make dtbs_check' with the schema in this patch gives the
following warnings. Consider if they are expected or the schema is
incorrect. These may not be new warnings.

Note that it is not yet a requirement to have 0 warnings for dtbs_check.
This will change in the future.

Full log is available here: https://patchwork.ozlabs.org/patch/


hym8563@51: $nodename:0: 'hym8563@51' does not match '^rtc(@.*|-[0-9a-f])*$'
arch/arm64/boot/dts/rockchip/rk3368-orion-r68-meta.dtb
arch/arm64/boot/dts/rockchip/rk3368-r88.dtb
arch/arm64/boot/dts/rockchip/rk3399pro-rock-pi-n10.dtb
arch/arm64/boot/dts/rockchip/rk3399-roc-pc-plus.dtb
arch/arm/boot/dts/rk3036-evb.dtb
arch/arm/boot/dts/rk3288-evb-act8846.dtb
arch/arm/boot/dts/rk3288-firefly-beta.dtb
arch/arm/boot/dts/rk3288-firefly.dtb
arch/arm/boot/dts/rk3288-firefly-reload.dtb
arch/arm/boot/dts/rk3288-miqi.dtb
arch/arm/boot/dts/rk3288-rock2-square.dtb

hym8563@51: Unevaluated properties are not allowed ('clock-frequency' was unexpected)
arch/arm64/boot/dts/rockchip/rk3368-orion-r68-meta.dtb
arch/arm64/boot/dts/rockchip/rk3368-r88.dtb
arch/arm64/boot/dts/rockchip/rk3399pro-rock-pi-n10.dtb
arch/arm64/boot/dts/rockchip/rk3399-roc-pc-plus.dtb
arch/arm/boot/dts/rk3036-evb.dtb
arch/arm/boot/dts/rk3288-firefly-beta.dtb
arch/arm/boot/dts/rk3288-firefly.dtb
arch/arm/boot/dts/rk3288-firefly-reload.dtb
arch/arm/boot/dts/rk3288-miqi.dtb
arch/arm/boot/dts/rk3288-rock2-square.dtb

rtc@51: Unevaluated properties are not allowed ('clock-frequency' was unexpected)
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dtb
arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dtb
arch/arm64/boot/dts/amlogic/meson-gxm-minix-neo-u9h.dtb
arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dtb
arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dtb
arch/arm/boot/dts/rk3288-rock-pi-n8.dtb