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: 583790 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 96C5EC433EF for ; Mon, 20 Jun 2022 17:57:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244768AbiFTR5r (ORCPT ); Mon, 20 Jun 2022 13:57:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244875AbiFTR5e (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 034101DA67 for ; Mon, 20 Jun 2022 10:57:33 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id ay16so3236785ejb.6 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=1K0YuExZa2wRmKeItCJYhoewKSAgQ9Sg5bv3LF4M97mSNplJpsphdM66N9yp5pFz7S ZG6XugygEgDWaP2/26NKE5wo/ty50NxGjehAvVIy+Rp8Qx5OrgGMYGg01aByskIu+udn GQvkdxDaClCuD3WQkGs9y01w3WuVonfSVFAwXzD0661h+RRF1qnjabdP73c4GQpRt421 fgmYSKMDvMPoporSOEd0bDX8CwdtCOo8//jBV3SYcmJz33cwq/EvlwL06APgFFO7WkQw 2GvgWAJEpq9/zKH4pJaZdJkT/YDLZJN+7U+YsanxtsVfkJzT7cAiN9NhyWnBgam+efsN HVkQ== X-Gm-Message-State: AJIora+ZkziQkRmddA6vbJ/zSGHgAIT6EvYnw80NjhXnH/doHkzSjN7Z T8kHiTrRwok+vfAl8GVKovwDBQ== 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: linux-samsung-soc@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:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 583560 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 2FBFDCCA481 for ; Mon, 20 Jun 2022 17:57:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244784AbiFTR5s (ORCPT ); Mon, 20 Jun 2022 13:57:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244878AbiFTR5f (ORCPT ); Mon, 20 Jun 2022 13:57:35 -0400 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA67E1C13D for ; Mon, 20 Jun 2022 10:57:33 -0700 (PDT) Received: by mail-ed1-x52c.google.com with SMTP id z7so16136114edm.13 for ; Mon, 20 Jun 2022 10:57:33 -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=qh3Q8zeGGFs4NZvI256UuSMbulRCxHF8EyCSRlLMmBU=; b=szldluCIb7eO+z4vMD72DPZBSweEeA6n7fhtm62zDEFhzXpodqR2jpTRwTqBhPpvjg /rVjPBhgW+Gr3RU4SH/EnwjXHe1xHa2Ad+uT8dimAPf/ccmnOo1Kj0/Pl7w2TmKRdkXq BdHEpeFqZk6n6AuYPSu1sRxHsOtZFb/7fi3zRe46U173ZCJ4LYoPoyBH501LwyZhid8x pYj6l+tO/VTYoo3dpfFZ3Mtjxgkj1oPiEnLdmjpRCZLMSXLu0Um/QQg6ngX5LlFu0oeC uYEWvOM0BKQmrQKcYJTgddq9tBy18fZqSMJSJx7t7R31pV2HuIeZ1WyipPZdiK427bJY Ql2w== 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=qh3Q8zeGGFs4NZvI256UuSMbulRCxHF8EyCSRlLMmBU=; b=rk8DtHRt2un30cj4r6aGyKtXCAKF2LVSee1k+YukzN2WzUFws2mHTTOAScTh4hWqxW oxDRbW+6/ZuUNI0QY8s8GSUFMUcwHkZg34LuEbeTadUtt556wlQ7UQPvLKrqyoE4zm4U jGY8JSWu9+xGZVN4k0jKqlIaWO4BCJQJktNAUtTb830syGrHfOFZlBqtqWLZM0kvvnuq 9I+6jOlyoaDAHSq1Gt3XJmnw+EdytY3CqKEzNWuxZqK7N4PFWXtSa4uyxJkZmcX3lXR8 1+Q6nQfV4ew1qkrJ30ah4RJVbOw6H7ZKxKqVgfcVygCkaPO3O+O5YXuNoQh/kXpx6i0R 8fGw== X-Gm-Message-State: AJIora+hagGHtnIZsFLawvn+Gijv2MiXcxzTkIrIHXgVOZQvjV9OToOx yIpPOz1nFJ7ROXOzPQttz038Pg== X-Google-Smtp-Source: AGRyM1u/Bpyx8H6tU/mYJFjeUTywLl2PwjY+vpq32fMJ6PybHG44Dau2szPif/u3KkhxKJrYp4hLng== X-Received: by 2002:aa7:cb05:0:b0:431:95b9:6d31 with SMTP id s5-20020aa7cb05000000b0043195b96d31mr30502633edt.56.1655747852600; Mon, 20 Jun 2022 10:57:32 -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.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jun 2022 10:57:32 -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 2/8] ARM: dts: exynos: add function to LED nodes in Tiny4412 Date: Mon, 20 Jun 2022 19:57:10 +0200 Message-Id: <20220620175716.132143-3-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: linux-samsung-soc@vger.kernel.org Add common LED property - the function - to LED nodes in Tiny4412. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4412-tiny4412.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-tiny4412.dts b/arch/arm/boot/dts/exynos4412-tiny4412.dts index 017b26108bb0..04388c575efe 100644 --- a/arch/arm/boot/dts/exynos4412-tiny4412.dts +++ b/arch/arm/boot/dts/exynos4412-tiny4412.dts @@ -11,6 +11,7 @@ /dts-v1/; #include "exynos4412.dtsi" #include +#include / { model = "FriendlyARM TINY4412 board based on Exynos4412"; @@ -30,6 +31,7 @@ leds { led1 { label = "led1"; + function = LED_FUNCTION_HEARTBEAT; gpios = <&gpm4 0 GPIO_ACTIVE_LOW>; default-state = "off"; linux,default-trigger = "heartbeat"; @@ -49,6 +51,7 @@ led3 { led4 { label = "led4"; + function = LED_FUNCTION_DISK_ACTIVITY; gpios = <&gpm4 3 GPIO_ACTIVE_LOW>; default-state = "off"; linux,default-trigger = "mmc0"; 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: 583559 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 8E02FCCA47F for ; Mon, 20 Jun 2022 17:57:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244798AbiFTR5t (ORCPT ); Mon, 20 Jun 2022 13:57:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244888AbiFTR5f (ORCPT ); Mon, 20 Jun 2022 13:57:35 -0400 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 519951E3F4 for ; Mon, 20 Jun 2022 10:57:34 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id fd6so13412046edb.5 for ; Mon, 20 Jun 2022 10:57:34 -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=4H+EplQSqRLf57AcdAqf8bWxWQtmQfcIc6iG7U7xSVOsmejZfMIe+HhEFzI66eUagI 4BIm55Zd5bD849rH+aK2kef5XlD4fUv3T4bhBCrPYNqOlx1IA3BHoWy3U6Zte3HuD3Zu tnll6kvWqAXcRqv0hvo8yVbctEelRhc7C1C72PZtlOYbMUhYiuc3c0KmI8Y5ylbDwy6S c/Z5X+haxhBn1BDyibu10MHRGmw7b7yzHKdSn4gxM/INR33TozOvHRNvopIOzQhGa9cs xo4+Q1X/1Vw0cIQPsDREdeZj8u0vYmJcwAUz8XmHU9+RsDu4rOk3fA4s3NUveebtfsio 8rYg== X-Gm-Message-State: AJIora9h9VFUJvRpMbohUCg4rtFqarI2cwtsF+engHbBiszlzhPHbLU8 ajKTzmcFYltbgu7q/3QECD/3Dg== 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: linux-samsung-soc@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:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 583788 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 2216DCCA479 for ; Mon, 20 Jun 2022 17:58:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244938AbiFTR5x (ORCPT ); Mon, 20 Jun 2022 13:57:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244904AbiFTR5g (ORCPT ); Mon, 20 Jun 2022 13:57:36 -0400 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 693BE1EAEC for ; Mon, 20 Jun 2022 10:57:35 -0700 (PDT) Received: by mail-ej1-x635.google.com with SMTP id u12so22591220eja.8 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=ljHTEoR107PgHatWaZod2fz6OsIql4Y3bAgJB37HM5A=; b=Ve1TcQKRVNw+XJgSJlBnZVsBg8XnYI/j8Pc09bEfp0Ha1Kf3e5HJ0+XhY+inafaz7O uSrJaoh0bUQcrWqbAoBcJQIoG1TyvBN+G/WLxsNfxbz0hKosZvw9MuQhxPLypttrC7d8 GdXxCMiiSPV88C+Ch6OvkJNQ7Mkwz58sKs3kJ5HuG5jPe9wkMjRn1mZ6LYzycTSdKXY2 RtdQhgPxrq2G7W7qFqjkHaz7QZs2teNm2AGoZ1WW1w0ZuUZcLYiPccs5XYCWWAMmojcc zIc0fR7cb+N4fbaDWCr4CwvTwS/9ji/G8brmdZmbgeBZetwCp+od6SZLvE7YYzh8DEPo OhOQ== 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=ljHTEoR107PgHatWaZod2fz6OsIql4Y3bAgJB37HM5A=; b=68i4p4lQryh0cDj+j1ZOnsh4/EjRHAqml/PuqgZsNFs78URUoaAF9xjWIL65QSD+cc u3JHQipnJThyekR6gqHsft14WuN0uPMO/XXDOzuzVuOyxD1oW+FyKtDAPskKyqXV5qlc CVchem+LE8un2EaxlbKoOzgcCD/dwnx7ZB+33kV/yIThcbeuqTYTVTdwxZvhdmlThVYT Y11ZIkiXnD0UXv6RQyrftDqBqAM5r7yBXaJ128XY/ZRc2gg8cM7g9T/XSmIPOolKCiFL y+7ys6tYo9vCKeYer5z3LpTQMpx3pnFAwHWWW84lcnViNXGwj2HGSy0sDQsOGPxU5mCq nupA== X-Gm-Message-State: AJIora8nKj6Uq/u+4NRM7v92pi4EnKzfqlvlcz83XZik1l0XVDRXKSfb Pc25x68kZolEDt4kdRW+p1qAuFcvcyWRZA== X-Google-Smtp-Source: AGRyM1srrm5ftj+YpP1mUFs4eMASY4MCKSJPROYOEwhRfUamNcW26vKrtW7QFzyqehExE1KUPVz5nA== X-Received: by 2002:a17:906:74c2:b0:722:a7e9:6f82 with SMTP id z2-20020a17090674c200b00722a7e96f82mr7844254ejl.3.1655747855025; 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.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jun 2022 10:57:34 -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 4/8] ARM: dts: exynos: add function and color to LED node in Odroid U3 Date: Mon, 20 Jun 2022 19:57:12 +0200 Message-Id: <20220620175716.132143-5-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: linux-samsung-soc@vger.kernel.org Add common LED properties - the function and color - to LED node in Exynos4412 Odroid U3, so we can drop deprecated label property. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4412-odroidu3.dts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos4412-odroidu3.dts b/arch/arm/boot/dts/exynos4412-odroidu3.dts index 36c369c42b77..a5ad88b897ff 100644 --- a/arch/arm/boot/dts/exynos4412-odroidu3.dts +++ b/arch/arm/boot/dts/exynos4412-odroidu3.dts @@ -9,6 +9,7 @@ */ /dts-v1/; +#include #include "exynos4412-odroid-common.dtsi" #include "exynos4412-prime.dtsi" @@ -37,7 +38,8 @@ vbus_otg_reg: regulator-1 { 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"; 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: 583789 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 B907FCCA481 for ; Mon, 20 Jun 2022 17:57:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244818AbiFTR5u (ORCPT ); Mon, 20 Jun 2022 13:57:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244927AbiFTR5i (ORCPT ); Mon, 20 Jun 2022 13:57:38 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 561EA1EEF5 for ; Mon, 20 Jun 2022 10:57:37 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id v1so22558745ejg.13 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=FdD1ww60Q00iV+qB/lYXwfrertuyGxW+B/QPJQE0tMJatbt4btwE6xskh2Q70K6uKM h286uLQdx3ZvifHe/mAGhld/E/XCD6VgE9r1uJDXRrzVbkNNKZISgqeWFKK4UKjcGTzS cHmQXJviu2QYxh5EQ70FULhdGdvA14bue5O/hLeg8anc8GsHBN2i5muhqYWqVoRmCyjd uAjzQsYp8bWrNWNYDqvFd7DQr9EYfLrhq4oqtSgq5TSe7O9GwhvWaTSYm2gnWHPtIzLu K8H9EfsWLekaJTMCEHpisfPkC8QQlfAvzTU2TAp84g65Iq/T0yJwszZn0/YUKhi09R1p jy2A== X-Gm-Message-State: AJIora+9TN2wNqzcp0FOmIla5Bytm3UZSQWFhTZQoua531lv2WjnuqMQ DbDhmh+rXVUnMbsXjGpzmhfI2w== 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: linux-samsung-soc@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:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 583558 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 E2F66CCA482 for ; Mon, 20 Jun 2022 17:57:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244859AbiFTR5v (ORCPT ); Mon, 20 Jun 2022 13:57:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244936AbiFTR5j (ORCPT ); Mon, 20 Jun 2022 13:57:39 -0400 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33B071EEFA for ; Mon, 20 Jun 2022 10:57:38 -0700 (PDT) Received: by mail-ed1-x536.google.com with SMTP id eo8so16234156edb.0 for ; Mon, 20 Jun 2022 10:57:38 -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=QdYt/KuZ8ZY9+ff+QpyUq9uIL2yZfZHFaxnC+UiSozk=; b=qLTElkzwNBDDwmCKMVWclmi43W4+alHdokrH8RMkKOesGUAkWBitUjkLetqlPBvlLm gNuJ4oVMlAUa8WE7tMEs8IRNSLsZzaVPayI/Lj8BmWMtXSiDqQqnrNRXt7Z2A+l6t0SF YD5vaW/+C39T0QMGweFTdnBtKsAi1lvSaoDEsCeFclz+hUDaX+hbiwF7rRtIk4R7hSll PX+GcMKf405+ZYNuYph2fmfu93bQpSZTsfDVp7VL1V8M+ZyrUMjiuKKmR2F4An9yZ1x2 AYZTuSlKZGsrjBz/2bPMNh0qvLL6Xj8vv/C6+Nq5QEoQxd10YZHT9HZkiM9fueA1rW9j ooTQ== 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=QdYt/KuZ8ZY9+ff+QpyUq9uIL2yZfZHFaxnC+UiSozk=; b=QvQb8/uU1upgGcZNNXMWFIKOef1eUh47HjYJY3wZexGmTTGXCDGfIiQC7rTLkVEo+0 a94/BhxOe8SelfD9kOHhebtcRc/Tg9MGg36DJKORtl0Oxf887wMQJnJWocreQTNaQrvN O2U2T3yTci0LsOB5MxTLMAEgim4Arx5pWe3Xh91CbUoEUcry9vfJ6ZcNMgnJ2kflYWtn G0eH270csWYOSHhq6w/Z0nvR+GIKHRW0gPv5OJ03B+nFPX6wj9HUbGTSuLc8DvNsV+B3 InQVGnVXN69Tb+1BsiaRyE5dLJ4zq14leVy5EJfXlxn3X6ogyfjxn9Bz/0dM+wEzMNnb r3Pg== X-Gm-Message-State: AJIora824UByYSvKTldktHiLTL04Zv5LvaaOFJvOAbAnfarMVumCWu3D YYW/3SzheVlDd2QI4ClN7TGhzg== X-Google-Smtp-Source: AGRyM1uMebg0/BpFhY5Q5IqpYhWsyjyLUKCGWnRAk/WrVI15dgi8rFqj9bqqwWpi9+FapDAJJdhKOw== X-Received: by 2002:a05:6402:3713:b0:435:539e:a939 with SMTP id ek19-20020a056402371300b00435539ea939mr26643572edb.160.1655747856830; Mon, 20 Jun 2022 10:57:36 -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:36 -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 6/8] ARM: dts: exynos: add function and color to LED node in Odroid HC1 Date: Mon, 20 Jun 2022 19:57:14 +0200 Message-Id: <20220620175716.132143-7-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: linux-samsung-soc@vger.kernel.org Add common LED properties - the function and color - to LED node in Exynos5422 Odroid HC1, so we can drop deprecated label property. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos5422-odroidhc1.dts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos5422-odroidhc1.dts b/arch/arm/boot/dts/exynos5422-odroidhc1.dts index d91f7fa2cf80..3de7019572a2 100644 --- a/arch/arm/boot/dts/exynos5422-odroidhc1.dts +++ b/arch/arm/boot/dts/exynos5422-odroidhc1.dts @@ -8,6 +8,7 @@ */ /dts-v1/; +#include #include "exynos5422-odroid-core.dtsi" / { @@ -19,7 +20,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>; 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: 583557 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 1A9F9C43334 for ; Mon, 20 Jun 2022 17:58:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245007AbiFTR6H (ORCPT ); Mon, 20 Jun 2022 13:58:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243226AbiFTR5k (ORCPT ); Mon, 20 Jun 2022 13:57:40 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6865C1F2C0 for ; Mon, 20 Jun 2022 10:57:39 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id o9so6926492edt.12 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=5ORUNmLsahhAtr7QoxedqO7qwWoFL7AVmsRhn3tYTAUX4HEnEgLsotrWawo6SfdlMt k4fiinHSDhd6pFINNKkWLKlGrLApcHgkb5juxtyQBnyWPOnNXgbMlO29RD6FBTrWkC0Q qEZzsPvncMfqflK4IgYpehw4VAWZwokGosPqZN0SYUEVkpWW8tjLsMrfFJKnLNhdRuuW BEmbtT8PEQg9amIXzJZZeFf193dvpsLb/5zGng+Bz/BlRMw4HsfAsKz6Ff/Xd6V7Lvic OtWmNPvUuA9fnCwMidk9nZ7WTd85kjc4nrqIVYOaXbsERifX+5Kk4YBjXDEzzfscnU4q QuNw== X-Gm-Message-State: AJIora+4IZeTsYCn8rubzLlsURuyWIlTaWX+DapSlouywLTcA7aQO5X0 BLVV3uyHMbKkHc5aiRH7R7FRcg== 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: linux-samsung-soc@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>; From patchwork Mon Jun 20 17:57:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 583787 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 C7F28C433EF for ; Mon, 20 Jun 2022 17:58:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244404AbiFTR6K (ORCPT ); Mon, 20 Jun 2022 13:58:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243937AbiFTR5l (ORCPT ); Mon, 20 Jun 2022 13:57:41 -0400 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60EA41F2C4 for ; Mon, 20 Jun 2022 10:57:40 -0700 (PDT) Received: by mail-ej1-x634.google.com with SMTP id fu3so22605617ejc.7 for ; Mon, 20 Jun 2022 10:57:40 -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=AJQuruVrTZv1nynKWNjB1vjGLvsDIVSRslYYaj6JlpY=; b=M65tnED65OqJVAxSCBkJnGQmHwgrsIYi5e0h6QJAQ7fctahuQIrbOUqTqQUonE1G3Z v5PIgcBMqgyE5z3vYfbMk2hEDgxAfzXjX6DnZAw/w3p37KpSHuSIlcJE7eFAQ18oclbx mcKgGbHzqFvDfe4VyYOZnQhk8GIFekj5mRNjijcE8lcH8VLTOutYa92ochTWISB+Utdf btL08omZ3byAWYW4eUKYqPmgkvKHQmAgO9EbZsTIBTemTetHI14SYhT9oTK1hc/RJHUI MZx7k3CgXoV0UtwnMv3Oz8FUBQDPcvsW87y9pyX0sEUEBKvJc8dOn4rmmdzY1YlVlALI iaxw== 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=AJQuruVrTZv1nynKWNjB1vjGLvsDIVSRslYYaj6JlpY=; b=Hw1CvZuncrVtRRs09gbkjaj0vMDaDeC2EiEZHAR8LlUXIvQsTUgbJ4cI8+DsPWkB+k dwmDfMUaPCJIZYwtJa3FXH4yi1Lq2NsIOuNeG4zG0h8sOxOeED9Qqs93yc0O9Vgt2voK V1bZWGilU1xVvZzssiJ3YUQ4d+7oH4djUAkAG/GBQqd4R84O2j0aAl+jx7sxOwl8YIiF 9/wY7UcLiEaxYJhOYnv2LujJqBRwPuzpn60venDt0B26WXt0fKE/mLufZwOB/MgFdz3/ fBJ2yNegQfVT5q7xiKRslepPcdIKJV87jEjkMeJrPBQ2weRt04dRikv6HahdAXupM6wm hmxQ== X-Gm-Message-State: AJIora9kDj/mZWffkMBnZHayXpJEsPDz4feUHnAC2GBlOlOOlpAEEgky O5UCJT9OwlML0lMJuIHuZ0sDnA== X-Google-Smtp-Source: AGRyM1u5mzC+exD0UTFj2M5x/7WCl2DFpSLx2iD4jDg+DUR1XDEC0nnM+cdiUCJ+iX6AksDbASeDjQ== X-Received: by 2002:a17:907:1686:b0:710:6ff6:1b97 with SMTP id hc6-20020a170907168600b007106ff61b97mr22359781ejc.378.1655747858935; Mon, 20 Jun 2022 10:57:38 -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.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jun 2022 10:57:38 -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 8/8] ARM: dts: exynos: add function and color to LED nodes in Odroid XU/XU3 Date: Mon, 20 Jun 2022 19:57:16 +0200 Message-Id: <20220620175716.132143-9-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: linux-samsung-soc@vger.kernel.org Add common LED properties - the function and color - to LED nodes in Exynos5422 Odroid XU/XU3/XU3-Lite, so we can drop in some places deprecated label property. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos54xx-odroidxu-leds.dtsi | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos54xx-odroidxu-leds.dtsi b/arch/arm/boot/dts/exynos54xx-odroidxu-leds.dtsi index 982752e1df24..8c0e1716c0b3 100644 --- a/arch/arm/boot/dts/exynos54xx-odroidxu-leds.dtsi +++ b/arch/arm/boot/dts/exynos54xx-odroidxu-leds.dtsi @@ -9,6 +9,7 @@ */ #include +#include / { led-controller-1 { @@ -16,6 +17,8 @@ led-controller-1 { led-1 { label = "green:mmc0"; + function = LED_FUNCTION_DISK_ACTIVITY; + color = ; pwms = <&pwm 1 2000000 0>; pwm-names = "pwm1"; /* @@ -27,7 +30,8 @@ led-1 { }; led-2 { - label = "blue:heartbeat"; + function = LED_FUNCTION_HEARTBEAT; + color = ; pwms = <&pwm 2 2000000 0>; pwm-names = "pwm2"; max-brightness = <255>; @@ -40,6 +44,8 @@ led-controller-2 { led-3 { label = "red:microSD"; + function = LED_FUNCTION_DISK_ACTIVITY; + color = ; gpios = <&gpx2 3 GPIO_ACTIVE_HIGH>; default-state = "off"; linux,default-trigger = "mmc1";