Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp2306213rdd; Fri, 12 Jan 2024 05:56:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IHf9YihT1fceOT6UUqZuPGrnNuE2cQZQRhJSL7MPhIx1vEZY893B4UgVE5/ZKpGd0BMFtfT X-Received: by 2002:a05:6214:4008:b0:680:f6a9:14de with SMTP id kd8-20020a056214400800b00680f6a914demr1336237qvb.31.1705067762729; Fri, 12 Jan 2024 05:56:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705067762; cv=none; d=google.com; s=arc-20160816; b=PuGWuJd/2Y+MetNXeZMUhJWw05WQ9+s3c/vE0EkJf5VJ5C/0WxJsH51J0CSbppsedl /1r3owjP+kx5rceRcZKUc3/LEljlNSgWC/FjjDVsXvO4lsNsvjwxhiq4qY+KmcfHBLwE vXuV8yzpysj1lIsovLXRtPrRylzSmgInioGljv1g1G0W+1SYKdU3WwH3ctQK77R1kK85 M1NVVzmde55+H3+ZC8uI1iVRpWk0+T6Fyj2Ix7tsyjZtYrAzHcI5994fjZ2b1neUaQhn 8WMztj7SV92pEonZje0WnnPpak8s94uf5LAz1B8b8p2KRq8Fzx1Sc5d+azaCR5O3054O oh5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence; bh=4+uBe5P2aFuxKm6bP+MrposUCydN1GgMLW8iF6frabc=; fh=CMtz+cs1UMhSZ/MimSeZIUJEr1u5BHDrZQtKNNGJBgY=; b=ZpLVKh3l6ar9iHEFXxmmsEJWXfCQtEIUT/2RgSupnS++y9ISsi+FMrl7KGYxaYLvrB BE7KbMBa2nZVchLTAIO510qYLds5guNeuZ5ykWwXDD77Zxu+8JXOsm9bYz9tnbtxh9GJ EFtfhZaXeZgrIfwAmK9OEu8VJvE7nkTfuc/9AdN7cXP+DI8N0Qg4RphdFz8R6Zx9wWmJ kUMSjGXAIYHP4rG9xviJsaA5Tfhr7lWXsklXI53IvbePHnUwN+clAAl5ZhjEETaUIq77 syKbtKHvTPtjtw87SWHG/iaPGnzfVWvxCq9AkgD6ClsIOKjsV1mzxOcheJAIVfYPkqP/ uSYA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-24714-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24714-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id i1-20020a0c9c81000000b0067f60ad441bsi2813631qvf.88.2024.01.12.05.56.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 05:56:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-24714-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-24714-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24714-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 7A7F41C23697 for ; Fri, 12 Jan 2024 13:56:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 991FC6D1C2; Fri, 12 Jan 2024 13:55:53 +0000 (UTC) Received: from mail-yw1-f176.google.com (mail-yw1-f176.google.com [209.85.128.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CFBE854747; Fri, 12 Jan 2024 13:55:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-yw1-f176.google.com with SMTP id 00721157ae682-5e734251f48so51365657b3.1; Fri, 12 Jan 2024 05:55:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705067749; x=1705672549; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EGC/g2xK3NLCm39yP+e6r0PYYA1RCJNgKN4yfeuv1jg=; b=j464jAxDojn+mpXZ8DF+0zxFhFgq2Fz7Btb3Td37lyyBNc4b8xkWpjihox/ClQ5N05 MfYx4nHRB2eikvVsagt7HSA6k4Wvcp8pmD8CcSuhmb21Xjd4GuQ5kZsDefg+T9PCQCzW v3B6sHZMY99BU+28//x9yrmErQB27bf48npNneOWCCz1qjbhmp/RFARByyIDgFhBuIxE e8yBfTxc/p0/LbCaSf8d3ugCKBHC3W8BVyq+cdHkmibeiSijgjZWRbFUE7AQJwhNyCQy iTYZyARJXGfQ9+qj+yIzeVPh9JK/E04oxMu14AqfuNkXPz5Vi6GO5GoW/M0nlzqjpKlz T7EQ== X-Gm-Message-State: AOJu0YzHAp6avRtMlUBZxlj46PBV0ERIDzbxLizyqH3ZCPNN5boqaENE Ttjiqh0j67raZyudHCnNoPW2IbcXZu0AKw== X-Received: by 2002:a81:a188:0:b0:5e7:6f9c:38fe with SMTP id y130-20020a81a188000000b005e76f9c38femr1363891ywg.46.1705067749663; Fri, 12 Jan 2024 05:55:49 -0800 (PST) Received: from mail-yb1-f172.google.com (mail-yb1-f172.google.com. [209.85.219.172]) by smtp.gmail.com with ESMTPSA id x203-20020a81a0d4000000b00583b144fe51sm1345771ywg.118.2024.01.12.05.55.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 12 Jan 2024 05:55:49 -0800 (PST) Received: by mail-yb1-f172.google.com with SMTP id 3f1490d57ef6-dbed179f0faso5183234276.1; Fri, 12 Jan 2024 05:55:49 -0800 (PST) X-Received: by 2002:a25:2e0c:0:b0:dbd:c783:c456 with SMTP id u12-20020a252e0c000000b00dbdc783c456mr515265ybu.0.1705067749329; Fri, 12 Jan 2024 05:55:49 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231227130810.2744550-1-claudiu.beznea.uj@bp.renesas.com> In-Reply-To: <20231227130810.2744550-1-claudiu.beznea.uj@bp.renesas.com> From: Geert Uytterhoeven Date: Fri, 12 Jan 2024 14:55:37 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] arm64: dts: renesas: rzg3s-smarc: Add gpio keys To: Claudiu Cc: geert+renesas@glider.be, magnus.damm@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Claudiu Beznea Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Claudiu, On Wed, Dec 27, 2023 at 2:08=E2=80=AFPM Claudiu = wrote: > From: Claudiu Beznea > > RZ SMARC Carrier II board has 3 user buttons called USER_SW1, USER_SW2, > USER_SW3. Add a DT node in device tree to propertly instantiate the > gpio-keys driver for these buttons. > > Signed-off-by: Claudiu Beznea Thanks for your patch! > --- a/arch/arm64/boot/dts/renesas/rzg3s-smarc.dtsi > +++ b/arch/arm64/boot/dts/renesas/rzg3s-smarc.dtsi > @@ -6,6 +6,7 @@ > */ > > #include > +#include > #include > > / { > @@ -14,6 +15,37 @@ aliases { > mmc1 =3D &sdhi1; > }; > > + keys { Do you mind if I s/keys/keypad/ while applying? ... > + compatible =3D "gpio-keys"; > + > + key-1 { > + interrupts =3D ; Oh, the horror of interrupt controllers that don't support generating interrupts on both edges... > + interrupt-parent =3D <&pinctrl>; .. and move these one level up, to avoid duplication? > + linux,code =3D ; > + label =3D "USER_SW1"; > + wakeup-source; > + debounce-interval =3D <20>; > + }; > + > + key-2 { > + interrupts =3D ; > + interrupt-parent =3D <&pinctrl>; > + linux,code =3D ; > + label =3D "USER_SW2"; > + wakeup-source; > + debounce-interval =3D <20>; > + }; > + > + key-3 { > + interrupts =3D ; > + interrupt-parent =3D <&pinctrl>; > + linux,code =3D ; > + label =3D "USER_SW3"; > + wakeup-source; > + debounce-interval =3D <20>; > + }; > + }; > + > vcc_sdhi1: regulator-vcc-sdhi1 { > compatible =3D "regulator-fixed"; > regulator-name =3D "SDHI1 Vcc"; Reviewed-by: Geert Uytterhoeven i.e. will queue in renesas-devel for v6.9, with the above fixed. Gr{oetje,eeting}s, Geert --=20 Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k= org In personal conversations with technical people, I call myself a hacker. Bu= t when I'm talking to journalists I just say "programmer" or something like t= hat. -- Linus Torvalds