[PATCH v1] gpio: adp5585: add gpio driver for ADP5585 I/O Expander Controller

Fabio Estevam festevam at gmail.com
Wed Sep 28 16:21:36 CEST 2022


Hi Alice,

On Wed, Sep 28, 2022 at 4:52 AM Alice Guo (OSS) <alice.guo at oss.nxp.com> wrote:

> Hi Fabio,
>
> Thanks for your reply. When compiling without "#include <common.h>", the following error will appear:
> In file included from ./arch/arm/include/asm/gpio.h:2,
>                  from drivers/gpio/adp5585_gpio.c:10:
> ./arch/arm/include/asm/arch/gpio.h:12:9: error: unknown type name ‘u32’
>    12 |         u32 gpio_pdor;

Whatever change you need to make in
arch/arm/include/asm/arch-imx9/gpio.h should be addressed
by a separate patch.

The patch that adds support for a new GPIO expander chip should not
touch any i.MX-specific header.


More information about the U-Boot mailing list