Re: [PATCH v5 03/15] pinctrl: bcm: add bcm63xx base code

From: Linus Walleij
Date: Wed Mar 10 2021 - 19:00:03 EST


On Wed, Mar 10, 2021 at 8:25 AM Álvaro Fernández Rojas
<noltari@xxxxxxxxx> wrote:

> > // for now, since we have not an analogue (yet)

> > node ==> to_of_node(fwnode)
>
> So you want me to convert everything to fwnode, but then I would need to use of_node here…
> It makes more sense to me to use of_node for now and convert it to fwnode in the future…
> @Linus, what do you think?

I am aware of the ambition to use fwnode more to more things.

To me it is most important on things that will potentially run with
both OF and ACPI.
Typical example: ARM Qualcomm SoCs. New drivers for Aarch64 platforms.

This is a legacy MIPS platform, and we have tons of legacy platforms for ARM
etc which will never get converted to fwnode, sadly.

Is it realistic that these MIPS platforms will run ACPI in addition to
OF? Is ACPI even available on MIPS? Isn't OF the preferred HW description
language for anything MIPS?

Yours,
Linus Walleij