Re: [PATCH v4] i2c: tegra: Add the ACPI support

2021-11-29 Thread Wolfram Sang
On Thu, Nov 25, 2021 at 10:23:44PM +0530, Akhil R wrote: > 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 Applied to for-next,

Re: [PATCH v4] i2c: tegra: Add the ACPI support

2021-11-25 Thread Dmitry Osipenko
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 > --- > drivers/i2c/busses/i2c-tegra.c | 52 >

Re: [PATCH v4] i2c: tegra: Add the ACPI support

2021-11-25 Thread Dmitry Osipenko
25.11.2021 22:28, Andy Shevchenko пишет: >> - err = reset_control_reset(i2c_dev->rst); >> + if (handle) >> + err = acpi_evaluate_object(handle, "_RST", NULL, NULL); > Does it compile for CONFIG_ACPI=n case? > It compiles and works fine with CONFIG_ACPI=n.

Re: [PATCH v4] i2c: tegra: Add the ACPI support

2021-11-25 Thread Andy Shevchenko
On Thu, Nov 25, 2021 at 6:54 PM Akhil R wrote: > > 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. Thanks for an update, my comments below. ... > - err =

[PATCH v4] i2c: tegra: Add the ACPI support

2021-11-25 Thread 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 --- drivers/i2c/busses/i2c-tegra.c | 52 -- 1 file