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

Linus Walleij linus.walleij at linaro.org
Wed Mar 10 23:59:11 GMT 2021


On Wed, Mar 10, 2021 at 8:25 AM Álvaro Fernández Rojas
<noltari at gmail.com> 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



More information about the linux-arm-kernel mailing list