From patchwork Mon Jun 20 17:57:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 583407 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 74DD3C43334 for ; Mon, 20 Jun 2022 17:57:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244771AbiFTR5r (ORCPT ); Mon, 20 Jun 2022 13:57:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244876AbiFTR5e (ORCPT ); Mon, 20 Jun 2022 13:57:34 -0400 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 068291DA71 for ; Mon, 20 Jun 2022 10:57:33 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id kq6so22564461ejb.11 for ; Mon, 20 Jun 2022 10:57:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=rD/1Bx8Gd7OKYwtuHbi2Y1F/IfDjcD3uslaR6lEC5yw=; b=ipFDuv4n3A1+nSYNYbYqP4cwwOOxYGDeDoT73Hwaj1DFAB+JRAgNKMJFgr4qHgMqfd Qh2KjLziahDKA+HISDeMsTd9uUqE4+vYzkk25EhjzATWhVLJDOXpXXwCXvUYGeljfWkB lgNX1Hve9Bd0DdlLwZt1rNvp1wCrIEKIkiHVI9G/TwE6tk/Rc3sZLi/tE56rV6O59s7e luHo8jLctvl70fE7onDQAKy5lrrc61ln98NPl7FkgrGob7oK6++vmtIItnXVWtCzqNJl wIMtfmNPrHrv92mhQ7cFCa3kDru/TtpAJvRqpsv9n7sqlFLo1+LK/6DYNoMuIrBbvQG4 2Hsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=rD/1Bx8Gd7OKYwtuHbi2Y1F/IfDjcD3uslaR6lEC5yw=; b=bBAM8EdKnrF1u+9eWRnDXtnO835VLM8C5GFwJm5Zrp8QK/iMx5XXB9+MAHDjVQO3/t mnXa1zXXoQd6lwhU63sZ9XMME9qjZf4sIiUxMknwd30NHq+gngbqwnFQbE2tYblEnQ1b WtG3RuSJ35sMyFRtp0jH3bYuSdHRywWd+7vDraBoUJcgz5RLZK2oJNjo1l6msfdYaZOu wkw87zItajyfx1/jzGGYJd0d1KFzXOiNId5CGNDzFPrpUuSrMW2jn1MpMoZjJAW1thqd 8zxyR6K1sTeE9g1kL/XwfcUo5S/bp4QSP6O9ClzCzeoLa0gVYvvbJvPuEchKtv599YZW ufPQ== X-Gm-Message-State: AJIora8WpAOS/DKMKbV3mhdhXfbksehLp9Oq+ZUwL3rJ23YipbjGf6K8 4HXDrVrcnufU7CwYbQy4SBVv/Q== X-Google-Smtp-Source: AGRyM1u+9YCsOQ1AZPpIAWblqHkPcR65S+1pJ2KFrv7M8q6Tf2EKagfh41Ip0cxx1YDAa8W/7iiAQA== X-Received: by 2002:a17:906:29d:b0:6f0:18d8:7be0 with SMTP id 29-20020a170906029d00b006f018d87be0mr21750796ejf.561.1655747851602; Mon, 20 Jun 2022 10:57:31 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id g13-20020aa7c84d000000b004357b717a96sm4309925edt.85.2022.06.20.10.57.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jun 2022 10:57:31 -0700 (PDT) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Alim Akhtar , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH v2 1/8] ARM: dts: exynos: add function to LED node in Origen 4210 Date: Mon, 20 Jun 2022 19:57:09 +0200 Message-Id: <20220620175716.132143-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220620175716.132143-1-krzysztof.kozlowski@linaro.org> References: <20220620175716.132143-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add common LED property - the function - to LED node in Origen 4210. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4210-origen.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/exynos4210-origen.dts b/arch/arm/boot/dts/exynos4210-origen.dts index a08ce2f37ea2..82c4ebdf98ac 100644 --- a/arch/arm/boot/dts/exynos4210-origen.dts +++ b/arch/arm/boot/dts/exynos4210-origen.dts @@ -15,6 +15,7 @@ #include "exynos4210.dtsi" #include #include +#include #include "exynos-mfc-reserved-memory.dtsi" / { @@ -86,6 +87,7 @@ leds { compatible = "gpio-leds"; status { gpios = <&gpx1 3 GPIO_ACTIVE_LOW>; + function = LED_FUNCTION_HEARTBEAT; linux,default-trigger = "heartbeat"; }; }; From patchwork Mon Jun 20 17:57:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 583406 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 25003CCA479 for ; Mon, 20 Jun 2022 17:57:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244800AbiFTR5t (ORCPT ); Mon, 20 Jun 2022 13:57:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244894AbiFTR5g (ORCPT ); Mon, 20 Jun 2022 13:57:36 -0400 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3ED9E1EADB for ; Mon, 20 Jun 2022 10:57:35 -0700 (PDT) Received: by mail-ed1-x52e.google.com with SMTP id z7so16136162edm.13 for ; Mon, 20 Jun 2022 10:57:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=5+pVyj/qFEp29tpQxIWH7FoXmtAWrO9FKE1G079+Ajc=; b=B/KsLq/Lk+So/UEOtbHZNvxNdkmqZFTLYPB01vscYlpE3VZYXEGaCCHlkU8dt/Sedb wgHsQScOTxo+NM7HXzHW6nBEzIpLiV05sHDL8puTKheqmNLuHNC6U5NS+BuXtgH3zoZh qXCbvY/ddDIYqqmSEW1oPF7cQn0/kiQZHMs3rufcNi8X3IhLTKebq1FmPRA7o+iS08P4 RrrXdLI64Ips1Kpsr/pVfNzGh/VlsbpNX7dg+gLZ9Fq1pwGmOp/A/36NXW0yI5jfAs2x 3mhwUnbaoXIOuM5LWfSwwXAANF8Hnn75RCL82iWfANF+0Wh9PjlsWZsecRXYLPC4rR20 ixkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5+pVyj/qFEp29tpQxIWH7FoXmtAWrO9FKE1G079+Ajc=; b=u8uLCuuXo88vOqFN7nEHWsLwyKuYY3Qh/0N8kZvxSTLll4enMstqobBzpdJAK8yJSi df0SIUwxyCjqQ5pieepqW8WSqfS52FrhVx14JQoZTmrAfNmhMAOSwotm7q7AHwUnPYIQ jo5cgO8o2bOyQyBgNkWLh6tCd4v53polCdGPhjNl50BPAkPtDOZBtiQ9kmidds2OB+Vy kIVe1VCTaBXFs68lpXFQ4/Joab/IeOQyQE6otu6BKTsHkZmtrEdJIRPU62yS2sdi2pTt jAjKGGy/7AHuTOwxmZLTgkwsDmOloDLFMlsFjuaSg1ZjN+A2DCvrShRuEjW6f6KoSmyk CXtA== X-Gm-Message-State: AJIora/eIszCcCdO+oUPoPF/P5XDvkN0DL60k6mnU/vcUeToHxsHTvzI +YvZpHO7od6Jx6SayFp14YjnWQ== X-Google-Smtp-Source: AGRyM1uwBUerPKbg2aLvFEQMZWi65D2flR3WDgHeR47VVJOScNTs3Ig31XuCSeyXzV9g+EOZhAlfPg== X-Received: by 2002:a05:6402:1597:b0:435:88fb:5b1d with SMTP id c23-20020a056402159700b0043588fb5b1dmr5009766edv.316.1655747853793; Mon, 20 Jun 2022 10:57:33 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id g13-20020aa7c84d000000b004357b717a96sm4309925edt.85.2022.06.20.10.57.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jun 2022 10:57:33 -0700 (PDT) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Alim Akhtar , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH v2 3/8] ARM: dts: exynos: add function and color to LED nodes in Itop Elite Date: Mon, 20 Jun 2022 19:57:11 +0200 Message-Id: <20220620175716.132143-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220620175716.132143-1-krzysztof.kozlowski@linaro.org> References: <20220620175716.132143-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add common LED properties - the function and color - to LED nodes in Exynos4412 Itop Elite, so we can drop in some places deprecated label property. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4412-itop-elite.dts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos4412-itop-elite.dts b/arch/arm/boot/dts/exynos4412-itop-elite.dts index a9406280b979..ccba69dea750 100644 --- a/arch/arm/boot/dts/exynos4412-itop-elite.dts +++ b/arch/arm/boot/dts/exynos4412-itop-elite.dts @@ -11,6 +11,7 @@ */ /dts-v1/; +#include #include #include #include "exynos4412-itop-scp-core.dtsi" @@ -28,7 +29,8 @@ leds { compatible = "gpio-leds"; led2 { - label = "red:system"; + function = LED_FUNCTION_HEARTBEAT; + color = ; gpios = <&gpx1 0 GPIO_ACTIVE_HIGH>; default-state = "off"; linux,default-trigger = "heartbeat"; @@ -36,6 +38,7 @@ led2 { led3 { label = "red:user"; + color = ; gpios = <&gpk1 1 GPIO_ACTIVE_HIGH>; default-state = "off"; }; From patchwork Mon Jun 20 17:57:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 583405 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 6475DCCA47F for ; Mon, 20 Jun 2022 17:57:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244854AbiFTR5v (ORCPT ); Mon, 20 Jun 2022 13:57:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244922AbiFTR5i (ORCPT ); Mon, 20 Jun 2022 13:57:38 -0400 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 554A21EEF4 for ; Mon, 20 Jun 2022 10:57:37 -0700 (PDT) Received: by mail-ej1-x632.google.com with SMTP id g25so22578584ejh.9 for ; Mon, 20 Jun 2022 10:57:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=joP03Af22hkwu3KalwDqH+PPIBm/L0VrpPvnIX53/fI=; b=Z0oHIoda5XMiOVpIgbbyotj7nmbNFjYZACyvVG6Ejs75akHtE73Uh8fBjv3zXp0cUj UwEjfAbJ8t5daAoFl89pMsavkJrxgN0YB+A5jnNh91tMRmu2yQ5iGY4jeBa3ZBQ/IwsF 7w38jBAmVCxw2tqrID8ZXSb/UkVZoAPqP3Bf36gVk8UkbT2gWXS7eqw6QjO/fx9iTmPq yRZJHeumYXWB//rqrU3d0TaNgS7TiYKqDGJO2o2Vi40MQ3f6De3369k9Ua6xt1hPE4ej 1w1Gg6cLy9ZbGxIm47944EHLvaYp7v6lvw5lc64MYILyubdPMwoPnBSh1eLXXOHA+Q0l vQMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=joP03Af22hkwu3KalwDqH+PPIBm/L0VrpPvnIX53/fI=; b=qeGwqiK69Pe0fKvTIz1stjN+td+bNtybfmBc8WSFpTLTy+RqfVbTnrK2Ivwx+iLRah zNLjt+wsZ/o3LmMxJjYs9NKz8Ihk6fQQBgNOBWJEUo5JQcGlt1rheJiNLP0F261wWM2Z nRDWaUUED3c2IfkuzMbUYYchxTbuHid3vUIq+0AIcBP1TMlVViqt3JG0KWkjp5W5VEWf HcpKRwXOm5+XBeCdB2Sq/ZL2nezDlHoaH0xiAP2BbDBme9qf4TcCMMu83oJyfXmeUdcH D9BouHRY72TqeFHm3OaL3xtbkOwIZWW+anHEHtG7boUjAdNhspGF1WgUcwK4ZlJR1mV0 U60Q== X-Gm-Message-State: AJIora+59NJxQHkmWOizwaj9+2DuiPXUtrtqUjakGGrwD7ETpWWNzh6K eQYAZ16WsDMf6CFCAO6f05LSCg== X-Google-Smtp-Source: AGRyM1vsNjhVI2WjrfbSg9NB2/tJgra0FfoakSUJrfCHX5V2KYjR8NJdeWepCHBSJhH+Yp1b+iEKfg== X-Received: by 2002:a17:906:72d7:b0:711:f778:113b with SMTP id m23-20020a17090672d700b00711f778113bmr22537580ejl.625.1655747855904; Mon, 20 Jun 2022 10:57:35 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id g13-20020aa7c84d000000b004357b717a96sm4309925edt.85.2022.06.20.10.57.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jun 2022 10:57:35 -0700 (PDT) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Alim Akhtar , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH v2 5/8] ARM: dts: exynos: add function and color to LED nodes in Odroid X/X2 Date: Mon, 20 Jun 2022 19:57:13 +0200 Message-Id: <20220620175716.132143-6-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220620175716.132143-1-krzysztof.kozlowski@linaro.org> References: <20220620175716.132143-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add common LED properties - the function and color - to LED nodes in Exynos4412 Odroid X/X2, so we can drop in some places deprecated label property. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4412-odroidx.dts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos4412-odroidx.dts b/arch/arm/boot/dts/exynos4412-odroidx.dts index 1f17cc30ed14..68d589e081bc 100644 --- a/arch/arm/boot/dts/exynos4412-odroidx.dts +++ b/arch/arm/boot/dts/exynos4412-odroidx.dts @@ -9,6 +9,7 @@ */ /dts-v1/; +#include #include "exynos4412-odroid-common.dtsi" / { @@ -27,13 +28,15 @@ memory@40000000 { leds { compatible = "gpio-leds"; led1 { - label = "led1:heart"; + function = LED_FUNCTION_HEARTBEAT; + color = ; gpios = <&gpc1 0 GPIO_ACTIVE_LOW>; default-state = "on"; linux,default-trigger = "heartbeat"; }; led2 { label = "led2:mmc0"; + function = LED_FUNCTION_DISK_ACTIVITY; gpios = <&gpc1 2 GPIO_ACTIVE_LOW>; default-state = "on"; linux,default-trigger = "mmc0"; From patchwork Mon Jun 20 17:57:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 583404 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 729E9C433EF for ; Mon, 20 Jun 2022 17:58:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244974AbiFTR6B (ORCPT ); Mon, 20 Jun 2022 13:58:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242197AbiFTR5k (ORCPT ); Mon, 20 Jun 2022 13:57:40 -0400 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C0731EEFE for ; Mon, 20 Jun 2022 10:57:39 -0700 (PDT) Received: by mail-ed1-x52f.google.com with SMTP id eq6so8834072edb.6 for ; Mon, 20 Jun 2022 10:57:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=dPjc9m9jjOSDqacncQHGMk6hFz5gDzF+xAgCPwYpZfo=; b=O0eVkmFKWn0CEFQyhwJfh6gSkxLut+snaPIhrX88n4irfnWjH209+LLoE/dJpMjx3d xG9Up6PF+INz94I0O7TqkbGUzR2JwxJoAusNtIKzN6gYb8u5kPeVZRJyGX/mKToUgXrP NNQDDA9sILZcM3mdEcSB+djhLidp0iyhgrPahf0ID2igZ8LuJqORtUBn31oZOeRZm5L4 X66P3jlGqoQdDmprWtMpg5nSqqJFrW2x+wr2EZH2HGk5804jFqESYVzrBiWeScCJq316 /Ljfahxr4lbxFHdDG2IFzKRmAr04ZstfYP3R5dXm4+NUnwXYStqI+0rNgDuXw+C7ryVS OB2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=dPjc9m9jjOSDqacncQHGMk6hFz5gDzF+xAgCPwYpZfo=; b=euvtpgajVhNFi1zOhgskYfRw45WwIf8RREqiscSpxAqXSKBqsyLKVFqQEcaFTPPJ/1 4LJo/A1oNtb3sB+Jybf0CmgAcMzlN74U+ZC7sdh7jHoV2AZJ09bvgGr7ecxXMNV8caDL 1hUfJW/QLzQ4epRlbj4gvPTlOuYlhnEdETZiAX6qPwOOi45Str9+0/97OzM0TuO1ytox aB40UaqAtznz5sPMCw66gxrgy97qZSqg9qXiDxRnd4b6QRCoAg3pWrAd4wFlu7+3Uub1 6hgm/qR5FB49J0eCJ9CiU11qW+k77d1aRWy0UKRfAREyfawqMHZTpZ53v85CIw1D/ZxW M9nw== X-Gm-Message-State: AJIora9Zh58PoEYZZpGsw2kxvZX194js4tIJ7IUUCecCMgjGUyokmPDg TZaowTR7lbizXMlSv98ylHHlZw== X-Google-Smtp-Source: AGRyM1uRIbcBM9VViZJowdqff2MvNDYIlrVp69Pj5JNKPD7u5fAAfv0cs6xkqSAbbBaqHkHsA6zBpA== X-Received: by 2002:a05:6402:3329:b0:435:8136:cb70 with SMTP id e41-20020a056402332900b004358136cb70mr7037286eda.106.1655747857948; Mon, 20 Jun 2022 10:57:37 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id g13-20020aa7c84d000000b004357b717a96sm4309925edt.85.2022.06.20.10.57.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jun 2022 10:57:37 -0700 (PDT) From: Krzysztof Kozlowski To: Rob Herring , Krzysztof Kozlowski , Alim Akhtar , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH v2 7/8] ARM: dts: exynos: add function and color to LED node in Odroid XU4 Date: Mon, 20 Jun 2022 19:57:15 +0200 Message-Id: <20220620175716.132143-8-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220620175716.132143-1-krzysztof.kozlowski@linaro.org> References: <20220620175716.132143-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add common LED properties - the function and color - to LED node in Exynos5422 Odroid XU4, so we can drop deprecated label property. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos5422-odroidxu4.dts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos5422-odroidxu4.dts b/arch/arm/boot/dts/exynos5422-odroidxu4.dts index 1c24f9b35973..f5fb617f46bd 100644 --- a/arch/arm/boot/dts/exynos5422-odroidxu4.dts +++ b/arch/arm/boot/dts/exynos5422-odroidxu4.dts @@ -9,6 +9,7 @@ */ /dts-v1/; +#include #include #include "exynos5422-odroidxu3-common.dtsi" @@ -21,7 +22,8 @@ led-controller { compatible = "pwm-leds"; led-1 { - label = "blue:heartbeat"; + function = LED_FUNCTION_HEARTBEAT; + color = ; pwms = <&pwm 2 2000000 0>; pwm-names = "pwm2"; max-brightness = <255>;