Received: by 2002:a05:7412:8d11:b0:fa:4934:9f with SMTP id bj17csp552164rdb; Mon, 15 Jan 2024 06:07:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IE2LI886H59mZ5MW8O0TAImR6CW70HfcRUYnvl4hzS1ciG1eUOpDKN5/nrqsZm4jnaNGo+o X-Received: by 2002:a05:620a:119a:b0:783:669f:ed6d with SMTP id b26-20020a05620a119a00b00783669fed6dmr183688qkk.74.1705327654648; Mon, 15 Jan 2024 06:07:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705327654; cv=none; d=google.com; s=arc-20160816; b=MYl/24dLbOIcycKai5Kfxy5nmxi9HlOBDf82mvRMebrtckNKjxZccfK/1d8SqzpQFI pj9bLAEmUMFUjm2/LM1HL5kMjUWTpdlrtOlS3v2D1dUJvsSrEq9u+AlyB5MR8uuLGaGu 5NEeFQuT65ENfRuHorKzBVRQM279pOowV4LlMRxAYzAOiiJ7KqzeL/h8b5O4JT1QDk01 7rppFoT3lu0dNcxMbsnWfhhE40I7gjDm2qdXPnknrE2bdQoBP2ejpLqQ3sOEK+/HurpZ 7kxd+xjhQ0OqsZIe7s/NVW6uwg06uTMsjKADxUbRfwEt6JsSnRMikRW1w5+tnre3WxTR 5xpg== 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=xWZgAtrSHehiFeivaPjb0ehqYWTq2sX75D4PZeFOnSI=; fh=ObFlROFhes3UazrVZHf271kSryBb36/9V84gfN40/P0=; b=1D80KEIGvb490ofZgE22yq/0944Oxp5rgNRWQZYo9R/ZHL9A1nLdwqNEZ4HVz8gqFy eEsrY1q7aQe3cVqqCDy/2DQS9xmRnjXjQ26UnX0H3dMS6soM/26kncjKdCqSv4x/wEzt u5xi+r/m78n4R4hzofBVIbpr1ws43314Uqjz7ou/Viyiq5CR7KaFBz1F/7hbUB9ksfR2 VVtcXZMBBRSVYxQOnHiRaWJmaQUsnLzSqdvItkTXbGk6YpqLQHr9HGKAn5SWeWsJDd7Z tlwZxVfRQkklYFNPY1bkETUclMAVbECDeG/TWoWRQCO5FOIa55qFXCozBbDhisb7Z83C zk3Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-26072-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-26072-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 j23-20020a05620a0a5700b007832c270f25si7961860qka.582.2024.01.15.06.07.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 06:07:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-26072-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-26072-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-26072-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 68DDC1C21A98 for ; Mon, 15 Jan 2024 14:07:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0A48F17592; Mon, 15 Jan 2024 14:07:25 +0000 (UTC) Received: from mail-yw1-f181.google.com (mail-yw1-f181.google.com [209.85.128.181]) (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 3B96B17584; Mon, 15 Jan 2024 14:07:23 +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-f181.google.com with SMTP id 00721157ae682-5e86fc3f1e2so71379417b3.0; Mon, 15 Jan 2024 06:07:23 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705327642; x=1705932442; 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=QOou55N2EN6e58V59PT+366RWYrogOI3loiDbYwDF18=; b=KYrBhJH0dCPiq1ue1VjA49OL7f4LKkx489v4pScejeIf7wAf7N+TmCa/9sPbRD8f5q 4G0U06QzA/NlnBGRz+bCw2lKHEjkBuOdyA1V2U8Eq1vc4roGh3qaiXU0cnWqhTeAtRxG 7EjITJwiIYQPWFdZRMmBXe8HZGDU0EB31JThpJHOhCvGN9yuZ4Q1Jw5gTFK3vDxPe5MM 2/Ih2Nt4S4pDY9ZGMN7weTEW3vycKdHBhwk88Ps64dRJiuBN0iPNxFcOYEqPA7v7mRjt qAgYBw86eWZPDkvBrsRO1rE6pWBDvKMM7uTuBwJIro8nlZWEOy3HI4XU75Nnu2WEFiOd JMOg== X-Gm-Message-State: AOJu0YxyxaJb+JMsq6sxSgfxZQb6EAN1YKFOmn67Y+cfmMZDavjHL/ZR HyGRfyJ6L/8Olq5+hcdUtubxUZ3+Pj5VWQ== X-Received: by 2002:a81:6d57:0:b0:5fb:700d:100d with SMTP id i84-20020a816d57000000b005fb700d100dmr4154131ywc.22.1705327642068; Mon, 15 Jan 2024 06:07:22 -0800 (PST) Received: from mail-yb1-f179.google.com (mail-yb1-f179.google.com. [209.85.219.179]) by smtp.gmail.com with ESMTPSA id r68-20020a0dcf47000000b005f66a83db14sm3995048ywd.131.2024.01.15.06.07.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 15 Jan 2024 06:07:21 -0800 (PST) Received: by mail-yb1-f179.google.com with SMTP id 3f1490d57ef6-dc202317415so681315276.0; Mon, 15 Jan 2024 06:07:21 -0800 (PST) X-Received: by 2002:a25:268b:0:b0:dbf:11e:d0a5 with SMTP id m133-20020a25268b000000b00dbf011ed0a5mr2764196ybm.123.1705327641690; Mon, 15 Jan 2024 06:07:21 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240115130817.88456-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20240115130817.88456-5-prabhakar.mahadev-lad.rj@bp.renesas.com> In-Reply-To: <20240115130817.88456-5-prabhakar.mahadev-lad.rj@bp.renesas.com> From: Geert Uytterhoeven Date: Mon, 15 Jan 2024 15:07:10 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v5 4/4] riscv: dts: renesas: r9a07g043f: Update gpio-ranges property To: Prabhakar Cc: Magnus Damm , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Biju Das , Claudiu Beznea , Lad Prabhakar Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Jan 15, 2024 at 2:08=E2=80=AFPM Prabhakar wrote: > From: Lad Prabhakar > > On RZ/Five we have additional pins compared to the RZ/G2UL SoC so update > the gpio-ranges property in RZ/Five SoC DTSI. > > Signed-off-by: Lad Prabhakar My Reviewed-by: Geert Uytterhoeven on v3 is still valid. > --- a/arch/riscv/boot/dts/renesas/r9a07g043f.dtsi > +++ b/arch/riscv/boot/dts/renesas/r9a07g043f.dtsi > @@ -46,6 +46,10 @@ cpu0_intc: interrupt-controller { > }; > }; > > +&pinctrl { > + gpio-ranges =3D <&pinctrl 0 0 232>; > +}; > + > &soc { > dma-noncoherent; > interrupt-parent =3D <&plic>; I believe this has a hard dependency on the pinctrl driver changes, due to the following check in in rzg2l_gpio_register(): if (of_args.args[0] !=3D 0 || of_args.args[1] !=3D 0 || of_args.args[2] !=3D pctrl->data->n_port_pins) { dev_err(pctrl->dev, "gpio-ranges does not match selected SOC\n"= ); return -EINVAL; } Gr{oetje,eeting}s, Geert -- 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