Messages in this thread | | | Subject | Re: [PATCH v6 32/52] memory: tegra20-emc: Continue probing if timings are missing in device-tree | From | Dmitry Osipenko <> | Date | Tue, 27 Oct 2020 22:38:56 +0300 |
| |
27.10.2020 16:52, Thierry Reding пишет: > On Mon, Oct 26, 2020 at 01:17:15AM +0300, Dmitry Osipenko wrote: >> EMC driver will become mandatory after turning it into interconnect >> provider because interconnect users, like display controller driver, will >> fail to probe using newer device-trees that have interconnect properties. >> Thus make EMC driver to probe even if timings are missing in device-tree. > > Does it really have to be mandatory? Sounds like that's going to make it > unnecessarily complicated to merge all of this. Is it complicated to > make interconnect support optional in consumer drivers?
Interconnect provider can't be optional if interconnect properties present in a device-tree because drivers that use ICC path will get -EPROBE_DEFER until ICC provider is registered.
Older device-trees don't have ICC properties, and thus, the ICC users/consumers will get a dummy NULL ICC path in this case. I.e. ICC core handles this for us.
| |