Re: [PATCH v6 2/3] of: factor arguments passed to of_map_id() into a struct
From: Dmitry Baryshkov
Date: Wed Jan 21 2026 - 01:01:17 EST
On Wed, 21 Jan 2026 at 07:54, Vijayanand Jitta
<vijayanand.jitta@xxxxxxxxxxxxxxxx> wrote:
>
> From: Charan Teja Kalla <charan.kalla@xxxxxxxxxxxxxxxx>
>
> Introduce a new struct type where the optional arguments passed to
> of_map_id() are Currently embedded as of_phandle_args struct.
> Subsequent patches add additional arguments to the struct that the
> caller expects to be filled of_map_id().
Which additional arguments? I don't see anything being added in 3/3 of
this series.
Can we use of_phandle_args and switch to of_map_id_args when it's
actually required.
>
> Suggested-by: Rob Herring (Arm) <robh@xxxxxxxxxx>
> Signed-off-by: Charan Teja Kalla <charan.kalla@xxxxxxxxxxxxxxxx>
> Signed-off-by: Vijayanand Jitta <vijayanand.jitta@xxxxxxxxxxxxxxxx>
> ---
> drivers/cdx/cdx_msi.c | 2 +-
> drivers/iommu/of_iommu.c | 12 ++++++---
> drivers/of/base.c | 37 +++++++++++++--------------
> drivers/pci/controller/dwc/pci-imx6.c | 10 ++++++--
> drivers/pci/controller/pcie-apple.c | 4 ++-
> drivers/xen/grant-dma-ops.c | 20 +++++++++------
> include/linux/of.h | 32 ++++++++++++++++++-----
> 7 files changed, 75 insertions(+), 42 deletions(-)
>
--
With best wishes
Dmitry