Re: [PATCH v2 0/2] AM64: Add support for GPIO

From: Nishanth Menon
Date: Tue Mar 09 2021 - 09:44:32 EST


On 16:59-20210304, Aswath Govindraju wrote:
> The following series of patches adds support for gpio on AM642 evm/sk.
>
> Changes since v1:
> - Added DT for gpio subsystem present in MCU domain
> - reserved the mcu gpio for firmware usage
>
> This series of patches depend on,
> https://patchwork.kernel.org/project/linux-arm-kernel/list/?series=439039
> https://patchwork.kernel.org/project/linux-arm-kernel/list/?series=439153
>
>
> Aswath Govindraju (2):
> arm64: dts: ti: k3-am64: Add GPIO DT nodes
> arm64: dts: ti: k3-am642: reserve gpio in mcu domain for firmware
> usage
>
> arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 45 ++++++++++++++++++++++++
> arch/arm64/boot/dts/ti/k3-am64-mcu.dtsi | 27 ++++++++++++++
> arch/arm64/boot/dts/ti/k3-am642-evm.dts | 5 +++
> arch/arm64/boot/dts/ti/k3-am642-sk.dts | 5 +++
> 4 files changed, 82 insertions(+)
>
> --
> 2.17.1
>


Based on your offline comment:
-----

On going through the bootlogs before posting for I found the following
errors,

[ 1.091117] davinci_gpio 601000.gpio: IRQ index 2 not found
[ 1.101522] davinci_gpio 601000.gpio: error -ENXIO: IRQ not populated

Some issues in allocating interrupts in case of main_gpio1. I
accumulated the gpio with interrupt numbers. I'll try to debug the
reason behind it and update you with its status. (bootlogs of ti-sdk,
also have this error).

-----

I am going to drop this off my queue, please update if the fixup is some
system configuration error or repost with fix.

--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D