On 16/11/2022 09:56, Andy Shevchenko wrote:
The GPIO to pin mapping is done by GPIO ranges. This can be made up in the driver or, IIRC, in DT (so in ACPI) by already registered properties). Not sure, why you don't use them.
OK. I might have missed it.In DT, gpio-ranges property is used to describe the mapping, I could not find equivalent property in GPIO ACPI properties - https://www.kernel.org/doc/html/latest/firmware-guide/acpi/gpio-properties.html
-- Niyas