From patchwork Tue Jun 7 08:52:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12871542 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 23601C433EF for ; Tue, 7 Jun 2022 08:52:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238656AbiFGIwn (ORCPT ); Tue, 7 Jun 2022 04:52:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238528AbiFGIwm (ORCPT ); Tue, 7 Jun 2022 04:52:42 -0400 Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A480314D36 for ; Tue, 7 Jun 2022 01:52:36 -0700 (PDT) Received: by mail-ed1-x530.google.com with SMTP id n28so22041380edb.9 for ; Tue, 07 Jun 2022 01:52:36 -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:mime-version :content-transfer-encoding; bh=rD/1Bx8Gd7OKYwtuHbi2Y1F/IfDjcD3uslaR6lEC5yw=; b=RRpooTaCdmWQ70hmo6aYhrzwCvxGXEsQ//HkFOZplQM+4KbF94ucjCBARufO0jmAor 9aKvuFAc14q5EZWvj+PIxcsa+S7u4h24HOMm3zdKAOIIRnnY4XBd1eaMDcSe3RIIrpqA KhWCi7KRWk8U1qsk87VkSJTr8b3/K8rHZd8LAyN0TCkElbJTc8qVOL0y53cCA7Wyu9j9 ZMQ0M9jJIUZ3E7lIm4s2Sbky2X7NEaj4HwMjcWz3aIGHTRlXIy5ZcUnofRQFdoeUDgQ6 9UK92LcD2hg7mURo2fFZlaYhN7mSltJ1vW9xYFerfGaKqATo0MviUEg4ZbgiGpb/i/BI QhOQ== 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:mime-version :content-transfer-encoding; bh=rD/1Bx8Gd7OKYwtuHbi2Y1F/IfDjcD3uslaR6lEC5yw=; b=zIluP8NwAAerhsUMZsnPDMGJ1kb3Ntsox8Shxi+inevDtTjWYM20G3a6WcOqPTIiMm Mn5IjkbT5nbvBw9x4R8HwBT4Ks7S2k4PL7b0Zja8F7NViqxqs1oYDgDBrommTSVw8Pf3 K96Hlp3WsJbPBEoshAdqH4g0nL/7c+GTQOZUEzg8wvZtGzwMAIqw4jua4hy4HH5TdQIs PiFCAcIhyCwnJaS8ORYuGk2jZSqvqvqZxeCXnNwdXfSuPEw7hCwxqlHB5TXIo+JmJMFx w3wRIMuxaWECWry8bK72TwoNNUrNCWF7UkOcDjhHqa+phe2ZTUmUovvNGvUDOKoMVCPy SBrA== X-Gm-Message-State: AOAM533er5UufttxeK3ed8ZoIL7kj8Z7iwlXf2e0tk7dS5jJBsRyEilW cvyPnOByxgP/eiv+vQ9b3/VzTlZO9Vv7Og== X-Google-Smtp-Source: ABdhPJxYbFqv7g0vrUkta7V3cYoskbZV2DjV9lp6k5ZCI5T2LBGY8n6vRGjnp7ldQ1Gu9EO+zBJ1iw== X-Received: by 2002:a05:6402:b09:b0:42d:bd80:11ac with SMTP id bm9-20020a0564020b0900b0042dbd8011acmr32349165edb.244.1654591955176; Tue, 07 Jun 2022 01:52: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 lk24-20020a170906cb1800b006fa84a0af2asm7458137ejb.16.2022.06.07.01.52.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 01:52: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 1/8] ARM: dts: exynos: add function to LED node in Origen 4210 Date: Tue, 7 Jun 2022 10:52:24 +0200 Message-Id: <20220607085231.72246-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 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 Tue Jun 7 08:52:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12871540 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 3D02BC43334 for ; Tue, 7 Jun 2022 08:52:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238607AbiFGIwl (ORCPT ); Tue, 7 Jun 2022 04:52:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238551AbiFGIwj (ORCPT ); Tue, 7 Jun 2022 04:52:39 -0400 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9624F17063 for ; Tue, 7 Jun 2022 01:52:37 -0700 (PDT) Received: by mail-ed1-x52b.google.com with SMTP id fd25so22063179edb.3 for ; Tue, 07 Jun 2022 01:52: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=qh3Q8zeGGFs4NZvI256UuSMbulRCxHF8EyCSRlLMmBU=; b=V8MnplV7tM2O9koqV83l91wOu4UZ72fncx/MM5oAAg5dLy6XrzetHE7dI/y2TMJNqb bICAPaQEEu9UQ3mfn/A3bHC5HttioOtjzIeVplu7mu+kB675LtGIEoZ3uzd8la3DOfwD wxZH1ox6J+jcmzFb6mKnDgGUzdI09ejnwz6lS/ar90xdy1RMhEaNE63Be8KSz5TXM4gC 9Dfph8BaLW86pJt/+x8ynOF/HzLB8T5tsHT6Bc1B1YtO40D9TZxJN24cSBmu18CCFJVK lGdHA1euL0rXSnbqlvLDloF60O/De2hcnurd2aXjO/3HSL8cROXNbFKEvail53f+m190 AW0A== 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=loskKEYTUiEIExYEHC+oKOx5DmqvGBEUmiWoEJyfrGCex+AnRbadAhrgHJ+DTQ5eUp bnFNUSzj5zs5bsb0v4pmucjoaftOkmWkjToFAbLNIrniYSzIWA6vVCq/VFGIef3k1YUM 72+hy/I7vgEOaMiXF/aoSgXrJy+pMJujjNHW9TOldG2q8Jw/y2B+iA4u7dfriFeAhZJA dfUmUwp9qMmyY3ZuCWEMpYKNpmcJSSzyjkc9CIggXcVijiHn7y/5U9JC66Lgg1ziHrKT 8SSg5bcG4MSYPVHrvvr3tAdSmpN807LIkx7xD0HTUQigr58OsigsI4I5D49Rn4l9FcQu 7IkA== X-Gm-Message-State: AOAM5324j3QZoRXuzuigra45uQZVdGdGbgHPUqO4IA6srgTDED1ThoKd 3dRqxWAK/Z8qP1juDu3GMTeN2Q== X-Google-Smtp-Source: ABdhPJxrs3dT9lmh3cltzk1QMQDGMeU9iFHbuoW1PmB1ccZYkzvHZ9gd6RibypRT+77UNA3T9DGm7A== X-Received: by 2002:aa7:d1ce:0:b0:42d:cf0e:3389 with SMTP id g14-20020aa7d1ce000000b0042dcf0e3389mr32019205edp.4.1654591956181; Tue, 07 Jun 2022 01:52: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 lk24-20020a170906cb1800b006fa84a0af2asm7458137ejb.16.2022.06.07.01.52.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 01:52: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 2/8] ARM: dts: exynos: add function to LED nodes in Tiny4412 Date: Tue, 7 Jun 2022 10:52:25 +0200 Message-Id: <20220607085231.72246-2-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: 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 Tue Jun 7 08:52:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12871541 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 D9828CCA47F for ; Tue, 7 Jun 2022 08:52:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238650AbiFGIwn (ORCPT ); Tue, 7 Jun 2022 04:52:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238573AbiFGIwl (ORCPT ); Tue, 7 Jun 2022 04:52:41 -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 A295517A86 for ; Tue, 7 Jun 2022 01:52:38 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id 25so21768774edw.8 for ; Tue, 07 Jun 2022 01:52: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=8xXqEkcH0037bjomWByGduT1N5+YgK5Gt+P/gddU4Bw=; b=D8IUv8a7VPnBrf0aIazoCEC2y70UZkecOpVSFMhKjuRjNqP7oRUkBOhRhvea0E3wxh A4tZNjfBhZS8GRqC03gP5gX+w08EqlzrypXQ8jQzAnBs0ZJ3DYuNqsnVJG0n/E3ra7LI yWFI+sl6n9BxQg+QqruWnKq1eJThUk/85X7j/n9uWN7Gg8oOsylC+dKIPiHYrFMORrfP kwBuNMjmR+MCCnm+F9nuBv+Y1Tx22M5jSb3bkkgsjhrFUU5M6kX8DsKQ3gnFj+Y469J4 gVrLn0sU31AcLu0kRzHubJ6QWOZa2WVH6Q+qK2RkqkrFfwlYAxn1bMdGcLAe4XGrRyL0 cpLg== 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=8xXqEkcH0037bjomWByGduT1N5+YgK5Gt+P/gddU4Bw=; b=uiTFqtv7K/ZuYuin+9VQL5RpKEd8RDs4fPbTvpj4go0GDNuBsigcMm65GKV1XVT4Mx snWra0fLxI/RtizxvQKbjCWjOz0U/5A852H8Q/bTUt6BRy3kye574WoltS7lRK78Ucl6 Gv/s7wErr/vKhsCsgOq7ddI5/y9jEm9HRH3OZXANGOzJRJWkdLvQ8+uFBGpPoCtfHfAG HEdnhN/xxkRffU+Ss+XCQrGEtbE+Mf7Hv5TIlAPhV3DQHrn0+rRhF50Z9vJQgvdt7a79 loTZrovBZDPL8rOh0/WDwJjsLiFBCLAUlTCKMvtpujYiV0rgI+fXozObSX2CFJmGy+A1 cQcA== X-Gm-Message-State: AOAM532PGQXXJBWHDNHmCG0ctg9MVfuLryrnkPmj4OE4x+PcTt+sVNPo BM62s9uZFPuOpio6+466qXYx4l4wotMmrw== X-Google-Smtp-Source: ABdhPJyxEsRZb3gvxbr12MkfWz8ngZU5UbaABCHYT19Zy93GODUzCV9ltepTwi3JRGT15w8uXCqMkA== X-Received: by 2002:a05:6402:2806:b0:431:87c8:b45e with SMTP id h6-20020a056402280600b0043187c8b45emr3781509ede.130.1654591957201; Tue, 07 Jun 2022 01:52: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 lk24-20020a170906cb1800b006fa84a0af2asm7458137ejb.16.2022.06.07.01.52.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 01:52: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 3/8] ARM: dts: exynos: add function and color to LED nodes in Itop Elite Date: Tue, 7 Jun 2022 10:52:26 +0200 Message-Id: <20220607085231.72246-3-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: linux-samsung-soc@vger.kernel.org Add common LED properties - the function and color - to LED nodes in Exynos4412 Itop Elite. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4412-itop-elite.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-itop-elite.dts b/arch/arm/boot/dts/exynos4412-itop-elite.dts index a9406280b979..0dec45a505b0 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" @@ -29,6 +30,8 @@ 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 +39,7 @@ led2 { led3 { label = "red:user"; + color = ; gpios = <&gpk1 1 GPIO_ACTIVE_HIGH>; default-state = "off"; }; From patchwork Tue Jun 7 08:52:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12871543 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 2AAC1C43334 for ; Tue, 7 Jun 2022 08:52:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238613AbiFGIwq (ORCPT ); Tue, 7 Jun 2022 04:52:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53054 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238627AbiFGIwm (ORCPT ); Tue, 7 Jun 2022 04:52:42 -0400 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5885186C4 for ; Tue, 7 Jun 2022 01:52:39 -0700 (PDT) Received: by mail-ej1-x62d.google.com with SMTP id s12so26556692ejx.3 for ; Tue, 07 Jun 2022 01:52: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=LPJGKNKeJFfy/vaG/83MK594pviZ0xNYm6KJJEF/kg8=; b=TF3pTC4quUYeEWttSaAur6xWyKWNd1qEE6R6QukKNmbnmAuDJW31ppQ4/70KVCDY6j HFjmyP5LVwXJqg2HJaSMaSLe2GwvJgwByxz+Rg+qySnK/dlcBNLRY4WKfDAjrMnDD3Zd OS5FM924j9OM+dJjZ1QDm0/VXMBLusb3BMppNj56G10Z1zbOW7WGsvMnbTDapAlcsLmx QpNcREzEM90hZEbQlmVRNpPemUBtHtyFLi+fDinx/iGn5qJf7s7iE0NL9/rFVDNDYocs 3Bm3uMA0ZGB55DDVuz+yVPDtbk/+l6Un8ex2CTtI3wiNaD4Z8AhgjBBmGlR0taUy8nsJ rSuw== 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=LPJGKNKeJFfy/vaG/83MK594pviZ0xNYm6KJJEF/kg8=; b=bugG+lHn+LK3UAa0FdMEyQJUc7ljhNtfP+1ZDGwXpvcKAD+3axs+IWRIQIw6z2ey2C uQmRmxPDBkjy3O7kpR6YzHYcTnfYj5Jkl9uBJ7htW4PLfIKNWp6QHTGp4mxJH0QHJQq8 4ptr1BIknFb/nalx2/QemyQ72xTWZqs5hGW+dgCwuAlmrqyY123OsgweXmzZ2evBGzBP DB3jgFoFYKJhEGYqqBIKN4PnpnWK11Wl2ux+TpGPt38mpQ3x8hM8+C1fQFuWDJdQRhnt d9eUdsEp6xlo82MmiZu5WM4ISAVwQLQzkFisZzoAf31uuI4eVBYPGv4Ag72ROJ76isUX D5aQ== X-Gm-Message-State: AOAM533K0aXo7AQMU6pi56SxTcY8iEBZHoyE98qoBDfRycI4EAdQYmJb rIUYEEkYVY96O3O/1jkLYWHy8A== X-Google-Smtp-Source: ABdhPJyVOBSRoU0LVS0pVyfZQN//0AB6dG343gOoMnBfG3TbWa6RNerdkcjMOndTfQ/PHWmRUPp4Nw== X-Received: by 2002:a17:906:9b8d:b0:6ff:16a1:19c0 with SMTP id dd13-20020a1709069b8d00b006ff16a119c0mr25083768ejc.122.1654591958284; Tue, 07 Jun 2022 01:52: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 lk24-20020a170906cb1800b006fa84a0af2asm7458137ejb.16.2022.06.07.01.52.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 01:52: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 4/8] ARM: dts: exynos: add function and color to LED node in Odroid U3 Date: Tue, 7 Jun 2022 10:52:27 +0200 Message-Id: <20220607085231.72246-4-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: linux-samsung-soc@vger.kernel.org Add common LED properties - the function and color - to LED node in Exynos4412 Odroid U3. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4412-odroidu3.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/exynos4412-odroidu3.dts b/arch/arm/boot/dts/exynos4412-odroidu3.dts index 36c369c42b77..79364e7a8da1 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" @@ -38,6 +39,8 @@ 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 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: 12871544 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 3CA79C433EF for ; Tue, 7 Jun 2022 08:52:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238690AbiFGIwv (ORCPT ); Tue, 7 Jun 2022 04:52:51 -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 S238635AbiFGIwm (ORCPT ); Tue, 7 Jun 2022 04:52:42 -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 AC0FE193EC for ; Tue, 7 Jun 2022 01:52:40 -0700 (PDT) Received: by mail-ed1-x52c.google.com with SMTP id c2so22028196edf.5 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=nsLO+GT5G2yXA3XdmRaTTlL9jop1ps+Yf037d1xFRb2KX+84zsfUOYZ00bfNsBkJ/N 6mp5w5h46ACAQaSP8/0dLcT9HUbS+Wd6CLskOJIJCen7f0xMn6yH0sW0nkjcMLcdfDP4 MwV7G2a37XQr84CXJpBq2Q4GQwb3dX7DrnjlM2psKRzr/FTIRcqTfuQJ1K3OOPKyhPOu KFPS2cx8wg3Vpp29xM80/ZKj2QMidDVZ7wwzFz+HBuJpLEOYuLXqi6lOw79V+Q+RIz1l JUmBqO2AKFIoMLPxyXsYxusrWbr59E+Ce3EQ2yBcAkFvZJFQ39I3WohTx6hQ4u35KJ57 TWPg== X-Gm-Message-State: AOAM531EEC1BWVnMzCXZhG5jyd6x53vHT6omTqx8Su6GdpefsjhDeuZm UVSdE0QFELG9A9PIYuwiKgJCQw== 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: linux-samsung-soc@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"; From patchwork Tue Jun 7 08:52:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12871545 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 A249EC43334 for ; Tue, 7 Jun 2022 08:52:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238635AbiFGIww (ORCPT ); Tue, 7 Jun 2022 04:52:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238659AbiFGIwn (ORCPT ); Tue, 7 Jun 2022 04:52:43 -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 B328C17063 for ; Tue, 7 Jun 2022 01:52:41 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id w27so22004812edl.7 for ; Tue, 07 Jun 2022 01:52:41 -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=rlAyjG/ASEH9lkdR7oWFs9vFWhwp02iIcUlYOkOaVuw=; b=kVMBiTct5U/sBJCc1FIJRY3oS4Kkxy2XYA+Ih/SxcyJTV8fRfQU6MCthnyXEaZzL2F 9s81Co83DvLvuhCTBAQzfhnPeInknSRe3VzyMIZ4l+JEnkPqLJweQOzM8fFt72ercIpx wV+kKVQH6evxv1mWUq5+hmvf2vXhDmWXSTzV5LloTQlkgkMdRtPP9Isz5T8FA77faaew t2hpZ1Q+uHDYPszss9HBt9BkjexWQq4OKuY5fLXljU1kY5YWINSaPHGLax3KbTsv56Jn ffUQqBVCAOfT02VNP7NdDnCzdAHkfTNi3UW0n8nWor0NxJQdElXZgBBJQgspwO4D4QIs pEPA== 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=rlAyjG/ASEH9lkdR7oWFs9vFWhwp02iIcUlYOkOaVuw=; b=2/vq+JtmFvSv7kjukxfXpCUMVisMcv8eCeDWpfaifVPwYBQz9OiwK7uMUZDto5bydz 01iLxLQzUiu2ttxkf17jpdAI0e/Gi4xMOGgzsRUOXJo5tYxnE75ra8T8Npv1d/tjR89V /XPuLDVppUtJdUGhK/31spOyPLbMTvwPqeIoe/TJ8zlYboufnooLcG3Cgqv6AF47lTEM s7dycw6QEvGV5T5pQ6r4qNbFH4WLuzMw6F+efDms+tiHcxnjLHs8+Bsce6A7ocvLKQFv HQLkG6BJWurnSbMcf4lZhrDBvoefUtfhhF73Jb8yEYTf1od2IBkYlTYNGL9tl/pXN6NA wcHA== X-Gm-Message-State: AOAM53071KIixOVRyCJ4Zk8j8XmiNGo4kH3iW+ot/nqWnRNHYTbIUEeR T0e9W/I4VFlXcpOCXe20uGiJMg== X-Google-Smtp-Source: ABdhPJwvfq0pZU/jwwN7TA7/6NbjYMX7QU10t5HE07xWyILDQjRdAZHlPLv8olWPgri2BGyJD9ei2A== X-Received: by 2002:a05:6402:542:b0:42d:c7d6:4121 with SMTP id i2-20020a056402054200b0042dc7d64121mr31500562edx.302.1654591960316; Tue, 07 Jun 2022 01:52:40 -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.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 01:52:39 -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 6/8] ARM: dts: exynos: add function and color to LED node in Odroid HC1 Date: Tue, 7 Jun 2022 10:52:29 +0200 Message-Id: <20220607085231.72246-6-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: linux-samsung-soc@vger.kernel.org Add common LED properties - the function and color - to LED node in Exynos5422 Odroid HC1. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos5422-odroidhc1.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/exynos5422-odroidhc1.dts b/arch/arm/boot/dts/exynos5422-odroidhc1.dts index d91f7fa2cf80..d7cf427c1bb5 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" / { @@ -20,6 +21,8 @@ led-controller { led-1 { label = "blue:heartbeat"; + function = LED_FUNCTION_HEARTBEAT; + color = ; pwms = <&pwm 2 2000000 0>; pwm-names = "pwm2"; max-brightness = <255>; From patchwork Tue Jun 7 08:52:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12871547 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 B36B5C43334 for ; Tue, 7 Jun 2022 08:52:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238684AbiFGIwy (ORCPT ); Tue, 7 Jun 2022 04:52:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238669AbiFGIwo (ORCPT ); Tue, 7 Jun 2022 04:52:44 -0400 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B57301CFD6 for ; Tue, 7 Jun 2022 01:52:42 -0700 (PDT) Received: by mail-ej1-x633.google.com with SMTP id fu3so32281749ejc.7 for ; Tue, 07 Jun 2022 01:52:42 -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=YT+2L+1k/jLLOrfW59KWU9Ya4hbG+ZAnHljBrrzu/WY=; b=tZkBrcugm3d+uQGBHLu4ISyC/+KePxoHoClbAmHkFE3GsMicQ3j8IOeUj3qLCey0tt Ek1qMFU3f7JxSPcwm4QFJv557/uhvbHmZTgn+v671w3SmupKwb7h6efflBq3aDTJrTul TT3Y+yf49bKOMQMsODvyx6QGsp3pdB6F+ZBG+VsyTifYhzotQaRUpPqEWkiyRykz4uKJ WrNe+u2LHmJ2w6B/KUMzBcnD5NUv3C7lcqpIg7BHBy5ZCNhA71W7MYG9O1WwHertEhp9 A1NGG0XcTvFEXvJ0Ywa1TS/l9JO65SFUAufrlRA0WWU1hys1GuPKsPd4nW9wiwbbfR4F uE/w== 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=YT+2L+1k/jLLOrfW59KWU9Ya4hbG+ZAnHljBrrzu/WY=; b=FJm7olNTGdPaeDIEElUrlLbWwVJ4AJnw/uRrIvpt+PzCGdjaLBspbekCT2kRqjpiOS G4XxBuBc+/ALmoqt9UheW22MoXmOatKnAQPFdmcnezPHHSxHzsjwsWULVxqXW574eeI0 LTbTtEVINvDlwOOwTw5K2SvhCzXHWEKVSzBe6U3481cFOsy+DLBa6RwM03k/KwPweK6S KyRCnGptqDSGFezSAe7B1v+5r3fgwLkmUcNOwbeMQroGCEr9k5+/Hlvr33i2yCvDrPbv A5VWKPtvhIGnixbE0jH8f4Q6bT+mtGU6MuenoXq4NeWt1u/tA0VTCOm+RjhAKIngtJPk ItIw== X-Gm-Message-State: AOAM530hahI9hFdEg/SQrKAcwOwRtvrn7s4LK+QUwXTkfVllGeEXmAdf qq5EGh1DlaCTEec3s8FmqpmLFQ== X-Google-Smtp-Source: ABdhPJyYViMegf8NUq6mrTDz88Uv43gvwiUkl1wdp7laXDNLo/hB8QGFuDQ0f3CoqvYDk+FdJGU9/Q== X-Received: by 2002:a17:906:dc89:b0:6f4:d3a9:34ed with SMTP id cs9-20020a170906dc8900b006f4d3a934edmr25179930ejc.459.1654591961278; Tue, 07 Jun 2022 01:52:41 -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.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 01:52:40 -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 7/8] ARM: dts: exynos: add function and color to LED node in Odroid XU4 Date: Tue, 7 Jun 2022 10:52:30 +0200 Message-Id: <20220607085231.72246-7-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: linux-samsung-soc@vger.kernel.org Add common LED properties - the function and color - to LED node in Exynos5422 Odroid XU4. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos5422-odroidxu4.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/exynos5422-odroidxu4.dts b/arch/arm/boot/dts/exynos5422-odroidxu4.dts index 1c24f9b35973..64683f682c07 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" @@ -22,6 +23,8 @@ led-controller { led-1 { label = "blue:heartbeat"; + function = LED_FUNCTION_HEARTBEAT; + color = ; pwms = <&pwm 2 2000000 0>; pwm-names = "pwm2"; max-brightness = <255>; 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: 12871546 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 D732FC43334 for ; Tue, 7 Jun 2022 08:52:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237656AbiFGIwx (ORCPT ); Tue, 7 Jun 2022 04:52:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238666AbiFGIwo (ORCPT ); Tue, 7 Jun 2022 04:52:44 -0400 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4EAA1C903 for ; Tue, 7 Jun 2022 01:52:42 -0700 (PDT) Received: by mail-ed1-x52b.google.com with SMTP id z7so22017755edm.13 for ; Tue, 07 Jun 2022 01:52:42 -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=ohaehztveuJy3+FjbwSREFXkS/CItA7sCU9glgTvf4raUWEic/3uLQoHfK720o1Y9o xpKwCZGq37OVXYAEU1hZEzj9+MOuF2DqLyTFpOxb0hmL4wxJf3RcTXE7MY6iM9+gEkZs xlWlk3w25awaZjdiyCLN0E3EH5tYpZalL9sRIaFnU8zl75GDT7aNuNMtFTxItEeGFnJj 20YbucUfZBxxXhnS0gV+0SA4CVXwZ0abSj/ETi3sMk3aoK2L4yJQ7W6SJROmuRZMMrv0 1TDaZdwWtvfTH2uF0cR4o7bklzt1cvCug9NFue3Giu6fKhp3KoGFV4Vav4J+jSi+Zi5G 80Qw== X-Gm-Message-State: AOAM5333ySClqJ6D2HI9G4qWupc77ek3EGMWIkJ/ilNpd8VYk+GjMETh tcjCk+lrHllBRW256g/aMYM7VA== 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: linux-samsung-soc@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";