linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Maulik Shah <mkshah@codeaurora.org>
To: Konrad Dybcio <konrad.dybcio@somainline.org>,
	~postmarketos/upstreaming@lists.sr.ht
Cc: martin.botka@somainline.org,
	angelogioacchino.delregno@somainline.org,
	marijn.suijten@somainline.org, jamipkettunen@somainline.org,
	Rob Herring <robh@kernel.org>, Rob Herring <robh+dt@kernel.org>,
	Mark Brown <broonie@kernel.org>,
	Jonathan Cameron <Jonathan.Cameron@huawei.com>,
	Viresh Kumar <viresh.kumar@linaro.org>,
	Sebastian Reichel <sre@kernel.org>,
	Sudeep Holla <sudeep.holla@arm.com>,
	Hector Martin <marcan@marcan.st>, Vinod Koul <vkoul@kernel.org>,
	Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	Andy Gross <agross@kernel.org>,
	Bjorn Andersson <bjorn.andersson@linaro.org>,
	Kees Cook <keescook@chromium.org>,
	Anton Vorontsov <anton@enomsg.org>,
	Colin Cross <ccross@android.com>, Tony Luck <tony.luck@intel.com>,
	linux-arm-msm@vger.kernel.org
Subject: Re: [PATCH v2 02/18] arm64: dts: qcom: Add SM6350 device tree
Date: Sun, 29 Aug 2021 01:13:48 +0530	[thread overview]
Message-ID: <e483238e-29ac-b1ef-ed80-d5ffdbca83bf@codeaurora.org> (raw)
In-Reply-To: <95c5001a-87dc-2548-97de-538da713b9b6@somainline.org>

Hi,

On 8/28/2021 9:52 PM, Konrad Dybcio wrote:
>>> +
>>> +        tcsr_mutex: hwlock@1f40000 {
>>> +            compatible = "qcom,tcsr-mutex";
>>> +            reg = <0x0 0x01f40000 0x0 0x40000>;
>>> +            #hwlock-cells = <1>;
>>> +        };
>>> +
>>> +        pdc: interrupt-controller@b220000 {
>>> +            compatible = "qcom,sm6350-pdc", "qcom,pdc";
>>> +            reg = <0 0x0b220000 0 0x30000>, <0 0x17c000f0 0 0x64>;
>> The second reg  0x17c000f0 is neither documented nor used in PDC irq chip driver. can you please remove it?
>>
>> Thanks,
>> Maulik
>>
> Wouldn't it make more sense to keep it (like in other PDC-enabled SoCs' device trees) so that there's no
>
> need to add it back when the driver gains support for spi_configure_type (I believe that's what it's used for)?
The second reg in some of the PDC enabled SoCs' went in since it may 
have slipped throgh code reviews when using downstream
patch as is on upstream.
Also the bindings document for PDC is still in txt, so yaml check could 
not catch the extra register which is not documented.

An attempt to add support for spi_configure_type [1] & [2] had 
suggestion either to access second reg via mailbox or
add another level of irqchip hierarchy between PDC to GIC to configure 
SPI type. Unless both [1] and [2] patch can go in as
PDC irqchip driver won't gain support to use it. (using mailbox approch 
will have mailbox driver to access this register and PDC node may 
mention which mailbox to use).

[1] 
https://patchwork.kernel.org/project/linux-arm-msm/patch/1568411962-1022-7-git-send-email-ilina@codeaurora.org/

[2] 
https://patchwork.kernel.org/project/linux-arm-msm/patch/1568411962-1022-8-git-send-email-ilina@codeaurora.org/

Thanks,
Maulik

>
>
> Konrad
>
-- 
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation


  reply	other threads:[~2021-08-28 19:44 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20210828131814.29589-1-konrad.dybcio@somainline.org>
2021-08-28 13:17 ` [PATCH v2 02/18] arm64: dts: qcom: Add SM6350 device tree Konrad Dybcio
2021-08-28 15:55   ` Maulik Shah
2021-08-28 16:22     ` Konrad Dybcio
2021-08-28 19:43       ` Maulik Shah [this message]
2021-08-28 13:17 ` [PATCH v2 03/18] arm64: dts: qcom: sm6350: Add LLCC node Konrad Dybcio
2021-08-28 13:17 ` [PATCH v2 04/18] arm64: dts: qcom: sm6350: Add RPMHCC node Konrad Dybcio
2021-08-28 13:18 ` [PATCH v2 05/18] arm64: dts: qcom: sm6350: Add GCC node Konrad Dybcio
2021-08-28 13:18 ` [PATCH v2 06/18] arm64: dts: qcom: sm6350: Add TLMM block node Konrad Dybcio
2021-08-28 15:47   ` Maulik Shah
2021-08-28 15:49     ` Konrad Dybcio
2021-08-28 13:18 ` [PATCH v2 07/18] arm64: dts: qcom: sm6350: Add USB1 nodes Konrad Dybcio
2021-08-28 13:18 ` [PATCH v2 08/18] arm64: dts: qcom: sm6350: Add cpufreq-hw support Konrad Dybcio
2021-08-28 13:18 ` [PATCH v2 09/18] arm64: dts: qcom: sm6350: Add TSENS nodes Konrad Dybcio
2021-08-28 13:18 ` [PATCH v2 10/18] arm64: dts: qcom: sm6350: Add AOSS_QMP Konrad Dybcio
2021-08-28 19:16   ` Maulik Shah
2021-08-28 13:18 ` [PATCH v2 11/18] arm64: dts: qcom: sm6350: Add SPMI bus Konrad Dybcio
2021-08-28 13:18 ` [PATCH v2 12/18] arm64: dts: qcom: sm6350: Add PRNG node Konrad Dybcio
2021-08-28 13:18 ` [PATCH v2 13/18] arm64: dts: qcom: sm6350: Add RPMHPD and BCM voter Konrad Dybcio
2021-08-28 13:18 ` [PATCH v2 14/18] arm64: dts: qcom: sm6350: Add SDHCI1/2 nodes Konrad Dybcio
2021-08-28 13:18 ` [PATCH v2 15/18] arm64: dts: qcom: sm6350: Add apps_smmu Konrad Dybcio
2021-08-28 13:18 ` [PATCH v2 16/18] arm64: dts: qcom: sm6350: Add iommus property to USB1 Konrad Dybcio
2021-09-14 16:14   ` Bjorn Andersson
2021-08-28 13:18 ` [PATCH v2 17/18] arm64: dts: qcom: Add device tree for Sony Xperia 10 III Konrad Dybcio
2021-09-14 16:19   ` Bjorn Andersson
2021-08-28 13:18 ` [PATCH v2 18/18] arm64: dts: qcom: pm6150l: Add missing include Konrad Dybcio

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=e483238e-29ac-b1ef-ed80-d5ffdbca83bf@codeaurora.org \
    --to=mkshah@codeaurora.org \
    --cc=Jonathan.Cameron@huawei.com \
    --cc=agross@kernel.org \
    --cc=angelogioacchino.delregno@somainline.org \
    --cc=anton@enomsg.org \
    --cc=bjorn.andersson@linaro.org \
    --cc=broonie@kernel.org \
    --cc=ccross@android.com \
    --cc=devicetree@vger.kernel.org \
    --cc=jamipkettunen@somainline.org \
    --cc=keescook@chromium.org \
    --cc=konrad.dybcio@somainline.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lorenzo.pieralisi@arm.com \
    --cc=marcan@marcan.st \
    --cc=marijn.suijten@somainline.org \
    --cc=martin.botka@somainline.org \
    --cc=robh+dt@kernel.org \
    --cc=robh@kernel.org \
    --cc=sre@kernel.org \
    --cc=sudeep.holla@arm.com \
    --cc=tony.luck@intel.com \
    --cc=viresh.kumar@linaro.org \
    --cc=vkoul@kernel.org \
    --cc=~postmarketos/upstreaming@lists.sr.ht \
    /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).