Message ID | 20240703025850.2172008-1-quic_tengfan@quicinc.com |
---|---|
Headers | show |
Series | arm64: qcom: dts: add QCS9100 support | expand |
On 03/07/2024 05:56, Tengfei Fan wrote: > Introduce support for the QCS9100 SoC device tree (DTSI) and the > QCS9100 RIDE board DTS. The QCS9100 is a variant of the SA8775p. > While the QCS9100 platform is still in the early design stage, the > QCS9100 RIDE board is identical to the SA8775p RIDE board, except it > mounts the QCS9100 SoC instead of the SA8775p SoC. The same huge patchset, to huge number of recipients was sent twice. First, sorry, this is way too big. Second, it has way too many recipients, but this is partially a result of first point. Only partially because you put here dozen of totally unrelated emails. Sorry, that does not make even sense. See form letter at the end how this works. Third, sending it to everyone twice is a way to annoy them off twice... Fourth, Please split your work and do not cc dozen of unrelated folks. <form letter> Please use scripts/get_maintainers.pl to get a list of necessary people and lists to CC (and consider --no-git-fallback argument). It might happen, that command when run on an older kernel, gives you outdated entries. Therefore please be sure you base your patches on recent Linux kernel. Tools like b4 or scripts/get_maintainer.pl provide you proper list of people, so fix your workflow. Tools might also fail if you work on some ancient tree (don't, instead use mainline), work on fork of kernel (don't, instead use mainline) or you ignore some maintainers (really don't). Just use b4 and everything should be fine, although remember about `b4 prep --auto-to-cc` if you added new patches to the patchset. </form letter> Best regards, Krzysztof
On 7/3/2024 9:27 AM, Tengfei Fan wrote:
> + - qcom,qcs9100-cpufreq-epss
This is not required as we already have sa8775p bindings.
On 7/3/2024 12:40 PM, Krzysztof Kozlowski wrote: > On 03/07/2024 04:58, Tengfei Fan wrote: >> Introduce QCS9100 SoC dtsi, QCS9100 is mainly used in IoT products. >> QCS9100 is drived from SA8775p. >> The current QCS9100 SoC dtsi is directly renamed from the SA8775p SoC >> dtsi. >> The QCS9100 platform is currently in the early design stage. Currently, >> Both the QCS9100 platform and SA8775p platform use non-SCMI resources, >> In the future, the SA8775p platform will transition to using SCMI >> resources and it will have new sa8775p-related device tree. >> This QCS9100 SoC dtsi remains consistent with the current SA8775p SoC >> dtsi, except for updating the following sa8775p-related compatible names >> to the qcs9100-related compatible name: >> - qcom,sa8775p-clk-virt >> - qcom,sa8775p-mc-virt >> - qcom,sa8775p-adsp-pas >> - qcom,sa8775p-cdsp-pas >> - qcom,sa8775p-cdsp1-pas >> - qcom,sa8775p-gpdsp0-pas >> - qcom,sa8775p-gpdsp1-pas >> - qcom,sa8775p-gcc >> - qcom,sa8775p-ipcc >> - qcom,sa8775p-config-noc >> - qcom,sa8775p-system-noc >> - qcom,sa8775p-aggre1-noc >> - qcom,sa8775p-aggre2-noc >> - qcom,sa8775p-pcie-anoc >> - qcom,sa8775p-gpdsp-anoc >> - qcom,sa8775p-mmss-noc >> - qcom,sa8775p-trng >> - qcom,sa8775p-ufshc >> - qcom,sa8775p-qmp-ufs-phy >> - qcom,sa8775p-qce >> - qcom,sa8775p-lpass-ag-noc >> - qcom,sa8775p-usb-hs-phy >> - qcom,sa8775p-dc-noc >> - qcom,sa8775p-gem-noc >> - qcom,sa8775p-dwc3 >> - qcom,sa8775p-qmp-usb3-uni-phy >> - qcom,sa8775p-gpucc >> - qcom,sa8775p-smmu-500 >> - qcom,sa8775p-dwmac-sgmii-phy >> - qcom,sa8775p-llcc-bwmon >> - qcom,sa8775p-cpu-bwmon >> - qcom,sa8775p-llcc >> - qcom,sa8775p-videocc >> - qcom,sa8775p-camcc >> - qcom,sa8775p-dispcc0 >> - qcom,sa8775p-pdc >> - qcom,sa8775p-aoss-qmp >> - qcom,sa8775p-tlmm >> - qcom,sa8775p-imem >> - qcom,sa8775p-smmu-500 >> - qcom,sa8775p-rpmh-clk >> - qcom,sa8775p-rpmhpd >> - qcom,sa8775p-cpufreq-epss >> - qcom,sa8775p-dispcc1 >> - qcom,sa8775p-ethqos >> - qcom,sa8775p-nspa-noc >> - qcom,sa8775p-nspb-noc >> - qcom,sa8775p-qmp-gen4x2-pcie-phy >> - qcom,sa8775p-qmp-gen4x4-pcie-phy >> >> Signed-off-by: Tengfei Fan <quic_tengfan@quicinc.com> >> --- >> .../dts/qcom/{sa8775p.dtsi => qcs9100.dtsi} | 112 +++++++++--------- >> 1 file changed, 56 insertions(+), 56 deletions(-) >> rename arch/arm64/boot/dts/qcom/{sa8775p.dtsi => qcs9100.dtsi} (97%) >> > > How do any things compile at this point? Please squash the patches. Your > patchset must be bisectable at build level (dtschema validation does not > have to). > > Best regards, > Krzysztof > The compilation issue indeed arises when applying only this single patch. In the new version patch series, I plan to consolidate the three patches that rename sa8775p.dtsi to qcs9100.dtsi, sa8775p-pmics.dtsi to qcs9100-pmics.dtsi, and sa87750-ride.dts to qcs9100-ride.dts into a single patch.
On 03/07/2024 11:21, Tengfei Fan wrote: >>> - items: >>> - enum: >>> + - qcom,qcs9100-ride >>> - qcom,sa8775p-ride >>> + - const: qcom,qcs9100 >> >> This changes existing compatible for sa8775p without any explanation in >> commit msg. >> >> Best regards, >> Krzysztof >> > > In the next verion patch series, I will provide relevant explanatory > information in this patch commit message. TBH, I cannot think of any reasonable explanation for this, especially considering rest of the patchset which does not fix resulting dtbs_check warning. Best regards, Krzysztof
On 7/3/2024 5:33 PM, Krzysztof Kozlowski wrote: > On 03/07/2024 11:21, Tengfei Fan wrote: >>>> - items: >>>> - enum: >>>> + - qcom,qcs9100-ride >>>> - qcom,sa8775p-ride >>>> + - const: qcom,qcs9100 >>> >>> This changes existing compatible for sa8775p without any explanation in >>> commit msg. >>> >>> Best regards, >>> Krzysztof >>> >> >> In the next verion patch series, I will provide relevant explanatory >> information in this patch commit message. > > TBH, I cannot think of any reasonable explanation for this, especially > considering rest of the patchset which does not fix resulting dtbs_check > warning. > > Best regards, > Krzysztof > This patch may need to be updated based on the results of dtbs_check. In the new version patch series, I will revise the commit message according to the patch updates made.
On 7/3/2024 1:35 PM, Taniya Das wrote: > > > On 7/3/2024 9:27 AM, Tengfei Fan wrote: >> + - qcom,qcs9100-cpufreq-epss > > This is not required as we already have sa8775p bindings. This is necessary. The reason is same as my reply in patch 41/47. >
On 7/3/2024 6:33 PM, Dmitry Baryshkov wrote: > On Wed, Jul 03, 2024 at 11:56:48AM GMT, Tengfei Fan wrote: >> Introduce support for the QCS9100 SoC device tree (DTSI) and the >> QCS9100 RIDE board DTS. The QCS9100 is a variant of the SA8775p. >> While the QCS9100 platform is still in the early design stage, the >> QCS9100 RIDE board is identical to the SA8775p RIDE board, except it >> mounts the QCS9100 SoC instead of the SA8775p SoC. > > Your patch series includes a second copy of your patches, wich have > different Message-IDs: > > 20240703035735.2182165-1-quic_tengfan@quicinc.com vs > 20240703025850.2172008-1-quic_tengfan@quicinc.com > > Please consider switching to the b4 tool or just > checking what is being sent. > This is because I encountered a "Connection timed out" error while sending this patch series using "git send-email". I wanted to add "--in-reply-to=" git paramater to resend the patches that haven't been pushed yet, which resulted in this second copy error result. I'll following your suggestion and use the b4 tool when sending the new version patch series to avoid similar error.
On 7/4/2024 2:49 AM, Jakub Kicinski wrote: > This is some bug / false positive in the bot, to be clear. > Commit df18948d331e is ("Merge branch 'device-memory-tcp'"). > No idea how it got from that to DTS. This issue may be due to the patch series being too large. In the future, I plan to split the patch series by different subsystem, which should prevent similar issue.
On 7/3/2024 11:09 PM, Andrew Halaney wrote: > On Wed, Jul 03, 2024 at 10:58:32AM GMT, Tengfei Fan wrote: >> Add the compatible for the MAC controller on qcs9100 platforms. This MAC >> works with a single interrupt so add minItems to the interrupts property. >> The fourth clock's name is different here so change it. Enable relevant >> PHY properties. Add the relevant compatibles to the binding document for >> snps,dwmac as well. > > This description doesn't match what was done in this patch, its what > Bart did when he made changes to add the sa8775 changes. Please consider > using a blurb indicating that this is the same SoC as sa8775p, just with > different firmware strategies or something along those lines? I will update this commit message as you suggested. > >> >> Signed-off-by: Tengfei Fan <quic_tengfan@quicinc.com> >> --- >> Documentation/devicetree/bindings/net/qcom,ethqos.yaml | 1 + >> Documentation/devicetree/bindings/net/snps,dwmac.yaml | 3 +++ >> 2 files changed, 4 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/net/qcom,ethqos.yaml b/Documentation/devicetree/bindings/net/qcom,ethqos.yaml >> index 6672327358bc..8ab11e00668c 100644 >> --- a/Documentation/devicetree/bindings/net/qcom,ethqos.yaml >> +++ b/Documentation/devicetree/bindings/net/qcom,ethqos.yaml >> @@ -20,6 +20,7 @@ properties: >> compatible: >> enum: >> - qcom,qcs404-ethqos >> + - qcom,qcs9100-ethqos >> - qcom,sa8775p-ethqos >> - qcom,sc8280xp-ethqos >> - qcom,sm8150-ethqos >> diff --git a/Documentation/devicetree/bindings/net/snps,dwmac.yaml b/Documentation/devicetree/bindings/net/snps,dwmac.yaml >> index 3bab4e1f3fbf..269c21779396 100644 >> --- a/Documentation/devicetree/bindings/net/snps,dwmac.yaml >> +++ b/Documentation/devicetree/bindings/net/snps,dwmac.yaml >> @@ -67,6 +67,7 @@ properties: >> - loongson,ls2k-dwmac >> - loongson,ls7a-dwmac >> - qcom,qcs404-ethqos >> + - qcom,qcs9100-ethqos >> - qcom,sa8775p-ethqos >> - qcom,sc8280xp-ethqos >> - qcom,sm8150-ethqos >> @@ -582,6 +583,7 @@ allOf: >> - ingenic,x1600-mac >> - ingenic,x1830-mac >> - ingenic,x2000-mac >> + - qcom,qcs9100-ethqos >> - qcom,sa8775p-ethqos >> - qcom,sc8280xp-ethqos >> - snps,dwmac-3.50a >> @@ -639,6 +641,7 @@ allOf: >> - ingenic,x1830-mac >> - ingenic,x2000-mac >> - qcom,qcs404-ethqos >> + - qcom,qcs9100-ethqos >> - qcom,sa8775p-ethqos >> - qcom,sc8280xp-ethqos >> - qcom,sm8150-ethqos >> -- >> 2.25.1 >> >
On Thu, Jul 04, 2024 at 09:13:59AM +0800, Tengfei Fan wrote: > > > On 7/3/2024 11:09 PM, Andrew Halaney wrote: > > On Wed, Jul 03, 2024 at 10:58:32AM GMT, Tengfei Fan wrote: > > > Add the compatible for the MAC controller on qcs9100 platforms. This MAC > > > works with a single interrupt so add minItems to the interrupts property. > > > The fourth clock's name is different here so change it. Enable relevant > > > PHY properties. Add the relevant compatibles to the binding document for > > > snps,dwmac as well. > > > > This description doesn't match what was done in this patch, its what > > Bart did when he made changes to add the sa8775 changes. Please consider > > using a blurb indicating that this is the same SoC as sa8775p, just with > > different firmware strategies or something along those lines? > > I will update this commit message as you suggested. Hi Andrew, Tengfei Please trim emails when replying to just the needed context. Thanks Andrew
On Thu, Jul 04, 2024 at 06:03:14PM GMT, Andrew Lunn wrote: > On Thu, Jul 04, 2024 at 09:13:59AM +0800, Tengfei Fan wrote: > > > > > > On 7/3/2024 11:09 PM, Andrew Halaney wrote: > > > On Wed, Jul 03, 2024 at 10:58:32AM GMT, Tengfei Fan wrote: > > > > Add the compatible for the MAC controller on qcs9100 platforms. This MAC > > > > works with a single interrupt so add minItems to the interrupts property. > > > > The fourth clock's name is different here so change it. Enable relevant > > > > PHY properties. Add the relevant compatibles to the binding document for > > > > snps,dwmac as well. > > > > > > This description doesn't match what was done in this patch, its what > > > Bart did when he made changes to add the sa8775 changes. Please consider > > > using a blurb indicating that this is the same SoC as sa8775p, just with > > > different firmware strategies or something along those lines? > > > > I will update this commit message as you suggested. > > Hi Andrew, Tengfei > > Please trim emails when replying to just the needed context. > Sorry, I'm always a little guilty of this. In this case I didn't trim since the patch was small and trimming the diff out would then make it tough to see how my comment about the description relates to the body of the patch. But I'll try and trim when appropriate. Just replying here to explain myself as this isn't the first time I've been suggested to trim more aggressively and I don't want folks to think I'm completely ignoring them. Thanks, Andrew
On 7/3/2024 5:33 PM, Krzysztof Kozlowski wrote: > On 03/07/2024 11:21, Tengfei Fan wrote: >>>> - items: >>>> - enum: >>>> + - qcom,qcs9100-ride >>>> - qcom,sa8775p-ride >>>> + - const: qcom,qcs9100 >>> >>> This changes existing compatible for sa8775p without any explanation in >>> commit msg. >>> >>> Best regards, >>> Krzysztof >>> >> >> In the next verion patch series, I will provide relevant explanatory >> information in this patch commit message. > > TBH, I cannot think of any reasonable explanation for this, especially > considering rest of the patchset which does not fix resulting dtbs_check > warning. The existing compatible "sa8775p" warning can only be addressed When @Nikunj's "sa8775p" changes merged. Let me know if you have other suggestions for this. > > Best regards, > Krzysztof >
On 08/07/2024 06:45, Aiqun Yu (Maria) wrote: > > > On 7/3/2024 5:33 PM, Krzysztof Kozlowski wrote: >> On 03/07/2024 11:21, Tengfei Fan wrote: >>>>> - items: >>>>> - enum: >>>>> + - qcom,qcs9100-ride >>>>> - qcom,sa8775p-ride >>>>> + - const: qcom,qcs9100 >>>> >>>> This changes existing compatible for sa8775p without any explanation in >>>> commit msg. >>>> >>>> Best regards, >>>> Krzysztof >>>> >>> >>> In the next verion patch series, I will provide relevant explanatory >>> information in this patch commit message. >> >> TBH, I cannot think of any reasonable explanation for this, especially >> considering rest of the patchset which does not fix resulting dtbs_check >> warning. > > The existing compatible "sa8775p" warning can only be addressed When > @Nikunj's "sa8775p" changes merged. > > Let me know if you have other suggestions for this. I don't have, because I don't understand why do you want/need to change existing board compatible. Best regards, Krzysztof
On 7/8/2024 2:07 PM, Krzysztof Kozlowski wrote: > On 08/07/2024 06:45, Aiqun Yu (Maria) wrote: >> >> >> On 7/3/2024 5:33 PM, Krzysztof Kozlowski wrote: >>> On 03/07/2024 11:21, Tengfei Fan wrote: >>>>>> - items: >>>>>> - enum: >>>>>> + - qcom,qcs9100-ride >>>>>> - qcom,sa8775p-ride >>>>>> + - const: qcom,qcs9100 >>>>> >>>>> This changes existing compatible for sa8775p without any explanation in >>>>> commit msg. >>>>> >>>>> Best regards, >>>>> Krzysztof >>>>> >>>> >>>> In the next verion patch series, I will provide relevant explanatory >>>> information in this patch commit message. >>> >>> TBH, I cannot think of any reasonable explanation for this, especially >>> considering rest of the patchset which does not fix resulting dtbs_check >>> warning. >> >> The existing compatible "sa8775p" warning can only be addressed When >> @Nikunj's "sa8775p" changes merged. >> >> Let me know if you have other suggestions for this. > > I don't have, because I don't understand why do you want/need to change > existing board compatible. We can left the current existing sa8775p board compatible as it is. And have a brand new qcs9100 and qcs9100-board item for current non-scmi resources compatible. Will that be more reasonable from your end? > > Best regards, > Krzysztof >
On 08/07/2024 09:13, Aiqun Yu (Maria) wrote: > > > On 7/8/2024 2:07 PM, Krzysztof Kozlowski wrote: >> On 08/07/2024 06:45, Aiqun Yu (Maria) wrote: >>> >>> >>> On 7/3/2024 5:33 PM, Krzysztof Kozlowski wrote: >>>> On 03/07/2024 11:21, Tengfei Fan wrote: >>>>>>> - items: >>>>>>> - enum: >>>>>>> + - qcom,qcs9100-ride >>>>>>> - qcom,sa8775p-ride >>>>>>> + - const: qcom,qcs9100 >>>>>> >>>>>> This changes existing compatible for sa8775p without any explanation in >>>>>> commit msg. >>>>>> >>>>>> Best regards, >>>>>> Krzysztof >>>>>> >>>>> >>>>> In the next verion patch series, I will provide relevant explanatory >>>>> information in this patch commit message. >>>> >>>> TBH, I cannot think of any reasonable explanation for this, especially >>>> considering rest of the patchset which does not fix resulting dtbs_check >>>> warning. >>> >>> The existing compatible "sa8775p" warning can only be addressed When >>> @Nikunj's "sa8775p" changes merged. >>> >>> Let me know if you have other suggestions for this. >> >> I don't have, because I don't understand why do you want/need to change >> existing board compatible. > > We can left the current existing sa8775p board compatible as it is. And > have a brand new qcs9100 and qcs9100-board item for current non-scmi > resources compatible. > > Will that be more reasonable from your end? Yes, this is what I would expect. If you choose any other way - just like I wrote - you need to explain why you are doing this. Best regards, Krzysztof
On 7/5/2024 12:03 AM, Andrew Lunn wrote: > On Thu, Jul 04, 2024 at 09:13:59AM +0800, Tengfei Fan wrote: >> >> >> On 7/3/2024 11:09 PM, Andrew Halaney wrote: >>> On Wed, Jul 03, 2024 at 10:58:32AM GMT, Tengfei Fan wrote: >>>> Add the compatible for the MAC controller on qcs9100 platforms. This MAC >>>> works with a single interrupt so add minItems to the interrupts property. >>>> The fourth clock's name is different here so change it. Enable relevant >>>> PHY properties. Add the relevant compatibles to the binding document for >>>> snps,dwmac as well. >>> >>> This description doesn't match what was done in this patch, its what >>> Bart did when he made changes to add the sa8775 changes. Please consider >>> using a blurb indicating that this is the same SoC as sa8775p, just with >>> different firmware strategies or something along those lines? >> >> I will update this commit message as you suggested. > > Hi Andrew, Tengfei > > Please trim emails when replying to just the needed context. > > Thanks > Andrew Thank you for pointing out this. In the future, I will pay attention to trimming emails when I reply.
On 7/3/2024 2:28 PM, Conor Dooley wrote: > On Wed, Jul 03, 2024 at 06:45:00AM +0200, Krzysztof Kozlowski wrote: >> On 03/07/2024 05:56, Tengfei Fan wrote: >>> Introduce support for the QCS9100 SoC device tree (DTSI) and the >>> QCS9100 RIDE board DTS. The QCS9100 is a variant of the SA8775p. >>> While the QCS9100 platform is still in the early design stage, the >>> QCS9100 RIDE board is identical to the SA8775p RIDE board, except it >>> mounts the QCS9100 SoC instead of the SA8775p SoC. >> >> The same huge patchset, to huge number of recipients was sent twice. >> First, sorry, this is way too big. Second, it has way too many >> recipients, but this is partially a result of first point. Only >> partially because you put here dozen of totally unrelated emails. Sorry, >> that does not make even sense. See form letter at the end how this >> works. Third, sending it to everyone twice is a way to annoy them off >> twice... Fourth, >> >> Please split your work and do not cc dozen of unrelated folks. > > One of the extra recipients is cos that of that patch I sent adding the > cache bindings to the cache entry, forgetting that that would CC the > riscv list on all cache bindings. I modified that patch to drop the riscv > list from the entry. > > Cheers, > Conor. Thank you, Conor!