[PATCH] mxc_gpio: on imx8m read the DR instead of the PSR

Fabio Estevam festevam at gmail.com
Tue Jan 18 17:59:14 CET 2022


Hi Angus,

On Sun, Nov 28, 2021 at 12:42 PM Angus Ainslie <angus at akkea.ca> wrote:

> [1]
> diff --git a/arch/arm/dts/imx8mq-librem5.dts
> b/arch/arm/dts/imx8mq-librem5.dts
> index b28420654f..b60a8538af 100644
> --- a/arch/arm/dts/imx8mq-librem5.dts
> +++ b/arch/arm/dts/imx8mq-librem5.dts
> @@ -56,29 +56,29 @@
>   &iomuxc {
>          pinctrl_hog1: hoggrp1 {

I suspect the hog groups are not getting initialized.

Please try:

&iomuxc {
     pinctrl-names = "default";
     pinctrl-0 = <&pinctrl_hog>;

     pinctrl_hog: hoggrp {
     fsl,pins = <
     ......
    >;
};

and then group all the hog pins under the same group.

Then check IOMUXC_SW_MUX_CTL_PAD to make sure the SION bit is set.


More information about the U-Boot mailing list