From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-m16.yeah.net (mail-m16.yeah.net [220.197.32.19]) (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 E3C85288A8; Thu, 19 Jun 2025 03:52:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=220.197.32.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750305169; cv=none; b=a7bMyCeX/rs8dCCmGcMSBmuoU30ccJRgGrduPJ2hD8oJfQOy1DpZCQysM57T2GdZUjUgY3ZiyE/5WlR0RrMxqaMf4frEboEmsUHmiksKyo6eyle15lqFmdsqAi8ZOtx0VceDaUfFIPfBv7GZsxtQIPB5sxfHRj56bsl42QfYvUE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750305169; c=relaxed/simple; bh=NydPpa35rXGs0G2PDqRqkVfYKr6/UHoJ3LE3lvB+h4Y=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bDALXcyJgmR+mLUmTuBAVZbk9fnh80AtKJVzZja/C4Am6XeHqa1nEmJSEGEicG7KDiHvG8SOwn5qFTTYcR1A+qnAiZWEH5CBGsSA0nqLJpx2TkDljlj1KkkTmQFWRxS0rCdGz7rokdT23/bkOLcW1h0csFEi1vKgdAfZY1LGkTA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=yeah.net; spf=pass smtp.mailfrom=yeah.net; dkim=pass (1024-bit key) header.d=yeah.net header.i=@yeah.net header.b=K6uNNIZ0; arc=none smtp.client-ip=220.197.32.19 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=yeah.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=yeah.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=yeah.net header.i=@yeah.net header.b="K6uNNIZ0" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yeah.net; s=s110527; h=Date:From:To:Subject:Message-ID:MIME-Version: Content-Type; bh=ra31PvflUj2/dfEest80/0xB0KpZjPPOVZSt5vtRaHE=; b=K6uNNIZ0comjpOJ1tCTnKTR7Jt7JYL74HgnaSOjmMRoGI58BjJjl4oVpVCQzXa YlkGZ92Q018P2lUqr63fOiX0oTrYwDxCEXwrEOcTf6tbu1g0SogUJ+6Sak5GKitW VyMNnierDphjCFyXHmq46OjnHqKJQNL//Eo4B9zvp5IvE= Received: from dragon (unknown []) by gzsmtp2 (Coremail) with SMTP id Ms8vCgD31+1LiVNoPnL8AA--.63076S3; Thu, 19 Jun 2025 11:51:41 +0800 (CST) Date: Thu, 19 Jun 2025 11:51:39 +0800 From: Shawn Guo To: Haibo Chen Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Stefan Agner , Linus Walleij , Bartosz Golaszewski , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, peng.fan@nxp.com, wahrenst@gmx.net, conor@kernel.org, Frank Li Subject: Re: [PATCH v3 2/3] ARM: dts: add ngpios for vf610 compatible gpio controllers Message-ID: References: <20250520-gpio-dts-v3-0-04771c6cf325@nxp.com> <20250520-gpio-dts-v3-2-04771c6cf325@nxp.com> Precedence: bulk X-Mailing-List: devicetree@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: <20250520-gpio-dts-v3-2-04771c6cf325@nxp.com> X-CM-TRANSID:Ms8vCgD31+1LiVNoPnL8AA--.63076S3 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUU8529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjxUo1v3UUUUU X-CM-SenderInfo: pvkd40hjxrjqh1hdxhhqhw/1tbiCwJxZWhTQrn41gAAsz On Tue, May 20, 2025 at 11:46:13AM +0800, Haibo Chen wrote: > After commit da5dd31efd24 ("gpio: vf610: Switch to gpio-mmio"), > the vf610 GPIO driver no longer uses the static number 32 for > gc->ngpio. This allows users to configure the number of GPIOs > per port. > > And some gpio controllers did have less pads. So add 'ngpios' here, > this can save some memory when request bitmap, and also show user > more accurate information when use gpio tools. > > Reviewed-by: Frank Li > Signed-off-by: Haibo Chen Applied, thanks!