From patchwork Mon Jul 1 15:03:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13718275 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 86B31C3065B for ; Mon, 1 Jul 2024 15:04:15 +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-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=C8qgANQmi/LQZeOHHNHjMJkph5lDqmWWYpZ4j/Qg/ZU=; b=4JxE0wBqKILlbMlQYF3NaJ4FYT XJrun5JFQTC6v8uYwEv9fAeBd9sB01YilZ4MBaf66DcM6hVHpQZJMmhB9cZjJ8sNKeGxqpR67dMmh dx4ZHkWW/eTYqLX5kLn7dTcugOGx94IRdsTDjxgOeu3gLIjYL4ffJG14RAgsnjnujioRJe/gtAx1f Exe7wMHHukUvM7+/CeH1+zAbkb5P5ETwGQn0Nch2hQBqda5YE7pc3YeoF/C0bcGMtnZl8zdGLhymb rohnZOqVjXKjU6AkbVaK+0Fd6gH92lt53oyVrRb4lYP8xHRgajsKJ+2g3EufapA0IVsg3H8a8dnau HWKQmW5A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOIZW-00000003qbQ-0PdK; Mon, 01 Jul 2024 15:04:02 +0000 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOIZM-00000003qVz-0fDD for linux-arm-kernel@lists.infradead.org; Mon, 01 Jul 2024 15:03:53 +0000 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-42573d3f7e4so20193295e9.0 for ; Mon, 01 Jul 2024 08:03:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719846224; x=1720451024; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=C8qgANQmi/LQZeOHHNHjMJkph5lDqmWWYpZ4j/Qg/ZU=; b=FQaCeiagAPJI6cg3KRFuuKr0bjUpNWpyf77U4CXL5et3seRU4LI3Ru4rlc+jZDGCiY D7eNz0u6q1BBw6BsNuktNCrNcCRKywCkoM3PxEGm8cKIZNClF0vtuuw0ONZtNTg+VpsX ox3EXfn6Y8NxTGuhc4Z+wXWmCes7DXWKj4D6rX7cCSv13t0QzNeBhiEmTY2nKzjG2A65 vEH+eoxgEy3APLKJUvwT94JOr+gBv7Zpd+1Q39yUhHkkqp6XAGVabuYn+SJM3J6y9XOC tZ9p6MaBqyZL8j2rQH1+CB9/Q+WqG4jNp6+QBR5ljn6PCTkR/IoAazKmtMa5QlXuYwhu Uiew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719846224; x=1720451024; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=C8qgANQmi/LQZeOHHNHjMJkph5lDqmWWYpZ4j/Qg/ZU=; b=PwGNgpq6En8AoSeF0y2n9vSwbQ84L+wZm//2m3MhLQ141rWbgqG/e6V3DIKxwMkciu kkXlCb0IV392yuJkFht3O/0g9XBgO8H3uX4VEP16tBxbMD6DqkhxVIHIedsQXwCHrO0z ZE5sGHO+omtSqLIACdEADnBWxGIjEqtLzkA6VfMgXpthADMesPxBr7YOgsGYixGdhCrN k9zJzDdt7tY3kFFY8zJQZf6H3kf/aBYXvzq4g22a3tfQX+CnBEW8iAoVsnkiRG+ikos0 WnTAfj2XmmJKHfmPGzsCRCMCrcagNDE6F6L+fR8CrOoHWB+n5vaBciaptR/IG/gD9bIR 3Gmg== X-Forwarded-Encrypted: i=1; AJvYcCUcdFbb8ndl1Px6xcK5btGks9NFu16VjyTNiuv9QjNuIg6RvSvTGOVTmHgDELLgpyE8X4vaDAfeKmOnagKN3GdgWu1u6eMfvJDjadzxwaC+0GgRFxA= X-Gm-Message-State: AOJu0YzNV3c5Ju92bMqt1RX6autAqjGJWBgecOxGzRPlqG12Sg6K3T6H Y3LM8nj8eHQqhqpzeX/VW/bFPlqvXZYYIPmaShKSjonANYwjCaAk2ZuXPFK2ce4= X-Google-Smtp-Source: AGHT+IFRZkNgoZDekXegPzOuzHQz6gz4fGi7msXo22b9Iviq34PkwjGcnmlBJ8mSEPkkTcgnnXPVAQ== X-Received: by 2002:a05:600c:1616:b0:425:5ec4:c880 with SMTP id 5b1f17b1804b1-4257a075692mr39167735e9.35.1719846223852; Mon, 01 Jul 2024 08:03:43 -0700 (PDT) Received: from krzk-bin.. ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4256af5b91bsm158127635e9.20.2024.07.01.08.03.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jul 2024 08:03:43 -0700 (PDT) From: Krzysztof Kozlowski To: Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/2] arm64: dts: armada-3720: align GPIO keys node name with bindings Date: Mon, 1 Jul 2024 17:03:39 +0200 Message-ID: <20240701150340.560243-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240701_080352_237699_AF35EC3E X-CRM114-Status: GOOD ( 12.19 ) 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 Bindings expect the GPIO key node names to follow certain pattern, see dtbs_check warnings: armada-3720-gl-mv1000.dtb: keys: 'reset' does not match any of the regexes: '^(button|event|key|switch|(button|event|key|switch)... Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts b/arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts index 63fbc8352161..07c14bf04b83 100644 --- a/arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts +++ b/arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts @@ -41,7 +41,7 @@ vcc_sd_reg1: regulator { keys { compatible = "gpio-keys"; - reset { + button-reset { label = "reset"; linux,code = ; gpios = <&gpionb 14 GPIO_ACTIVE_LOW>; From patchwork Mon Jul 1 15:03:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13718276 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 08756C3065A for ; Mon, 1 Jul 2024 15:04:24 +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-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=3wDZmEYKELUi74jPnAuSpDQT9bMcj+67lUZhkc9HSzY=; b=eTSmzCkB6yJPSYOY8VSV0oY8km ef5SZAOjEDicsKyBBoamnY7Daw7HVYSulPjAo9nYRCtYN9z2KspdwHGDrYJaWfH0LCObaYgtiNO4z XvCB2TpOiBVMwkHshheBt8U20etfAQJqO/yILH2KypRZXd7ZLCW3ldWUP1nx4CS4UL4dqOWPKVgvf GvFc9przoAQye2XkzwfyCuWZP0HagR6jNdmK2f6mlgcqpx7DpX4i4vuUFzi5qbR4F5pO5wGLOL0WN ZZnsUJuv2n13gYgj/fLGpij//uEWGyvaL5rFT0eCuBcetFxf2u9pJI6TjsEgV4ZJt8gvE1koXk3Id B5GfrSJA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOIZf-00000003qfV-0nfU; Mon, 01 Jul 2024 15:04:11 +0000 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOIZM-00000003qW6-12I4 for linux-arm-kernel@lists.infradead.org; Mon, 01 Jul 2024 15:03:53 +0000 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-42579b60af1so14528605e9.2 for ; Mon, 01 Jul 2024 08:03:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719846225; x=1720451025; darn=lists.infradead.org; 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=3wDZmEYKELUi74jPnAuSpDQT9bMcj+67lUZhkc9HSzY=; b=ezTE/+RVe491M/+l1irauad93gbS7XuhBA9u+MDXcXwvcSBZlb+clePDAfIQm+mJ5T zrLfacYW2dQI5Awejz8b1QYfWpXZeLOSNP884Ud4y6fnDwFMgQrMhh6lF9ZnfuiklGkm Qo8562k72Xo6je32x4AC/0LE9XzwhNa+TIrbTkK59Hho/PCJSO9WqCyH2VAbTBLwKq3z MKm7d/lqYurDweCbjfja2gM5diPb8A8pBaZ5+V9TIVrmxieOnVO247K6V07onZ55/bsb SLsAkwyNDtVKCOhjMFhb/3YRfz3r8Rt5Kk3yP+p+p7eY/FBlPsJ7uQtTFuLlbz2cdMEu 3ceA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719846225; x=1720451025; 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=3wDZmEYKELUi74jPnAuSpDQT9bMcj+67lUZhkc9HSzY=; b=vl5njC556YQw+d2MeMzmf1h9KsZhRm+RfyNgumy29bN9vNyqGJ7lGgKYcm7eEMxKSQ sAIGQB8jGa8LH1Fq3bE8jzGhUbsMb5MrZ0X/3zmUAdKd9Y83PQRHAoA6By9drN39pFg4 VcOaFiiCVFVk5TwkmHyZKdt1Lb0rGUhGwjorcloqwOUIrD0pGgmr1Rk+wdIh83IWB+Tj OYvKUpahK5hSlHhRmAHdUWWh/OZ6uzTQ8+dPXI1IsnIKNy4kH8ZUSWH8kiZ/DKLDDk8Q QAL7I2HozIeN3LNN66OnbBFyCJZ4fc40VLSASLUE8ZyH27t6cPtRkC/0JJKK4IGYDvGa OGzQ== X-Forwarded-Encrypted: i=1; AJvYcCXVdzLxczR5sBGVzgdlAg2WK/Fpi2UUcsCYe7W8ENmQhA9AAfzF0q466lKgJN3XGh9Gq2q9D6qQJI5lu58FwWJqOqg1Pu/H/5YQPtIQ/v9LltI7FKk= X-Gm-Message-State: AOJu0YxtutTpysVfZbZJD+x4OSnC+flcSypuXTZPcvzeJ6cxhhJRN0zp 8iXl4KAazOhR8DQJTpRIOODWEjlNxU91g6KDyXccntwT5B8fz2DtQ1hb+v2A5Gg= X-Google-Smtp-Source: AGHT+IEMizyoQeCknv0BfDpDljAewhrRC1c22Js7WurHZ9I2MaP1PlDrMgksoK7fc5h3yNqVMXDWvw== X-Received: by 2002:a05:600c:4814:b0:425:77d7:3d77 with SMTP id 5b1f17b1804b1-4257a02b88bmr45695515e9.15.1719846225055; Mon, 01 Jul 2024 08:03:45 -0700 (PDT) Received: from krzk-bin.. ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4256af5b91bsm158127635e9.20.2024.07.01.08.03.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jul 2024 08:03:44 -0700 (PDT) From: Krzysztof Kozlowski To: Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/2] arm64: dts: armada-3720: align LED node name with bindings Date: Mon, 1 Jul 2024 17:03:40 +0200 Message-ID: <20240701150340.560243-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240701150340.560243-1-krzysztof.kozlowski@linaro.org> References: <20240701150340.560243-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240701_080352_310621_4FAEACD9 X-CRM114-Status: GOOD ( 12.14 ) 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 Bindings expect the LED node names to follow certain pattern, see dtbs_check warnings: armada-3720-gl-mv1000.dtb: leds: 'power', 'vpn', 'wan' do not match any of the regexes: '(^led-[0-9a-f]$|led)', 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts b/arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts index 07c14bf04b83..56930f2ce481 100644 --- a/arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts +++ b/arch/arm64/boot/dts/marvell/armada-3720-gl-mv1000.dts @@ -57,17 +57,17 @@ switch { leds { compatible = "gpio-leds"; - vpn { + led-vpn { label = "green:vpn"; gpios = <&gpionb 11 GPIO_ACTIVE_LOW>; }; - wan { + led-wan { label = "green:wan"; gpios = <&gpionb 12 GPIO_ACTIVE_LOW>; }; - led_power: power { + led_power: led-power { label = "green:power"; gpios = <&gpionb 13 GPIO_ACTIVE_LOW>; default-state = "on";