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: 720972 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 D3DD6EE57F3 for ; Fri, 8 Sep 2023 10:49:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229604AbjIHKt7 (ORCPT ); Fri, 8 Sep 2023 06:49:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231464AbjIHKt5 (ORCPT ); Fri, 8 Sep 2023 06:49:57 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DBF81BF4 for ; Fri, 8 Sep 2023 03:49:53 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-5007abb15e9so3277896e87.0 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=vger.kernel.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=dMjNSDAwBV3an2m9HdPddHCfUD1Yd/9Fu9+MxLpC3HBC+rw+IYX3g7STjloVnAW3dL Pamkxae7RZWb/f1GqNMBfvNQ205b0pdfUfX8FLgcN7WTdSrrPxwB3JNDrw5fQNPPtq5r wKCkjsHHN6OQ0oRxJ0wiFJOnB5x5yw9aKQMNyq+LooZsMDkJSKCC4yxqMVpGtDLBn4pL IMUzV04PfguHIf/XdpBTpM8nVPFbOd/zzuwEn2662G53nHdUnA3Cy8BiwX21VKsK1oh1 zSfzdTogwAT0wtsptpeiqU0Cmy/ROJPHqZgyX4oEhweHF8Ho4B1BlRE78yR46sKJJ9o7 QmBg== 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=cc6TKBP93mBNXcQtWh1szzug++ivNM9BDu+xOZ+gsbuo5TdIJ5MtYwr9q2bYq8NQCd 7iSa93sB7X0uc1k54H5rNNNyO9QyPdM1UBgy1KnfhSbn3E85FPscu9tve490YcZfBO6q B2gNjtW6oEz5RXgD06ykWRA03MeP1ESwm/3UrsEUx6mi8i4+pwlTU0RkL6xWbHuFpvEX Ub+1nWXRekhR//WJI5ZkJXwVh+f66E6kEwMLUWkuzJCxFoKyKqlWjax92h0T100+82qy R0le1CnoocFh6qQNH1DuhHVPvZGZ8FiXwewPmVR/RVa5XQR5LsBhSyX/5vJMcB9FVNdv kdlA== X-Gm-Message-State: AOJu0YwmED9+Ja7f0Y7vZqC9X4YlNOrmxhTfsb9x4qUD5F0YcD9IbHHs UV+kvKfmMPoAdMtAEBJUiYBNmw== 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 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.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>; };