public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Maxime Ripard <maxime@cerno•tech>
To: "Chen-Yu Tsai" <wens@csie•org>,
	"Maxime Ripard" <maxime@cerno•tech>,
	"Jernej Škrabec" <jernej.skrabec@gmail•com>,
	"Rob Herring" <robh+dt@kernel•org>,
	"Frank Rowand" <frowand.list@gmail•com>
Cc: linux-arm-kernel@lists•infradead.org, devicetree@vger•kernel.org,
	linux-sunxi@lists•linux.dev,
	Alistair Francis <alistair@alistair23•me>,
	"David S. Miller" <davem@davemloft•net>,
	Jakub Kicinski <kuba@kernel•org>,
	netdev@vger•kernel.org, Vasily Khoruzhick <anarsoul@gmail•com>,
	Rob Herring <robh@kernel•org>
Subject: [RESEND v2 2/4] dt-bindings: bluetooth: realtek: Add missing max-speed
Date: Fri, 24 Sep 2021 09:27:54 +0200	[thread overview]
Message-ID: <20210924072756.869731-2-maxime@cerno.tech> (raw)
In-Reply-To: <20210924072756.869731-1-maxime@cerno.tech>

additionalProperties prevent any property not explicitly defined in the
binding to be used. Yet, some serial properties like max-speed are valid
and validated through the serial/serial.yaml binding.

Even though the ideal solution would be to use unevaluatedProperties
instead, it's not pratical due to the way the bus bindings have been
described. Let's add max-speed to remove the warning.

Cc: Alistair Francis <alistair@alistair23•me>
Cc: "David S. Miller" <davem@davemloft•net>
Cc: Jakub Kicinski <kuba@kernel•org>
Cc: netdev@vger•kernel.org
Cc: Vasily Khoruzhick <anarsoul@gmail•com>
Reviewed-by: Alistair Francis <alistair@alistair23•me>
Reviewed-by: Rob Herring <robh@kernel•org>
Signed-off-by: Maxime Ripard <maxime@cerno•tech>
---
 Documentation/devicetree/bindings/net/realtek-bluetooth.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/realtek-bluetooth.yaml b/Documentation/devicetree/bindings/net/realtek-bluetooth.yaml
index 0634e69dd9a6..157d606bf9cb 100644
--- a/Documentation/devicetree/bindings/net/realtek-bluetooth.yaml
+++ b/Documentation/devicetree/bindings/net/realtek-bluetooth.yaml
@@ -34,6 +34,8 @@ properties:
     maxItems: 1
     description: GPIO specifier, used to wakeup the host processor
 
+  max-speed: true
+
 required:
   - compatible
 
-- 
2.31.1


  reply	other threads:[~2021-09-24  7:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-24  7:27 [RESEND v2 1/4] dt-bindings: bluetooth: broadcom: Fix clocks check Maxime Ripard
2021-09-24  7:27 ` Maxime Ripard [this message]
2021-09-24  7:27 ` [RESEND v2 3/4] dt-bindings: net: dwmac: Fix typo in the R40 compatible Maxime Ripard
2021-09-24  7:27 ` [RESEND v2 4/4] dt-bindings: net: wireless: Convert ESP ESP8089 binding to a schema Maxime Ripard
2021-10-12 14:08 ` [RESEND v2 1/4] dt-bindings: bluetooth: broadcom: Fix clocks check Rob Herring

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=20210924072756.869731-2-maxime@cerno.tech \
    --to=maxime@cerno$(echo .)tech \
    --cc=alistair@alistair23$(echo .)me \
    --cc=anarsoul@gmail$(echo .)com \
    --cc=davem@davemloft$(echo .)net \
    --cc=devicetree@vger$(echo .)kernel.org \
    --cc=frowand.list@gmail$(echo .)com \
    --cc=jernej.skrabec@gmail$(echo .)com \
    --cc=kuba@kernel$(echo .)org \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    --cc=linux-sunxi@lists$(echo .)linux.dev \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=robh+dt@kernel$(echo .)org \
    --cc=robh@kernel$(echo .)org \
    --cc=wens@csie$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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