From: Patrick DELAUNAY Date: Tue, 9 Feb 2021 10:33:53 +0100 Subject: [PATCH 2/2] pinctrl: stm32: bind only the enabled GPIO subnode In-Reply-To: <20210121173856.2.I0a3428974f4b9205c6a22076bf60c87639520b20@changeid> References: <20210121163908.17678-1-patrick.delaunay@foss.st.com> <20210121173856.2.I0a3428974f4b9205c6a22076bf60c87639520b20@changeid> Message-ID: <4e72ad8b-7c48-26c8-9a88-57e05e627ed5@foss.st.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, On 1/21/21 5:39 PM, Patrick Delaunay wrote: > Bind only the enabled GPIO subnode, to avoid to probe the node > "gpio-controller" present in SOC dtsi (disabled by default) but > not enabled in the included pincontrol dtsi file. > > For example, in stm32mp15xxac-pinctrl.dtsi 2 gpio bank are absent: > gpioj: gpio at 5000b000 > gpiok: gpio at 5000c000 > > Then these GPIO are absent in output of command "dm tree" and > "gpio status -a" > > Signed-off-by: Patrick Delaunay > --- > > drivers/pinctrl/pinctrl_stm32.c | 3 +++ > 1 file changed, 3 insertions(+) > Applied to u-boot-stm/master, thanks! Regards Patrick