From: Jingyi Wang <jingyi.wang@oss.qualcomm.com>
To: Bjorn Andersson <andersson@kernel.org>
Cc: Manivannan Sadhasivam <mani@kernel.org>,
Jassi Brar <jassisinghbrar@gmail.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
aiqun.yu@oss.qualcomm.com, tingwei.zhang@oss.qualcomm.com,
trilok.soni@oss.qualcomm.com, yijie.yang@oss.qualcomm.com,
linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org
Subject: Re: [PATCH v3 2/3] arm64: dts: qcom: Add header file for IPCC physical client IDs on Kaanapali platform
Date: Mon, 3 Nov 2025 14:47:17 +0800 [thread overview]
Message-ID: <d3e4a3b1-4785-4b31-9db5-00ebb8704c01@oss.qualcomm.com> (raw)
In-Reply-To: <hwrbtnxy2jy5wimgvr6s4de2iuu44njnefmxlgzn5onj47b7b3@l5nj3zhhgvc5>
On 11/2/2025 3:07 AM, Bjorn Andersson wrote:
> On Fri, Oct 31, 2025 at 12:41:45AM -0700, Jingyi Wang wrote:
>
> Whenever you have a subject line that ends in "on <soc/platform>",
> that's a good indicator that you're missing something in the subject
> prefix.
>
> Compare:
> arm64: dts: qcom: Add header file for IPCC physical client IDs on Kaanapali platform
>
> with:
> arm64: dts: qcom: kaanapali: Add IPCC client IDs
>
>
> Also, now that this is "devicetree", it would make sense to merge them
> together with the users. Or at least after we've introduced
> kaanapali.dtsi...
>
>
> I don't think you need to resubmit this though, I can fix up the subject
> when I merge. But please get to the point where it makes sense to merge
> them as fast as possible.
>
> Regards,
> Bjorn
>
Got it.
Thanks,
Jingyi
>> On earlier platforms, Inter Process Communication Controller (IPCC) used
>> virtual client IDs and performed virtual-to-physical mapping in hardware,
>> so the IDs defined in dt-bindings/mailbox/qcom-ipcc.h are common across
>> platforms. Physical client IDs instead of virtual client IDs are used for
>> qcom new platforms like Kaanapali, which will be parsed by the devicetree
>> and passed to hardware to use Physical client IDs directly. Since physical
>> client IDs could vary across platforms, add a corresponding header file
>> for the Kaanapali platform.
>>
>> Signed-off-by: Jingyi Wang <jingyi.wang@oss.qualcomm.com>
>> ---
>> arch/arm64/boot/dts/qcom/kaanapali-ipcc.h | 58 +++++++++++++++++++++++++++++++
>> 1 file changed, 58 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/qcom/kaanapali-ipcc.h b/arch/arm64/boot/dts/qcom/kaanapali-ipcc.h
>> new file mode 100644
>> index 000000000000..125375a4aac0
>> --- /dev/null
>> +++ b/arch/arm64/boot/dts/qcom/kaanapali-ipcc.h
>> @@ -0,0 +1,58 @@
>> +/* SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause */
>> +/*
>> + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
>> + */
>> +
>> +#ifndef __DTS_KAANAPALI_MAILBOX_IPCC_H
>> +#define __DTS_KAANAPALI_MAILBOX_IPCC_H
>> +
>> +/* Physical client IDs */
>> +#define IPCC_MPROC_AOP 0
>> +#define IPCC_MPROC_TZ 1
>> +#define IPCC_MPROC_MPSS 2
>> +#define IPCC_MPROC_LPASS 3
>> +#define IPCC_MPROC_SDC 4
>> +#define IPCC_MPROC_CDSP 5
>> +#define IPCC_MPROC_APSS 6
>> +#define IPCC_MPROC_SOCCP 13
>> +#define IPCC_MPROC_DCP 14
>> +#define IPCC_MPROC_SPSS 15
>> +#define IPCC_MPROC_TME 16
>> +#define IPCC_MPROC_WPSS 17
>> +
>> +#define IPCC_COMPUTE_L0_CDSP 2
>> +#define IPCC_COMPUTE_L0_APSS 3
>> +#define IPCC_COMPUTE_L0_GPU 4
>> +#define IPCC_COMPUTE_L0_CVP 8
>> +#define IPCC_COMPUTE_L0_CAM 9
>> +#define IPCC_COMPUTE_L0_CAM1 10
>> +#define IPCC_COMPUTE_L0_DCP 11
>> +#define IPCC_COMPUTE_L0_VPU 12
>> +#define IPCC_COMPUTE_L0_SOCCP 16
>> +
>> +#define IPCC_COMPUTE_L1_CDSP 2
>> +#define IPCC_COMPUTE_L1_APSS 3
>> +#define IPCC_COMPUTE_L1_GPU 4
>> +#define IPCC_COMPUTE_L1_CVP 8
>> +#define IPCC_COMPUTE_L1_CAM 9
>> +#define IPCC_COMPUTE_L1_CAM1 10
>> +#define IPCC_COMPUTE_L1_DCP 11
>> +#define IPCC_COMPUTE_L1_VPU 12
>> +#define IPCC_COMPUTE_L1_SOCCP 16
>> +
>> +#define IPCC_PERIPH_CDSP 2
>> +#define IPCC_PERIPH_APSS 3
>> +#define IPCC_PERIPH_PCIE0 4
>> +#define IPCC_PERIPH_PCIE1 5
>> +
>> +#define IPCC_FENCE_CDSP 2
>> +#define IPCC_FENCE_APSS 3
>> +#define IPCC_FENCE_GPU 4
>> +#define IPCC_FENCE_CVP 8
>> +#define IPCC_FENCE_CAM 8
>> +#define IPCC_FENCE_CAM1 10
>> +#define IPCC_FENCE_DCP 11
>> +#define IPCC_FENCE_VPU 20
>> +#define IPCC_FENCE_SOCCP 24
>> +
>> +#endif
>>
>> --
>> 2.25.1
>>
next prev parent reply other threads:[~2025-11-03 6:47 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-31 7:41 [PATCH v3 0/3] mailbox: qcom-ipcc: Add dt-bindings and header files for Kaanapali and Glymur Platforms Jingyi Wang
2025-10-31 7:41 ` [PATCH v3 1/3] dt-bindings: mailbox: qcom: Add IPCC support " Jingyi Wang
2025-10-31 8:08 ` Krzysztof Kozlowski
2025-11-01 17:01 ` Bjorn Andersson
2026-01-16 16:20 ` Rob Herring
2026-01-16 16:25 ` Krzysztof Kozlowski
2026-01-16 17:13 ` Rob Herring
2026-01-18 18:36 ` Jassi Brar
2026-01-20 18:48 ` Rob Herring
2025-10-31 7:41 ` [PATCH v3 2/3] arm64: dts: qcom: Add header file for IPCC physical client IDs on Kaanapali platform Jingyi Wang
2025-10-31 8:08 ` Krzysztof Kozlowski
2025-11-01 19:07 ` Bjorn Andersson
2025-11-03 6:47 ` Jingyi Wang [this message]
2025-10-31 7:41 ` [PATCH v3 3/3] arm64: dts: qcom: Add header file for IPCC physical client IDs on Glymur platform Jingyi Wang
2025-10-31 8:08 ` Krzysztof Kozlowski
2025-12-18 3:11 ` (subset) [PATCH v3 0/3] mailbox: qcom-ipcc: Add dt-bindings and header files for Kaanapali and Glymur Platforms Bjorn Andersson
2026-01-17 21:37 ` Bjorn Andersson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d3e4a3b1-4785-4b31-9db5-00ebb8704c01@oss.qualcomm.com \
--to=jingyi.wang@oss.qualcomm.com \
--cc=aiqun.yu@oss.qualcomm.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jassisinghbrar@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mani@kernel.org \
--cc=robh@kernel.org \
--cc=tingwei.zhang@oss.qualcomm.com \
--cc=trilok.soni@oss.qualcomm.com \
--cc=yijie.yang@oss.qualcomm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®