
Hi Angus,
On Thu, Jan 20, 2022 at 10:56 AM Angus Ainslie angus@akkea.ca wrote:
I decided to bypass the devicetree to test it on the imx8mq
static const iomux_v3_cfg_t configure_pads[] = { IMX8MQ_PAD_GPIO1_IO03__GPIO1_IO3 | MUX_PAD_CTRL(PAD_CTL_DSE6) | MUX_MODE_SION, IMX8MQ_PAD_GPIO1_IO14__GPIO1_IO14 | MUX_PAD_CTRL(PAD_CTL_DSE6) | MUX_MODE_SION, IMX8MQ_PAD_ENET_MDC__GPIO1_IO16 | MUX_PAD_CTRL(PAD_CTL_PUE) | MUX_MODE_SION, IMX8MQ_PAD_ENET_MDIO__GPIO1_IO17 | MUX_PAD_CTRL(PAD_CTL_PUE) | MUX_MODE_SION, };
static inline void init_pinmux(void) { imx_iomux_v3_setup_multiple_pads(configure_pads, ARRAY_SIZE(configure_pads)); }
And this works so I need to figure out what is wrong with my devicetree configuration.
Ok, great :-)
The issue with your dts is that the hog pinctrl group is not referenced anywhere.
The example I sent in my last email should fix the problem:
pinctrl-names = "default"; pinctrl-0 = <&pinctrl_hog>;