From: sashiko-bot@kernel.org
To: "Yanli Yang" <yanli.yang@bedmex.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [RFC PATCH bluetooth-next 2/3] dt-bindings: net: bluetooth: Add AIC8800D80
Date: Thu, 17 Sep 2026 02:35:19 +0000 [thread overview]
Message-ID: <20260917023519.A528E1F000FF@smtp.kernel.org> (raw)
In-Reply-To: <178954773705.2.9742714830438825480@bedmex.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] dt-bindings: schema validation failure due to scalar const on reg array
--
commit 5a068ab01e12921fd595c8f96d78f55f50333071
Author: Yanli Yang <yanli.yang@bedmex.com>
Subject: dt-bindings: net: bluetooth: Add AIC8800D80
This commit describes the AIC8800D80 Bluetooth SDIO firmware-loading function
and UART HCI interface. It links the UART node to its SDIO firmware provider
using the aic,firmware-sdio phandle and includes an example configuration.
> diff --git a/Documentation/devicetree/bindings/net/bluetooth/aic,aic8800d80-bt.yaml b/Documentation/devicetree/bindings/net/bluetooth/aic,aic8800d80-bt.yaml
> new file mode 100644
> index 0000000000000..6fabb226cf15c
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/net/bluetooth/aic,aic8800d80-bt.yaml
[ ... ]
> +allOf:
> + - $ref: bluetooth-controller.yaml#
> + - if:
> + properties:
> + compatible:
> + const: aic,aic8800d80-bt-sdio
> + then:
> + properties:
> + reg:
> + const: 1
[Severity: Low]
Does this scalar constraint cause a schema validation failure?
In the allOf.if.then.properties.reg block for the SDIO variant, the reg
property is constrained with a scalar integer const: 1. The reg property
in Device Tree schemas is intrinsically evaluated by dt-schema as a
matrix/array of integers (e.g., reg = <1> becomes [[1]]).
Because of this, JSON Schema validation compares the array [[1]] against
the scalar 1, resulting in a type mismatch and validation failure when
running make dt_binding_check against the example or valid device trees.
> + max-speed: false
> + aic,firmware-sdio: false
> + required:
> + - reg
[ ... ]
--
Sashiko AI review · https://sashiko.dev/#/patchset/178954773705.2.3446471521233620446@bedmex.com?part=2
next prev parent reply other threads:[~2026-09-17 2:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-16 8:35 [RFC PATCH bluetooth-next 0/3] Bluetooth: Add AIC8800D80 SDIO firmware loader and UART HCI Yanli Yang
2026-09-16 8:35 ` [RFC PATCH bluetooth-next 1/3] dt-bindings: vendor-prefixes: Add AIC Semiconductor Yanli Yang
2026-09-17 7:02 ` Bluetooth: Add AIC8800D80 SDIO firmware loader and UART HCI bluez.test.bot
2026-09-16 8:35 ` [RFC PATCH bluetooth-next 2/3] dt-bindings: net: bluetooth: Add AIC8800D80 Yanli Yang
2026-09-17 2:35 ` sashiko-bot [this message]
2026-09-16 8:35 ` [RFC PATCH bluetooth-next 3/3] Bluetooth: btaic: Add AIC8800D80 SDIO loader and UART transport Yanli Yang
2026-09-17 2:43 ` sashiko-bot
-- strict thread matches above, loose matches on Subject: below --
2026-09-16 8:12 [RFC PATCH bluetooth-next 0/3] Bluetooth: Add AIC8800D80 SDIO firmware loader and UART HCI Yanli Yang
2026-09-16 8:12 ` [RFC PATCH bluetooth-next 2/3] dt-bindings: net: bluetooth: Add AIC8800D80 Yanli Yang
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=20260917023519.A528E1F000FF@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=yanli.yang@bedmex.com \
/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 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.