[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <def02695-0c39-4a65-859d-17ddaece7d6f@oss.qualcomm.com>
Date: Tue, 27 Jan 2026 09:45:00 +0530
From: Vijayanand Jitta <vijayanand.jitta@....qualcomm.com>
To: Dmitry Baryshkov <dmitry.baryshkov@....qualcomm.com>
Cc: robin.murphy@....com, will@...nel.org, joro@...tes.org, robh@...nel.org,
konrad.dybcio@....qualcomm.com, bjorn.andersson@....qualcomm.com,
bod@...nel.org, conor+dt@...nel.org, krzk+dt@...nel.org,
prakash.gupta@....qualcomm.com, vikash.garodia@....qualcomm.com,
iommu@...ts.linux.dev, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org,
Charan Teja Kalla <charan.kalla@....qualcomm.com>
Subject: Re: [PATCH v6 2/3] of: factor arguments passed to of_map_id() into a
struct
On 1/21/2026 12:08 PM, Dmitry Baryshkov wrote:
> On Wed, 21 Jan 2026 at 08:38, Vijayanand Jitta
> <vijayanand.jitta@....qualcomm.com> wrote:
>>
>>
>>
>> On 1/21/2026 11:30 AM, Dmitry Baryshkov wrote:
>>> On Wed, 21 Jan 2026 at 07:54, Vijayanand Jitta
>>> <vijayanand.jitta@....qualcomm.com> wrote:
>>>>
>>>> From: Charan Teja Kalla <charan.kalla@....qualcomm.com>
>>>>
>>>> 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.
>>>
>>
>> As mentioned in the cover letter, this change prepares the interface for a
>> follow-up series adding multi-map support, which we will be sending out
>> shortly and which extends these arguments. Keeping this in place avoids a
>> subsequent rework and keeps the overall transition incremental.
>
> Could you please point out patches adding more args.
>
Please refer to the below patch series, it extends the args:
https://lore.kernel.org/linux-media/20260126-kaanapali-iris-v1-0-e2646246bfc1@oss.qualcomm.com/
Thanks,
Vijay
>>
>>
>> Thanks,
>> Vijay
>>
>>>>
>>>> Suggested-by: Rob Herring (Arm) <robh@...nel.org>
>>>> Signed-off-by: Charan Teja Kalla <charan.kalla@....qualcomm.com>
>>>> Signed-off-by: Vijayanand Jitta <vijayanand.jitta@....qualcomm.com>
>>>> ---
>>>> 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(-)
>>>>
>>>
>>>
>>
>
>
Powered by blists - more mailing lists