Linux-RISC-V Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Conor Dooley <conor@kernel.org>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: q691800735@163.com, linux-riscv@lists.infradead.org,
	devicetree@vger.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 09:59:33 +0000	[thread overview]
Message-ID: <20251203-glowing-janitor-7220bf3bcadc@spud> (raw)
In-Reply-To: <935ab772-fc9d-443b-8c8d-f2d17f9259aa@kernel.org>


[-- Attachment #1.1: Type: text/plain, Size: 1972 bytes --]

On Wed, Dec 03, 2025 at 10:50:18AM +0100, Krzysztof Kozlowski wrote:
> 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.

I don't really understand what jybryceupup is doing here, because there
is someone actually working on a clk driver etc that is in a pretty good
state.

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

[-- Attachment #2: Type: text/plain, Size: 161 bytes --]

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

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

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-03  9:26 [PATCH] riscv: dts: canaan: Add K230 clock provider DTSI q691800735
2025-12-03  9:50 ` Krzysztof Kozlowski
2025-12-03  9:59   ` Conor Dooley [this message]
     [not found] <[PATCH] riscv: dts: canaan: Add K230 clock provider DTSI>
     [not found] ` <20251203-f383bdd0@spud>
2025-12-03 12:50   ` q691800735
2025-12-03 14:06     ` 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=20251203-glowing-janitor-7220bf3bcadc@spud \
    --to=conor@kernel.org \
    --cc=alex@ghiti.fr \
    --cc=aou@eecs.berkeley.edu \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=krzk@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