From patchwork Tue Jun 7 08:52:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 579590 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 B3311C43334 for ; Tue, 7 Jun 2022 08:52:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238666AbiFGIw6 (ORCPT ); Tue, 7 Jun 2022 04:52:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238672AbiFGIwt (ORCPT ); Tue, 7 Jun 2022 04:52:49 -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 B753921E02 for ; Tue, 7 Jun 2022 01:52:43 -0700 (PDT) Received: by mail-ed1-x52e.google.com with SMTP id o10so22031181edi.1 for ; Tue, 07 Jun 2022 01:52:43 -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=OapD3u8DomPXjbd8E0R7YCXIachZWLk3usrmeEbpFXo=; b=pwe80uBatLu7X4lqc+cj/wQz5j6Z12sV71Cs5XsOfAK7RC/EW6emZgCSstiPvQD5HO CxdFNdFYsCepMxsW4n+Xq+CWSK/Zi1OboF9pUcVaxlZNpBSqvOscWGrUoAaGO8yYghdd jW25ILEukRsJmIOJJlP67CIZz6JRAFFc3e40Rl7D1RCYuGdp3ArYMv2zIwNeGl6EY5Kl JZmvyWdShxVGGBDETh+MuVS7FmTz+yA6+a4owsh+KGbSm5AMMi2tbYM2ykSg9wpxzqBw EeHKSZQ7g/WZVpmPbY9zJ97oh7ZWFXtOKeCxhA2qeMBKBRJM1ymJBM8lScZlKYG7L/V6 FgTg== 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=OapD3u8DomPXjbd8E0R7YCXIachZWLk3usrmeEbpFXo=; b=ZU5E2XusvJt4qO2j8JxWbBnN+OFLtJeHOjyuvf2LM6Pvcku1sJXzrxh9TzwLcpd6Ve wgNNulOIqwrAXmUuvM0BPZG4Xz9TSMc+e3ZXOAG8h8MLhfLhIwPcABUKaubuf09aSwXw s2bUhSk14k0XICV1mdfk4NTRZmq7CElaU6oOI83YVCw0BWhfjU3RS+x8e1N9voBRAeTF QtnnFCSdVde96QHThe/3sL8dPPa/KsqLOos8nzSOpWau4h8cmJYwt85wMNtGv0N0x145 zGbS1eYA4y4qeMWGG862mw9NvNnxaYu9ildJfDPnbgP0TtRENeFM78w2HLOtRkplIWhw dXGA== X-Gm-Message-State: AOAM530jyB0gUyg0GFXwZQ6OR3rRn/0o7obyRMGsojvgJIy64bAs7QkE zpXzOdq2o/o3oNIkqf27e9gYCw== X-Google-Smtp-Source: ABdhPJw7RJjDpizAzDQGq5EM/WF+JeSoXP061+e/qJWgF/HEWaNinPmoyUFpT1f32/n3NwbhzYHz5Q== X-Received: by 2002:a05:6402:254e:b0:431:35df:5e38 with SMTP id l14-20020a056402254e00b0043135df5e38mr17145811edb.385.1654591962303; Tue, 07 Jun 2022 01:52:42 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id lk24-20020a170906cb1800b006fa84a0af2asm7458137ejb.16.2022.06.07.01.52.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 01:52:41 -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 8/8] ARM: dts: exynos: add function and color to LED nodes in Odroid XU/XU3 Date: Tue, 7 Jun 2022 10:52:31 +0200 Message-Id: <20220607085231.72246-8-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220607085231.72246-1-krzysztof.kozlowski@linaro.org> References: <20220607085231.72246-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 Exynos5422 Odroid XU/XU3/XU3-Lite. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos54xx-odroidxu-leds.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/exynos54xx-odroidxu-leds.dtsi b/arch/arm/boot/dts/exynos54xx-odroidxu-leds.dtsi index 982752e1df24..4e17c040d0be 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"; /* @@ -28,6 +31,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 +45,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";