From: luyulin@eswincomputing.com
To: "Rob Herring" <robh@kernel.org>
Cc: dlemoal@kernel.org, cassel@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org, linux-ide@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
vkoul@kernel.org, kishon@kernel.org,
linux-phy@lists.infradead.org, ningyu@eswincomputing.com,
zhengyu@eswincomputing.com, linmin@eswincomputing.com,
huangyifeng@eswincomputing.com, fenglin@eswincomputing.com,
lianghujun@eswincomputing.com
Subject: Re: Re: [PATCH v2 1/3] dt-bindings: ata: eswin: Document for EIC7700 SoC ahci
Date: Thu, 28 Aug 2025 18:22:40 +0800 (GMT+08:00) [thread overview]
Message-ID: <692e11ca.843.198f0337528.Coremail.luyulin@eswincomputing.com> (raw)
In-Reply-To: <CAL_JsqKFotNLZZXwiy7S6K8qXLdGRAnsa-1zvZRDQBE39Gf5kg@mail.gmail.com>
Hello, Rob
Thank you very much for your reply.
I have a question that I would like to seek your advice on and clarify.
>
> On Tue, Aug 19, 2025 at 8:54 AM Yulin Lu <luyulin@eswincomputing.com> wrote:
> >
> > From: luyulin <luyulin@eswincomputing.com>
>
> Please fix your name.
>
> >
> > Add document for the SATA AHCI controller on the EIC7700 SoC platform,
> > including descriptions of its hardware configurations.
> >
> > Signed-off-by: luyulin <luyulin@eswincomputing.com>
>
> And here.
>
> > ---
> > .../bindings/ata/eswin,eic7700-ahci.yaml | 92 +++++++++++++++++++
> > 1 file changed, 92 insertions(+)
> > create mode 100644 Documentation/devicetree/bindings/ata/eswin,eic7700-ahci.yaml
> >
> > diff --git a/Documentation/devicetree/bindings/ata/eswin,eic7700-ahci.yaml b/Documentation/devicetree/bindings/ata/eswin,eic7700-ahci.yaml
> > new file mode 100644
> > index 000000000000..9ef58c9c2f28
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/ata/eswin,eic7700-ahci.yaml
> > @@ -0,0 +1,92 @@
> > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> > +%YAML 1.2
> > +---
> > +$id: http://devicetree.org/schemas/ata/eswin,eic7700-ahci.yaml#
> > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > +
> > +title: Eswin EIC7700 SoC SATA Controller
> > +
> > +maintainers:
> > + - Yulin Lu <luyulin@eswincomputing.com>
> > + - Huan He <hehuan1@eswincomputing.com>
> > +
> > +description:
> > + This document defines device tree bindings for the Synopsys DWC
> > + implementation of the AHCI SATA controller found in Eswin's
> > + Eic7700 SoC platform.
> > +
> > +select:
> > + properties:
> > + compatible:
> > + const: eswin,eic7700-ahci
> > + required:
> > + - compatible
> > +
> > +allOf:
> > + - $ref: snps,dwc-ahci-common.yaml#
> > +
> > +properties:
> > + compatible:
> > + items:
> > + - const: eswin,eic7700-ahci
> > + - const: snps,dwc-ahci
> > +
> > + reg:
> > + maxItems: 1
>
> Drop. snps,dwc-ahci-common.yaml already defines this.
>
> > +
> > + interrupts:
> > + maxItems: 1
>
> Drop. snps,dwc-ahci-common.yaml already defines this.
>
> > +
> > + ports-implemented:
> > + const: 1
>
> Really, your firmware should initialize the DWC specific register that
> sets this and is discoverable via a standard AHCI register.
>
Accord to my understanding, if ports-implemented is configured in the dts,
this register will be set by the platform driver in libahci_platform.c.
Do you mean that ports-implemented should be removed from the dts,
and the corresponding register should be configured by the firmware
(which is U-Boot on the HiFive Premier P550 board)? Is this understanding correct?
If so, when the driver is removed, a reset will be triggered,
causing the configuration of this register to be lost,
which will result in an error when insmod the driver again.
Best regards,
Yulin
next prev parent reply other threads:[~2025-08-28 10:22 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-19 13:47 [PATCH v2 0/3] ESWIN EIC7700 sata phy driver and yaml, Yulin Lu
2025-08-19 13:54 ` [PATCH v2 1/3] dt-bindings: ata: eswin: Document for EIC7700 SoC ahci Yulin Lu
2025-08-19 14:25 ` Rob Herring
2025-08-25 8:19 ` luyulin
2025-08-28 10:22 ` luyulin [this message]
2025-08-28 13:05 ` Niklas Cassel
2025-08-29 6:22 ` luyulin
2025-08-19 14:00 ` [PATCH v2 3/3] phy: eswin: Create eswin directory and add EIC7700 SATA PHY driver Yulin Lu
2025-08-20 16:07 ` Vinod Koul
2025-08-21 8:41 ` kernel test robot
2025-08-20 9:27 ` [PATCH v2 2/3] dt-bindings: phy: eswin: Document for EIC7700 SoC SATA PHY Yulin Lu
2025-08-21 7:55 ` Krzysztof Kozlowski
2025-08-26 3:23 ` luyulin
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=692e11ca.843.198f0337528.Coremail.luyulin@eswincomputing.com \
--to=luyulin@eswincomputing.com \
--cc=cassel@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dlemoal@kernel.org \
--cc=fenglin@eswincomputing.com \
--cc=huangyifeng@eswincomputing.com \
--cc=kishon@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lianghujun@eswincomputing.com \
--cc=linmin@eswincomputing.com \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-phy@lists.infradead.org \
--cc=ningyu@eswincomputing.com \
--cc=robh@kernel.org \
--cc=vkoul@kernel.org \
--cc=zhengyu@eswincomputing.com \
/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).