From nobody Fri Sep 19 08:50:03 2025 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 47010C43217 for ; Fri, 25 Nov 2022 14:42:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230262AbiKYOmg (ORCPT ); Fri, 25 Nov 2022 09:42:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230167AbiKYOmC (ORCPT ); Fri, 25 Nov 2022 09:42:02 -0500 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0EF8D43863 for ; Fri, 25 Nov 2022 06:41:42 -0800 (PST) Received: by mail-lf1-x136.google.com with SMTP id r12so7239714lfp.1 for ; Fri, 25 Nov 2022 06:41:41 -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=aimSpiXAt7qp5pBDLT0ccAR43wWFD78MSxKZ7Y0fkB0=; b=tcfWk21iwF6XOl8EXXa9PE1PjYL0I90Y+Ovn4jvgrBka6CZB4bMM1fnl9MPvygyrUl y6bMu44LxoLGFjS3s4rS/CRWk8Tk9Y39RwmkMhUAzTHb422gaGtaf6PlUXeprSd6GaTk BKmAgvUtM/riYEeHQ9aBl642hzCrWa8UmoboBhmTwdfDOkHDQfnDyvb47eWpgVmumt+6 hGF/emPHx65wzyWwy4mqBOyY25X4YpYhOvedWgTlDEdBiWdQD5Hx7NM639IGXKAHyEvx KiMli/o7Cidz3jIwJMfa6Rl/QeUSl3+NQapM2Rak8Ja5QSqdcyrq4N21RCr6tGjEA4t3 sz3A== 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=aimSpiXAt7qp5pBDLT0ccAR43wWFD78MSxKZ7Y0fkB0=; b=ZsGXYSLeBy6WiZ+LwnefCuwWd3ynFtXgefNQw5eIxcu/giqmILB7WGSH6XpvvqDsIw d4jN8jiCPP9EF1liCM8e/MHDN22Iq8iuRH4LNKpsNuzMQc000B6E4RvRonxqSjzsXEcV 5968+oAdJ4E77vQpgQ5ikWGJFUbhnHWE67EajVrIGTlUpN7teX94znF4++Owrjv/L6sv epnXng2J0i4N6g/CjZpriaPoO3l4ACA5nUDEJSpLB+/JgqcaS7V0t7Jw0J7qbtqCRpBm Y1+PpIq9dGuYoUqsTyVL8eIgrhvjc3F2Jfaq+E2hGUiqCleNYl5fzxSavjSsB5EBdxft uRTQ== X-Gm-Message-State: ANoB5pm+YmNaiSlCj5j77AXvyJQN/zAYDwo6EW9lVECbISAbHSfGvq3N TKhrVXfze++xqn4sNwEuSUTx2A== X-Google-Smtp-Source: AA0mqf5KPek5lILPxzyYIAXDKSzmTuvhJUWFccFjdWnasvm7FHfiWA7JLVS6IgsbFmDTfUaaYxl9Lw== X-Received: by 2002:a05:6512:281d:b0:4ab:a159:3478 with SMTP id cf29-20020a056512281d00b004aba1593478mr6432063lfb.655.1669387301577; Fri, 25 Nov 2022 06:41:41 -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 u21-20020a196a15000000b00498f570aef2sm552421lfu.209.2022.11.25.06.41.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Nov 2022 06:41:41 -0800 (PST) From: Krzysztof Kozlowski To: Wei Xu , Rob Herring , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] arm64: dts: hisilicon: align LED node names with dtschema Date: Fri, 25 Nov 2022 15:41:39 +0100 Message-Id: <20221125144140.477225-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The node names should be generic and DT schema expects certain pattern: hisilicon/hi3660-hikey960.dtb: leds: wlan_active_led: Unevaluated propert= ies are not allowed ('linux,default-trigger' was unexpected) Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 12 ++++++------ arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64= /boot/dts/hisilicon/hi3660-hikey960.dts index 0192a01bf852..3f13a960f34e 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts +++ b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts @@ -85,28 +85,28 @@ key-power { leds { compatible =3D "gpio-leds"; =20 - user_led1 { + led-user-1 { label =3D "green:user1"; /* gpio_150_user_led1 */ gpios =3D <&gpio18 6 0>; linux,default-trigger =3D "heartbeat"; }; =20 - user_led2 { + led-user-2 { label =3D "green:user2"; /* gpio_151_user_led2 */ gpios =3D <&gpio18 7 0>; linux,default-trigger =3D "none"; }; =20 - user_led3 { + led-user-3 { label =3D "green:user3"; /* gpio_189_user_led3 */ gpios =3D <&gpio23 5 0>; linux,default-trigger =3D "mmc0"; }; =20 - user_led4 { + led-user-4 { label =3D "green:user4"; /* gpio_190_user_led4 */ gpios =3D <&gpio23 6 0>; @@ -114,7 +114,7 @@ user_led4 { linux,default-trigger =3D "none"; }; =20 - wlan_active_led { + led-wlan { label =3D "yellow:wlan"; /* gpio_205_wifi_active */ gpios =3D <&gpio25 5 0>; @@ -122,7 +122,7 @@ wlan_active_led { default-state =3D "off"; }; =20 - bt_active_led { + led-bt { label =3D "blue:bt"; gpios =3D <&gpio25 7 0>; /* gpio_207_user_led1 */ diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/bo= ot/dts/hisilicon/hi6220-hikey.dts index 629e604aa281..f0672ec65b26 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts +++ b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts @@ -125,39 +125,39 @@ wl1835_pwrseq: wl1835-pwrseq { leds { compatible =3D "gpio-leds"; =20 - user_led1 { + led-user-1 { label =3D "green:user1"; gpios =3D <&gpio4 0 0>; /* <&gpio_user_led_1>; */ linux,default-trigger =3D "heartbeat"; }; =20 - user_led2 { + led-user-2 { label =3D "green:user2"; gpios =3D <&gpio4 1 0>; /* <&gpio_user_led_2>; */ linux,default-trigger =3D "mmc0"; }; =20 - user_led3 { + led-user-3 { label =3D "green:user3"; gpios =3D <&gpio4 2 0>; /* <&gpio_user_led_3>; */ linux,default-trigger =3D "mmc1"; }; =20 - user_led4 { + led-user-4 { label =3D "green:user4"; gpios =3D <&gpio4 3 0>; /* <&gpio_user_led_4>; */ panic-indicator; linux,default-trigger =3D "none"; }; =20 - wlan_active_led { + led-wlan { label =3D "yellow:wlan"; gpios =3D <&gpio3 5 0>; /* <&gpio_wlan_active_led>; */ linux,default-trigger =3D "phy0tx"; default-state =3D "off"; }; =20 - bt_active_led { + led-bt { label =3D "blue:bt"; gpios =3D <&gpio4 7 0>; /* <&gpio_bt_active_led>; */ linux,default-trigger =3D "hci0-power"; --=20 2.34.1