Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: zynq: Fix leds subnode name for zc702/zybo-z7

Fix the leds subnode names to match (^led-[0-9a-f]$|led).

Similar change has been also done by commit 9a19a39ee48b ("arm64: dts:
zynqmp: Fix leds subnode name for zcu100/ultra96 v1").

The patch is fixing these warnings:
.../zynq-zc702.dt.yaml: leds: 'ds23' does not match any of the regexes:
'(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'
>From schema: .../Documentation/devicetree/bindings/leds/leds-gpio.yaml
.../zynq-zybo-z7.dt.yaml: gpio-leds: 'ld4' does not match any of the
regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'
>From schema: .../Documentation/devicetree/bindings/leds/leds-gpio.yaml

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/607a66783b129294364abf09a6fc8abd241ff4ee.1606397101.git.michal.simek@xilinx.com

+2 -2
+1 -1
arch/arm/boot/dts/zynq-zc702.dts
··· 49 49 leds { 50 50 compatible = "gpio-leds"; 51 51 52 - ds23 { 52 + led-ds23 { 53 53 label = "ds23"; 54 54 gpios = <&gpio0 10 0>; 55 55 linux,default-trigger = "heartbeat";
+1 -1
arch/arm/boot/dts/zynq-zybo-z7.dts
··· 25 25 gpio-leds { 26 26 compatible = "gpio-leds"; 27 27 28 - ld4 { 28 + led-ld4 { 29 29 label = "zynq-zybo-z7:green:ld4"; 30 30 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>; 31 31 };