public inbox for linux-clk@vger.kernel.org
 help / color / mirror / Atom feed
From: "Xuyang Dong" <dongxuyang@eswincomputing.com>
To: "Conor Dooley" <conor@kernel.org>
Cc: mturquette@baylibre.com, sboyd@kernel.org, robh@kernel.org,
	krzk+dt@kernel.org, conor+dt@kernel.org,
	linux-clk@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, ningyu@eswincomputing.com,
	linmin@eswincomputing.com, huangyifeng@eswincomputing.com,
	pinkesh.vaghela@einfochips.com
Subject: Re: Re: [PATCH v5 1/2] dt-bindings: clock: eswin: Documentation for eic7700 SoC
Date: Wed, 24 Sep 2025 16:18:49 +0800 (GMT+08:00)	[thread overview]
Message-ID: <78856df3.17ba.1997acdc444.Coremail.dongxuyang@eswincomputing.com> (raw)
In-Reply-To: <20250923-popper-choice-397ce2df6966@spud>

> > 
> > Add device tree binding documentation for the ESWIN eic7700
> > clock controller module.
> > 
> > Signed-off-by: Yifeng Huang <huangyifeng@eswincomputing.com>
> > Signed-off-by: Xuyang Dong <dongxuyang@eswincomputing.com>
> > ---
> >  .../bindings/clock/eswin,eic7700-clock.yaml   |  40 ++
> >  .../dt-bindings/clock/eswin,eic7700-clock.h   | 379 ++++++++++++++++++
> >  2 files changed, 419 insertions(+)
> >  create mode 100644 Documentation/devicetree/bindings/clock/eswin,eic7700-clock.yaml
> >  create mode 100644 include/dt-bindings/clock/eswin,eic7700-clock.h
> > 
> > diff --git a/Documentation/devicetree/bindings/clock/eswin,eic7700-clock.yaml b/Documentation/devicetree/bindings/clock/eswin,eic7700-clock.yaml
> > new file mode 100644
> > index 000000000000..49053543ecfe
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/clock/eswin,eic7700-clock.yaml
> > @@ -0,0 +1,40 @@
> > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> > +%YAML 1.2
> > +---
> > +$id: http://devicetree.org/schemas/clock/eswin,eic7700-clock.yaml#
> > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > +
> > +title: Eswin EIC7700 SoC clock controller
> > +
> > +maintainers:
> > +  - Yifeng Huang <huangyifeng@eswincomputing.com>
> > +  - Xuyang Dong <dongxuyang@eswincomputing.com>
> > +
> > +description:
> > +  The clock controller generates and supplies clock to all the modules
> > +  for eic7700 SoC.
> > +
> > +properties:
> > +  compatible:
> > +    const: eswin,eic7700-clock
> > +
> > +  reg:
> > +    maxItems: 1
> > +
> > +  '#clock-cells':
> > +    const: 1
> > +
> > +required:
> > +  - compatible
> > +  - reg
> > +  - '#clock-cells'
> > +
> > +additionalProperties: false
> > +
> > +examples:
> > +  - |
> > +    clock-controller@51828000 {
> > +        compatible = "eswin,eic7700-clock";
> > +        reg = <0x51828000 0x200>;
> > +        #clock-cells = <1>;
> > +    };
> 
> No clock input to this block? Surprised there's not some off-chip
> oscillator that provides a quality reference for the internal PLLs etc.

There is an oscillator as the clock input. The frequency is 24000000 Hz, and
the clock name is "xtal". 
We will update the following description in the next patch.

properties:
  compatible:
    const: eswin,eic7700-clock

  reg:
    maxItems: 1
	
  clocks:
    items:
      - description: External 24MHz oscillator clock

  clock-names:
    items:
      - const: xtal
	  
  '#clock-cells':
    const: 1

required:
  - compatible
  - reg
  - clocks
  - clock-names
  - '#clock-cells'

additionalProperties: false

examples:
  - |
    clock-controller@51828000 {
        compatible = "eswin,eic7700-clock";
        reg = <0x51828000 0x200>;
        clocks = <&xtal>;
        clock-names = "xtal";
        #clock-cells = <1>;
    };


properties:
  compatible:
    const: eswin,eic7700-clock

  reg:
    maxItems: 1
	
  clocks:
    items:
      - description: External 24MHz oscillator clock

  clock-names:
    items:
      - const: xtal
	  
  '#clock-cells':
    const: 1

required:
  - compatible
  - reg
  - clocks
  - clock-names
  - '#clock-cells'

additionalProperties: false

  reply	other threads:[~2025-09-24  8:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-23  8:46 [PATCH v5 0/2] Add driver support for ESWIN eic700 SoC clock controller dongxuyang
2025-09-23  8:47 ` [PATCH v5 1/2] dt-bindings: clock: eswin: Documentation for eic7700 SoC dongxuyang
2025-09-23 18:59   ` Conor Dooley
2025-09-24  8:18     ` Xuyang Dong [this message]
2025-09-23  8:48 ` [PATCH v5 2/2] clock: eswin: Add eic7700 clock driver dongxuyang

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=78856df3.17ba.1997acdc444.Coremail.dongxuyang@eswincomputing.com \
    --to=dongxuyang@eswincomputing.com \
    --cc=conor+dt@kernel.org \
    --cc=conor@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=huangyifeng@eswincomputing.com \
    --cc=krzk+dt@kernel.org \
    --cc=linmin@eswincomputing.com \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mturquette@baylibre.com \
    --cc=ningyu@eswincomputing.com \
    --cc=pinkesh.vaghela@einfochips.com \
    --cc=robh@kernel.org \
    --cc=sboyd@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