]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
powerpc: wii: Fix LED name pattern
authorJ. Neuschäfer <j.ne@posteo.net>
Wed, 11 Mar 2026 17:35:58 +0000 (18:35 +0100)
committerMadhavan Srinivasan <maddy@linux.ibm.com>
Wed, 1 Apr 2026 03:51:05 +0000 (09:21 +0530)
Adjust the name of the drive slot LED node to comply with the schema in
Documentation/devicetree/bindings/leds/leds-gpio.yaml.

  arch/powerpc/boot/dts/wii.dtb: gpio-leds: 'drive-slot' does not match
  any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'

Signed-off-by: J. Neuschäfer <j.ne@posteo.net>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20260311-wii-schema-v1-3-1563ac4aefa8@posteo.net
arch/powerpc/boot/dts/wii.dts

index 57d428b1f787401a10634e9812904a1212c8326e..473d9feb9cdb8309c2a13ba507ff61d2410e3c66 100644 (file)
                compatible = "gpio-leds";
 
                /* This is the blue LED in the disk drive slot */
-               drive-slot {
+               led-0 {
                        label = "wii:blue:drive_slot";
                        gpios = <&GPIO 5 GPIO_ACTIVE_HIGH>;
                        panic-indicator;