From patchwork Tue Oct 1 15:25:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrei Simion X-Patchwork-Id: 13818304 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5BF97CEACDF for ; Tue, 1 Oct 2024 15:38:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:CC:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=4yr/Kn1MPKXnPLDt7AFBs5o3xI9N50BQqhvWb4KCu4U=; b=dU4jSC8A3OQkiBEHBQtN7lDq/+ gYhnjP3p4au7va80aM2e60pE+m/qUsOmiT9cUazbrAqmPv3YhaYDwOQkKmFT4e4S4YvA9XxJQxZ1k sJCSs00+4AVj08M7ixFh3ts+CYZzqLwG3tJ/6vm9EZ/hs4YuZ+JfwqaOfh7xNXBhSfYeQt3XNtg80 Wc0TUcKhCxiXQCxv9PyPwBoutSsDYQg1PVug2p7Xkjaux1CdN0iIkwd+hG273tBClK5ymdgXNCSuM DRfY/qyTcXV5kxo7unK2mumhmMaz/D4ipMyvk5Arp5kxcv8bZOM0IduQfd2apgHg+Qa4V4xs5lvgF zP1EQdFw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1svewr-00000003LXJ-47bf; Tue, 01 Oct 2024 15:38:01 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sven5-00000003KHe-0bKz for linux-arm-kernel@bombadil.infradead.org; Tue, 01 Oct 2024 15:27:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:Content-Transfer-Encoding :MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=4yr/Kn1MPKXnPLDt7AFBs5o3xI9N50BQqhvWb4KCu4U=; b=nuODljMS808AdWdJOBRk5t7YMP fbk7G6mTDk2XH+COLlLEdcTKJeVfb8BeeOK5CJemA+t0CGizgXHuBEieqeO00OtkoC3FVSTe8Z0oM +CxWfJQ5yMp/G5zAWiG+2ignlQmKQNb3HtN6mTHkhj4F2X1vi4rBDNcprygeJW7NiXRbf8CCdig5x 7NTQyWV/G/+S8oOjX4hfo8ahgKErAA/qwsyTPSvdqmZ+NDlBcsgdh/lpn6hztTVV2EuH9gzYDwXW1 GkbG/i3XNrtSrksOUgLDh6e+ZrgrAac4KW0dgngvAL0pjYBc7OiRrxOlBqnDBfWt57Iw/6+M4DVkV IpHpDp3Q==; Received: from esa.microchip.iphmx.com ([68.232.153.233]) by desiato.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1sven0-00000003BH9-2NKU for linux-arm-kernel@lists.infradead.org; Tue, 01 Oct 2024 15:27:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1727796470; x=1759332470; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=/Kd5u0VINYMqh2PljtqzaupEDdOzidndfBWAwnTst8E=; b=nc8StR4pZhHy+ScjmD9gArZyUNLaJC74nDpeEcq/MmiYrFis+XbbqelW 3BcqAZZw5YUBpqwcM97c9swxC4cAlM6untcgLcTiNzUweiuqGVcrlehjS dbhdzsx+QDdD28QnVgkXvJGEnInPYERot8SRLKYFdPSpHLkYGgbl2etWN OMobSG+WRg0T4kpsEZvBCfSZ72Ew3ZMeTP5ojtbjceE1NqvTiwqLvW9zf 2ObLWoluPjncwKOH6n4piKwdf0rz/XUHv5qCv9EFnocnv3QjsWxCnclAg HX5BkWyWEXvPzVg8gQBUCt6588GDFw+lY+v2yJQIqgSjkFXO+r7pFZfCa A==; X-CSE-ConnectionGUID: C4iJhjyxTv2OpDXExwgrvQ== X-CSE-MsgGUID: 33QSdtsNSSKdrxGNvmedKA== X-IronPort-AV: E=Sophos;i="6.11,167,1725346800"; d="scan'208";a="35727110" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 01 Oct 2024 08:26:59 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 1 Oct 2024 08:26:50 -0700 Received: from ROB-ULT-M76677.microchip.com (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Tue, 1 Oct 2024 08:26:46 -0700 From: Andrei Simion To: , , , , , CC: , , , Andrei Simion , Alexander Dhal Subject: [PATCH v2 4/4] ARM: dts: microchip: aks-cdu: Add label for LED sub nodes Date: Tue, 1 Oct 2024 18:25:41 +0300 Message-ID: <20241001152541.91945-5-andrei.simion@microchip.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241001152541.91945-1-andrei.simion@microchip.com> References: <20241001152541.91945-1-andrei.simion@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241001_162750_956782_157907A8 X-CRM114-Status: UNSURE ( 9.65 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add the label property here and use the old node name as value to stay stable and avoid breaking the userspace applications that depend on those paths. Suggested-by: Alexander Dhal Signed-off-by: Andrei Simion --- v1 -> v2: - added in v2 by suggestion of Alexander Dhal --- arch/arm/boot/dts/microchip/aks-cdu.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/microchip/aks-cdu.dts b/arch/arm/boot/dts/microchip/aks-cdu.dts index 0c3373ad1723..b65f80e1ef05 100644 --- a/arch/arm/boot/dts/microchip/aks-cdu.dts +++ b/arch/arm/boot/dts/microchip/aks-cdu.dts @@ -99,22 +99,26 @@ leds { compatible = "gpio-leds"; led-red { + label = "red"; gpios = <&pioC 10 GPIO_ACTIVE_HIGH>; linux,default-trigger = "none"; }; led-green { + label = "green"; gpios = <&pioA 5 GPIO_ACTIVE_LOW>; linux,default-trigger = "none"; default-state = "on"; }; led-yellow { + label = "yellow"; gpios = <&pioB 20 GPIO_ACTIVE_LOW>; linux,default-trigger = "none"; }; led-blue { + label = "blue"; gpios = <&pioB 21 GPIO_ACTIVE_LOW>; linux,default-trigger = "none"; };