From patchwork Tue Jun 7 08:52:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 579592 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 15254CCA47F for ; Tue, 7 Jun 2022 08:52:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238671AbiFGIwq (ORCPT ); Tue, 7 Jun 2022 04:52:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238551AbiFGIwm (ORCPT ); Tue, 7 Jun 2022 04:52:42 -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 A892D193C0 for ; Tue, 7 Jun 2022 01:52:40 -0700 (PDT) Received: by mail-ed1-x52f.google.com with SMTP id b8so5360951edj.11 for ; Tue, 07 Jun 2022 01:52: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=FAcjGt3UJf1b3YwbNE0HOPIn29zQv8jSwkJdfcFsjz8=; b=z3ZyWpaC851Sqq3rWnMXD2nSwvwMcRl8+i8lm8g3t+8W8SDD2/ewsnmxAMmqp8wtor Tq4z0WQM9We3AQ4DA6Fjs7q1yqqXThHyCfSMpP4ZUmj4Wma/B0O38BArCdTtB850NqiH 7rCRObI49vcFLMCwkgNucbP98pzFL4Qn9C8/oCg8R1lKiJBJmLM0mNooLECmFvm7yi/1 fYVbXU3SG1K3KlvLJr/vsXtgfBSkRTGUA9wqeeBo69zffd08BbGacpyqqCxkPb8q3xp4 BiufxoK9UkJ6cndWuxjeVRmkBFrVmjjBQGjDXPYlC7J0jKg/Ihrlf6hKx5lpHintL/St AzfQ== 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=FAcjGt3UJf1b3YwbNE0HOPIn29zQv8jSwkJdfcFsjz8=; b=C6v8e5JQNMlUe55axrAT4P8LjsRawrQoi81cWSZ1agZw+50O3R8t33ROZy8chtKdjD yyMy1hV8HZOOgV8UR5EOlxCr0gwDOiq5JCBJWFxOD5/1yX8bk+bM4NfdoonX4ghTfckv x763mLzRMSgzbPQBNS5iKdpazLVJ9rb3lAs0MOYmNgbbFuaZrR9j/sYrARr4FhFzGkpp cb7IJQuXMgKFyogFhPBUkc6rcLXc/DSagERm9polJ8+si9hp5fTGVIbrnkberJYqKdqd /aEcfd4hzBhV4CObDB6BElEPE25/BZY8Od6t37rvGmLhO+oUXw3XeOKQlRdZvmKPMjZQ yXLQ== X-Gm-Message-State: AOAM531thDQyljwOsNR5gcDm7BELXvxLH1xx9nPG9dEvnc0QWrOYmhhX wGsvAxSBUK0h9n0fJIlJohWMdA== X-Google-Smtp-Source: ABdhPJwDzZeVPYvS8ULxbJ1Jld+MuPMYUbVc4NwLrr8W3qBk4cP+m4ga1DgO3my3xt5+dYQxsCxkFg== X-Received: by 2002:a50:ed12:0:b0:42d:d1d3:493c with SMTP id j18-20020a50ed12000000b0042dd1d3493cmr31295737eds.174.1654591959273; Tue, 07 Jun 2022 01:52:39 -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.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 01:52: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 5/8] ARM: dts: exynos: add function and color to LED nodes in Odroid X/X2 Date: Tue, 7 Jun 2022 10:52:28 +0200 Message-Id: <20220607085231.72246-5-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 Exynos4412 Odroid X/X2. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4412-odroidx.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-odroidx.dts b/arch/arm/boot/dts/exynos4412-odroidx.dts index 1f17cc30ed14..dfa4adc9a767 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" / { @@ -28,12 +29,15 @@ 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";