From patchwork Fri Sep 8 10:49:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 13377360 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 405BCEE57EB for ; Fri, 8 Sep 2023 10:50:28 +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:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=LVxAyGn/hFqj/EN8Q23WHBErbSkcT3dI6jYoW2z00AY=; b=SNZEbGI3X0nfYp S2jtgquwuPzVHAvoDjJmfOcmmadpqUnha/Zsw9lF7eLI9iGDJ4oUfcsUOQa1dNXBZrnmbONGtrCbS ZF+Ade1K33znUWaalG3KAJDM6nbdM4bPhlYa0zniq7v4VxzTmoQrH4xq+Z8nmYcAAvmToPo5toVnd 3WrCkMhDzzSGme6pPbJsh+ronCVEjgG1sznP7svUMYHFsP67jx7gUqs4wBUquO+rCYBkWKLEITDpz nPOfo+aRuh3c9wa9GJ3XrjraRA3mhaRWNoOS/wLpnFdp8mTcsUYbYBqo1bFep9WIwLkWtsUAyLzjm ZGNha2l6Q4YwhYhXH8Wg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qeZ3p-00Dcxk-0c; Fri, 08 Sep 2023 10:50:01 +0000 Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qeZ3j-00DcuS-1w for linux-arm-kernel@lists.infradead.org; Fri, 08 Sep 2023 10:49:56 +0000 Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-4ff8f2630e3so3253778e87.1 for ; Fri, 08 Sep 2023 03:49:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694170191; x=1694774991; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=3f5qLUYHSj8oeYz4Th2usJC3BZwZBpvuKh12o/V+/Ws=; b=Hpnnwn0FwO8GESOOPXWRhLWcmJXS+bAZBRTQuTQVjUT0twQQDZWYD6wXtLo5ju4dLR wNUXFV8YOUklyjvXHeR7rkvVSUX4GFtC7TOTbIQQSvXiBP4sstMWscTf8e9Zrcva6YeH HZvOIZeaTBBF/C3xS7jYRVT+6hslJR2YpmuG7CAhFp1PGrcn2WLaX8sdjSDj/nc2wD4+ 134eWr/36yNQcv0Fx9sYd8ShG24zdji+Et8UVDk7YKbb61YmBaisRRo6P5wlE+s1iX43 AHbOawqkjNy8YEEamnUPttA9dWDM+dZmO4q9w++a7Exs13bpMXMzyXu05yWzK4lInm7z BP3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694170191; x=1694774991; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3f5qLUYHSj8oeYz4Th2usJC3BZwZBpvuKh12o/V+/Ws=; b=AM4Zw+LwNR4JQH+q60H9ZeU6fBjFHvT9DZ1HnnheszH0wjyECHVLLFc4M4Ox/tpLaJ lM/CNnZnNAQ/ZldiYBVepCVE6+p0VXh9SUt5YfBajbGXkq1B2L0CKHRaY0DKhP/BKcR2 qHtTI6L0wIFUG0h5dMVO9c4wgpHjnHUfvCj5yVy/xPzsJQGbtLUe0mHiZ7z9/1I9UwlE OJdI2CcRDU5/TaEKBEmlcxBfw+wtZA7iuA4ZoGsWqBbVyFCkgXnIkEg3/+Ihiw4Txips vXQXLcu7awIe0czKZjQvCyOZy4kZ/X+nR+DNeLcN0yKymQKoeA1q/n/RXRQqXv7YQY57 pE1A== X-Gm-Message-State: AOJu0YytRacctIwv+GvY8e+zy+HZUWVF56+FHAvTBX9C/1nHKtktA7hI hrkSlqI1VTlba+YJ+nmWFNuK1g7GN15gPcxIqAY= X-Google-Smtp-Source: AGHT+IFtNorHnHtd+HAXeiKT49c5jnsqc7uyi8vlt1znsjoQU3bWjIK9Wjw8rwOmPld42mFUjSI+sw== X-Received: by 2002:a05:6512:63:b0:4fe:629:9265 with SMTP id i3-20020a056512006300b004fe06299265mr1419124lfo.20.1694170191574; Fri, 08 Sep 2023 03:49:51 -0700 (PDT) Received: from [192.168.1.2] (c-05d8225c.014-348-6c756e10.bbcust.telenor.se. [92.34.216.5]) by smtp.gmail.com with ESMTPSA id y15-20020ac255af000000b0050089b26eb0sm243321lfg.132.2023.09.08.03.49.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Sep 2023 03:49:51 -0700 (PDT) From: Linus Walleij Date: Fri, 08 Sep 2023 12:49:49 +0200 Subject: [PATCH 2/2] ARM: dts: ixp4xx: Use right restart keycode MIME-Version: 1.0 Message-Id: <20230908-ixp4xx-dts-v1-2-98d36264ed6d@linaro.org> References: <20230908-ixp4xx-dts-v1-0-98d36264ed6d@linaro.org> In-Reply-To: <20230908-ixp4xx-dts-v1-0-98d36264ed6d@linaro.org> To: Linus Walleij , Imre Kaloz , Krzysztof Halasa , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Linus Walleij X-Mailer: b4 0.12.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230908_034955_672925_674A17A5 X-CRM114-Status: GOOD ( 12.76 ) 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 "reset" key on a few IXP4xx routers were sending KEY_ESC but what we want to send is KEY_RESTART which will make OpenWrt and similar userspace do a controlled reboot. Signed-off-by: Linus Walleij --- arch/arm/boot/dts/intel/ixp/intel-ixp42x-dlink-dsm-g600.dts | 2 +- arch/arm/boot/dts/intel/ixp/intel-ixp42x-freecom-fsg-3.dts | 2 +- arch/arm/boot/dts/intel/ixp/intel-ixp42x-iomega-nas100d.dts | 2 +- arch/arm/boot/dts/intel/ixp/intel-ixp42x-linksys-nslu2.dts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/intel/ixp/intel-ixp42x-dlink-dsm-g600.dts b/arch/arm/boot/dts/intel/ixp/intel-ixp42x-dlink-dsm-g600.dts index b9d46eb06507..fa133c913606 100644 --- a/arch/arm/boot/dts/intel/ixp/intel-ixp42x-dlink-dsm-g600.dts +++ b/arch/arm/boot/dts/intel/ixp/intel-ixp42x-dlink-dsm-g600.dts @@ -57,7 +57,7 @@ gpio_keys { button-reset { wakeup-source; - linux,code = ; + linux,code = ; label = "reset"; gpios = <&gpio0 3 GPIO_ACTIVE_LOW>; }; diff --git a/arch/arm/boot/dts/intel/ixp/intel-ixp42x-freecom-fsg-3.dts b/arch/arm/boot/dts/intel/ixp/intel-ixp42x-freecom-fsg-3.dts index 5a5e16cc7335..73d3c11dd0d4 100644 --- a/arch/arm/boot/dts/intel/ixp/intel-ixp42x-freecom-fsg-3.dts +++ b/arch/arm/boot/dts/intel/ixp/intel-ixp42x-freecom-fsg-3.dts @@ -44,7 +44,7 @@ button-sync { }; button-reset { wakeup-source; - linux,code = ; + linux,code = ; label = "reset"; gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; }; diff --git a/arch/arm/boot/dts/intel/ixp/intel-ixp42x-iomega-nas100d.dts b/arch/arm/boot/dts/intel/ixp/intel-ixp42x-iomega-nas100d.dts index 8da6823e1dbe..26f02dad6a54 100644 --- a/arch/arm/boot/dts/intel/ixp/intel-ixp42x-iomega-nas100d.dts +++ b/arch/arm/boot/dts/intel/ixp/intel-ixp42x-iomega-nas100d.dts @@ -63,7 +63,7 @@ button-power { }; button-reset { wakeup-source; - linux,code = ; + linux,code = ; label = "reset"; gpios = <&gpio0 4 GPIO_ACTIVE_LOW>; }; diff --git a/arch/arm/boot/dts/intel/ixp/intel-ixp42x-linksys-nslu2.dts b/arch/arm/boot/dts/intel/ixp/intel-ixp42x-linksys-nslu2.dts index 706ba531faf0..2eec5f63d399 100644 --- a/arch/arm/boot/dts/intel/ixp/intel-ixp42x-linksys-nslu2.dts +++ b/arch/arm/boot/dts/intel/ixp/intel-ixp42x-linksys-nslu2.dts @@ -65,7 +65,7 @@ button-power { }; button-reset { wakeup-source; - linux,code = ; + linux,code = ; label = "reset"; gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; };