From: Alex Soo <yuklin.soo@starfivetech.com>
To: Ulf Hansson <ulf.hansson@linaro.org>,
Adrian Hunter <adrian.hunter@intel.com>,
Yangtao Li <frank.li@vivo.com>,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
Linus Walleij <linus.walleij@linaro.org>,
Rob Herring <robh+dt@kernel.org>,
"Krzysztof Kozlowski" <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
Emil Renner Berthing <kernel@esmil.dk>
Cc: <linux-mmc@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<devicetree@vger.kernel.org>, <linux-riscv@lists.infradead.org>,
"Paul Walmsley" <paul.walmsley@sifive.com>,
Palmer Dabbelt <palmer@dabbelt.com>,
Albert Ou <aou@eecs.berkeley.edu>,
Alex Soo <yuklin.soo@starfivetech.com>
Subject: [PATCH 1/3] dt-bindings: mmc: sdhci-cadence6: add DT bindings documentation
Date: Thu, 28 Dec 2023 14:53:20 +0800 [thread overview]
Message-ID: <20231228065322.1176351-2-yuklin.soo@starfivetech.com> (raw)
In-Reply-To: <20231228065322.1176351-1-yuklin.soo@starfivetech.com>
Add DT bindings documentation for Cadence SD/eMMC host controller
(Version 6) driver.
Signed-off-by: Alex Soo <yuklin.soo@starfivetech.com>
---
.../devicetree/bindings/mmc/cdns,sd6hci.yaml | 65 +++++++++++++++++++
1 file changed, 65 insertions(+)
create mode 100644 Documentation/devicetree/bindings/mmc/cdns,sd6hci.yaml
diff --git a/Documentation/devicetree/bindings/mmc/cdns,sd6hci.yaml b/Documentation/devicetree/bindings/mmc/cdns,sd6hci.yaml
new file mode 100644
index 000000000000..97e28d720c7b
--- /dev/null
+++ b/Documentation/devicetree/bindings/mmc/cdns,sd6hci.yaml
@@ -0,0 +1,65 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/mmc/cdns,sd6hci.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Cadence SD/SDIO/eMMC Host Controller Version 6.0 (SD6HC)
+
+maintainers:
+ - Alex Soo <yuklin.soo@starfivetech.com>
+
+allOf:
+ - $ref: mmc-controller.yaml
+
+properties:
+ compatible:
+ items:
+ - enum:
+ - starfive,jh8100-sd6hc
+ - const: cdns,sd6hc
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ maxItems: 1
+
+ clock-names:
+ items:
+ - const: main
+ - const: sdmclk
+
+ clocks:
+ items:
+ - description: main clock gate which controls the gating of all clock signals to SDHCI
+ controller
+ - description: the SD master clock signal
+
+ resets:
+ items:
+ - description: reset phandle which controls the assert/deassert of all reset lines to
+ SDHCI controller
+
+required:
+ - compatible
+ - reg
+ - interrupts
+ - clock-names
+ - clocks
+ - resets
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ emmc: mmc@1f110000 {
+ compatible = "starfive,jh8100-sd6hc", "cdns,sd6hc";
+ reg = <0x1f110000 0x10000>;
+ interrupts = <174>;
+ clock-names = "main", "sdmclk";
+ clocks = <&aoncrg 62>,
+ <&aoncrg 43>;
+ resets = <&aoncrg 9>;
+ bus-width = <8>;
+ };
--
2.25.1
next prev parent reply other threads:[~2023-12-28 6:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-28 6:53 [PATCH 0/3] Add driver for Cadence SD6HC SD/eMMC controller Alex Soo
2023-12-28 6:53 ` Alex Soo [this message]
2024-01-04 9:28 ` [PATCH 1/3] dt-bindings: mmc: sdhci-cadence6: add DT bindings documentation Krzysztof Kozlowski
2023-12-28 6:53 ` [PATCH 2/3] mmc: sdhci-cadence6: add Cadence SD6HC support Alex Soo
2024-01-04 9:29 ` Krzysztof Kozlowski
2023-12-28 6:53 ` [PATCH 3/3] riscv: dts: starfive: jh8100: Add SD/eMMC device tree nodes Alex Soo
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=20231228065322.1176351-2-yuklin.soo@starfivetech.com \
--to=yuklin.soo@starfivetech.com \
--cc=adrian.hunter@intel.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=aou@eecs.berkeley.edu \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=frank.li@vivo.com \
--cc=kernel@esmil.dk \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linus.walleij@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=palmer@dabbelt.com \
--cc=paul.walmsley@sifive.com \
--cc=robh+dt@kernel.org \
--cc=ulf.hansson@linaro.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;
as well as URLs for NNTP newsgroup(s).