On Mon, Oct 21, 2019 at 2:10 AM Linus Walleij <linus.wall...@linaro.org> wrote: > > The port->id was picked from the platform device .id field, > but this is not supposed to be used for passing around > random numbers in hardware. Identify the port ID number > from the base address instead. > > Signed-off-by: Linus Walleij <linus.wall...@linaro.org>
I'm not sure this is better, as now the driver hardcodes the physical address, and the port->id value is still the same as the pdev->id value that all boards still pass. Is this just meant to avoid setting the port id explicitly in DT? Arnd