]> 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)
commit7f868d68e8ec9eec16b6e2d93086f27a402058b4
tree72cdac24dd60a8aa1551b7557a2c192432a23aa7
parent035ed58eedbb44811729e6f7fdf71f22e68e1b66
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