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)
commit663bb7b9795fcd8b039b5a43990857580f4b816c
tree72cdac24dd60a8aa1551b7557a2c192432a23aa7
parent1b48006ed477827848a2b14d70c764fb280c595d
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