Assigning fixed numbers to i2c buses via ACPI code

Konstantin Aladyshev
2025-02-12T08:08:56Z

Hello!

Is it possible to assign fixed numbers to i2c buses via ACPI code?

In DTS code it is done via aliases
(https://docs.kernel.org/i2c/i2c-sysfs.html#caveat).

For example:
```
aliases {
i2c20 = &imux20;
}

&i2c1 {
status = "okay";

i2c-mux@77 {
...
imux20: i2c@0 {
...
}
...
}
}
```

Is it possible to do something like that in ACPI code?