* [PATCH v2 2/3] dt-bindings: phy: eswin: Document for EIC7700 SoC SATA PHY
[not found] <20250819134722.220-1-luyulin@eswincomputig.com>
@ 2025-08-19 13:58 ` Yulin Lu
2025-08-20 7:58 ` Krzysztof Kozlowski
0 siblings, 1 reply; 4+ messages in thread
From: Yulin Lu @ 2025-08-19 13:58 UTC (permalink / raw)
To: dlemoal, cassel, robh, krzk+dt, conor+dt, linux-ide, devicetree,
linux-kernel, vkoul, kishon, linux-phy
Cc: ningyu, zhengyu, linmin, huangyifeng, fenglin, lianghujun, luyulin
From: luyulin <luyulin@eswincomputing.com>
Add document for the SATA phy on the EIC7700 SoC platform,
describing its usage.
Signed-off-by: luyulin <luyulin@eswincomputing.com>
---
.../bindings/phy/eswin,eic7700-sata-phy.yaml | 36 +++++++++++++++++++
1 file changed, 36 insertions(+)
create mode 100644 Documentation/devicetree/bindings/phy/eswin,eic7700-sata-phy.yaml
diff --git a/Documentation/devicetree/bindings/phy/eswin,eic7700-sata-phy.yaml b/Documentation/devicetree/bindings/phy/eswin,eic7700-sata-phy.yaml
new file mode 100644
index 000000000000..d914cb4402d8
--- /dev/null
+++ b/Documentation/devicetree/bindings/phy/eswin,eic7700-sata-phy.yaml
@@ -0,0 +1,36 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/phy/eswin,eic7700-sata-phy.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Eswin EIC7700 SoC SATA PHY
+
+maintainers:
+ - Yulin Lu <luyulin@eswincomputing.com>
+ - Huan He <hehuan1@eswincomputing.com>
+
+properties:
+ compatible:
+ const: eswin,eic7700-sata-phy
+
+ "#phy-cells":
+ const: 0
+
+ reg:
+ maxItems: 1
+
+required:
+ - compatible
+ - "#phy-cells"
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ sata-phy@50440300 {
+ compatible = "eswin,eic7700-sata-phy";
+ reg = <0x50440300 0x40>;
+ #phy-cells = <0>;
+ };
--
2.25.1
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH v2 2/3] dt-bindings: phy: eswin: Document for EIC7700 SoC SATA PHY
2025-08-19 13:58 ` [PATCH v2 2/3] dt-bindings: phy: eswin: Document for EIC7700 SoC SATA PHY Yulin Lu
@ 2025-08-20 7:58 ` Krzysztof Kozlowski
0 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2025-08-20 7:58 UTC (permalink / raw)
To: Yulin Lu
Cc: dlemoal, cassel, robh, krzk+dt, conor+dt, linux-ide, devicetree,
linux-kernel, vkoul, kishon, linux-phy, ningyu, zhengyu, linmin,
huangyifeng, fenglin, lianghujun
On Tue, Aug 19, 2025 at 09:58:33PM +0800, Yulin Lu wrote:
> From: luyulin <luyulin@eswincomputing.com>
>
> Add document for the SATA phy on the EIC7700 SoC platform,
> describing its usage.
>
> Signed-off-by: luyulin <luyulin@eswincomputing.com>
Don't use login as full name.
All other patches are missing, changelog missing, cover letter missing.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2 0/3] ESWIN EIC7700 sata phy driver and yaml,
@ 2025-08-19 13:47 Yulin Lu
2025-08-20 9:27 ` [PATCH v2 2/3] dt-bindings: phy: eswin: Document for EIC7700 SoC SATA PHY Yulin Lu
0 siblings, 1 reply; 4+ messages in thread
From: Yulin Lu @ 2025-08-19 13:47 UTC (permalink / raw)
To: dlemoal, cassel, robh, krzk+dt, conor+dt, linux-ide, devicetree,
linux-kernel, vkoul, kishon, linux-phy
Cc: ningyu, zhengyu, linmin, huangyifeng, fenglin, lianghujun, luyulin
From: luyulin <luyulin@eswincomputing.com>
Implements support for the Eswin EIC7700 SoC sata phy.
Implements the calling sequence to interface with dwc-ahci,
ensuring correct hardware execution order.
Integration with the Linux phy subsystem for consistency and
scalability.
Add documentation for ahci and sata phy on the ESWIN EIC7700
SoC platform.
Supported chips:
Eswin EIC7700 SoC.
Test:
Tested this patch on the Sifive HiFive Premier P550 (which uses
the EIC7700 SoC). Based on this driver, the SATA device read/write
operations are functioning normally, supporting SATA 1.5 Gb/s,
3.0 Gb/s, and 6.0 Gb/s speeds, so this verifies that this sata
driver patch is working properly.
This series depends on the vendor prefix patch [1] and config option patch [2].
[1] https://lore.kernel.org/all/20250616112316.3833343-4-pinkesh.vaghela@einfochips.com/
[2] https://lore.kernel.org/all/20250616112316.3833343-3-pinkesh.vaghela@einfochips.com/
Updates:
Changes since V1:
- Delete the original controller driver and use ahci_dwc.c instead.
- Add eswin,eic7700-ahci.yaml
- Correct the descriptions of reset, interrupt and other
hardware resources for the sata controller on EIC7700 SoC.
- The clocks for both sata controller and sata PHY are controlled
via a register bit in the HSP bus and are not registered in the
clock tree. Clock are managed within the PHY driver, therefore
it is not described in this document.
- Add $ref: snps,dwc-ahci-common.yaml#.
- Add eswin,eic7700-sata-phy.yaml
- Add this file to include the description of the PHY on EIC7700 SoC.
- Add an eswin directory under the PHY driver path, and include the SATA
PHY driver code for EIC7700 SoC.
- Link to v1: https://lore.kernel.org/all/20250515085114.1692-1-hehuan1@eswincomputing.com/
luyulin (3):
dt-bindings: ata: eswin: Document for EIC7700 SoC ahci
dt-bindings: phy: eswin: Document for EIC7700 SoC SATA
phy: eswin: Create eswin directory and add EIC7700 SATA PHY driver
.../bindings/ata/eswin,eic7700-ahci.yaml | 92 ++++++++
.../bindings/phy/eswin,eic7700-sata-phy.yaml | 36 ++++
drivers/phy/Kconfig | 1 +
drivers/phy/Makefile | 1 +
drivers/phy/eswin/Kconfig | 14 ++
drivers/phy/eswin/Makefile | 2 +
drivers/phy/eswin/phy-eic7700-sata.c | 197 ++++++++++++++++++
7 files changed, 343 insertions(+)
create mode 100644 Documentation/devicetree/bindings/ata/eswin,eic7700-ahci.yaml
create mode 100644 Documentation/devicetree/bindings/phy/eswin,eic7700-sata-phy.yaml
create mode 100644 drivers/phy/eswin/Kconfig
create mode 100644 drivers/phy/eswin/Makefile
create mode 100644 drivers/phy/eswin/phy-eic7700-sata.c
--
2.25.1
^ permalink raw reply [flat|nested] 4+ messages in thread* [PATCH v2 2/3] dt-bindings: phy: eswin: Document for EIC7700 SoC SATA PHY
2025-08-19 13:47 [PATCH v2 0/3] ESWIN EIC7700 sata phy driver and yaml, Yulin Lu
@ 2025-08-20 9:27 ` Yulin Lu
2025-08-21 7:55 ` Krzysztof Kozlowski
0 siblings, 1 reply; 4+ messages in thread
From: Yulin Lu @ 2025-08-20 9:27 UTC (permalink / raw)
To: dlemoal, cassel, robh, krzk+dt, conor+dt, linux-ide, devicetree,
linux-kernel, vkoul, kishon, linux-phy
Cc: ningyu, zhengyu, linmin, huangyifeng, fenglin, lianghujun, Yulin Lu
Add document for the SATA phy on the EIC7700 SoC platform,
describing its usage.
Signed-off-by: Yulin Lu <luyulin@eswincomputing.com>
---
.../bindings/phy/eswin,eic7700-sata-phy.yaml | 36 +++++++++++++++++++
1 file changed, 36 insertions(+)
create mode 100644 Documentation/devicetree/bindings/phy/eswin,eic7700-sata-phy.yaml
diff --git a/Documentation/devicetree/bindings/phy/eswin,eic7700-sata-phy.yaml b/Documentation/devicetree/bindings/phy/eswin,eic7700-sata-phy.yaml
new file mode 100644
index 000000000000..d914cb4402d8
--- /dev/null
+++ b/Documentation/devicetree/bindings/phy/eswin,eic7700-sata-phy.yaml
@@ -0,0 +1,36 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/phy/eswin,eic7700-sata-phy.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Eswin EIC7700 SoC SATA PHY
+
+maintainers:
+ - Yulin Lu <luyulin@eswincomputing.com>
+ - Huan He <hehuan1@eswincomputing.com>
+
+properties:
+ compatible:
+ const: eswin,eic7700-sata-phy
+
+ "#phy-cells":
+ const: 0
+
+ reg:
+ maxItems: 1
+
+required:
+ - compatible
+ - "#phy-cells"
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ sata-phy@50440300 {
+ compatible = "eswin,eic7700-sata-phy";
+ reg = <0x50440300 0x40>;
+ #phy-cells = <0>;
+ };
--
2.25.1
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH v2 2/3] dt-bindings: phy: eswin: Document for EIC7700 SoC SATA PHY
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
0 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2025-08-21 7:55 UTC (permalink / raw)
To: Yulin Lu
Cc: dlemoal, cassel, robh, krzk+dt, conor+dt, linux-ide, devicetree,
linux-kernel, vkoul, kishon, linux-phy, ningyu, zhengyu, linmin,
huangyifeng, fenglin, lianghujun
On Wed, Aug 20, 2025 at 05:27:58PM +0800, Yulin Lu wrote:
> Add document for the SATA phy on the EIC7700 SoC platform,
> describing its usage.
>
> Signed-off-by: Yulin Lu <luyulin@eswincomputing.com>
You already sent this patch separately (!!!) and received review.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-08-21 7:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20250819134722.220-1-luyulin@eswincomputig.com>
2025-08-19 13:58 ` [PATCH v2 2/3] dt-bindings: phy: eswin: Document for EIC7700 SoC SATA PHY Yulin Lu
2025-08-20 7:58 ` Krzysztof Kozlowski
2025-08-19 13:47 [PATCH v2 0/3] ESWIN EIC7700 sata phy driver and yaml, Yulin Lu
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
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®