[PATCH] ARM: dts: stm32: Describe PHY LEDs in DH STM32MP13xx DHCOR DHSBC board DT

Marek Vasut marex at denx.de
Fri Aug 30 05:57:41 PDT 2024


On 8/30/24 2:47 PM, Alexandre TORGUE wrote:
> Hi Marek

Hi,

> I have a yaml validation issue applying this patch.
> 
>    DTC_CHK arch/arm/boot/dts/st/stm32mp135f-dhcor-dhsbc.dtb
> /local/home/frq08678/STLINUX/kernel/my-kernel/stm32/arch/arm/boot/dts/st/stm32mp135f-dhcor-dhsbc.dtb: ethernet-phy at 1: Unevaluated properties are not allowed ('interrupt-parent', 'interrupts', 'reg', 'reset-assert-us', 'reset-deassert-us', 'reset-gpios' were unexpected)
>      from schema $id: 
> http://devicetree.org/schemas/net/realtek,rtl82xx.yaml#
> /local/home/frq08678/STLINUX/kernel/my-kernel/stm32/arch/arm/boot/dts/st/stm32mp135f-dhcor-dhsbc.dtb: ethernet-phy at 1: leds:led at 0:linux,default-trigger: 'oneOf' conditional failed, one must be fixed:
>      'netdev' is not one of ['backlight', 'default-on', 'heartbeat', 
> 'disk-activity', 'disk-read', 'disk-write', 'timer', 'pattern', 
> 'audio-micmute', 'audio-mute', 'bluetooth-power', 'flash', 
> 'kbd-capslock', 'mtd', 'nand-disk', 'none', 'torch', 'usb-gadget', 
> 'usb-host', 'usbport']
>      'netdev' does not match '^cpu[0-9]*$'
>      'netdev' does not match '^hci[0-9]+-p
> 
> Can you have a look please ?

See this commit in linux-next, with that the validation should pass:

616dbed65485 ("dt-bindings: leds: Document "netdev" trigger")



More information about the linux-arm-kernel mailing list