Skip to content

Commit

Permalink
pinctrl: imx: Add the zero base flag for imx93
Browse files Browse the repository at this point in the history
On i.MX93, the pin mux reg offset is from 0x0,
so need to add the 'ZERO_OFFSET_VALID' flag to make
sure the pin at mux offset 0 can be found.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Link: https://lore.kernel.org/r/20220613031854.1571357-1-ping.bai@nxp.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
  • Loading branch information
Jacky Bai authored and Linus Walleij committed Jun 28, 2022
1 parent cd4c1e6 commit fbc24eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/pinctrl/freescale/pinctrl-imx93.c
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ static const struct pinctrl_pin_desc imx93_pinctrl_pads[] = {
static const struct imx_pinctrl_soc_info imx93_pinctrl_info = {
.pins = imx93_pinctrl_pads,
.npins = ARRAY_SIZE(imx93_pinctrl_pads),
.flags = ZERO_OFFSET_VALID,
.gpr_compatible = "fsl,imx93-iomuxc-gpr",
};

Expand Down

0 comments on commit fbc24eb

Please sign in to comment.