Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3462727rwb; Sun, 9 Oct 2022 05:39:32 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5phdwCBRlT6KcT750/zQpeAggculD2hPg0vRIPAaJmNhEx8B0MBbreqJ3IGz17VESPgmOP X-Received: by 2002:a17:902:ceca:b0:177:fa1f:4abc with SMTP id d10-20020a170902ceca00b00177fa1f4abcmr14123226plg.99.1665319172609; Sun, 09 Oct 2022 05:39:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665319172; cv=none; d=google.com; s=arc-20160816; b=cjLVGlBOx6ZWO4ByijbyaqU6JCr3VGGuofMtotOzuakEAyRVVvj4hx4owjrx4WHeXz GVZt4l9P5yKDL5GIIquyKnn4XdYsGKCwIMcQO6rXxYBToOLOOY6/ek4MNqFiqY2UN1U9 l9A6sLfXYUI1FX6wZUpekYbw41S1+4/WBtmjluMKw5JZhWJ1aJsges7LIf2UoCP5neV0 Fr02R+6TWMrcJ0A7QCUaI57W+Sapn+922bu25GSnWnr+48ZFA6nQ/6wSSnfP4IPRdA4b FRN+Ava1sVSdgK24b+row0UAjF0RNIR7LpAdwSLGvqW39/SpYpECyf0FugsLDrQengOZ Pg1Q== 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 :references:in-reply-to:message-id:date:subject:to:from; bh=3J7gBRTyQdonfXukVC7v8G0G88ok1Fcj4cotZWEE+9Y=; b=pRaCdmQwUoVqp8rKqMo2PKqLiORnNWx8VIpkOrt7Dpn+Coh78dyv76Jxw5fA5oQ80k O1vNEpYczOzhLMJq8asmDwucO2k45hctR52J6vy3j2lHOO0nJYWfBNzQ9o++wW/QyJSm YK1gqd1lU7pjBEafftzHDvdhnnaMUbSQDJyvoRBT147yQIzFtIizwhFd2l8ayEd/V8an /1vWO0GwxCIrFIdIUkPogQb7uWKeGKvuAbUJhuJUzElW2WVlbj6wa4Fk3JC/mPdbxpOZ kOMiOcFH3fjCKcUqorSlLbGYVEXSic3HITKjrr2F++oFO0pRasx7pZ2neiLX+FdSIfyS xQDw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 75-20020a63004e000000b0045ec918ad38si7777357pga.548.2022.10.09.05.39.21; Sun, 09 Oct 2022 05:39:32 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230111AbiJIMgx (ORCPT + 99 others); Sun, 9 Oct 2022 08:36:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229623AbiJIMgr (ORCPT ); Sun, 9 Oct 2022 08:36:47 -0400 Received: from honk.sigxcpu.org (honk.sigxcpu.org [24.134.29.49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45D9D29C8E; Sun, 9 Oct 2022 05:36:46 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id E7884FB04; Sun, 9 Oct 2022 14:27:02 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at honk.sigxcpu.org Received: from honk.sigxcpu.org ([127.0.0.1]) by localhost (honk.sigxcpu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id adMfwQC8mj8s; Sun, 9 Oct 2022 14:27:01 +0200 (CEST) From: =?UTF-8?q?Guido=20G=C3=BCnther?= To: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Catalin Marinas , Will Deacon , Alexander Stein , =?UTF-8?q?Guido=20G=C3=BCnther?= , Markus Niebel , Bjorn Andersson , Dmitry Baryshkov , Marcel Ziswiler , Vinod Koul , Arnd Bergmann , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org, phone-devel@vger.kernel.org, kernel@puri.sm Subject: [PATCH v1 3/3] arm64: dts: librem5-devkit: Use function and color rather than label Date: Sun, 9 Oct 2022 14:26:55 +0200 Message-Id: <2d249e5fbb3a77a6ca8eb6ecbbf97ac8ce3ef371.1665318256.git.agx@sigxcpu.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=ham 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 Use predefined colors and function rather than making up a random label. Signed-off-by: Guido Günther --- arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts index 7e4b6d65fd89..4c8904fba1c1 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts @@ -7,6 +7,7 @@ #include "dt-bindings/input/input.h" #include +#include #include "dt-bindings/pwm/pwm.h" #include "dt-bindings/usb/pd.h" #include "imx8mq.dtsi" @@ -64,7 +65,8 @@ leds { compatible = "pwm-leds"; led1 { - label = "LED 1"; + function = LED_FUNCTION_STATUS; + color = ; max-brightness = <248>; pwms = <&pwm2 0 50000 0>; }; -- 2.35.1