Messages in this thread | | | From | Miles Chen <> | Subject | Re: [PATCH v3 2/6] iommu: mtk_iommu: Lookup phandle to retrieve syscon to infracfg | Date | Fri, 10 Jun 2022 01:52:21 +0800 |
| |
> This driver will get support for more SoCs and the list of infracfg > compatibles is expected to grow: in order to prevent getting this > situation out of control and see a long list of compatible strings, > add support to retrieve a handle to infracfg's regmap through a > new "mediatek,infracfg" phandle.
I also like the idea of using mediatek,infracfg instead of a list of platform compatible strings.
Reviewed-by: Miles Chen <miles.chen@mediatek.com>
> > In order to keep retrocompatibility with older devicetrees, the old > way is kept in place. > > Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
| |