[PATCH] dt-bindings: net: bluetooth: convert MT7622 Bluetooth to the json-schema
Rafał Miłecki
zajec5 at gmail.com
Wed Jun 26 23:45:32 PDT 2024
On 27.06.2024 08:18, Rob Herring (Arm) wrote:> On Thu, 27 Jun 2024 07:40:11 +0200, Rafał Miłecki wrote:
>> From: Rafał Miłecki <rafal at milecki.pl>
>>
>> This helps validating DTS files.
>>
>> Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
>> ---
>> .../bluetooth/mediatek,mt7622-bluetooth.yaml | 61 +++++++++++++++++++
>> .../bindings/net/mediatek-bluetooth.txt | 36 -----------
>> 2 files changed, 61 insertions(+), 36 deletions(-)
>> create mode 100644 Documentation/devicetree/bindings/net/bluetooth/mediatek,mt7622-bluetooth.yaml
>>
>
> My bot found errors running 'make dt_binding_check' on your patch:
>
> yamllint warnings/errors:
>
> dtschema/dtc warnings/errors:
> /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/bluetooth/mediatek,mt7622-bluetooth.example.dtb: serial at 1100c000: reg: [[0, 285261824], [0, 4096]] is too long
> from schema $id: http://devicetree.org/schemas/serial/8250.yaml#
> /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/bluetooth/mediatek,mt7622-bluetooth.example.dtb: serial at 1100c000: Unevaluated properties are not allowed ('clock-names' was unexpected)
> from schema $id: http://devicetree.org/schemas/serial/8250.yaml#
Oops, I really need to fix my yamllint
$ make ARCH=arm64 dt_binding_check DT_SCHEMA_FILES=net/bluetooth/mediatek,mt7622-bluetooth.yaml
SCHEMA Documentation/devicetree/bindings/processed-schema.json
CHKDT Documentation/devicetree/bindings
DTEX Documentation/devicetree/bindings/net/bluetooth/mediatek,mt7622-bluetooth.example.dts
DTC_CHK Documentation/devicetree/bindings/net/bluetooth/mediatek,mt7622-bluetooth.example.dtb
LINT Documentation/devicetree/bindings
invalid config: unknown option "extra-allowed" for rule "quoted-strings"
xargs: /usr/bin/yamllint: exited with status 255; aborting
More information about the Linux-mediatek
mailing list