[PATCH] ARM: lpc3250: fix uda1380 gpio numbers

Arnd Bergmann arnd at arndb.de
Mon Jan 15 04:57:58 PST 2018


On Wed, Jan 10, 2018 at 5:22 PM, Arnd Bergmann <arnd at arndb.de> wrote:
> dtc warns about obviously incorrect GPIO numbers for the audio codec
> on both lpc32xx boards:
>
> arch/arm/boot/dts/lpc3250-phy3250.dtb: Warning (gpios_property): reset-gpio property size (12) too small for cell size 3 in /ahb/apb/i2c at 400A0000/uda1380 at 18
> arch/arm/boot/dts/lpc3250-phy3250.dtb: Warning (gpios_property): power-gpio property size (12) too small for cell size 3 in /ahb/apb/i2c at 400A0000/uda1380 at 18
> arch/arm/boot/dts/lpc3250-ea3250.dtb: Warning (gpios_property): reset-gpio property size (12) too small for cell size 3 in /ahb/apb/i2c at 400A0000/uda1380 at 18
> arch/arm/boot/dts/lpc3250-ea3250.dtb: Warning (gpios_property): power-gpio property size (12) too small for cell size 3 in /ahb/apb/i2c at 400A0000/uda1380 at 18
>
> It looks like the nodes are written for a different binding that combines
> the GPIO number into a single number rather than a bank/number pair.
> I found the right numbers on stackexchange.com, so this patch fixes
> the warning and has a reasonable chance of getting things to actually
> work.
>
> Link: https://unix.stackexchange.com/questions/59497/alsa-asoc-how-to-correctly-load-devices-drivers/62217#62217
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>

I've applied this to the next/dt branch now.

       Arnd



More information about the linux-arm-kernel mailing list