From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) (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 F3946366806 for ; Tue, 7 Jul 2026 05:08:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783400883; cv=none; b=TEK8AEZhPWaKNzRuyu9+t/1IV4wcirrdwtuaY9Fhmerxjc7qYMhmlEXNSSqp4yyjaQsoMgMGOwWzmRlk3qSvcNHZcmV2YulAq2EgLFovP0qUbdoqpqZOV3al3vvfEuVJtvs+ATZbukC0yaMrb6C3Stk09eSB1bK17iYWDFAwv8Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783400883; 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=PuIdi4ootVm/5mcuTAUeN+844oiVOHo6sGPscq+s8vNYJx1pP6xTeUKkkUYlYID1NxejMUmqVp8ATIbCoAij114QbeqjbcpdVgv68oL5by1shovbLagUxUEXh6/QIRiTCYwDcgF127MbVhI/ja10V7uMeWV/NfI68xGUXXhcwYY= 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.54 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-f54.google.com with SMTP id 98e67ed59e1d1-38101f85591so180674a91.1 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=SFZy4xTpF9lL8SWJX0LQAkJYvb2cQQJWltkXRi8wnsYmhOY1/ORIix2yYUkead7psp ccloNVcDKe8dypilOWGzpQCEHO8ooP6ab5hd09gJCXJygsp7joSCofGytSgWxKhHnGpi kVlvFcYGP8zB5clVCTvlRO5/uLhN9ik/aB+xrr/FUyzIrmmFX2x+n85RF0ytVbDpqlA6 N6MZ25DIgVYt2QdDT3IQO6W046Q9w0xflRzJIcu9ocy5p475kVp/ff3TkBy8DPUomptG 0mfoGi/ILep1leTi010SaDZ14sDqTxTEGmePDg+rNm/tV3TX88vcAttVDVxoJW9I5WLH XQyg== X-Forwarded-Encrypted: i=1; AHgh+RrpJiobJgjPB3wd4HS3pqf+HltLQLY1pYDkFOaVu2s/Bu13Mli/YShX2sT/45zK6zpJlAfTLURbB4GEom0=@vger.kernel.org X-Gm-Message-State: AOJu0YwJkNvFuZMy/NPM8DbFXyunwQZzRnbj6mn7Jo9Bk2c9ZX9y+gFz /VI4S9I1c7NBQDv5fURSAA4cJI6p2usTJ8hgWRAqRaC1++BpW69QKpaQ X-Gm-Gg: AfdE7cmskCN/mTsliqnpwfFdJRwissTW45lNyIRah0IAX3fcTdYndmeG3eN+5D7jzrY 2quy4Q/2wbqIVTGHMnRUWByMFgZZgwYvqgkw2HvjLeLoxr4cx92mWey4NP8qhELcJYKDl2HiFjl HAhoq6G2HyE32khBHJfHgmQVt39zOw5L+8BhCQdG5rwMmrgpG/JIimpN2Q1eOhgah4UMH+Enii8 BCF2CkcrcU3r/YnDh74M6xb14Rh+YlQsvr1IfSyibWm1/Flu5qkyuj8MQLNVf1efAhiZSEBvtsj /hUYKQxRhiHzkIouczosDQmWo86e9+xHH2McO0/pDkOcHVGnZ7ou2QdZKeRg6S1LXH87jFVaTMV qre/NhKg4DNfu9mlVxcSv20v8RKkKCmFlN3es+SHo3fC+gVC56h6afb/y3vq1oYmr5fqdtDOcF8 pYP5RPg97QQkFqxYITtxVbvLk2CNtMwMJ8S2xSh2Q8DtzZP++2uqAkYhOdJqH6wT1Z 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-kernel@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