Re: [PATCH] serdev: Add ACPI devices by ResourceSource field

From: Maximilian Luz
Date: Fri Sep 20 2019 - 16:15:16 EST


Hi,

On 9/20/19 10:50 AM, Hans de Goede wrote:
Also I will give this a test-run on some of the existing devices
which rely on the instantiation of serdev devices for ACPI
devices which are childs of the uart device.

Thank you for testing! Will get to your other mail shortly.

Given the above I think you may want to also limit your patch to
only instantiate a "struct device" for the first UARTSerialBusV2
in an ACPI "Device()"'s .

Right, I will change this for a v2 once the issue revealed by your
testing has been resolved.

I hope this sheds some clarity on the (muddy) situation wrt
I2cSerialBusV2 handling.

Thank you again, this has definitely helped clear things up for me and
your write-up is much appreciated!

Maximilian