]> Gentwo Git Trees - linux/.git/commit
arm64: dts: rockchip: Rename LED related pinctrl nodes on rk3308-rock-pi-s
authorJonas Karlman <jonas@kwiboo.se>
Tue, 21 May 2024 21:10:09 +0000 (21:10 +0000)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 27 May 2024 22:21:22 +0000 (00:21 +0200)
commitd2a52f678883fe4bc00bca89366b1ba504750abf
tree23100d22422f6f5495117d769e010920ccebd316
parent1fb98c855ccd7bc7f50c7a9626fbb8440454760b
arm64: dts: rockchip: Rename LED related pinctrl nodes on rk3308-rock-pi-s

The nodename, <name>-gpio, of referenced pinctrl nodes for the two LEDs
on the ROCK Pi S cause DT schema validation error:

  leds: green-led-gpio: {'rockchip,pins': [[0, 6, 0, 90]], 'phandle': [[98]]} is not of type 'array'
        from schema $id: http://devicetree.org/schemas/gpio/gpio-consumer.yaml#
  leds: heartbeat-led-gpio: {'rockchip,pins': [[0, 5, 0, 90]], 'phandle': [[99]]} is not of type 'array'
        from schema $id: http://devicetree.org/schemas/gpio/gpio-consumer.yaml#

Rename the pinctrl nodes and symbols to pass DT schema validation, also
extend LED nodes with information about color and function.

Fixes: 2e04c25b1320 ("arm64: dts: rockchip: add ROCK Pi S DTS support")
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Link: https://lore.kernel.org/r/20240521211029.1236094-7-jonas@kwiboo.se
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts