]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dt-bindings: pinctrl: rockchip: increase max amount of device functions
authorNicolas Frattaroli <nicolas.frattaroli@collabora.com>
Mon, 2 Jun 2025 16:19:12 +0000 (18:19 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 10 Jun 2025 12:32:53 +0000 (14:32 +0200)
commit86491c2b99e5adbb56d76286d6668effb36d3c90
treef1f6adc1edb61437ee3b1dd3a9209529d5627fae
parent1f8e5dfddaa794c97a80b2a9952be368d8fdee6e
dt-bindings: pinctrl: rockchip: increase max amount of device functions

With the introduction of the RK3576, the maximum device function ID used
increased to 14, as anyone can easily verify for themselves with:

  rg -g '*-pinctrl.dtsi' '<\d+\s+RK_P..\s+(?<func>\d+)\s.*>;$' --trim \
  -NI -r '$func' arch/arm64/boot/dts/rockchip/ | sort -g | uniq

Unfortunately, this wasn't caught by dt-validate as those pins are
omit-if-no-ref and we had no reference to them in any tree so far.

Once again kick the can down the road by increasing the limit to 14.

Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/20250602-rk3576-pwm-v2-1-a6434b0ce60c@collabora.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/pinctrl/rockchip,pinctrl.yaml