linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Dinh Nguyen <dinguyen@kernel.org>
To: Krzysztof Kozlowski <krzk@kernel.org>,
	robh+dt@kernel.org, mark.rutland@arm.com
Cc: linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] arm64: dts: n5x: add sdr edac support
Date: Tue, 22 Mar 2022 08:34:54 -0500	[thread overview]
Message-ID: <dd812c2c-8380-1c7c-9687-99752e9f1209@kernel.org> (raw)
In-Reply-To: <1217ab63-f441-a757-2864-e1b01ab54349@kernel.org>



On 3/18/22 07:00, Krzysztof Kozlowski wrote:
> On 01/03/2022 16:12, Dinh Nguyen wrote:
>> The N5X platform has the Synopsys DDR controller the includes an EDAC
>> controller. Add the entry for the controller in the DTS file instead of
>> the base Agilex DTSI because the base Agilex does not have the
>> controller.
>>
>> Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
>> ---
>>   arch/arm64/boot/dts/intel/socfpga_n5x_socdk.dts | 10 ++++++++++
>>   1 file changed, 10 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/intel/socfpga_n5x_socdk.dts b/arch/arm64/boot/dts/intel/socfpga_n5x_socdk.dts
>> index f3c1310dae0a..628c9943914b 100644
>> --- a/arch/arm64/boot/dts/intel/socfpga_n5x_socdk.dts
>> +++ b/arch/arm64/boot/dts/intel/socfpga_n5x_socdk.dts
>> @@ -23,6 +23,16 @@ memory {
>>   		/* We expect the bootloader to fill in the reg */
>>   		reg = <0 0 0 0>;
>>   	};
>> +
>> +	soc {
>> +		sdram_edac: sdr_edac@f87f8000 {
> 
> This patch was merged but it is not correct. The node name should be
> memory-controller (generic, not specific).
> 
>> +			compatible = "snps,ddrc-3.80a";
>> +			reg = <0xf87f8000 0x400>;
>> +			interrupts = <0 175 4>;
> 
> This fails dt schema.
> 
>> +			intel,sysmgr-syscon = <&sysmgr 0xb8>;
> 
> This fails schema even more... it's not documented.
> 
>> +			status = "okay";
> 
> This is not needed.
> 
> 
> Please test your changes against bindings (you can use dtbs_check).
> 

Will do and I'll send a patch to fix this up in a bit.

Thanks,
Dinh

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

      reply	other threads:[~2022-03-22 13:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-01 15:12 [PATCH] arm64: dts: n5x: add sdr edac support Dinh Nguyen
2022-03-18 12:00 ` Krzysztof Kozlowski
2022-03-22 13:34   ` Dinh Nguyen [this message]

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=dd812c2c-8380-1c7c-9687-99752e9f1209@kernel.org \
    --to=dinguyen@kernel.org \
    --cc=krzk@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@kernel.org \
    /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).