From patchwork Fri Nov 25 14:41:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 628669 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1DEA5C4332F for ; Fri, 25 Nov 2022 14:41:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230136AbiKYOli (ORCPT ); Fri, 25 Nov 2022 09:41:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230130AbiKYOlb (ORCPT ); Fri, 25 Nov 2022 09:41:31 -0500 Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E6073E08D for ; Fri, 25 Nov 2022 06:41:28 -0800 (PST) Received: by mail-lj1-x231.google.com with SMTP id bn5so5423063ljb.2 for ; Fri, 25 Nov 2022 06:41:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=uwbaWwC3kqS29AMZlnuRnHxroFf5DqIl7JxLHxfEejI=; b=sCEtz5GouxyvggGUxzmRGzmfOfEzrcNmoe848X28oJuoQg76g23QaViVeqYyDHKwfG z5WQiPHgh9bCLn5iMmtXEhStLNDqYIGcZJbV6eeWHm9KqTVDeHBbxGLputJaWBUWOaHm K3HCqR3AOwBgJRkwCrLu+1pQPOn60G14EhCSA70y2fnTn/uSjwcrn1WHOatQE9W0wrs4 8OFQq46EcbhaTcImt76VV7PBVqVZlSjWzkDoVuThtZ/5ni+GYDgvMlJnBLI0F4eHz6na a8f8J6mha1noKezDMhHzq3l7YqdxEZQNkvLN/XP0a1jAyqv8uPql02bSUzkzxAWxbGs5 fy5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=uwbaWwC3kqS29AMZlnuRnHxroFf5DqIl7JxLHxfEejI=; b=CpWO2aKaFfCOVZo17FZjVp+1hj20eOn+1UMSw16gsxZEsYO6LPR/kcBOvbWPrIzIH0 WpfVDS/bUUr1hJMDBglCAnOwIqsR60jMLHhqgTInJ/X8hqJku1jE3z59h0xTRJpULLvB FdulEL9k/eObIB0mTNyMlFG5ZbvxV6VDoVL1fkVo7M8u8y/tAW2k0P6B+v1DnDTY6sGw +Fi2qjWXgoaQV1ncnbjqYFOMFSzDwucf6MChIO2ZjdC0ERAsvRivoSnZf0SCRdd3ZzO1 y8zqcm3hjpv0QoiHivc1Cbl6x/WblMPy8j3j/ZG3DwSvuGTmJZgKcrYnYpnL51bx0VFh I1uQ== X-Gm-Message-State: ANoB5plvpz6ZoIYWJcWju9vANVX/XaYxPvlYExT5UMHWZLYWQ8apmHYs Y4TLJGBN+dT+RVgD7/+zHBV0rA== X-Google-Smtp-Source: AA0mqf7bT8q4LgpDMLLBHWi3A7JJwmCWOQzXtt0I2J0pIE3lj7CqGwP7TgfWWgvdhIrzktTLZul44Q== X-Received: by 2002:a2e:87ce:0:b0:277:ddf:f476 with SMTP id v14-20020a2e87ce000000b002770ddff476mr12457020ljj.432.1669387287020; Fri, 25 Nov 2022 06:41:27 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id bt14-20020a056512260e00b004b3b2a9f506sm548687lfb.4.2022.11.25.06.41.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Nov 2022 06:41:26 -0800 (PST) From: Krzysztof Kozlowski To: Andrew Lunn , Sebastian Hesselbarth , Gregory Clement , Rob Herring , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] ARM: dts: dove: align LED node names with dtschema Date: Fri, 25 Nov 2022 15:41:25 +0100 Message-Id: <20221125144125.477032-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The node names should be generic and DT schema expects certain pattern: dove-cubox.dtb: leds: 'power' does not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/dove-cm-a510.dtsi | 2 +- arch/arm/boot/dts/dove-cubox.dts | 2 +- arch/arm/boot/dts/dove-d2plug.dts | 6 +++--- arch/arm/boot/dts/dove-d3plug.dts | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/dove-cm-a510.dtsi b/arch/arm/boot/dts/dove-cm-a510.dtsi index 9b9dfbe07be4..0af9e9fda7d3 100644 --- a/arch/arm/boot/dts/dove-cm-a510.dtsi +++ b/arch/arm/boot/dts/dove-cm-a510.dtsi @@ -101,7 +101,7 @@ leds { pinctrl-0 = <&pmx_nand_gpo>; pinctrl-names = "default"; - system { + led-system { label = "cm-a510:system:green"; gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>; default-state = "keep"; diff --git a/arch/arm/boot/dts/dove-cubox.dts b/arch/arm/boot/dts/dove-cubox.dts index 2639b9fe0ab4..c0e8d6bc4083 100644 --- a/arch/arm/boot/dts/dove-cubox.dts +++ b/arch/arm/boot/dts/dove-cubox.dts @@ -21,7 +21,7 @@ leds { pinctrl-0 = <&pmx_gpio_18>; pinctrl-names = "default"; - power { + led-power { label = "Power"; gpios = <&gpio0 18 1>; default-state = "keep"; diff --git a/arch/arm/boot/dts/dove-d2plug.dts b/arch/arm/boot/dts/dove-d2plug.dts index a0e8996c2ffd..79ee2b32409d 100644 --- a/arch/arm/boot/dts/dove-d2plug.dts +++ b/arch/arm/boot/dts/dove-d2plug.dts @@ -21,17 +21,17 @@ leds { pinctrl-0 = <&pmx_gpio_0 &pmx_gpio_1 &pmx_gpio_2>; pinctrl-names = "default"; - wlan-ap { + led-wlan-ap { label = "wlan-ap"; gpios = <&gpio0 0 1>; }; - wlan-act { + led-wlan-act { label = "wlan-act"; gpios = <&gpio0 1 1>; }; - bluetooth-act { + led-bluetooth-act { label = "bt-act"; gpios = <&gpio0 2 1>; }; diff --git a/arch/arm/boot/dts/dove-d3plug.dts b/arch/arm/boot/dts/dove-d3plug.dts index 1e81d1b97055..5aa5d4a7d51d 100644 --- a/arch/arm/boot/dts/dove-d3plug.dts +++ b/arch/arm/boot/dts/dove-d3plug.dts @@ -21,17 +21,17 @@ leds { pinctrl-0 = <&pmx_gpio_0 &pmx_gpio_1 &pmx_gpio_2>; pinctrl-names = "default"; - wlan-act { + led-wlan-act { label = "wlan-act"; gpios = <&gpio0 0 1>; }; - wlan-ap { + led-wlan-ap { label = "wlan-ap"; gpios = <&gpio0 1 1>; }; - status { + led-status { label = "status"; gpios = <&gpio0 2 1>; };