Hi Alice, On Wed, Sep 28, 2022 at 4:52 AM Alice Guo (OSS) <alice....@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.