From: hehuan1@eswincomputing.com
To: ulf.hansson@linaro.org, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org, jszhang@kernel.org, adrian.hunter@intel.com,
p.zabel@pengutronix.de, linux-mmc@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: ningyu@eswincomputing.com, linmin@eswincomputing.com,
pinkesh.vaghela@einfochips.com, xuxiang@eswincomputing.com,
luyulin@eswincomputing.com, dongxuyang@eswincomputing.com,
zhangsenchuan@eswincomputing.com,
weishangjuan@eswincomputing.com, lizhi2@eswincomputing.com,
caohang@eswincomputing.com, hehuan1@eswincomputing.com
Subject: [PATCH v2 1/2] dt-bindings: mmc: sdhci-of-dwcmshc: Add Eswin EIC7700
Date: Fri, 12 Sep 2025 17:37:13 +0800 [thread overview]
Message-ID: <20250912093713.142-1-hehuan1@eswincomputing.com> (raw)
In-Reply-To: <20250912093451.125-1-hehuan1@eswincomputing.com>
From: Huan He <hehuan1@eswincomputing.com>
EIC7700 use Synopsys dwcmshc IP for SD/eMMC controllers.
Add Eswin EIC7700 support in sdhci-of-dwcmshc.yaml.
Signed-off-by: Huan He <hehuan1@eswincomputing.com>
---
.../bindings/mmc/snps,dwcmshc-sdhci.yaml | 81 +++++++++++++++++--
1 file changed, 75 insertions(+), 6 deletions(-)
diff --git a/Documentation/devicetree/bindings/mmc/snps,dwcmshc-sdhci.yaml b/Documentation/devicetree/bindings/mmc/snps,dwcmshc-sdhci.yaml
index f882219a0a26..e0f34bc28e0c 100644
--- a/Documentation/devicetree/bindings/mmc/snps,dwcmshc-sdhci.yaml
+++ b/Documentation/devicetree/bindings/mmc/snps,dwcmshc-sdhci.yaml
@@ -30,6 +30,7 @@ properties:
- sophgo,sg2002-dwcmshc
- sophgo,sg2042-dwcmshc
- thead,th1520-dwcmshc
+ - eswin,eic7700-dwcmshc
reg:
maxItems: 1
@@ -52,17 +53,51 @@ properties:
maxItems: 5
reset-names:
- items:
- - const: core
- - const: bus
- - const: axi
- - const: block
- - const: timer
+ maxItems: 5
rockchip,txclk-tapnum:
description: Specify the number of delay for tx sampling.
$ref: /schemas/types.yaml#/definitions/uint8
+ clock-output-names:
+ maxItems: 1
+ description:
+ The name of the clock output representing the card clock,
+ consumed by the PHY.
+
+ '#clock-cells':
+ enum: [0]
+ description:
+ Specifies how many cells are used when referencing the
+ exported clock from another node. This property indicates
+ that the clock output has no extra parameters and represents
+ the card clock.
+
+ eswin,hsp-sp-csr:
+ $ref: /schemas/types.yaml#/definitions/phandle-array
+ items:
+ - description: Phandle to HSP(High-Speed Peripheral) device
+ - description: Offset of the stability status register for
+ internal clock
+ - description: Offset of the stability register for host
+ regulator voltage.
+ description: |
+ High-Speed Peripheral device needed to configure internal
+ clocks, and the power.
+
+ eswin,syscrg-csr:
+ $ref: /schemas/types.yaml#/definitions/phandle-array
+ items:
+ - description: Phandle to system CRG(System Clock and Reset
+ Generator) device
+ - description: Offset of core clock control register
+ description: |
+ System Clock and Reset Generator device needed to configure
+ core clock.
+
+ drive-impedance-ohm:
+ description: Specifies the drive impedance in Ohm.
+ enum: [33, 40, 50, 66, 100]
+
required:
- compatible
- reg
@@ -110,6 +145,40 @@ allOf:
- const: block
- const: timer
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: eswin,eic7700-dwcmshc
+ then:
+ properties:
+ resets:
+ minItems: 4
+ maxItems: 4
+ reset-names:
+ items:
+ - const: arstn
+ - const: phy_rst
+ - const: prstn
+ - const: txrx_rst
+ required:
+ - clock-output-names
+ - '#clock-cells'
+ - eswin,hsp-sp-csr
+ - eswin,syscrg-csr
+ - drive-impedance-ohm
+ else:
+ properties:
+ resets:
+ maxItems: 5
+ reset-names:
+ items:
+ - const: core
+ - const: bus
+ - const: axi
+ - const: block
+ - const: timer
+
- if:
properties:
compatible:
--
2.25.1
next prev parent reply other threads:[~2025-09-12 9:37 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-12 9:34 [PATCH v2 0/2] Add support for Eswin EIC7700 SD/eMMC controller hehuan1
2025-09-12 9:37 ` hehuan1 [this message]
2025-09-12 19:10 ` [PATCH v2 1/2] dt-bindings: mmc: sdhci-of-dwcmshc: Add Eswin EIC7700 Conor Dooley
2025-09-23 5:45 ` 何欢
2025-09-24 19:43 ` Conor Dooley
2025-09-25 9:37 ` 何欢
2025-09-25 19:32 ` Conor Dooley
2025-09-12 9:38 ` [PATCH v2 2/2] mmc: sdhci-of-dwcmshc: Add support for " hehuan1
2025-09-18 17:36 ` Adrian Hunter
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=20250912093713.142-1-hehuan1@eswincomputing.com \
--to=hehuan1@eswincomputing.com \
--cc=adrian.hunter@intel.com \
--cc=caohang@eswincomputing.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dongxuyang@eswincomputing.com \
--cc=jszhang@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linmin@eswincomputing.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=lizhi2@eswincomputing.com \
--cc=luyulin@eswincomputing.com \
--cc=ningyu@eswincomputing.com \
--cc=p.zabel@pengutronix.de \
--cc=pinkesh.vaghela@einfochips.com \
--cc=robh@kernel.org \
--cc=ulf.hansson@linaro.org \
--cc=weishangjuan@eswincomputing.com \
--cc=xuxiang@eswincomputing.com \
--cc=zhangsenchuan@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.