From: "Arnd Bergmann" <arnd@arndb.de>
To: "Marc Zyngier" <maz@kernel.org>,
"Firas Ashkar" <firas.ashkar@savoirfairelinux.com>
Cc: alex@digriz.org.uk, "Thomas Gleixner" <tglx@linutronix.de>,
linux-kernel@vger.kernel.org,
inux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] irqchip: add TS7800v1 fpga based controller driver
Date: Tue, 18 Oct 2022 20:51:01 +0200 [thread overview]
Message-ID: <b4011de0-d5a4-4083-aa0d-2fe5861ba4d6@app.fastmail.com> (raw)
In-Reply-To: <868rldf5qx.wl-maz@kernel.org>
On Tue, Oct 18, 2022, at 18:36, Marc Zyngier wrote:
>> }
>> @@ -371,6 +418,12 @@ static int ts78xx_fpga_load_devices(void)
>> {
>> int tmp, ret = 0;
>>
>> + if (ts78xx_fpga.supports.ts_irqc.present == 1) {
>> + tmp = ts_irqc_load();
>> + if (tmp)
>> + ts78xx_fpga.supports.ts_irqc.present = 0;
>> + ret |= tmp;
>> + }
>> if (ts78xx_fpga.supports.ts_rtc.present == 1) {
>> tmp = ts78xx_ts_rtc_load();
>> if (tmp)
>> @@ -402,6 +455,8 @@ static int ts78xx_fpga_unload_devices(void)
>> ts78xx_ts_nand_unload();
>> if (ts78xx_fpga.supports.ts_rng.present == 1)
>> ts78xx_ts_rng_unload();
>> + if (ts78xx_fpga.supports.ts_irqc.present == 1)
>> + ts_irqc_unload();
>>
>> return 0;
>> }
>
> I am absolutely *NOT* keen on adding more non-DT stuff in this day and
> age. The DT effort has been going on for over 10 years, and maybe it
> is time that this board makes the jump before we add anything new to
> it, specially given that there is a DT board for this platform.
>
> Arnd, what's your call on this?
I'm in the middle of sending out the patch series that removes
most of the legacy board files:
https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git/log/?h=boardfile-remove
TS78xx actually stays for now because this is one of the
machines enabled in the debian armel tree, but my hope is
for the remaining 27 board files, we can either complete
the DT conversion or just remove them in the future.
Aside from the FPGA, this machine should be fairly easy to
convert, so I agree we should try doing this first. Not
sure how the FPGA is best represented, but I'm sure we can come
up with something once the rest of the system is working
with DT.
Arnd
next prev parent reply other threads:[~2022-10-18 18:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-18 13:30 [PATCH] irqchip: add TS7800v1 fpga based controller driver Firas Ashkar
2022-10-18 16:36 ` Marc Zyngier
2022-10-18 18:51 ` Arnd Bergmann [this message]
2022-10-20 14:03 ` firas ashkar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b4011de0-d5a4-4083-aa0d-2fe5861ba4d6@app.fastmail.com \
--to=arnd@arndb.de \
--cc=alex@digriz.org.uk \
--cc=firas.ashkar@savoirfairelinux.com \
--cc=inux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maz@kernel.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox