Messages in this thread | | | From | Andy Shevchenko <> | Date | Thu, 11 Mar 2021 12:42:24 +0200 | Subject | Re: [RFC PATCH 07/12] gpio: amd-fch: add oftree probing support |
| |
On Thu, Mar 11, 2021 at 12:20 PM Enrico Weigelt, metux IT consult <info@metux.net> wrote: > On 01.03.21 15:51, Linus Walleij wrote:
> > I don't know what the idea is with this but register are not normally defined > > in the DTS files. The registers are determined from the compatible value. > > The idea is basically replacing the pdata struct by oftree node. > (subsequent patches in this queue use this by doing the board setup via > compiled-in dtb, instead of the currently hardcoded tables).
You are a bit late. We have built-in device properties (and corresponding API, which recently becomes swnode) which aims exactly this.
-- With Best Regards, Andy Shevchenko
| |