[PATCH 0/4] fix up pin definitions for BPI-R3 board

Leith Bade leith at bade.nz
Sat Jun 29 16:06:47 PDT 2024


On Fri, 28 Jun 2024 at 00:48, Rob Herring (Arm) <robh at kernel.org> wrote:
> New warnings running 'make CHECK_DTBS=y mediatek/mt7986a-bananapi-bpi-r3.dtb' for 20240627075856.2314804-1-leith at bade.nz:
>
> arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dtb: pinctrl at 1001f000: 'boot-mode-hog' does not match any of the regexes: '-pins$', 'pinctrl-[0-9]+'
>         from schema $id: http://devicetree.org/schemas/pinctrl/mediatek,mt7986-pinctrl.yaml#

I saw this warning as well when I ran the DT schema check.

However I think this is a false warning as the gpio-hog schema
requires "*-hog" in the name, but the MT7986 pinctrl schema doesn't
allow for this.

Looking at other examples of gpio-hog I can see in
arch/arm64/boot/dts/mediatek/pumpkin-common.dtsi some hogs that are
very similar to my new one with "*-hog" in the name under a node with
"gpio-controller". Another example is
arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts which has a
hog ("asm_sel") under "pio" which is the same location as my new hog,
but this one seems to violate the requirement for "hog" to be in the
name.



More information about the Linux-mediatek mailing list