From patchwork Wed Aug 16 00:23:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Woerner X-Patchwork-Id: 13354417 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 DB20EC04A6A for ; Wed, 16 Aug 2023 00:23:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=HJEjvg1yDM9b46QM6/9HCc+H8Z6dJgNtHQ5+J2ZbXL4=; b=Yu0il8Kx/1EY9d EWSvzw5Zkj3/0BhSAyj+61VOjf/zbgsPH/9lIgwGF1kHAl8EsrTGtzYmvXqKPZ8PhQRhodtPnxAe2 /zzv0D1JXKncnAfEXPZmBqMeuaaw19lRdetuXIpqzX1ajHJZ+brka84PC9FW0h15TXf6IGQSnFsPF S7guscCGExP3tpSpp6CfTsdMfcWwekoWsTL5vkUeSdnrbgHSm58WowTbRzJhltlajHJPpnvNe5u8W rI0yIiPCobVhkdWJJEK+GeQA0UM4r6ySCrTpDTQgvvhzQCAvAy/Wns6AsXlqtR/yeoFwHxpDCI8Rt whhifhqSGalcF4uF6Mpg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qW4Jq-002rc1-2C; Wed, 16 Aug 2023 00:23:26 +0000 Received: from mail-oi1-x236.google.com ([2607:f8b0:4864:20::236]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qW4Jj-002rZa-0c for linux-arm-kernel@lists.infradead.org; Wed, 16 Aug 2023 00:23:20 +0000 Received: by mail-oi1-x236.google.com with SMTP id 5614622812f47-3a7d402fc6fso4394143b6e.2 for ; Tue, 15 Aug 2023 17:23:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692145395; x=1692750195; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=SmdkJVdFz/V7Zt8mJfhJXtTYea+Vk2ji53hyZ/nqh5o=; b=oz631v2Sc2jnjywDJAuGZ4VgEpivt3aUYpieXf++7r3REV0ERwCY07rxBabH6mGgy+ u5GBtH5+gD5xLjBHv1gDgyL9XjjsFjsfi3ujhohHwA/g1dpIOv7yBGMLsyZnPXhoiGrD NCekMsziWlEXJfqrptg21o+ddhHVZObvxKYwXIdQEOuO4eaHuPGbtc4+9xQRmoW1/g/Q /SDVlzgWnvfbDsvVGVuh8vD1+oMyrl0dtQiWSFK0cZCWfs5yBEu3DZKtwkErpoKJpIXg WGHQrZTuIuZaEi3eda1UBD1tNxjgT4kXtqqATArtZeD8XHl2jh9C5aoogtdcIaa7FnMF qtCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692145395; x=1692750195; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SmdkJVdFz/V7Zt8mJfhJXtTYea+Vk2ji53hyZ/nqh5o=; b=HzVCiImZCaTd7pm3yudvx4RX2bdmwSFlXxZlPefQkKByuVbrO6rjAgWL0VwQ/lWuj8 SIC8pxWsfvOPp/+EYZOhb0gFUYJajrUll/z+bOyD9d+UEN7ydeBBENTI3+NPQNdIzWb5 nTG3Ze2utPX8g+gLX9oYCywEEH65K44Sp2FDxkbXo/ASca0x4/O56t7rcKKbGj0b0pS2 oQ4y77MzqJLM0L/vFVuO77kJNU3iXrHsQquhJK/wVlpmfAPzZrGGDPTyXHSqPBEESsSv x1LeLu8obmspEasctB1PjzzwUdJx0fiBlguywRtFDbwZcbGh1AL+c/JVhk4SNEQF+2u8 6K3g== X-Gm-Message-State: AOJu0Yxqu5AAFW5OS0ReqiV3iRuJ9NO8s7e2RQWxwkcfXx2ImQx8UP04 6xz8urwDWeTDD6JtG7efEUE= X-Google-Smtp-Source: AGHT+IEOIHLFSZYxB/VgZ5IKyAw6W89fduHPK83Y2Mk1nJBihRAhBRzgj2dkTrH94Xlc0dKbmwRUjw== X-Received: by 2002:a05:6808:18a3:b0:3a7:2524:6d3b with SMTP id bi35-20020a05680818a300b003a725246d3bmr410590oib.12.1692145395439; Tue, 15 Aug 2023 17:23:15 -0700 (PDT) Received: from localhost.localdomain (pppoe-209-91-167-254.vianet.ca. [209.91.167.254]) by smtp.gmail.com with ESMTPSA id r11-20020a0ccc0b000000b0063d5c9de720sm4452436qvk.80.2023.08.15.17.23.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Aug 2023 17:23:14 -0700 (PDT) From: Trevor Woerner To: drew@beagleboard.org, =?utf-8?q?Beno=C3=AEt_Cousson?= , Tony Lindgren , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org Subject: [PATCH 1/3] ARM: dts: am335x-pocketbeagle: update LED information Date: Tue, 15 Aug 2023 20:23:04 -0400 Message-ID: <20230816002308.36800-2-twoerner@gmail.com> X-Mailer: git-send-email 2.41.0.327.gaa9166bcc0ba In-Reply-To: <20230816002308.36800-1-twoerner@gmail.com> References: <20230816002308.36800-1-twoerner@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230815_172319_230194_B5D6EDA7 X-CRM114-Status: GOOD ( 12.66 ) 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 The "label" property is deprecated. Replace the "label" property with "color" and "description" properties. Signed-off-by: Trevor Woerner --- arch/arm/boot/dts/ti/omap/am335x-pocketbeagle.dts | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/ti/omap/am335x-pocketbeagle.dts b/arch/arm/boot/dts/ti/omap/am335x-pocketbeagle.dts index 5dfe4d4bab93..1c11245f6864 100644 --- a/arch/arm/boot/dts/ti/omap/am335x-pocketbeagle.dts +++ b/arch/arm/boot/dts/ti/omap/am335x-pocketbeagle.dts @@ -8,6 +8,7 @@ #include "am33xx.dtsi" #include "am335x-osd335x-common.dtsi" +#include / { model = "TI AM335x PocketBeagle"; @@ -24,28 +25,32 @@ leds { compatible = "gpio-leds"; led-usr0 { - label = "beaglebone:green:usr0"; + color = ; + function = LED_FUNCTION_HEARTBEAT; gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>; linux,default-trigger = "heartbeat"; default-state = "off"; }; led-usr1 { - label = "beaglebone:green:usr1"; + color = ; + function = LED_FUNCTION_DISK_ACTIVITY; gpios = <&gpio1 22 GPIO_ACTIVE_HIGH>; linux,default-trigger = "mmc0"; default-state = "off"; }; led-usr2 { - label = "beaglebone:green:usr2"; + color = ; + function = LED_FUNCTION_CPU; gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>; linux,default-trigger = "cpu0"; default-state = "off"; }; led-usr3 { - label = "beaglebone:green:usr3"; + color = ; + function = LED_FUNCTION_INDICATOR; gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>; default-state = "off"; };