loongarch.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Conor Dooley <conor@kernel.org>
To: Binbin Zhou <zhoubinbin@loongson.cn>
Cc: Binbin Zhou <zhoubb.aaron@gmail.com>,
	Huacai Chen <chenhuacai@loongson.cn>,
	Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Conor Dooley <conor+dt@kernel.org>,
	devicetree@vger.kernel.org, Huacai Chen <chenhuacai@kernel.org>,
	loongson-kernel@lists.loongnix.cn,
	Xuerui Wang <kernel@xen0n.name>,
	loongarch@lists.linux.dev
Subject: Re: [PATCH v1 1/2] LoongArch: dts: Add new supported device nodes to Loongson-2K0500
Date: Wed, 8 May 2024 17:26:24 +0100	[thread overview]
Message-ID: <20240508-startup-oblivious-d864191f524f@spud> (raw)
In-Reply-To: <d0b25dedb43c000faad5b86cd0512dc6498e7839.1715156107.git.zhoubinbin@loongson.cn>

[-- Attachment #1: Type: text/plain, Size: 1178 bytes --]

On Wed, May 08, 2024 at 04:29:10PM +0800, Binbin Zhou wrote:
> By now, more Loongson-2K0500 related drivers are supported, such as
> clock controller, thermal controller, and dma controller.
> Now we add these device nodes to the Loongson-2K0500 dts file.
> 
> Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn>
> ---
>  .../boot/dts/loongson-2k0500-ref.dts          |  4 +
>  arch/loongarch/boot/dts/loongson-2k0500.dtsi  | 81 ++++++++++++++++++-
>  2 files changed, 82 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/loongarch/boot/dts/loongson-2k0500-ref.dts b/arch/loongarch/boot/dts/loongson-2k0500-ref.dts
> index 8aefb0c12672..62dad6297e82 100644
> --- a/arch/loongarch/boot/dts/loongson-2k0500-ref.dts
> +++ b/arch/loongarch/boot/dts/loongson-2k0500-ref.dts
> @@ -41,6 +41,10 @@ linux,cma {
>  	};
>  };
>  
> +&clk {
> +	status = "okay";
> +};

For most devices, doing the "disable in dtsi, enable in dts" approach is
the right thing to do, but for things like clock-controllers or
architectural interrupt controllers that no-one is going to disable
since they'll not have a usable system otherwise, it's not needed.

Cheers,
Conor.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

  reply	other threads:[~2024-05-08 16:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-08  8:29 [PATCH v1 0/2] LoongArch: dts: Add more support device ndoes to Loongson-2K Binbin Zhou
2024-05-08  8:29 ` [PATCH v1 1/2] LoongArch: dts: Add new supported device nodes to Loongson-2K0500 Binbin Zhou
2024-05-08 16:26   ` Conor Dooley [this message]
2024-05-09  1:10     ` Binbin Zhou
2024-05-08  8:29 ` [PATCH v1 2/2] LoongArch: dts: Add new supported device nodes to Loongson-2K2000 Binbin Zhou

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=20240508-startup-oblivious-d864191f524f@spud \
    --to=conor@kernel.org \
    --cc=chenhuacai@kernel.org \
    --cc=chenhuacai@loongson.cn \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=kernel@xen0n.name \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=loongarch@lists.linux.dev \
    --cc=loongson-kernel@lists.loongnix.cn \
    --cc=robh+dt@kernel.org \
    --cc=zhoubb.aaron@gmail.com \
    --cc=zhoubinbin@loongson.cn \
    /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).