public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
* Assigning fixed numbers to i2c buses via ACPI code
@ 2025-02-12  8:18 Konstantin Aladyshev
  2025-02-12 11:08 ` Andy Shevchenko
  0 siblings, 1 reply; 6+ messages in thread
From: Konstantin Aladyshev @ 2025-02-12  8:18 UTC (permalink / raw)
  To: linux-acpi, linux-i2c, Andy Shevchenko

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?

Best regards,
Konstantin Aladyshev

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-02-12 13:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-12  8:18 Assigning fixed numbers to i2c buses via ACPI code Konstantin Aladyshev
2025-02-12 11:08 ` Andy Shevchenko
2025-02-12 12:06   ` Konstantin Aladyshev
2025-02-12 12:06     ` Andy Shevchenko
2025-02-12 12:37       ` Konstantin Aladyshev
2025-02-12 13:31         ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox