[PATCH 2/2] pinctrl: stm32: bind only the enabled GPIO subnode

Patrick DELAUNAY patrick.delaunay at foss.st.com
Tue Feb 9 10:33:53 CET 2021


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 <patrick.delaunay at foss.st.com>
> ---
>
>   drivers/pinctrl/pinctrl_stm32.c | 3 +++
>   1 file changed, 3 insertions(+)
>
Applied to u-boot-stm/master, thanks!

Regards

Patrick



More information about the U-Boot mailing list