From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f46.google.com (mail-pj1-f46.google.com [209.85.216.46]) (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 1D0F1378818 for ; Tue, 7 Jul 2026 05:08:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783400882; cv=none; b=fJu5aw+gIJRKMeJN14kn6kJ0clhKUCeOl5FK0sp5OUs8v67YYCZSsLAzKc8g3AI3a11mxyOgSx8pYKwo1c4G9AjmCyrMJy1uV65RU5M8YxWhNKszrtbmycsFctDYNbISXtuJYkijMDe2ZFwEW14zd+9ST8q6qYb4M6dKPPG1big= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783400882; c=relaxed/simple; bh=+3wzVO86JvHn/zy/QiAav3aAi02uo3iz7iLz2++JB6I=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=RIJ34D62ccOZwT+Vpnpo1Ym6kYBkXrn8ilVTw2chHjiOPGcA2Es4nuakBIkkkoL56+gXyrSZ06VeLn6fetSNYgUbcyTUgtT52Cwm+nli/GaHLi3RYB0p/NTiPGpqJVzboxHUqcXemDq+LKh3e1caFcYH9TPcOJkKZR/+SQPkn3U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=MNa9a8qO; arc=none smtp.client-ip=209.85.216.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="MNa9a8qO" Received: by mail-pj1-f46.google.com with SMTP id 98e67ed59e1d1-38175907a56so195885a91.0 for ; Mon, 06 Jul 2026 22:08:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1783400880; x=1784005680; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=KWdFSvLr4RwKy66Rs67JQ/ht1Wwyc8ZXtBXqpIcmCH4=; b=MNa9a8qOj3ZiPnh2vJo5m59YVRbZBD/JKgYXh8+W2755TcvCqEibgsspq8dQda1bu0 agUX2LXCJ/u+ZtxNMZiL/cE7c2iXRQsw3AT0YuWpQ363ZG7JTnwDPvI5zRwkMnNLDUiL gxE+KyCAGKyplyMgaDsQL+PO2O63IWcFwtHxPYcHP/arK9VmOgxSxMcNDs37suceoJWZ jglQNaaErSSAx+WOfs76gSbyTfspBXSU3JksY8FGxJ8JYjHcPWbn+BT3eQwK84GjLOZn SnsmzdJzHr8xgWnem87d0Zm6As8gtOcpyqwBDzQI1hRPjNFrd9CNRFGHHAirGxDYjgKa VycQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783400880; x=1784005680; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KWdFSvLr4RwKy66Rs67JQ/ht1Wwyc8ZXtBXqpIcmCH4=; b=sjK5bZbKM1Bl5eF13XpBWOsNXJ2GNzMWaLe80xoOjKISa65Py2MJgY6rwitA5jlJoP yqCbOsiQhvifM/02LxcdqbtSBMvamBUTUPnLhuSK144GlZ+5mJxEo+VUyA9uKa1VgzZP pGz+Egnokw66/cx+LTlmIJi0lf3IjwTGczEvWIAfMPwyTZHJpou5B14K9M7vhshPZPy1 XY2/M8EEQTR4Y6YpBw4SuJeORWI6ot9TQ3FOLocQJpKKbw5ccFd94M5Kurwlf/5CItRN 5nuQoZ+5JTHbn4+xsAKQUpYtyXHpXxIx6ZF+a6TaYxexYJeJY9RHb3AT/QArtI8mRoVV aMQg== X-Forwarded-Encrypted: i=1; AHgh+RpeQ9mUsP6FvCQ+QIyzj3Z/wnIVoaQG+yqqYCL5tEN3mYShYh+yymPo9WX+V531wOaxd/f+etVs2w==@vger.kernel.org X-Gm-Message-State: AOJu0YxyH0gqERmBRmy1Ufs4omMwCmDm4pVOrz152kfyX7gQQZIfXkmx SCs/vQcce4Ep7SExvfJ9P3d3JFBYdR6xJFh0jvvLMT50+26U0rDOy8Zl X-Gm-Gg: AfdE7clDOzGtxHwXYig+JYdaqkbX1trkQj1aEDdHYToRiwX11xBk0rtBFj7vksqDwts db+xzwo7+eT8JKRJmwQW0npMEMMnsSNcJizc+WOzNjO3UQ1gPWaw6J+BQe3j6I4OOdazI2eMSLe rEyj1q/cm75amf17yvgQJn7RQSHnDUI3h071dgq6ft7NclW0kVkiDjA4f9jLV80GHeZhu/CBRec Eho4VLK/PDdu9d4zLHnoTqTiIFfbq3P6RU1v7xbzNcC2mfWL0xtSMw/Ew4ycxcMDbEzfSZpQltr VJfmLspGV65cCR1uWTY31HpVCv6ejKuCAXyVyDCC01Y+QEc1FNeMdyo6Cj197eXPdveAaCzpnaA dgAZNQWitSnvSeb8uyMmqgBsG7JDujTChUXkkyRS3VzJ2VPB7x3JuwLu2P1Rkzv8ZwZCOMzfmxI C+rxQAlXBd6/C4LlRzOqamYUtKJxMFpeCWdIsA2WNZskW1S7UlPeqDsV4JOpEPvVhr X-Received: by 2002:a17:90b:5628:b0:380:ce69:2669 with SMTP id 98e67ed59e1d1-387d880ae82mr1470644a91.9.1783400880337; Mon, 06 Jul 2026 22:08:00 -0700 (PDT) Received: from google.com ([2a00:79e0:2ebe:8:d89b:1fdd:a8f2:dbeb]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-31174ac0557sm4212818eec.26.2026.07.06.22.07.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jul 2026 22:07:58 -0700 (PDT) Date: Mon, 6 Jul 2026 22:07:55 -0700 From: Dmitry Torokhov To: Rich Felker , John Paul Adrian Glaubitz Cc: Yoshinori Sato , Geert Uytterhoeven , Linus Walleij , Bartosz Golaszewski , Andy Shevchenko , Arnd Bergmann , linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-gpio@vger.kernel.org Subject: Re: [PATCH v2 0/5] rsk7203: switch to using static device property, drop legacy gpio API Message-ID: References: <20260520-rsk7203-properties-v2-0-465f3308021b@gmail.com> Precedence: bulk X-Mailing-List: linux-sh@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260520-rsk7203-properties-v2-0-465f3308021b@gmail.com> On Wed, May 20, 2026 at 10:13:16PM -0700, Dmitry Torokhov wrote: > This series of patches converts rsk7203 to use static device properties > for its devices, including gpio-keys and gpio-leds, and removing > dependency on legacy gpio API (in favor of gpiod API). > > To configure pin functions the board is switched to use gpio-hogs, as > doing full conversion to pinmux is too challenging without access to > hardware. > > v2: > - Added a patch to isolate the function gpiochip from the parent fwnode > to prevent ambiguous property lookups > - Added a patch attaching a software node to the main PFC gpiochip device > - Adjusted the board setup to use the PFC's software node for LEDs and > GPIO keys instead of creating a standalone node > - Added support to sh-pfc for configuring the secondary "function" > gpiochip via a "functions" child software node. > - Converted board pin configuration from legacy gpio_request() to GPIO > hogs, using postcore_initcall to ensure nodes are available during > driver probe. > > v1: > > http://lore.kernel.org/r/jwtdoptatzfo47mbpmmjwhhhjn4mbw6ekp4gtoopca7azbcelo@uvtz4w2ga5qn > > Signed-off-by: Dmitry Torokhov Gentle ping on this series... It still applies cleanly and we need this to be able top drop legacy gpio interfaces from gpio-keys (and eventually from the kernel). > --- > Dmitry Torokhov (5): > pinctrl: renesas: gpio: isolate function gpiochip from parent fwnode > sh: pfc: attach software node to the GPIO chip > sh: mach-rsk: rsk7203: use static device properties for LEDs and GPIO buttons > pinctrl: renesas: gpio: support software nodes for function GPIOs > sh: mach-rsk: rsk7203: convert pin configuration to using software nodes > > arch/sh/boards/mach-rsk/devices-rsk7203.c | 282 ++++++++++++++++++++++-------- > arch/sh/include/cpu-common/cpu/pfc.h | 3 + > arch/sh/kernel/cpu/pfc.c | 20 ++- > drivers/pinctrl/renesas/gpio.c | 28 +++ > 4 files changed, 254 insertions(+), 79 deletions(-) > --- > base-commit: 6a50ba100ace43f43c87384367eb2d2605fcc16c > change-id: 20260310-rsk7203-properties-82bf2c12b985 > > Thanks. > -- Dmitry