Re: [PATCH v2 1/2] ath79: add support for reset key on MikroTik RB912UAG-2HPnD

2022-01-18 Thread Sergey Ryazanov
On Mon, Jan 17, 2022 at 11:52 AM Denis K wrote: >> I'm seeing this in the bootlogs when using this patch: >> >> [5.183305] gpio-latch gpio_latch: failed to get gpio 7: -517 >> [5.235889] rb91x-nand nand_gpio: failed to get gpios: -517 > > It's okay. The gpio-latch probe function seems to

Re: [PATCH v2 1/2] ath79: add support for reset key on MikroTik RB912UAG-2HPnD

2022-01-18 Thread Koen Vandeputte
On 17.01.22 09:51, Denis K wrote: I'm seeing this in the bootlogs when using this patch: [5.183305] gpio-latch gpio_latch: failed to get gpio 7: -517 [5.235889] rb91x-nand nand_gpio: failed to get gpios: -517 I still think this should be avoided somehow. It's okay. The gpio-latch

Re: [PATCH v2 1/2] ath79: add support for reset key on MikroTik RB912UAG-2HPnD

2022-01-17 Thread Denis K
> I'm seeing this in the bootlogs when using this patch: > > [5.183305] gpio-latch gpio_latch: failed to get gpio 7: -517 > [5.235889] rb91x-nand nand_gpio: failed to get gpios: -517 It's okay. The gpio-latch probe function seems to be called before the rb91x-key probe, but it also

Re: [PATCH v2 1/2] ath79: add support for reset key on MikroTik RB912UAG-2HPnD

2022-01-12 Thread Sergey Ryazanov
On Wed, Jan 12, 2022 at 6:55 PM Koen Vandeputte wrote: > On 17.11.21 00:42, Sergey Ryazanov wrote: >> On Tue, Nov 16, 2021 at 7:07 PM Denis Kalashnikov >> wrote: >>> On MikroTik RB91x board series a reset key shares SoC gpio >>> line #15 with NAND ALE and NAND IO7. So we need a custom >>> gpio

Re: [PATCH v2 1/2] ath79: add support for reset key on MikroTik RB912UAG-2HPnD

2022-01-12 Thread Koen Vandeputte
On 10.12.21 23:04, Thomas Hühn wrote: Hi all, We have 5 Mikrotik 912UAG in our Freifunk Network and just build and updated them this week from ar71xx 2020 to latest tunk ath79...so far so cool.. all wifi routers mesh .. thx for the upstream work! The first thing that was (is) not working:

Re: [PATCH v2 1/2] ath79: add support for reset key on MikroTik RB912UAG-2HPnD

2022-01-12 Thread Koen Vandeputte
On 17.11.21 00:42, Sergey Ryazanov wrote: On Tue, Nov 16, 2021 at 7:07 PM Denis Kalashnikov wrote: On MikroTik RB91x board series a reset key shares SoC gpio line #15 with NAND ALE and NAND IO7. So we need a custom gpio driver to manage this non-trivial connection schema. Also rb91x-nand

Re: [PATCH v2 1/2] ath79: add support for reset key on MikroTik RB912UAG-2HPnD

2022-01-11 Thread Koen Vandeputte
On 10.12.21 16:14, Denis K wrote: Mikrotik RB912UAG needs to be better supported in ath79, imho and I'm working on it. Reset key, Gigabit Ethernet, mPCIe slot, UART -- all need to be fixed. This patch adds support for reset key, next one I'm working on will fix mPCIe slot. No ideas about how

Re: [PATCH v2 1/2] ath79: add support for reset key on MikroTik RB912UAG-2HPnD

2021-12-10 Thread Thomas Hühn
Hi all, We have 5 Mikrotik 912UAG in our Freifunk Network and just build and updated them this week from ar71xx 2020 to latest tunk ath79...so far so cool.. all wifi routers mesh .. thx for the upstream work! The first thing that was (is) not working: we can not get your 2nd wifi card in the

Re: [PATCH v2 1/2] ath79: add support for reset key on MikroTik RB912UAG-2HPnD

2021-12-10 Thread Denis K
> Added to my staging tree. Thank you, Koen! It is very good news for me this Friday night. Regards, Denis ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [PATCH v2 1/2] ath79: add support for reset key on MikroTik RB912UAG-2HPnD

2021-12-10 Thread Koen Vandeputte
On 10.12.21 16:14, Denis K wrote: Mikrotik RB912UAG needs to be better supported in ath79, imho and I'm working on it. Reset key, Gigabit Ethernet, mPCIe slot, UART -- all need to be fixed. This patch adds support for reset key, next one I'm working on will fix mPCIe slot. No ideas about how

Re: [PATCH v2 1/2] ath79: add support for reset key on MikroTik RB912UAG-2HPnD

2021-12-10 Thread Denis K
Mikrotik RB912UAG needs to be better supported in ath79, imho and I'm working on it. Reset key, Gigabit Ethernet, mPCIe slot, UART -- all need to be fixed. This patch adds support for reset key, next one I'm working on will fix mPCIe slot. No ideas about how to fix Gigabit, sigh. Guys, please

Re: [PATCH v2 1/2] ath79: add support for reset key on MikroTik RB912UAG-2HPnD

2021-11-16 Thread Sergey Ryazanov
On Tue, Nov 16, 2021 at 7:07 PM Denis Kalashnikov wrote: > On MikroTik RB91x board series a reset key shares SoC gpio > line #15 with NAND ALE and NAND IO7. So we need a custom > gpio driver to manage this non-trivial connection schema. > Also rb91x-nand needs to have ability to disable a polling

[PATCH v2 1/2] ath79: add support for reset key on MikroTik RB912UAG-2HPnD

2021-11-16 Thread Denis Kalashnikov
On MikroTik RB91x board series a reset key shares SoC gpio line #15 with NAND ALE and NAND IO7. So we need a custom gpio driver to manage this non-trivial connection schema. Also rb91x-nand needs to have ability to disable a polling of the key while it works with NAND, and we need to add