From patchwork Tue Jun 7 10:29:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 579586 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 6FBA4CCA47C for ; Tue, 7 Jun 2022 10:33:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241021AbiFGKdz (ORCPT ); Tue, 7 Jun 2022 06:33:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238083AbiFGKdx (ORCPT ); Tue, 7 Jun 2022 06:33:53 -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 4F9765D1B9 for ; Tue, 7 Jun 2022 03:33:52 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id x62so22375813ede.10 for ; Tue, 07 Jun 2022 03:33:52 -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=8P/Utz+qwtMmeLsHCu4UtqnQA7wOV2udDxlc3dKNwHo=; b=WRTgwXgoM9JsYjQJPCGDKOw4FBmvu4IqF0X/VQ7v8g2wdYagSNMDyFt95YfQvEQyKh 0dhxUwmXNAoTe6wivVReuWoiZUC5Z0zohOl+4slD2nbPbkVRZewOeRJss+rXSAy54AlE VqgHseOwbdZkonnVSUeivvAFSLNpAuD3trePQAydFvxsueHBugXMUDpI5JEbwcG/rqte LDtcDJkpcH8xxQny+HnlfiQuNUrwhx4IShB/9xrFz0hv8h2P7dR2OVJlG3wMDCQEf/Xu U7GPsM4x++k4IeqI+aOANRTqkWMVy9UvbWk2mGigUlKvBxiSdcD6wyaxbtv+WrFWVOdO dHjQ== 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=8P/Utz+qwtMmeLsHCu4UtqnQA7wOV2udDxlc3dKNwHo=; b=dhBIiyBeKhYMpxztxsyebcYyV2VWE+5rirXgfMAXACyLtILQVoUhbvSGKt6Gj2AJxC a3QVEbg27+HGSDrdqheVO3+nhQlI59wzy4sZfi4b/N6Rw7yWlt0EzLLhkSGhDvbFe+l+ 3ev/T9E2YDeXNg7sEJSC5+wB2xOZALWzdXxXp8rSXVkX/QMToSYsfYQBXZ34FcBmrJCH xksJlf8pTMOH/ey9TF5c61R+AKm41EWQQE/bcKILzFYHsM/KsEYEl0awag70kggO5Abk g4rSVNbp2EpmTspJsL+4qsQFr2cGEfFYElxu51chp4ZhdmkhlV3NWo/eT6YPbnkf09DD kfCg== X-Gm-Message-State: AOAM533mQd4T5mThXPRfM7UMigCQegAZrFyfMqOqGh8lZ02Uh5vnCajx jIum6DYIubnkLROW8dIbqDUE+Q== X-Google-Smtp-Source: ABdhPJx97W7wrNNfp8Y0I80YoSqVgA37FCnFdVSHeklX5Q45ucTEloIiuYUoKifQuLENj5pGN9jVMA== X-Received: by 2002:a05:6402:4241:b0:431:574a:d74b with SMTP id g1-20020a056402424100b00431574ad74bmr12413182edb.374.1654598030866; Tue, 07 Jun 2022 03:33:50 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id x4-20020a1709065ac400b00704fa2748ffsm7505359ejs.99.2022.06.07.03.33.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 03:33:50 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 01/10] ARM: dts: qcom: apq8060-dragonboard: add function and color to LED nodes Date: Tue, 7 Jun 2022 12:29:22 +0200 Message-Id: <20220607102931.102805-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 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. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/qcom-apq8060-dragonboard.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8060-dragonboard.dts b/arch/arm/boot/dts/qcom-apq8060-dragonboard.dts index 138d6478ac84..9a4aedc5f3ea 100644 --- a/arch/arm/boot/dts/qcom-apq8060-dragonboard.dts +++ b/arch/arm/boot/dts/qcom-apq8060-dragonboard.dts @@ -1,6 +1,7 @@ // SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) #include #include +#include #include #include #include "qcom-msm8660.dtsi" @@ -416,6 +417,7 @@ led@131 { compatible = "qcom,pm8058-led"; reg = <0x131>; label = "pm8058:red"; + color = ; default-state = "off"; }; led@132 { @@ -426,6 +428,7 @@ led@132 { compatible = "qcom,pm8058-led"; reg = <0x132>; label = "pm8058:yellow"; + color = ; default-state = "off"; linux,default-trigger = "mmc0"; }; @@ -433,6 +436,8 @@ led@133 { compatible = "qcom,pm8058-led"; reg = <0x133>; label = "pm8058:green"; + function = LED_FUNCTION_HEARTBEAT; + color = ; default-state = "on"; linux,default-trigger = "heartbeat"; };