Re: [PATCH v2 6/7] mfd: max77620: Support device-tree properly
From: Dmitry Osipenko
Date: Tue Apr 23 2019 - 14:27:27 EST
22.04.2019 22:13, Dmitry Osipenko ÐÐÑÐÑ:
> For some unknown reason the driver for Max77620 doesn't wire up the
> device-tree support properly and nothing in kernel creates I2C device
> for the driver (and never did), moreover device-tree files for NVIDIA
> Tegra210/186/194 boards already have nodes for Max77620. Hence add the
> missing of_match_table to make driver actually usable.
>
> Signed-off-by: Dmitry Osipenko <digetx@xxxxxxxxx>
> ---
I found out that I2C core actually parses the compatible value of the device-tree node for the driver-device matching and hence it's enough to have the id_table solely. I'll drop this patch in v3.