Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp10705789rwb; Fri, 25 Nov 2022 07:05:50 -0800 (PST) X-Google-Smtp-Source: AA0mqf5OfDjAtjCjwsoTsh1CAdLO0Ov8Qqm/NctioLM3jFYYsFQqdkgeu3feJ87TRN03gIf6zhPa X-Received: by 2002:a17:902:e849:b0:188:ff96:a7df with SMTP id t9-20020a170902e84900b00188ff96a7dfmr19989877plg.38.1669388749885; Fri, 25 Nov 2022 07:05:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669388749; cv=none; d=google.com; s=arc-20160816; b=LmiOmvGPNVAeHoIfsxnC7ZBv9d7Y1XfjswX1DCHgemrdTxMkLObNiUBP77QgmZI0xU c7AOj7U46Vu5uwX6mfkNjg2OBKnZGqqrZGzQKhtLrlazThCDfXHfKbVyS+eaqmgZPgt5 DcEPn8GBe+Cav2FQKbwM5m4gK7la6ucBOAxmT+pieHPzzTzrBd63/jKPs5RMtbZBsI5A CMxTZ3g1fSmf+Yeibc5oujXRhniDpIiUeGE8bs2x05FXC2by8qFCtMOt6+KLgH4XNEw7 XFqrSPMdkaPzwjjOGSmidgvlDTR9zTCEPNCedGxu3oQ8j2YJOgm5VDeXkR300k4rF7JM MHsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=bBqSMPejKvSd3O0NO9j72RSijnFvL/UkPRBmai1ZQaA=; b=F6vN8YvcTHfIPOMyY8eRtI/7TBa9a0wWHZEaMrx3TKobRdOrXPfYHgQ6vOBuFQJSdH M3qOx/b+EgjoC7F+U0duE0cp1giZzvN7V+VZOpUJBGYCSUKQIm21GOyF919su640drCN dilJmdK65yHfwc8dBAFQ+xqGKNZM+q8lH8w968U9gK41B0ALS5NNqtqdCrllUVUdrBWP Ej05IpM8vaFRtT8fwLuTLI5VFAz/97RP+15EvRFZvK7qHYtZsLBmU7y9Dhc1Ao+WdZw4 kBh+NH3aJ5jGw0XZzBADRDkvtU7FUrqqGym5sbdlGZDJmT2Jq9Eu4WpMjoevwaWID2Ue EeiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nKi6npi0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ei24-20020a17090ae55800b00218050d0cfcsi3663769pjb.183.2022.11.25.07.05.28; Fri, 25 Nov 2022 07:05:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nKi6npi0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230235AbiKYOnj (ORCPT + 85 others); Fri, 25 Nov 2022 09:43:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230224AbiKYOnQ (ORCPT ); Fri, 25 Nov 2022 09:43:16 -0500 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BAE11FDF for ; Fri, 25 Nov 2022 06:42:28 -0800 (PST) Received: by mail-lf1-x133.google.com with SMTP id a29so7208316lfj.9 for ; Fri, 25 Nov 2022 06:42: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=bBqSMPejKvSd3O0NO9j72RSijnFvL/UkPRBmai1ZQaA=; b=nKi6npi0deHo4cjopDvhYMmfDH4zi4a2NGCuQL0hrfb3u3LH2ixig4h+po3eQ7Zzr0 u4mJoQYBMVuGocp3P9LLko6KJ3s/XUh3j/PB7G5rZS99AC/NT/790vIf458TMF7QqQrj 5F0eWOCXwWXb0m0ZkzOIOrQFv2NHk21raukTxM1/LYgZqEvWlRIsSYXbluk67vl92WJ0 +qwi3Mm3nzoJ/KXxqr4X2rKt/VTP+h1fp7FIGdUc+PE7wGJjqoa5CYBSTEBzxc6UKgxj aKARVBcD+zUP2rSpDxMu0HDXtIg3Ep8Fr/E1/jjCOeAlNN7GrQuKO7kCWkikD05ChzoR FStg== 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=bBqSMPejKvSd3O0NO9j72RSijnFvL/UkPRBmai1ZQaA=; b=pNjXNneQglg2jSHJokJpPwyye+4bQIFdek+PE7kjdvlxCkmIJtiDBQeHKdx9wlhClj OOBmCuqUNwG4cyLFtKfEfnxxd7HieXcZr4Ptl4QdHcwIRdhjSkr84q+L/I1MLKpKQVkS qTQyPqy1gui3f7Zh+MEs8oV3FOorVsO4sAYuJS4xB8XEMH6ibA+9FL8EcfNpAga2xIPC J6XPAz3OMSdCJWwhSvsUgBkz38JTrfcDqOTxRyhh6ugspPRs0I1jVUje0kIz5TdhXD1F 0WwiP7GFH8t+fFfx3OuC+2PCFxukiqYE2Mgq6AKHM+R5Hp93998FFnwmcJ1i3+qEFPDx DD8w== X-Gm-Message-State: ANoB5plMeSObcHdA460yretvszZiyxPDBnQXP68gBJyXBfh+0n58PyYy 3kfs+J6oVg8KHpmE59fYvHTbdg== X-Received: by 2002:a19:4f02:0:b0:4a2:1d18:45d8 with SMTP id d2-20020a194f02000000b004a21d1845d8mr12673301lfb.330.1669387345521; Fri, 25 Nov 2022 06:42:25 -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 c3-20020a056512074300b004aa0870b5e5sm548322lfs.147.2022.11.25.06.42.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Nov 2022 06:42:25 -0800 (PST) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Stefan Agner , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/3] arm64: dts: imx: align LED node names with dtschema Date: Fri, 25 Nov 2022 15:42:21 +0100 Message-Id: <20221125144223.477376-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The node names should be generic and DT schema expects certain pattern: freescale/imx8mm-emcon-avari.dtb: leds: 'green', 'red' do not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/freescale/imx8mm-emcon.dtsi | 4 ++-- arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-emcon.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-emcon.dtsi index 0dbdc9ec3fe5..3d859a350bd5 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-emcon.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-emcon.dtsi @@ -18,14 +18,14 @@ som_leds: leds { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio_led>; - green { + led-green { label = "som:green"; gpios = <&gpio3 4 GPIO_ACTIVE_HIGH>; default-state = "on"; linux,default-trigger = "heartbeat"; }; - red { + led-red { label = "som:red"; gpios = <&gpio5 10 GPIO_ACTIVE_HIGH>; default-state = "off"; diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts index 4c8904fba1c1..7605802f294d 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts @@ -64,7 +64,7 @@ button-3 { leds { compatible = "pwm-leds"; - led1 { + led-1 { function = LED_FUNCTION_STATUS; color = ; max-brightness = <248>; -- 2.34.1