25.11.2021 19:53, Akhil R пишет:
Add support for the ACPI based device registration so that the driver can be also enabled through ACPI table.
This does not include the ACPI support for Tegra VI and DVC I2C.
Signed-off-by: Akhil R akhilrajeev@nvidia.com
drivers/i2c/busses/i2c-tegra.c | 52 ++++++++++++++++++++++++++++++++---------- 1 file changed, 40 insertions(+), 12 deletions(-)
v4 changes:
- changed has_acpi_companion to ACPI_HANDLE for consistency across all functions
v3 - https://lkml.org/lkml/2021/11/25/173 v2 - https://lkml.org/lkml/2021/11/23/82 v1 - https://lkml.org/lkml/2021/11/19/393
Andy suggested to make v5 with extra patch that will make use of the generic i2c_timings, but it should be a separate change.
This patch is good to me. Please provide the full changelog for each version next time, instead of the links. Thanks!
If you'll make v5, then feel free to add my r-b:
Reviewed-by: Dmitry Osipenko digetx@gmail.com
linaro-mm-sig@lists.linaro.org