mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: q691800735@163.com, linux-riscv@lists.infradead.org,
	devicetree@vger.kernel.org
Cc: conor@kernel.org, robh@kernel.org, krzk+dt@kernel.org,
	pjw@kernel.org, palmer@dabbelt.com, aou@eecs.berkeley.edu,
	alex@ghiti.fr, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] riscv: dts: canaan: Add K230 clock provider DTSI
Date: Wed, 3 Dec 2025 10:50:18 +0100	[thread overview]
Message-ID: <935ab772-fc9d-443b-8c8d-f2d17f9259aa@kernel.org> (raw)
In-Reply-To: <20251203092643.219600-1-q691800735@163.com>

On 03/12/2025 10:26, q691800735@163.com wrote:
> From: jybruceupup <q691800735@163.com>
> 
> Add clock provider DTSI for Kendryte K230 SoC, required for subsystem
> clock management and boot.
> 
> Signed-off-by: jybruceupup <q691800735@163.com>
> ---
>  .../boot/dts/canaan/k230_clock_provider.dtsi  | 2724 +++++++++++++++++
>  1 file changed, 2724 insertions(+)
>  create mode 100644 arch/riscv/boot/dts/canaan/k230_clock_provider.dtsi
> 
> diff --git a/arch/riscv/boot/dts/canaan/k230_clock_provider.dtsi b/arch/riscv/boot/dts/canaan/k230_clock_provider.dtsi
> new file mode 100644
> index 000000000..9d193ca22
> --- /dev/null
> +++ b/arch/riscv/boot/dts/canaan/k230_clock_provider.dtsi
> @@ -0,0 +1,2724 @@
> +// SPDX-License-Identifier: GPL-2.0 OR MIT
> +/*
> + * Copyright (c) 2023, Canaan Bright Sight Co., Ltd
> + * Copyright (c) 2025 jybruceupup <q691800735@163.com>
> + *
> + * This program is free software; you can redistribute it and/or modify
> + * it under the terms of the GNU General Public License version 2 as
> + * published by the Free Software Foundation.
> + */
> +
> +&sysctl_boot {
> +/* osc24m clock */
> +	osc24m: osc24m {
> +		#clock-cells		= <0>;	/* only one clock output */
> +		compatible		= "fixed-clock";/* It's clock source, no parent */
> +		clock-frequency		= <24000000>;	/* clock freqence is 24MHz */
> +		clock-accuracy		= <0>;	/* software assume clock no jitter/wander.*/
> +		status				= "okay";
> +		read-only			= <0>;
> +	};
> +
> +	/* pll clock */
> +	pll0: pll0 {


NAK.

Not at all Linux style (actually DTS coding style), not used, no benefit
of any of this.

Best regards,
Krzysztof

  reply	other threads:[~2025-12-03  9:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-03  9:26 q691800735
2025-12-03  9:50 ` Krzysztof Kozlowski [this message]
2025-12-03  9:59   ` Conor Dooley

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=935ab772-fc9d-443b-8c8d-f2d17f9259aa@kernel.org \
    --to=krzk@kernel.org \
    --cc=alex@ghiti.fr \
    --cc=aou@eecs.berkeley.edu \
    --cc=conor@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-riscv@lists.infradead.org \
    --cc=palmer@dabbelt.com \
    --cc=pjw@kernel.org \
    --cc=q691800735@163.com \
    --cc=robh@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

all inboxes | Powered by JetHome®