From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail5.25mail.st (mail5.25mail.st [74.50.62.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BD6FF36828A; Mon, 9 Feb 2026 14:43:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.50.62.9 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770648200; cv=none; b=cVwyOBZcr49pN9OgSH/fON0R2PnW+XufyMwC5uwPpJMSRHTY75Km7aQ5Grtb4+8sLJ9uU9h3KOWjWU8sYpGYfh5zjqWzYf5IyoWZL+61wM4B5kyS9IxtirdMxUoEevEw0xY5BQoc7z2CLoO3mGhshI6D5YJ6xYc/WiEeWdFQOU4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770648200; c=relaxed/simple; bh=CsthQDxMaqbHWoPY9LcM4B7QQkY7QXBkgFtYZobMS/c=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=lv02xj567F1R7xWporwo1nXepo3kVeYlvbKm4xFWzKal5J76cmfcJwWZkch3tO9xEDE47dR23JO3VusmeB6xw+aIqty0SbhJSphjcHWeEea5X4spfYJiotSju1E8d/chFoosOPe0jc+57P7YGtF2JGeRtHl1n4RbaDwqwr/TpFg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=atomide.com; spf=fail smtp.mailfrom=atomide.com; dkim=pass (2048-bit key) header.d=atomide.com header.i=@atomide.com header.b=MPb+5w+p; arc=none smtp.client-ip=74.50.62.9 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=atomide.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=atomide.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=atomide.com header.i=@atomide.com header.b="MPb+5w+p" Received: from localhost (84-231-236-236.elisa-mobile.fi [84.231.236.236]) by mail5.25mail.st (Postfix) with ESMTPSA id 653A6617D6; Mon, 9 Feb 2026 14:42:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=atomide.com; s=25mailst; t=1770648191; bh=CsthQDxMaqbHWoPY9LcM4B7QQkY7QXBkgFtYZobMS/c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MPb+5w+p0ov7fKu9479y8r6ViGMAqbmyKP8Rbj+tw9o5rvAe2iWbOiKS12fkEwZVq +14ZwF8sqtMUSWMGGcO0kjXwMyBdpxA7fcS02OA13S7/MFlqneIHJxa5VbZFUcklqk IIRfFwoxI2Jv2Gfe3HTiWK7JxIJ4w0/YutSWgM4Xdxvtq+63MScVDJTT5a5sa/KagL WQmKdDSJIJ+a0Iu3XxP6EnCzcHTFp9zxq0Kf67KjiF3gr8NacMDxFLivNh42+gxkkZ y/vdtETnUeRouLV+JRk0AQBlg5x/K24NLkI+zm3vdYE6bb+btwObM/f11Detz8ziPD /Kg3+acK7mAJw== Date: Mon, 9 Feb 2026 16:42:50 +0200 From: Tony Lindgren To: Linus Walleij Cc: Billy Tsai , Haojian Zhuang , "linux-arm-kernel@lists.infradead.org" , "linux-omap@vger.kernel.org" , "linux-gpio@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "andrew@codeconstruct.com.au" , BMC-SW Subject: Re: [PATCH v2 0/3] pinctrl: single: bit-per-mux DT flexibility, probe robustness, and consistent pinconf offsets Message-ID: <20260209144250.GC5376@atomide.com> References: <20260123-upstream_pinctrl_single-v2-0-40f8063cc5a2@aspeedtech.com> <20260206042215.GA5376@atomide.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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: * Linus Walleij [260209 09:51]: > On Mon, Feb 9, 2026 at 3:25 AM Billy Tsai wrote: > > > To make sure I align with your expectations: > > 1) Would you prefer the new driver to be fully standalone (using the > > GENERIC_PIN* helpers + syscon/regmap-mmio), rather than trying to > > refactor/export helpers from pinctrl-single? > > Yes. Conor improved these helpers so now it should be possible > to use these to do a very simple and slim driver for what you > want to do. > > > Action item: Introduce a new pinctrl-single-bit.c driver and DT > > binding, which can also cover the existing bit-per-mux logic currently > > in pinctrl-single.c. > > Sounds about right. > > > 2) For the syscon/regmap hookup, is it acceptable to add a syscon phandle > > property in DT (e.g. "syscon = <&scu>;") for the new driver to obtain > > the regmap, or do you prefer a different binding/property name? > > This works for me. Great, sounds good to me too! Thanks, Tony