From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-dl1-f47.google.com (mail-dl1-f47.google.com [74.125.82.47]) (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 CF439176FB1 for ; Mon, 9 Feb 2026 06:44:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770619490; cv=none; b=hTzD0O/58BzmwEZhV9+DpPKL70QlirkvXX3GgzA1GBJNCIwMCTCApDVqSHbKFKc4Qjj+gQKXO6srRaiiQgpsm7DVZyO3MlpRtI5hn5C5aHjrEibeNtxIOUR6M4hGXTj5ENXm0lAAzoRGGLQjhY+P0hoEkRPNuXuSwQz/XXoJKa8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770619490; c=relaxed/simple; bh=rl083AGm/GDxO6xD0bxp6OujZChAx9Boqm/mAFocjes=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Gd6zcjTNfnADMAEG9VAGyehecAeTiZF0vuUErV1lq9SnWe9m572xnzOe3VZlUDkoluRUN55hPzAdE2XNtOd+1t6up5bqt8Lf6h59zzlJjssB2BI+tHozGGXIhg1OSoEsWypm2xuSiqLHCL0cl6UZbc1EEfgtAnJ415L1SusaLTI= 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=Fqt6dHov; arc=none smtp.client-ip=74.125.82.47 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="Fqt6dHov" Received: by mail-dl1-f47.google.com with SMTP id a92af1059eb24-1271195d2a7so1108970c88.0 for ; Sun, 08 Feb 2026 22:44:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1770619489; x=1771224289; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=jFhlfJ7m/6DKCQeVppsPkElvkhB5OvMrtI/5G0B0bhc=; b=Fqt6dHovKc77I1LRSE+GBWlYjC8vfNDnml5ILU2dtdh87sWr5AEvkRsCkxyVdnPq8p Kn9CdD3Q3TOVH91vD7CzV/X/rbssKV3mT+hnmJbBy1Usgu2U8GoxlfBZahobsnCRp3PM kAEGmu0SN8Zi6ayuZZrFGeQqP3GAuny6jyTpAb5QmdXviVnDn89lOz8s2FwlIHHI4l3k 0cTOErCZTyUoPC9EeqnDhjWXBCPHwpGNpnmHpRDBLC04P8Q3vCmGV7hwUXeC6nNgyQLO 8ywA1WVyNG9HnwkdpX+Tr4N6+zYTNQUVSDc97M+qRpPNpEG1ngAECh+pGwH73/RRfG0a 1kVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770619489; x=1771224289; h=in-reply-to:content-transfer-encoding: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=jFhlfJ7m/6DKCQeVppsPkElvkhB5OvMrtI/5G0B0bhc=; b=IOiiu1Fi0GoFi+FKH3jVIy92HYr6IVteQ+nCa0O/Accj9Irw9vwvlQxCV1iIfXmBX4 aWq/IfvIBAccV+ywEyCpEPyHfA3r4H7Ehh2kDsMJ+xkjrCqNSR4F+/iFPGa7xNjqTC6t tyNw7KDcuptxf/jKDH7Fk+YO/AypHwE2ZqW/kEJjVbiupz2a+B0rvFteIgzKY96cgWWC +KNF96HWbWexs7F2y8ln7OX4iG3GU6fZTrWY1GaERsjcpNjCOt8qwDarDkeWbdPQoSCu 6Uwr/FZ0zqleXYMZXj2TmHLz1QM30jHS6zEYMsODLGQVj8h7D3h/kalhhmRLVlQzSOMh mqcA== X-Forwarded-Encrypted: i=1; AJvYcCVGjPB4qAnJZWJTSUFaC5yywkMdnCdMebXqsKTYQNBfvABI14o9ne4d1Z/1YFnX28JdofIjLV/aem2Kp2A=@vger.kernel.org X-Gm-Message-State: AOJu0Yw0kgT6a8AZREE2HIs+krhWGN9BJrWeIAQXtvP6FqNwR7iYVgKO 2tKDMG35Kwb3JAoF2WxTrUaVO+4LZynj1zeXdby9A4aqio2N7vJ9X1Bs X-Gm-Gg: AZuq6aLzkxMLFS7h3rOLRL5nqlI4jlAESFF3Kl2x0i9k+wYSL9DNZ/j+XQZ3MWu94M9 5ylhTl6e78LfEhjDpOrSkUf8PgP+iZvVQ6c9JfsXGi6CqfGGsx1slCkyRPFmd8QO79xA6DMv9Nv LQs7dAbywiNsWUMrKe1GJ1M4gp/xu5aE7zfIFbnvNjvOYYSpnTHeJ2Yjx8psBECPdyaV7LZObub enwtUbbsfUje6VS4aU3qRGaKcwgT7E8121b4xqa7LpKEdDNqPp7wCXx22Me1yEbgBf8pqUzz7cl 7+kcmUA93mWag6nMJYO7G9I2ZHeM3SPxxJ/z5PclTPHr4ogaqodpv/ecf7az7/2Zvl5L20OPH5b fegKO5V9kj/LwLezSS7Exmq7unHhVeocHsUQAbW+tcBFqGtwrVokFB2hZjosgGvLZQkTUOZf09I IyQXiecBvPRhJx/57RrhbTtnsA73CufuhnNZHe4j3XC/1MQO5EIA== X-Received: by 2002:a05:7022:2522:b0:11f:1e59:4c2d with SMTP id a92af1059eb24-12703fd9003mr4406577c88.7.1770619488856; Sun, 08 Feb 2026 22:44:48 -0800 (PST) Received: from google.com ([2a00:79e0:2ebe:8:d70d:15:1011:7b14]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-1270414f28bsm8824958c88.0.2026.02.08.22.44.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Feb 2026 22:44:48 -0800 (PST) Date: Sun, 8 Feb 2026 22:44:45 -0800 From: Dmitry Torokhov To: Bartosz Golaszewski Cc: Charles Keepax , Linus Walleij , Andy Shevchenko , Daniel Scally , Heikki Krogerus , Sakari Ailus , Greg Kroah-Hartman , "Rafael J. Wysocki" , Danilo Krummrich , Philipp Zabel , Krzysztof Kozlowski , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, Bartosz Golaszewski , patches@opensource.cirrus.com, Yauhen Kharuzhy Subject: Re: [PATCH v4 04/10] gpio: swnode: don't use the swnode's name as the key for GPIO lookup Message-ID: References: <20251103-reset-gpios-swnodes-v4-0-6461800b6775@linaro.org> <20251103-reset-gpios-swnodes-v4-4-6461800b6775@linaro.org> 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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Wed, Nov 19, 2025 at 10:13:30AM +0100, Bartosz Golaszewski wrote: > On Wed, Nov 19, 2025 at 9:41 AM Bartosz Golaszewski wrote: > > > > On Wed, Nov 19, 2025 at 9:35 AM Bartosz Golaszewski wrote: > > > > > > I have an idea for fixing it, let me cook up a patch. It'll still be a > > > bit hacky but will at least create a true link. > > > > > > > Scratch that, I didn't notice before but we register both devices from > > MFD core. We can just set up software nodes there. > > > > Here you go: https://lore.kernel.org/all/20251119-cs42l43-gpio-swnodes-v1-1-25996afebd97@linaro.org/ > > Please give it a try. This is independent from this series and should > probably be backported to stable. So think breaks more drivers: https://lore.kernel.org/all/aYkdKfP5fg6iywgr@jekhomev/ I think it may also break: arch/arm/mach-omap1/board-nokia770.c arch/arm/mach-pxa/devices.c arch/arm/mach-pxa/devices.h arch/arm/mach-pxa/gumstix.c arch/arm/mach-pxa/pxa25x.c arch/arm/mach-pxa/pxa27x.c arch/arm/mach-pxa/spitz.c arch/arm/mach-tegra/board-paz00.c arch/x86/platform/geode/geode-common.c drivers/platform/x86/barco-p50-gpio.c drivers/platform/x86/pcengines-apuv2.c Thanks. -- Dmitry