From: Krzysztof Kozlowski <krzk@kernel.org>
To: Vincenzo Frascino <vincenzo.frascino@arm.com>
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
Linus Walleij <linus.walleij@linaro.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Liviu Dudau <liviu.dudau@arm.com>,
Sudeep Holla <sudeep.holla@arm.com>,
Lorenzo Pieralisi <lpieralisi@kernel.org>,
Russell King <linux@armlinux.org.uk>
Subject: Re: [PATCH v3 2/4] arm64: dts: morello: Add support for common functionalities
Date: Fri, 3 Jan 2025 16:58:07 +0100 [thread overview]
Message-ID: <5deaaba3-9acf-4715-85d1-6c1f62ccc604@kernel.org> (raw)
In-Reply-To: <9f430795-03c4-4ff4-ad71-92273877459a@arm.com>
On 03/01/2025 16:32, Vincenzo Frascino wrote:
>
>
> On 03/01/2025 07:53, Krzysztof Kozlowski wrote:
>> On Thu, Jan 02, 2025 at 03:54:14PM +0000, Vincenzo Frascino wrote:
>>> The Morello architecture is an experimental extension to Armv8.2-A,
>>> which extends the AArch64 state with the principles proposed in
>>> version 7 of the Capability Hardware Enhanced RISC Instructions
>>> (CHERI) ISA.
>>>
>>> The Morello Platform (soc) and the Fixed Virtual Platfom (fvp) share
>>> some functionalities that have conveniently been included in
>>> morello.dtsi to avoid duplication.
>>>
>>> Introduce morello.dtsi.
>>>
>>> Note: Morello fvp will be introduced with a future patch series.
>>>
>>> Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
>>> ---
>>> arch/arm64/boot/dts/arm/morello.dtsi | 341 +++++++++++++++++++++++++++
>>> 1 file changed, 341 insertions(+)
>>> create mode 100644 arch/arm64/boot/dts/arm/morello.dtsi
>>>
>>> diff --git a/arch/arm64/boot/dts/arm/morello.dtsi b/arch/arm64/boot/dts/arm/morello.dtsi
>>> new file mode 100644
>>> index 000000000000..67bc960f4596
>>> --- /dev/null
>>> +++ b/arch/arm64/boot/dts/arm/morello.dtsi
>>> @@ -0,0 +1,341 @@
>>> +// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
>>> +/*
>>> + * Copyright (c) 2020-2024, Arm Limited. All rights reserved.
>>> + */
>>> +
>>> +#include <dt-bindings/interrupt-controller/arm-gic.h>
>>> +
>>> +/ {
>>> + interrupt-parent = <&gic>;
>>> +
>>> + #address-cells = <2>;
>>> + #size-cells = <2>;
>>> +
>>> + chosen { };
>>
>> Drop
>
> Fine, I will do it in the next iteration. The file you asked me to see
> (sm8650.dtsi) has the same expression.
Because it did exactly the same as you here - copied it.
> Why this is incorrect? What's the rationale?
Redundant, makes this code unnecessary bigger and raises question: what
if something relies on it but the actual dependency is not
expressed/documented?
...
>
>>> + interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
>>> + clocks = <&dpu_aclk>;
>>> +
>>> + hdmi_tx: hdmi-transmitter@70 {
>>> + compatible = "nxp,tda998x";
>>> + reg = <0x70>;
>>> + video-ports = <0x234501>;
>>> + port {
>>> + tda998x_0_input: endpoint {
>>> + remote-endpoint = <&dp_pl0_out0>;
>>> + };
>>> + };
>>> + };
>>> + };
>>> +
>>> + gic: interrupt-controller@2c010000 {
>>> + compatible = "arm,gic-v3";
>>> + #address-cells = <2>;
>>> + #interrupt-cells = <3>;
>>> + #size-cells = <2>;
>>> + ranges;
>>
>>
>> Missing reg.... and why do you have ranges here? No children.
>>
>
> I will remove it in the next iteration.
>
Next patch brought some answers here. I just don't get why entire GIC is
not part of the DTSI.
Best regards,
Krzysztof
next prev parent reply other threads:[~2025-01-03 15:58 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-02 15:54 [PATCH v3 0/4] arm64: dts: Add Arm Morello support Vincenzo Frascino
2025-01-02 15:54 ` [PATCH v3 1/4] dt-bindings: arm: Add Morello compatibility Vincenzo Frascino
2025-01-03 7:46 ` Krzysztof Kozlowski
2025-01-02 15:54 ` [PATCH v3 2/4] arm64: dts: morello: Add support for common functionalities Vincenzo Frascino
2025-01-03 7:53 ` Krzysztof Kozlowski
2025-01-03 15:32 ` Vincenzo Frascino
2025-01-03 15:58 ` Krzysztof Kozlowski [this message]
2025-01-02 15:54 ` [PATCH v3 3/4] arm64: dts: morello: Add support for soc dts Vincenzo Frascino
2025-01-03 7:54 ` Krzysztof Kozlowski
2025-01-02 15:54 ` [PATCH v3 4/4] MAINTAINERS: Add Vincenzo Frascino as Arm Morello Maintainer Vincenzo Frascino
2025-01-03 16:02 ` Krzysztof Kozlowski
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=5deaaba3-9acf-4715-85d1-6c1f62ccc604@kernel.org \
--to=krzk@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=liviu.dudau@arm.com \
--cc=lpieralisi@kernel.org \
--cc=robh@kernel.org \
--cc=sudeep.holla@arm.com \
--cc=vincenzo.frascino@arm.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®