]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: kempld: Support ACPI I2C device declaration
authorChris Pringle <chris.pringle@phabrix.com>
Thu, 11 Aug 2022 08:21:41 +0000 (09:21 +0100)
committerWolfram Sang <wsa@kernel.org>
Thu, 11 Aug 2022 21:02:51 +0000 (23:02 +0200)
commit7beea27657c1166693000e76e7b30381d28245f6
tree72cdac24dd60a8aa1551b7557a2c192432a23aa7
parent16c24b8b137cf9925eac1b8a4ac023f16740651f
i2c: kempld: Support ACPI I2C device declaration

Adds an ACPI companion to the KEMPLD I2C driver so that it correctly
detects any I2C devices nested under the KEMPLD's ACPI node (SBRG.CPLD).

This allows I2C devices attached to the KEMPLD I2C adapter to be declared
and instantiated via ACPI.

Signed-off-by: Chris Pringle <chris.pringle@phabrix.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-kempld.c