[PATCH] arm64: dts: xilinx: align LED node names with dtschema

Michal Simek michal.simek at amd.com
Mon Nov 28 06:28:14 PST 2022



On 11/25/22 15:41, Krzysztof Kozlowski wrote:
> CAUTION: This message has originated from an External Source. Please use proper judgment and caution when opening attachments, clicking links, or responding to this email.
> 
> 
> The node names should be generic and DT schema expects certain pattern:
> 
>    xilinx/zynqmp-zcu100-revC.dtb: leds: 'vbus-det' does not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+'
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
> ---
>   arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts
> index d61a297a2090..6948fd40554b 100644
> --- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts
> +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revC.dts
> @@ -86,7 +86,7 @@ led-ds5 {
>                          linux,default-trigger = "bluetooth-power";
>                  };
> 
> -               vbus-det { /* U5 USB5744 VBUS detection via MIO25 */
> +               led-vbus-det { /* U5 USB5744 VBUS detection via MIO25 */
>                          label = "vbus_det";
>                          gpios = <&gpio 25 GPIO_ACTIVE_HIGH>;
>                          default-state = "on";
> --
> 2.34.1
> 

Applied.
M



More information about the linux-arm-kernel mailing list