linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/6] mmc: sdhci-fujitsu: Add some features and support for F_SDH30_E51
@ 2022-11-11  8:10 Kunihiko Hayashi
  2022-11-11  8:10 ` [PATCH v2 1/6] dt-bindings: mmc: Convert sdhci-fujitsu to JSON schema Kunihiko Hayashi
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Kunihiko Hayashi @ 2022-11-11  8:10 UTC (permalink / raw)
  To: Ulf Hansson, Adrian Hunter, Rob Herring, Krzysztof Kozlowski
  Cc: Jassi Brar, Ard Biesheuvel, linux-mmc, devicetree, linux-kernel,
	Kunihiko Hayashi

This series adds some additional features such as reset control,
non-removable media, and quirks for broken timeout clock.

And this adds support for F_SDH30_E51 IP that is a higher version
of F_SDH30 and supports eMMC 5.1.

The above features are not specific to this IP directly, but are
affected by IP configuration and external wiring.

Changes since v1:
- Add conversion and additional compatible patch for DT bindings
- Add description for F_SDH30_E51 to the commit message
- Append vendor name to MODULE_AUTHOR

Kunihiko Hayashi (6):
  dt-bindings: mmc: Convert sdhci-fujitsu to JSON schema
  mmc: f-sdh30: Add reset control support
  dt-bindings: sdhci-fujitsu: Add compatible string for F_SDH30_E51
  mmc: f-sdh30: Add compatible string for Socionext F_SDH30_E51
  mmc: f-sdh30: Add support for non-removable media
  mmc: f-sdh30: Add quirks for broken timeout clock capability

 .../bindings/mmc/fujitsu,sdhci-fujitsu.yaml   | 57 +++++++++++++++++++
 .../devicetree/bindings/mmc/sdhci-fujitsu.txt | 32 -----------
 drivers/mmc/host/sdhci_f_sdh30.c              | 31 +++++++++-
 drivers/mmc/host/sdhci_f_sdh30.h              |  3 +
 4 files changed, 89 insertions(+), 34 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/mmc/fujitsu,sdhci-fujitsu.yaml
 delete mode 100644 Documentation/devicetree/bindings/mmc/sdhci-fujitsu.txt

-- 
2.25.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [PATCH v2 1/6] dt-bindings: mmc: Convert sdhci-fujitsu to JSON schema
  2022-11-11  8:10 [PATCH v2 0/6] mmc: sdhci-fujitsu: Add some features and support for F_SDH30_E51 Kunihiko Hayashi
@ 2022-11-11  8:10 ` Kunihiko Hayashi
  2022-11-14  8:59   ` Krzysztof Kozlowski
  2022-11-11  8:10 ` [PATCH v2 2/6] mmc: f-sdh30: Add reset control support Kunihiko Hayashi
                   ` (5 subsequent siblings)
  6 siblings, 1 reply; 10+ messages in thread
From: Kunihiko Hayashi @ 2022-11-11  8:10 UTC (permalink / raw)
  To: Ulf Hansson, Adrian Hunter, Rob Herring, Krzysztof Kozlowski
  Cc: Jassi Brar, Ard Biesheuvel, linux-mmc, devicetree, linux-kernel,
	Kunihiko Hayashi

Convert the Fujitsu SDHCI controller IP binding to DT schema format,
and add resets property as optional to support reset control.

Cc: devicetree@vger.kernel.org
Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
---
 .../bindings/mmc/fujitsu,sdhci-fujitsu.yaml   | 55 +++++++++++++++++++
 .../devicetree/bindings/mmc/sdhci-fujitsu.txt | 32 -----------
 2 files changed, 55 insertions(+), 32 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/mmc/fujitsu,sdhci-fujitsu.yaml
 delete mode 100644 Documentation/devicetree/bindings/mmc/sdhci-fujitsu.txt

diff --git a/Documentation/devicetree/bindings/mmc/fujitsu,sdhci-fujitsu.yaml b/Documentation/devicetree/bindings/mmc/fujitsu,sdhci-fujitsu.yaml
new file mode 100644
index 000000000000..85bfaadb0479
--- /dev/null
+++ b/Documentation/devicetree/bindings/mmc/fujitsu,sdhci-fujitsu.yaml
@@ -0,0 +1,55 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/mmc/fujitsu,sdhci-fujitsu.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Fujitsu SDHCI controller (F_SDH30)
+
+maintainers:
+  - Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
+
+allOf:
+  - $ref: mmc-controller.yaml#
+
+properties:
+  compatible:
+    const: fujitsu,mb86s70-sdhci-3.0
+
+  reg:
+    maxItems: 1
+
+  clocks:
+    maxItems: 2
+
+  clock-names:
+    items:
+      - const: iface
+      - const: core
+
+  resets:
+    maxItems: 1
+
+  fujitsu,cmd-dat-delay-select:
+    type: boolean
+    description: |
+      Indicating that this host requires the CMD_DAT_DELAY control to be enabled
+
+unevaluatedProperties: false
+
+required:
+  - compatible
+  - reg
+  - clocks
+  - clock-names
+
+examples:
+  - |
+    sdhci1: mmc@36600000 {
+        compatible = "fujitsu,mb86s70-sdhci-3.0";
+        reg = <0x36600000 0x1000>;
+        bus-width = <4>;
+        vqmmc-supply = <&vccq_sdhci1>;
+        clocks = <&clock 2 2 0>, <&clock 2 3 0>;
+        clock-names = "iface", "core";
+    };
diff --git a/Documentation/devicetree/bindings/mmc/sdhci-fujitsu.txt b/Documentation/devicetree/bindings/mmc/sdhci-fujitsu.txt
deleted file mode 100644
index 3ee9263adf73..000000000000
--- a/Documentation/devicetree/bindings/mmc/sdhci-fujitsu.txt
+++ /dev/null
@@ -1,32 +0,0 @@
-* Fujitsu SDHCI controller
-
-This file documents differences between the core properties in mmc.txt
-and the properties used by the sdhci_f_sdh30 driver.
-
-Required properties:
-- compatible: "fujitsu,mb86s70-sdhci-3.0"
-- clocks: Must contain an entry for each entry in clock-names. It is a
-  list of phandles and clock-specifier pairs.
-  See ../clocks/clock-bindings.txt for details.
-- clock-names: Should contain the following two entries:
-	"iface" - clock used for sdhci interface
-	"core"  - core clock for sdhci controller
-
-Optional properties:
-- vqmmc-supply: phandle to the regulator device tree node, mentioned
-  as the VCCQ/VDD_IO supply in the eMMC/SD specs.
-- fujitsu,cmd-dat-delay-select: boolean property indicating that this host
-  requires the CMD_DAT_DELAY control to be enabled.
-
-Example:
-
-	sdhci1: mmc@36600000 {
-		compatible = "fujitsu,mb86s70-sdhci-3.0";
-		reg = <0 0x36600000 0x1000>;
-		interrupts = <0 172 0x4>,
-			     <0 173 0x4>;
-		bus-width = <4>;
-		vqmmc-supply = <&vccq_sdhci1>;
-		clocks = <&clock 2 2 0>, <&clock 2 3 0>;
-		clock-names = "iface", "core";
-	};
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH v2 2/6] mmc: f-sdh30: Add reset control support
  2022-11-11  8:10 [PATCH v2 0/6] mmc: sdhci-fujitsu: Add some features and support for F_SDH30_E51 Kunihiko Hayashi
  2022-11-11  8:10 ` [PATCH v2 1/6] dt-bindings: mmc: Convert sdhci-fujitsu to JSON schema Kunihiko Hayashi
@ 2022-11-11  8:10 ` Kunihiko Hayashi
  2022-11-11  8:10 ` [PATCH v2 3/6] dt-bindings: sdhci-fujitsu: Add compatible string for F_SDH30_E51 Kunihiko Hayashi
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 10+ messages in thread
From: Kunihiko Hayashi @ 2022-11-11  8:10 UTC (permalink / raw)
  To: Ulf Hansson, Adrian Hunter, Rob Herring, Krzysztof Kozlowski
  Cc: Jassi Brar, Ard Biesheuvel, linux-mmc, devicetree, linux-kernel,
	Kunihiko Hayashi

Add reset control support for F_SDH30 controller. This is optional.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Acked-by: Jassi Brar <jaswinder.singh@linaro.org>
---
 drivers/mmc/host/sdhci_f_sdh30.c | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/drivers/mmc/host/sdhci_f_sdh30.c b/drivers/mmc/host/sdhci_f_sdh30.c
index 3f5977979cf2..7f4553b28180 100644
--- a/drivers/mmc/host/sdhci_f_sdh30.c
+++ b/drivers/mmc/host/sdhci_f_sdh30.c
@@ -14,6 +14,7 @@
 #include <linux/of.h>
 #include <linux/property.h>
 #include <linux/clk.h>
+#include <linux/reset.h>
 
 #include "sdhci-pltfm.h"
 #include "sdhci_f_sdh30.h"
@@ -21,6 +22,7 @@
 struct f_sdhost_priv {
 	struct clk *clk_iface;
 	struct clk *clk;
+	struct reset_control *rst;
 	u32 vendor_hs200;
 	struct device *dev;
 	bool enable_cmd_dat_delay;
@@ -150,6 +152,16 @@ static int sdhci_f_sdh30_probe(struct platform_device *pdev)
 		ret = clk_prepare_enable(priv->clk);
 		if (ret)
 			goto err_clk;
+
+		priv->rst = devm_reset_control_get_optional_shared(dev, NULL);
+		if (IS_ERR(priv->rst)) {
+			ret = PTR_ERR(priv->rst);
+			goto err_rst;
+		}
+
+		ret = reset_control_deassert(priv->rst);
+		if (ret)
+			goto err_rst;
 	}
 
 	/* init vendor specific regs */
@@ -175,6 +187,8 @@ static int sdhci_f_sdh30_probe(struct platform_device *pdev)
 	return 0;
 
 err_add_host:
+	reset_control_assert(priv->rst);
+err_rst:
 	clk_disable_unprepare(priv->clk);
 err_clk:
 	clk_disable_unprepare(priv->clk_iface);
@@ -191,8 +205,9 @@ static int sdhci_f_sdh30_remove(struct platform_device *pdev)
 	sdhci_remove_host(host, readl(host->ioaddr + SDHCI_INT_STATUS) ==
 			  0xffffffff);
 
-	clk_disable_unprepare(priv->clk_iface);
+	reset_control_assert(priv->rst);
 	clk_disable_unprepare(priv->clk);
+	clk_disable_unprepare(priv->clk_iface);
 
 	sdhci_free_host(host);
 	platform_set_drvdata(pdev, NULL);
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH v2 3/6] dt-bindings: sdhci-fujitsu: Add compatible string for F_SDH30_E51
  2022-11-11  8:10 [PATCH v2 0/6] mmc: sdhci-fujitsu: Add some features and support for F_SDH30_E51 Kunihiko Hayashi
  2022-11-11  8:10 ` [PATCH v2 1/6] dt-bindings: mmc: Convert sdhci-fujitsu to JSON schema Kunihiko Hayashi
  2022-11-11  8:10 ` [PATCH v2 2/6] mmc: f-sdh30: Add reset control support Kunihiko Hayashi
@ 2022-11-11  8:10 ` Kunihiko Hayashi
  2022-11-14  9:00   ` Krzysztof Kozlowski
  2022-11-11  8:10 ` [PATCH v2 4/6] mmc: f-sdh30: Add compatible string for Socionext F_SDH30_E51 Kunihiko Hayashi
                   ` (3 subsequent siblings)
  6 siblings, 1 reply; 10+ messages in thread
From: Kunihiko Hayashi @ 2022-11-11  8:10 UTC (permalink / raw)
  To: Ulf Hansson, Adrian Hunter, Rob Herring, Krzysztof Kozlowski
  Cc: Jassi Brar, Ard Biesheuvel, linux-mmc, devicetree, linux-kernel,
	Kunihiko Hayashi

Add a compatible string for F_SDH30_E51 IP to the documentation.
Since this IP is transferred to Socionext, so append it as vendor name.

Cc: devicetree@vger.kernel.org
Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
---
 .../devicetree/bindings/mmc/fujitsu,sdhci-fujitsu.yaml      | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/mmc/fujitsu,sdhci-fujitsu.yaml b/Documentation/devicetree/bindings/mmc/fujitsu,sdhci-fujitsu.yaml
index 85bfaadb0479..73d747e917f3 100644
--- a/Documentation/devicetree/bindings/mmc/fujitsu,sdhci-fujitsu.yaml
+++ b/Documentation/devicetree/bindings/mmc/fujitsu,sdhci-fujitsu.yaml
@@ -4,7 +4,7 @@
 $id: http://devicetree.org/schemas/mmc/fujitsu,sdhci-fujitsu.yaml#
 $schema: http://devicetree.org/meta-schemas/core.yaml#
 
-title: Fujitsu SDHCI controller (F_SDH30)
+title: Fujitsu/Socionext SDHCI controller (F_SDH30)
 
 maintainers:
   - Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
@@ -14,7 +14,9 @@ allOf:
 
 properties:
   compatible:
-    const: fujitsu,mb86s70-sdhci-3.0
+    enum:
+      - fujitsu,mb86s70-sdhci-3.0
+      - socionext,f-sdh30-e51-mmc
 
   reg:
     maxItems: 1
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH v2 4/6] mmc: f-sdh30: Add compatible string for Socionext F_SDH30_E51
  2022-11-11  8:10 [PATCH v2 0/6] mmc: sdhci-fujitsu: Add some features and support for F_SDH30_E51 Kunihiko Hayashi
                   ` (2 preceding siblings ...)
  2022-11-11  8:10 ` [PATCH v2 3/6] dt-bindings: sdhci-fujitsu: Add compatible string for F_SDH30_E51 Kunihiko Hayashi
@ 2022-11-11  8:10 ` Kunihiko Hayashi
  2022-11-11  8:10 ` [PATCH v2 5/6] mmc: f-sdh30: Add support for non-removable media Kunihiko Hayashi
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 10+ messages in thread
From: Kunihiko Hayashi @ 2022-11-11  8:10 UTC (permalink / raw)
  To: Ulf Hansson, Adrian Hunter, Rob Herring, Krzysztof Kozlowski
  Cc: Jassi Brar, Ard Biesheuvel, linux-mmc, devicetree, linux-kernel,
	Kunihiko Hayashi

Add a compatible string for Socionext F_SDH30_E51.
Since this IP is transferred to Socionext, so append it to Copyright
and MODULE_AUTHOR as vendor name.

F_SDH30_E51 is a higher version of F_SDH30 that supports eMMC 5.1,
though, currently there are no new features for this IP in this driver,
just add the compatible string.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
---
 drivers/mmc/host/sdhci_f_sdh30.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/mmc/host/sdhci_f_sdh30.c b/drivers/mmc/host/sdhci_f_sdh30.c
index 7f4553b28180..556f4601643d 100644
--- a/drivers/mmc/host/sdhci_f_sdh30.c
+++ b/drivers/mmc/host/sdhci_f_sdh30.c
@@ -5,6 +5,7 @@
  * Copyright (C) 2013 - 2015 Fujitsu Semiconductor, Ltd
  *              Vincent Yang <vincent.yang@tw.fujitsu.com>
  * Copyright (C) 2015 Linaro Ltd  Andy Green <andy.green@linaro.org>
+ * Copyright (C) 2019 Socionext Inc.
  */
 
 #include <linux/acpi.h>
@@ -218,6 +219,7 @@ static int sdhci_f_sdh30_remove(struct platform_device *pdev)
 #ifdef CONFIG_OF
 static const struct of_device_id f_sdh30_dt_ids[] = {
 	{ .compatible = "fujitsu,mb86s70-sdhci-3.0" },
+	{ .compatible = "socionext,f-sdh30-e51-mmc" },
 	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, f_sdh30_dt_ids);
@@ -247,5 +249,5 @@ module_platform_driver(sdhci_f_sdh30_driver);
 
 MODULE_DESCRIPTION("F_SDH30 SD Card Controller driver");
 MODULE_LICENSE("GPL v2");
-MODULE_AUTHOR("FUJITSU SEMICONDUCTOR LTD.");
+MODULE_AUTHOR("FUJITSU SEMICONDUCTOR LTD., Socionext Inc.");
 MODULE_ALIAS("platform:f_sdh30");
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH v2 5/6] mmc: f-sdh30: Add support for non-removable media
  2022-11-11  8:10 [PATCH v2 0/6] mmc: sdhci-fujitsu: Add some features and support for F_SDH30_E51 Kunihiko Hayashi
                   ` (3 preceding siblings ...)
  2022-11-11  8:10 ` [PATCH v2 4/6] mmc: f-sdh30: Add compatible string for Socionext F_SDH30_E51 Kunihiko Hayashi
@ 2022-11-11  8:10 ` Kunihiko Hayashi
  2022-11-11  8:10 ` [PATCH v2 6/6] mmc: f-sdh30: Add quirks for broken timeout clock capability Kunihiko Hayashi
  2022-11-16 16:17 ` [PATCH v2 0/6] mmc: sdhci-fujitsu: Add some features and support for F_SDH30_E51 Ulf Hansson
  6 siblings, 0 replies; 10+ messages in thread
From: Kunihiko Hayashi @ 2022-11-11  8:10 UTC (permalink / raw)
  To: Ulf Hansson, Adrian Hunter, Rob Herring, Krzysztof Kozlowski
  Cc: Jassi Brar, Ard Biesheuvel, linux-mmc, devicetree, linux-kernel,
	Kunihiko Hayashi

To use F_SDH30 for non-removable meda like eMMC,
need to enable FORCE_CARD_INSERT bit to skip the delay for detection.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Acked-by: Jassi Brar <jaswinder.singh@linaro.org>
---
 drivers/mmc/host/sdhci_f_sdh30.c | 7 +++++++
 drivers/mmc/host/sdhci_f_sdh30.h | 3 +++
 2 files changed, 10 insertions(+)

diff --git a/drivers/mmc/host/sdhci_f_sdh30.c b/drivers/mmc/host/sdhci_f_sdh30.c
index 556f4601643d..afbe17312cb6 100644
--- a/drivers/mmc/host/sdhci_f_sdh30.c
+++ b/drivers/mmc/host/sdhci_f_sdh30.c
@@ -77,6 +77,13 @@ static void sdhci_f_sdh30_reset(struct sdhci_host *host, u8 mask)
 		ctl |= F_SDH30_CMD_DAT_DELAY;
 		sdhci_writel(host, ctl, F_SDH30_ESD_CONTROL);
 	}
+
+	if ((host->mmc->caps & MMC_CAP_NONREMOVABLE) &&
+	    !(sdhci_readl(host, SDHCI_PRESENT_STATE) & SDHCI_CARD_PRESENT)) {
+		ctl = sdhci_readl(host, F_SDH30_TEST);
+		ctl |= F_SDH30_FORCE_CARD_INSERT;
+		sdhci_writel(host, ctl, F_SDH30_TEST);
+	}
 }
 
 static const struct sdhci_ops sdhci_f_sdh30_ops = {
diff --git a/drivers/mmc/host/sdhci_f_sdh30.h b/drivers/mmc/host/sdhci_f_sdh30.h
index fc1ad28f7ca9..7c3c66291d42 100644
--- a/drivers/mmc/host/sdhci_f_sdh30.h
+++ b/drivers/mmc/host/sdhci_f_sdh30.h
@@ -29,4 +29,7 @@
 #define  F_SDH30_CMD_DAT_DELAY	BIT(9)
 #define	 F_SDH30_EMMC_HS200		BIT(24)
 
+#define F_SDH30_TEST		0x158
+#define F_SDH30_FORCE_CARD_INSERT	BIT(6)
+
 #define F_SDH30_MIN_CLOCK		400000
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH v2 6/6] mmc: f-sdh30: Add quirks for broken timeout clock capability
  2022-11-11  8:10 [PATCH v2 0/6] mmc: sdhci-fujitsu: Add some features and support for F_SDH30_E51 Kunihiko Hayashi
                   ` (4 preceding siblings ...)
  2022-11-11  8:10 ` [PATCH v2 5/6] mmc: f-sdh30: Add support for non-removable media Kunihiko Hayashi
@ 2022-11-11  8:10 ` Kunihiko Hayashi
  2022-11-16 16:17 ` [PATCH v2 0/6] mmc: sdhci-fujitsu: Add some features and support for F_SDH30_E51 Ulf Hansson
  6 siblings, 0 replies; 10+ messages in thread
From: Kunihiko Hayashi @ 2022-11-11  8:10 UTC (permalink / raw)
  To: Ulf Hansson, Adrian Hunter, Rob Herring, Krzysztof Kozlowski
  Cc: Jassi Brar, Ard Biesheuvel, linux-mmc, devicetree, linux-kernel,
	Kunihiko Hayashi

There is a case where the timeout clock is not supplied to the capability.
Add a quirk for that.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Acked-by: Jassi Brar <jaswinder.singh@linaro.org>
---
 drivers/mmc/host/sdhci_f_sdh30.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/mmc/host/sdhci_f_sdh30.c b/drivers/mmc/host/sdhci_f_sdh30.c
index afbe17312cb6..a202a69a4b08 100644
--- a/drivers/mmc/host/sdhci_f_sdh30.c
+++ b/drivers/mmc/host/sdhci_f_sdh30.c
@@ -188,6 +188,9 @@ static int sdhci_f_sdh30_probe(struct platform_device *pdev)
 	if (reg & SDHCI_CAN_DO_8BIT)
 		priv->vendor_hs200 = F_SDH30_EMMC_HS200;
 
+	if (!(reg & SDHCI_TIMEOUT_CLK_MASK))
+		host->quirks |= SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK;
+
 	ret = sdhci_add_host(host);
 	if (ret)
 		goto err_add_host;
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: [PATCH v2 1/6] dt-bindings: mmc: Convert sdhci-fujitsu to JSON schema
  2022-11-11  8:10 ` [PATCH v2 1/6] dt-bindings: mmc: Convert sdhci-fujitsu to JSON schema Kunihiko Hayashi
@ 2022-11-14  8:59   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 10+ messages in thread
From: Krzysztof Kozlowski @ 2022-11-14  8:59 UTC (permalink / raw)
  To: Kunihiko Hayashi, Ulf Hansson, Adrian Hunter, Rob Herring,
	Krzysztof Kozlowski
  Cc: Jassi Brar, Ard Biesheuvel, linux-mmc, devicetree, linux-kernel

On 11/11/2022 09:10, Kunihiko Hayashi wrote:
> Convert the Fujitsu SDHCI controller IP binding to DT schema format,
> and add resets property as optional to support reset control.
> 
> Cc: devicetree@vger.kernel.org
> Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
> ---


Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>


Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH v2 3/6] dt-bindings: sdhci-fujitsu: Add compatible string for F_SDH30_E51
  2022-11-11  8:10 ` [PATCH v2 3/6] dt-bindings: sdhci-fujitsu: Add compatible string for F_SDH30_E51 Kunihiko Hayashi
@ 2022-11-14  9:00   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 10+ messages in thread
From: Krzysztof Kozlowski @ 2022-11-14  9:00 UTC (permalink / raw)
  To: Kunihiko Hayashi, Ulf Hansson, Adrian Hunter, Rob Herring,
	Krzysztof Kozlowski
  Cc: Jassi Brar, Ard Biesheuvel, linux-mmc, devicetree, linux-kernel

On 11/11/2022 09:10, Kunihiko Hayashi wrote:
> Add a compatible string for F_SDH30_E51 IP to the documentation.
> Since this IP is transferred to Socionext, so append it as vendor name.
> 
> Cc: devicetree@vger.kernel.org

No need to keep list-cc in commit log. If you really need such, keep
them under '---'.

> Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
> ---
>  .../devicetree/bindings/mmc/fujitsu,sdhci-fujitsu.yaml      | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)


Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>


Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH v2 0/6] mmc: sdhci-fujitsu: Add some features and support for F_SDH30_E51
  2022-11-11  8:10 [PATCH v2 0/6] mmc: sdhci-fujitsu: Add some features and support for F_SDH30_E51 Kunihiko Hayashi
                   ` (5 preceding siblings ...)
  2022-11-11  8:10 ` [PATCH v2 6/6] mmc: f-sdh30: Add quirks for broken timeout clock capability Kunihiko Hayashi
@ 2022-11-16 16:17 ` Ulf Hansson
  6 siblings, 0 replies; 10+ messages in thread
From: Ulf Hansson @ 2022-11-16 16:17 UTC (permalink / raw)
  To: Kunihiko Hayashi
  Cc: Adrian Hunter, Rob Herring, Krzysztof Kozlowski, Jassi Brar,
	Ard Biesheuvel, linux-mmc, devicetree, linux-kernel

On Fri, 11 Nov 2022 at 09:10, Kunihiko Hayashi
<hayashi.kunihiko@socionext.com> wrote:
>
> This series adds some additional features such as reset control,
> non-removable media, and quirks for broken timeout clock.
>
> And this adds support for F_SDH30_E51 IP that is a higher version
> of F_SDH30 and supports eMMC 5.1.
>
> The above features are not specific to this IP directly, but are
> affected by IP configuration and external wiring.
>
> Changes since v1:
> - Add conversion and additional compatible patch for DT bindings
> - Add description for F_SDH30_E51 to the commit message
> - Append vendor name to MODULE_AUTHOR
>
> Kunihiko Hayashi (6):
>   dt-bindings: mmc: Convert sdhci-fujitsu to JSON schema
>   mmc: f-sdh30: Add reset control support
>   dt-bindings: sdhci-fujitsu: Add compatible string for F_SDH30_E51
>   mmc: f-sdh30: Add compatible string for Socionext F_SDH30_E51
>   mmc: f-sdh30: Add support for non-removable media
>   mmc: f-sdh30: Add quirks for broken timeout clock capability
>
>  .../bindings/mmc/fujitsu,sdhci-fujitsu.yaml   | 57 +++++++++++++++++++
>  .../devicetree/bindings/mmc/sdhci-fujitsu.txt | 32 -----------
>  drivers/mmc/host/sdhci_f_sdh30.c              | 31 +++++++++-
>  drivers/mmc/host/sdhci_f_sdh30.h              |  3 +
>  4 files changed, 89 insertions(+), 34 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/mmc/fujitsu,sdhci-fujitsu.yaml
>  delete mode 100644 Documentation/devicetree/bindings/mmc/sdhci-fujitsu.txt
>

Applied for next, thanks!

Kind regards
Uffe

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-11-16 16:18 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-11  8:10 [PATCH v2 0/6] mmc: sdhci-fujitsu: Add some features and support for F_SDH30_E51 Kunihiko Hayashi
2022-11-11  8:10 ` [PATCH v2 1/6] dt-bindings: mmc: Convert sdhci-fujitsu to JSON schema Kunihiko Hayashi
2022-11-14  8:59   ` Krzysztof Kozlowski
2022-11-11  8:10 ` [PATCH v2 2/6] mmc: f-sdh30: Add reset control support Kunihiko Hayashi
2022-11-11  8:10 ` [PATCH v2 3/6] dt-bindings: sdhci-fujitsu: Add compatible string for F_SDH30_E51 Kunihiko Hayashi
2022-11-14  9:00   ` Krzysztof Kozlowski
2022-11-11  8:10 ` [PATCH v2 4/6] mmc: f-sdh30: Add compatible string for Socionext F_SDH30_E51 Kunihiko Hayashi
2022-11-11  8:10 ` [PATCH v2 5/6] mmc: f-sdh30: Add support for non-removable media Kunihiko Hayashi
2022-11-11  8:10 ` [PATCH v2 6/6] mmc: f-sdh30: Add quirks for broken timeout clock capability Kunihiko Hayashi
2022-11-16 16:17 ` [PATCH v2 0/6] mmc: sdhci-fujitsu: Add some features and support for F_SDH30_E51 Ulf Hansson

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).