mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Rudi Heitbaum <rudi@heitbaum.com>
Cc: pabeni@redhat.com, alistair@alistair23.me,
	linux-arm-kernel@lists.infradead.org, jernej.skrabec@gmail.com,
	robh+dt@kernel.org, davem@davemloft.net,
	linux-bluetooth@vger.kernel.org, conor+dt@kernel.org,
	anarsoul@gmail.com, devicetree@vger.kernel.org,
	linux-sunxi@lists.linux.dev, luiz.dentz@gmail.com,
	johan.hedberg@gmail.com, kuba@kernel.org,
	krzysztof.kozlowski+dt@linaro.org, edumazet@google.com,
	marcel@holtmann.org, wens@csie.org, linux-kernel@vger.kernel.org,
	samuel@sholland.org, netdev@vger.kernel.org
Subject: Re: [PATCH 1/3] dt-bindings: net: realtek-bluetooth: Add RTL8822BS
Date: Sun, 14 May 2023 11:51:33 +0200	[thread overview]
Message-ID: <20230514095133.b4ojnu6y222kzhcb@krzk-bin> (raw)
In-Reply-To: <20230514074731.70614-2-rudi@heitbaum.com>

On Sun, 14 May 2023 07:47:29 +0000, Rudi Heitbaum wrote:
> Add compatible string for RTL8822BS for existing Realtek Bluetooth
> driver.
> 
> Signed-off-by: Rudi Heitbaum <rudi@heitbaum.com>
> ---
>  .../devicetree/bindings/net/realtek-bluetooth.yaml  | 13 ++++++++-----
>  1 file changed, 8 insertions(+), 5 deletions(-)
> 

My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check'
on your patch (DT_CHECKER_FLAGS is new in v5.13):

yamllint warnings/errors:

dtschema/dtc warnings/errors:
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/realtek-bluetooth.yaml: properties:compatible:oneOf:1:items: 'oneOf' conditional failed, one must be fixed:
	[{'enum': ['realtek,rtl8821cs-bt']}, {'const': ['realtek,rtl8822bs-bt', 'realtek,rtl8822cs-bt']}] is not of type 'object'
	['realtek,rtl8822bs-bt', 'realtek,rtl8822cs-bt'] is not of type 'integer', 'string'
	from schema $id: http://devicetree.org/meta-schemas/keywords.yaml#
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/realtek-bluetooth.yaml: properties:compatible:oneOf:1:items: 'oneOf' conditional failed, one must be fixed:
	[{'enum': ['realtek,rtl8821cs-bt']}, {'const': ['realtek,rtl8822bs-bt', 'realtek,rtl8822cs-bt']}] is not of type 'object'
	['realtek,rtl8822bs-bt', 'realtek,rtl8822cs-bt'] is not of type 'string'
	from schema $id: http://devicetree.org/meta-schemas/string-array.yaml#
Traceback (most recent call last):
  File "/usr/local/bin/dt-validate", line 167, in <module>
    sg.check_trees(filename, testtree)
    ...
  File "/usr/lib/python3.10/sre_parse.py", line 599, in _parse
    raise source.error(msg, len(this) + 1 + len(that))
re.error: bad character range s-b at position 18

Note: You even broke the dtschema :)

See https://patchwork.ozlabs.org/patch/1781021

This check can fail if there are any dependencies. The base for a patch
series is generally the most recent rc1.

If you already ran 'make dt_binding_check' and didn't see the above
error(s), then make sure 'yamllint' is installed and dt-schema is up to
date:

pip3 install dtschema --upgrade

Please check and re-submit.

  reply	other threads:[~2023-05-14  9:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-14  7:47 [PATCH 0/3] Bluetooth: btrtl: Add support for RTL8822BS Rudi Heitbaum
2023-05-14  7:47 ` [PATCH 1/3] dt-bindings: net: realtek-bluetooth: Add RTL8822BS Rudi Heitbaum
2023-05-14  9:51   ` Krzysztof Kozlowski [this message]
2023-05-14  9:53   ` Krzysztof Kozlowski
2023-05-14  7:47 ` [PATCH 2/3] Bluetooth: btrtl: Add support for RTL8822BS UART Rudi Heitbaum
2023-05-14  8:15   ` Christophe JAILLET
2023-05-14  9:14   ` kernel test robot
2023-05-14  9:44   ` kernel test robot
2023-05-14 11:05   ` kernel test robot
2023-05-14  7:47 ` [PATCH 3/3] arm64: dts: allwinner: h6: tanix-tx6: Add compatible bluetooth Rudi Heitbaum
2023-05-14  9:55   ` Krzysztof Kozlowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230514095133.b4ojnu6y222kzhcb@krzk-bin \
    --to=krzysztof.kozlowski@linaro.org \
    --cc=alistair@alistair23.me \
    --cc=anarsoul@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=edumazet@google.com \
    --cc=jernej.skrabec@gmail.com \
    --cc=johan.hedberg@gmail.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=kuba@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sunxi@lists.linux.dev \
    --cc=luiz.dentz@gmail.com \
    --cc=marcel@holtmann.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=robh+dt@kernel.org \
    --cc=rudi@heitbaum.com \
    --cc=samuel@sholland.org \
    --cc=wens@csie.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®