From patchwork Tue Jun 7 10:29: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: 579584 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 8E69FCCA47C for ; Tue, 7 Jun 2022 10:34:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241066AbiFGKeA (ORCPT ); Tue, 7 Jun 2022 06:34:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241056AbiFGKd5 (ORCPT ); Tue, 7 Jun 2022 06:33:57 -0400 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 409A7606DE for ; Tue, 7 Jun 2022 03:33:56 -0700 (PDT) Received: by mail-ed1-x533.google.com with SMTP id w27so22346899edl.7 for ; Tue, 07 Jun 2022 03:33:56 -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=5684ZCuFKjUZf1A0V/l4v3S11bpO074EtOPdjGOIeIQ=; b=dqGPKn8pGEPvS5tOITYYmKsDfhlYWPf4Q+JzZxWkTVwa5a4XbcSgAz97lWJA0VKfDY gMsjn6pqWR+bcidwu3mbXMMo9CKClceT952dLUpVRWkrGaBKDJ1J52cOVDrI6Oh+0rPr cnpqpND4O7SwKeBH8HW5sneHsnEjodUsHAKWAZnOzyJ9AAUEsdAubRjRDOTTTQYzvRB1 rK+TW7+k4Nl4E0oAGV90yz/rV2zEWmXO+7OvgXFu44TPLSjMT4naW/2FTDD1zf/ZquC9 c7oECNbwKIYeS/0uiXt/FeYjBhUGhYb8PY+Mef6C1x/81IwGiM/Tek3P+HSATTU1tlfG bdKQ== 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=5684ZCuFKjUZf1A0V/l4v3S11bpO074EtOPdjGOIeIQ=; b=v0XzXAL639MCKv17oPB2x29X6sg3F1bZ5Eq7tQA6GRobxk/OLKUX5HLkOicufRPfg8 dEbJ3cu2HjkK6rG0obpPbhMPr7dpqPc0E6WITuW33SUolbTqrgacTFY27YH6wYNxah3H Ea8qXWtF6/xpAMUCnOMzt1oixyCUhr4PMLnovDJ7j3sJQJlpsTQ9IudaP3V8qcjQeRrS FT3Tndq9nLsOsv0CiZ2G4Kd2zGD8UjJncnqNhc6rlMWeEROBT4y7XNj9agOVYAEjkPu9 czCqclojYGQ/td1YqDub2sWgu6e3jO75kWfxTt3SQI+Stz6kCNazJqm2aTVNdfcTM9Gm Biig== X-Gm-Message-State: AOAM531o6bKfnPFGkzKLlwKIQsDeCkEKyXN++JwcQv4W9jKVbPNy2HUN U3+iC6Di+TSkBr+JWAAFl6gBT9qPJKuj4Q== X-Google-Smtp-Source: ABdhPJwSCDkpVwfygk6b6aG2ZX5Sr+tvZ+h7UtxCxDpPZ4x8PsNV2K7qP41tKSLqSb3NBhgg52tkDA== X-Received: by 2002:a05:6402:1e93:b0:42d:d71d:cb60 with SMTP id f19-20020a0564021e9300b0042dd71dcb60mr33160867edf.399.1654598034841; Tue, 07 Jun 2022 03:33:54 -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.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 03:33:54 -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 05/10] ARM: dts: qcom: ipq8064: add function to LED nodes Date: Tue, 7 Jun 2022 12:29:26 +0200 Message-Id: <20220607102931.102805-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220607102931.102805-1-krzysztof.kozlowski@linaro.org> References: <20220607102931.102805-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add common LED property - the function - to LED nodes. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/qcom-ipq8064-v1.0.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/qcom-ipq8064-v1.0.dtsi b/arch/arm/boot/dts/qcom-ipq8064-v1.0.dtsi index 5c802b99e15f..7a28a0bfc4ee 100644 --- a/arch/arm/boot/dts/qcom-ipq8064-v1.0.dtsi +++ b/arch/arm/boot/dts/qcom-ipq8064-v1.0.dtsi @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 #include "qcom-ipq8064.dtsi" #include +#include / { model = "Qualcomm Technologies, Inc. IPQ8064-v1.0"; @@ -107,6 +108,7 @@ led@8 { led@9 { label = "status_led_fail"; + function = LED_FUNCTION_STATUS; gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>; default-state = "off"; }; @@ -119,6 +121,7 @@ led@26 { led@53 { label = "status_led_pass"; + function = LED_FUNCTION_STATUS; gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>; default-state = "off"; };