devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Sibi Sankar <sibi.sankar@oss.qualcomm.com>,
	Pankaj Patil <pankaj.patil@oss.qualcomm.com>,
	Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 06/24] arm64: dts: qcom: glymur: Enable pdp0 mailbox
Date: Mon, 20 Oct 2025 13:51:07 +0200	[thread overview]
Message-ID: <50ac4730-8c9c-49ae-8a1c-db4c8d87804e@oss.qualcomm.com> (raw)
In-Reply-To: <ca4853a1-67e7-4152-aea1-f92c9c25d7eb@oss.qualcomm.com>

On 10/9/25 12:43 PM, Sibi Sankar wrote:
> 
> On 9/25/2025 3:59 PM, Konrad Dybcio wrote:
>> On 9/25/25 8:32 AM, Pankaj Patil wrote:
>>> From: Sibi Sankar <sibi.sankar@oss.qualcomm.com>
>>>
>>> Enable pdp0 mailbox node on Glymur SoCs.
>>>
>>> Signed-off-by: Sibi Sankar <sibi.sankar@oss.qualcomm.com>
>>> Signed-off-by: Pankaj Patil <pankaj.patil@oss.qualcomm.com>
>>> ---
>>>   arch/arm64/boot/dts/qcom/glymur.dtsi | 8 ++++++++
>>>   1 file changed, 8 insertions(+)
>>>
>>> diff --git a/arch/arm64/boot/dts/qcom/glymur.dtsi b/arch/arm64/boot/dts/qcom/glymur.dtsi
>>> index 66a548400c720474cde8a8b82ee686be507a795f..ae013c64e096b7c90c0aa4cfc50f078a85518acb 100644
>>> --- a/arch/arm64/boot/dts/qcom/glymur.dtsi
>>> +++ b/arch/arm64/boot/dts/qcom/glymur.dtsi
>>> @@ -4065,6 +4065,14 @@ watchdog@17600000 {
>>>               interrupts = <GIC_SPI 0 IRQ_TYPE_EDGE_RISING>;
>>>           };
>>>   +        pdp0_mbox: mailbox@17610000 {
>>> +            compatible = "qcom,glymur-cpucp-mbox", "qcom,x1e80100-cpucp-mbox";
>>> +            reg = <0 0x17610000 0 0x8000>, <0 0x19980000 0 0x8000>;
>> 1 a line, please
> 
> Hey Konrad,
> 
> Thanks for taking time to review the series :)
> 
> Will fix it in the next re-spin.
> 
>>> +            interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
>> I see this has 3 channels, with 3 separate IRQs (but one pair of address
>> spaces) - should we extend this description?
> 
> It has a single IRQ and each bit corresponds to a channel.  The mbox theoretically
> 
> hold as many channel as the number of bits. The third channel here is used for
> 
> logging and is disabled on devices out in the wild.

Your mailing client injects two '\n's every time you press enter
Try setting mailnews.wraplength = 0 in your presumably thunderbird config


Is the logging channel useful for us, on internal devices? We can still
describe it if so


> 
>>
>>> +            #mbox-cells = <1>;
>>> +            qcom,rx-chans = <0x7>;
>> This further seems to confirm what I found (BIT(0) | BIT(1) | BIT(2) == 0x7)
>> however this property doesn't exist upstream..
> 
> Ack, this seems to have picked up erroneously and isn't needed upstream and
> 
> can be dropped safely. This was needed downstream because they share the
> 
> same rx register space across multiple instances. This wouldn't be possible
> 
> upstream and we would be exposing all mailboxes that uses the rx space in
> 
> the same instance and extend mbox cells to 2 to support this in case when
> 
> it is needed in the future.

This won't fly, as you're essentially saying you're introducing knowingly
incomplete bindings, which are supposed to stay immutable..

Konrad

  reply	other threads:[~2025-10-20 11:51 UTC|newest]

Thread overview: 130+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-25  6:32 [PATCH 00/24] arm64: dts: qcom: Introduce Glymur SoC dtsi and Glymur CRD dts Pankaj Patil
2025-09-25  6:32 ` [PATCH 01/24] dt-bindings: arm: qcom: Document Glymur SoC and board Pankaj Patil
2025-09-25  6:32 ` [PATCH 02/24] arm64: defconfig: Enable Glymur configs for boot to shell Pankaj Patil
2025-09-25 17:31   ` Dmitry Baryshkov
2025-10-08 11:26     ` Pankaj Patil
2025-10-08 12:56       ` Dmitry Baryshkov
2025-09-25  6:32 ` [PATCH 03/24] arm64: dts: qcom: Introduce Glymur base dtsi and CRD dts Pankaj Patil
2025-09-25 10:16   ` Konrad Dybcio
2025-10-29 10:00     ` Taniya Das
2025-10-29 10:36       ` Dmitry Baryshkov
2025-10-30 10:44         ` Taniya Das
2025-10-30 11:09           ` Dmitry Baryshkov
2025-10-30 17:10             ` Taniya Das
2025-09-25 13:02   ` Marc Zyngier
2025-10-08 11:30     ` Pankaj Patil
2025-09-25 17:44   ` Dmitry Baryshkov
2025-10-08 11:36     ` Pankaj Patil
2025-10-08 15:55       ` Dmitry Baryshkov
2025-10-10  7:50   ` Abel Vesa
2025-09-25  6:32 ` [PATCH 04/24] arm64: dts: qcom: glymur: Add QUPv3 configuration for serial engines Pankaj Patil
2025-09-25 10:18   ` Konrad Dybcio
2025-09-25 17:46     ` Dmitry Baryshkov
2025-10-15 10:28     ` Jyothi Kumar Seerapu
2025-10-15 13:33       ` Dmitry Baryshkov
2025-10-15 14:12         ` Jyothi Kumar Seerapu
2025-10-15 19:53           ` Dmitry Baryshkov
2025-10-20 11:54       ` Konrad Dybcio
     [not found]     ` <5931e2eb-5f2d-49bb-8b9c-b49f77d7fcbf@oss.qualcomm.com>
2025-10-30 10:56       ` Konrad Dybcio
2025-10-11 11:06   ` Abel Vesa
2025-10-11 11:11     ` Abel Vesa
2025-10-12  2:46       ` Krzysztof Kozlowski
2025-10-15 10:33       ` Jyothi Kumar Seerapu
2025-10-11 11:16   ` Abel Vesa
2025-10-15 10:53     ` Jyothi Kumar Seerapu
2025-09-25  6:32 ` [PATCH 05/24] arm64: dts: qcom: glymur: Add cpu idle states Pankaj Patil
2025-09-25 10:25   ` Konrad Dybcio
2025-10-13  9:29     ` Maulik Shah (mkshah)
2025-10-06 14:26   ` Krzysztof Kozlowski
2025-10-08 11:37     ` Pankaj Patil
2025-09-25  6:32 ` [PATCH 06/24] arm64: dts: qcom: glymur: Enable pdp0 mailbox Pankaj Patil
2025-09-25  8:23   ` Krzysztof Kozlowski
2025-09-25 17:06     ` Bjorn Andersson
2025-09-25 18:49       ` Dmitry Baryshkov
2025-09-25 10:29   ` Konrad Dybcio
2025-10-09 10:43     ` Sibi Sankar
2025-10-20 11:51       ` Konrad Dybcio [this message]
2025-09-25  6:32 ` [PATCH 07/24] arm64: dts: qcom: glymur: Enable cpu dvfs for CPU scaling Pankaj Patil
2025-09-25  8:06   ` Krzysztof Kozlowski
2025-09-25 17:26   ` Bjorn Andersson
2025-09-25  6:32 ` [PATCH 08/24] arm64: dts: qcom: glymur: Enable ipcc and aoss nodes Pankaj Patil
2025-09-25 11:00   ` Konrad Dybcio
2025-09-25  6:32 ` [PATCH 09/24] arm64: dts: qcom: glymur-crd: Add RPMH regulator rails Pankaj Patil
2025-09-25 11:01   ` Konrad Dybcio
2025-10-15 15:40     ` Kamal Wadhwa
2025-10-20 11:53       ` Konrad Dybcio
2025-09-25 17:09   ` Bjorn Andersson
2025-10-08 11:42     ` Pankaj Patil
2025-10-11 11:31   ` Abel Vesa
2025-10-11 15:56     ` Dmitry Baryshkov
2025-09-25  6:32 ` [PATCH 10/24] arm64: dts: qcom: glymur: Add SPMI PMIC arbiter device Pankaj Patil
2025-09-25 10:31   ` Konrad Dybcio
2025-10-06 14:27   ` Krzysztof Kozlowski
2025-09-25  6:32 ` [PATCH 11/24] arm64: dts: qcom: Add PMCX0102 pmic dtsi Pankaj Patil
2025-09-25  6:32 ` [PATCH 12/24] arm64: dts: qcom: Add SMB2370 " Pankaj Patil
2025-09-25  6:32 ` [PATCH 13/24] arm64: dts: qcom: Update pmh0104 dtsi for Glymur CRD Pankaj Patil
2025-09-25  6:32 ` [PATCH 14/24] arm64: dts: qcom: Update the pmh0110.dtsi for Glymur Pankaj Patil
2025-09-25  8:08   ` Krzysztof Kozlowski
2025-09-25 13:14     ` Dmitry Baryshkov
2025-09-25 13:34       ` Krzysztof Kozlowski
2025-09-25 14:00         ` Konrad Dybcio
2025-09-25 18:57         ` Dmitry Baryshkov
2025-10-08  7:31           ` Kamal Wadhwa
2025-10-08  8:02             ` Krzysztof Kozlowski
2025-10-08 11:25               ` Krzysztof Kozlowski
2025-10-10 11:26                 ` Kamal Wadhwa
2025-10-08  9:15             ` Konrad Dybcio
2025-10-10 12:08               ` Aiqun(Maria) Yu
2025-09-25  6:32 ` [PATCH 15/24] arm64: dts: qcom: glymur: Add PMICs dtsi for CRD Pankaj Patil
2025-09-25  6:32 ` [PATCH 16/24] arm64: boot: dts: glymur-crd: Add Volume down/up keys support Pankaj Patil
2025-09-25 11:16   ` Konrad Dybcio
2025-10-01 13:48     ` Kamal Wadhwa
2025-10-06  8:56       ` Konrad Dybcio
2025-10-06 14:28   ` Krzysztof Kozlowski
2025-09-25  6:32 ` [PATCH 17/24] arm64: dts: qcom: glymur-crd: Avoid RTC probe failure Pankaj Patil
2025-09-25  8:11   ` Krzysztof Kozlowski
2025-10-01 12:23     ` Kamal Wadhwa
2025-10-06 14:28       ` Konrad Dybcio
2025-10-13 11:04         ` Kamal Wadhwa
2025-10-14 10:23           ` Konrad Dybcio
2025-10-14 12:36             ` Kamal Wadhwa
2025-10-14 19:52               ` Dmitry Baryshkov
2025-10-20 11:54               ` Konrad Dybcio
2025-10-06 14:32       ` Krzysztof Kozlowski
2025-09-25  6:32 ` [PATCH 18/24] arm64: dts: qcom: glymur: Add PMIC glink node Pankaj Patil
2025-09-25  8:13   ` Krzysztof Kozlowski
2025-09-25 10:32   ` Konrad Dybcio
2025-10-08 11:55     ` Pankaj Patil
2025-11-03 10:26       ` Kamal Wadhwa
2025-11-10 14:06         ` Kamal Wadhwa
2025-11-12 14:13           ` Konrad Dybcio
2025-09-25  6:32 ` [PATCH 19/24] arm64: dts: qcom: glymur: Add support for PCIe5 Pankaj Patil
2025-09-25  8:15   ` Krzysztof Kozlowski
2025-09-25 11:32   ` Konrad Dybcio
2025-10-10  7:02     ` Qiang Yu
2025-10-08 13:36   ` Abel Vesa
2025-10-10  7:08     ` Qiang Yu
2025-10-11 11:43       ` Abel Vesa
2025-10-11 15:57         ` Dmitry Baryshkov
2025-10-11 18:12           ` Abel Vesa
2025-09-25  6:32 ` [PATCH 20/24] arm64: dts: qcom: glymur-crd: Add power supply and sideband signal for pcie5 Pankaj Patil
2025-09-25 11:09   ` Konrad Dybcio
2025-10-09  9:53   ` Abel Vesa
2025-10-10  7:13     ` Qiang Yu
2025-09-25  6:32 ` [PATCH 21/24] arm64: dts: qcom: glymur: Enable tsens and thermal zone nodes Pankaj Patil
2025-09-25 11:15   ` Konrad Dybcio
2025-09-25  6:32 ` [PATCH 22/24] arm64: dts: qcom: glymur: Add display clock controller device Pankaj Patil
2025-09-25  8:18   ` Krzysztof Kozlowski
2025-09-29  3:57     ` Taniya Das
2025-09-25 10:33   ` Konrad Dybcio
2025-09-29  3:54     ` Taniya Das
2025-10-09  5:12       ` Taniya Das
2025-10-09  8:30         ` Konrad Dybcio
2025-09-25  6:32 ` [PATCH 23/24] arm64: dts: qcom: glymur: Add USB support Pankaj Patil
2025-09-25 11:06   ` Konrad Dybcio
2025-09-25 13:19   ` Abel Vesa
2025-11-03 15:26   ` Abel Vesa
2025-11-03 17:00   ` Abel Vesa
2025-09-25  6:32 ` [PATCH 24/24] arm64: dts: qcom: glymur: Add remoteprocs Pankaj Patil
2025-09-25 17:30 ` [PATCH 00/24] arm64: dts: qcom: Introduce Glymur SoC dtsi and Glymur CRD dts Dmitry Baryshkov
2025-10-08 12:18   ` Pankaj Patil

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=50ac4730-8c9c-49ae-8a1c-db4c8d87804e@oss.qualcomm.com \
    --to=konrad.dybcio@oss.qualcomm.com \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pankaj.patil@oss.qualcomm.com \
    --cc=robh@kernel.org \
    --cc=sibi.sankar@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;
as well as URLs for NNTP newsgroup(s).