All of lore.kernel.org
 help / color / mirror / Atom feed
* [cip-dev] [PATCH 4.19.y-cip repost 0/6] Add eMMC/uSD/LEDs support to HiHope RZ/G2M
@ 2019-09-05  8:37 Fabrizio Castro
  2019-09-05  8:37 ` [cip-dev] [PATCH 4.19.y-cip repost 1/6] mmc: renesas_sdhi: Change HW adjustment register according to speed mode Fabrizio Castro
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Fabrizio Castro @ 2019-09-05  8:37 UTC (permalink / raw)
  To: cip-dev

Dear All,

This series is to add eMMC/uSD/LEDs support to the HiHope RZ/G2M board,
and depends on series:
https://patchwork.kernel.org/cover/11126905/

Thanks,
Fab

Fabrizio Castro (3):
  arm64: dts: renesas: hihope-common: Add uSD and eMMC
  arm64: dts: renesas: hihope-common: Add LEDs support
  arm64: dts: renesas: hihope-common: Remove "label" from LEDs

Takeshi Saito (1):
  mmc: renesas_sdhi: Change HW adjustment register according to speed
    mode

Wolfram Sang (2):
  mmc: tmio: introduce macro for max block size
  mmc: renesas_sdhi: prevent overflow for max_req_size

 arch/arm64/boot/dts/renesas/hihope-common.dtsi | 97 ++++++++++++++++++++++++++
 drivers/mmc/host/renesas_sdhi.h                |  2 +
 drivers/mmc/host/renesas_sdhi_core.c           |  8 +++
 drivers/mmc/host/renesas_sdhi_internal_dmac.c  |  9 +--
 drivers/mmc/host/renesas_sdhi_sys_dmac.c       |  2 +-
 drivers/mmc/host/tmio_mmc.h                    |  2 +
 drivers/mmc/host/tmio_mmc_core.c               |  2 +-
 7 files changed, 116 insertions(+), 6 deletions(-)

-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip repost 1/6] mmc: renesas_sdhi: Change HW adjustment register according to speed mode
  2019-09-05  8:37 [cip-dev] [PATCH 4.19.y-cip repost 0/6] Add eMMC/uSD/LEDs support to HiHope RZ/G2M Fabrizio Castro
@ 2019-09-05  8:37 ` Fabrizio Castro
  2019-09-05  8:37 ` [cip-dev] [PATCH 4.19.y-cip repost 2/6] mmc: tmio: introduce macro for max block size Fabrizio Castro
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Fabrizio Castro @ 2019-09-05  8:37 UTC (permalink / raw)
  To: cip-dev

From: Takeshi Saito <takeshi.saito.xv@renesas.com>

commit f0c8234cb9230e3fc128ab4739f65e30bb00ceb5 upstream.

SCC is used for SDR104/HS200/HS400. We need to change SCC_DT2FF
according to the mode. If it is inappropriate, CRC error tends to occur.

This adds variable "tap_hs400" for HS400 mode and configures SCC_DT2FF
as needed.

Signed-off-by: Takeshi Saito <takeshi.saito.xv@renesas.com>
[wsa: rebased to upstream and updated commit message]
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Niklas S?derlund <niklas.soderlund@ragnatech.se>
Tested-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
---
 drivers/mmc/host/renesas_sdhi.h               | 2 ++
 drivers/mmc/host/renesas_sdhi_core.c          | 8 ++++++++
 drivers/mmc/host/renesas_sdhi_internal_dmac.c | 1 +
 3 files changed, 11 insertions(+)

diff --git a/drivers/mmc/host/renesas_sdhi.h b/drivers/mmc/host/renesas_sdhi.h
index f13f798..d58fcfa 100644
--- a/drivers/mmc/host/renesas_sdhi.h
+++ b/drivers/mmc/host/renesas_sdhi.h
@@ -18,6 +18,7 @@
 struct renesas_sdhi_scc {
 	unsigned long clk_rate;	/* clock rate for SDR104 */
 	u32 tap;		/* sampling clock position for SDR104 */
+	u32 tap_hs400;		/* sampling clock position for HS400 */
 };
 
 struct renesas_sdhi_of_data {
@@ -52,6 +53,7 @@ struct renesas_sdhi {
 	struct pinctrl_state *pins_default, *pins_uhs;
 	void __iomem *scc_ctl;
 	u32 scc_tappos;
+	u32 scc_tappos_hs400;
 };
 
 #define host_to_priv(host) \
diff --git a/drivers/mmc/host/renesas_sdhi_core.c b/drivers/mmc/host/renesas_sdhi_core.c
index 45baf5d..8ed44ad 100644
--- a/drivers/mmc/host/renesas_sdhi_core.c
+++ b/drivers/mmc/host/renesas_sdhi_core.c
@@ -297,6 +297,10 @@ static void renesas_sdhi_hs400_complete(struct tmio_mmc_host *host)
 	/* Set HS400 mode */
 	sd_ctrl_write16(host, CTL_SDIF_MODE, 0x0001 |
 			sd_ctrl_read16(host, CTL_SDIF_MODE));
+
+	sd_scc_write32(host, priv, SH_MOBILE_SDHI_SCC_DT2FF,
+		       priv->scc_tappos_hs400);
+
 	sd_scc_write32(host, priv, SH_MOBILE_SDHI_SCC_TMPPORT2,
 		       (SH_MOBILE_SDHI_SCC_TMPPORT2_HS400EN |
 			SH_MOBILE_SDHI_SCC_TMPPORT2_HS400OSEL) |
@@ -356,6 +360,9 @@ static void renesas_sdhi_reset_hs400_mode(struct tmio_mmc_host *host,
 	/* Reset HS400 mode */
 	sd_ctrl_write16(host, CTL_SDIF_MODE, ~0x0001 &
 			sd_ctrl_read16(host, CTL_SDIF_MODE));
+
+	sd_scc_write32(host, priv, SH_MOBILE_SDHI_SCC_DT2FF, priv->scc_tappos);
+
 	sd_scc_write32(host, priv, SH_MOBILE_SDHI_SCC_TMPPORT2,
 		       ~(SH_MOBILE_SDHI_SCC_TMPPORT2_HS400EN |
 			 SH_MOBILE_SDHI_SCC_TMPPORT2_HS400OSEL) &
@@ -699,6 +706,7 @@ int renesas_sdhi_probe(struct platform_device *pdev,
 			if (taps[i].clk_rate == 0 ||
 			    taps[i].clk_rate == host->mmc->f_max) {
 				priv->scc_tappos = taps->tap;
+				priv->scc_tappos_hs400 = taps->tap_hs400;
 				hit = true;
 				break;
 			}
diff --git a/drivers/mmc/host/renesas_sdhi_internal_dmac.c b/drivers/mmc/host/renesas_sdhi_internal_dmac.c
index fb7adcb..07669d3 100644
--- a/drivers/mmc/host/renesas_sdhi_internal_dmac.c
+++ b/drivers/mmc/host/renesas_sdhi_internal_dmac.c
@@ -81,6 +81,7 @@ static struct renesas_sdhi_scc rcar_gen3_scc_taps[] = {
 	{
 		.clk_rate = 0,
 		.tap = 0x00000300,
+		.tap_hs400 = 0x00000704,
 	},
 };
 
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip repost 2/6] mmc: tmio: introduce macro for max block size
  2019-09-05  8:37 [cip-dev] [PATCH 4.19.y-cip repost 0/6] Add eMMC/uSD/LEDs support to HiHope RZ/G2M Fabrizio Castro
  2019-09-05  8:37 ` [cip-dev] [PATCH 4.19.y-cip repost 1/6] mmc: renesas_sdhi: Change HW adjustment register according to speed mode Fabrizio Castro
@ 2019-09-05  8:37 ` Fabrizio Castro
  2019-09-05  8:37 ` [cip-dev] [PATCH 4.19.y-cip repost 3/6] mmc: renesas_sdhi: prevent overflow for max_req_size Fabrizio Castro
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Fabrizio Castro @ 2019-09-05  8:37 UTC (permalink / raw)
  To: cip-dev

From: Wolfram Sang <wsa+renesas@sang-engineering.com>

commit 609e5fba56fc0ad8e2a5917f64b964c2f4979bc5 upstream.

We will need it later for other calculations.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
---
 drivers/mmc/host/tmio_mmc.h      | 2 ++
 drivers/mmc/host/tmio_mmc_core.c | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/mmc/host/tmio_mmc.h b/drivers/mmc/host/tmio_mmc.h
index 7c40a7e..5904ed4 100644
--- a/drivers/mmc/host/tmio_mmc.h
+++ b/drivers/mmc/host/tmio_mmc.h
@@ -110,6 +110,8 @@
 		TMIO_STAT_CARD_REMOVE | TMIO_STAT_CARD_INSERT)
 #define TMIO_MASK_IRQ     (TMIO_MASK_READOP | TMIO_MASK_WRITEOP | TMIO_MASK_CMD)
 
+#define TMIO_MAX_BLK_SIZE 512
+
 struct tmio_mmc_data;
 struct tmio_mmc_host;
 
diff --git a/drivers/mmc/host/tmio_mmc_core.c b/drivers/mmc/host/tmio_mmc_core.c
index 7d13ca9..daf4803 100644
--- a/drivers/mmc/host/tmio_mmc_core.c
+++ b/drivers/mmc/host/tmio_mmc_core.c
@@ -1269,7 +1269,7 @@ int tmio_mmc_host_probe(struct tmio_mmc_host *_host)
 	mmc->caps |= MMC_CAP_4_BIT_DATA | pdata->capabilities;
 	mmc->caps2 |= pdata->capabilities2;
 	mmc->max_segs = pdata->max_segs ? : 32;
-	mmc->max_blk_size = 512;
+	mmc->max_blk_size = TMIO_MAX_BLK_SIZE;
 	mmc->max_blk_count = pdata->max_blk_count ? :
 		(PAGE_SIZE / mmc->max_blk_size) * mmc->max_segs;
 	mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count;
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip repost 3/6] mmc: renesas_sdhi: prevent overflow for max_req_size
  2019-09-05  8:37 [cip-dev] [PATCH 4.19.y-cip repost 0/6] Add eMMC/uSD/LEDs support to HiHope RZ/G2M Fabrizio Castro
  2019-09-05  8:37 ` [cip-dev] [PATCH 4.19.y-cip repost 1/6] mmc: renesas_sdhi: Change HW adjustment register according to speed mode Fabrizio Castro
  2019-09-05  8:37 ` [cip-dev] [PATCH 4.19.y-cip repost 2/6] mmc: tmio: introduce macro for max block size Fabrizio Castro
@ 2019-09-05  8:37 ` Fabrizio Castro
  2019-09-05  8:37 ` [cip-dev] [PATCH 4.19.y-cip repost 4/6] arm64: dts: renesas: hihope-common: Add uSD and eMMC Fabrizio Castro
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Fabrizio Castro @ 2019-09-05  8:37 UTC (permalink / raw)
  To: cip-dev

From: Wolfram Sang <wsa+renesas@sang-engineering.com>

commit 2a55c1eac78822321d08cb89b1ac2e06e37fd9ff upstream.

max_req_size is calculated by 'max_blk_size * max_blk_count' in the TMIO
core. So, specifying U32_MAX as max_blk_count will overflow this
calculation. It will cause no harm in practice because the immense high
number will overflow into another immense high number. However, it is
not good coding practice, so calculate max_blk_count so that
max_req_size will fit into unsigned int on ARM32/64.

Thanks to the Renesas BSP team for the bug report!

Reported-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
---
 drivers/mmc/host/renesas_sdhi_internal_dmac.c | 8 ++++----
 drivers/mmc/host/renesas_sdhi_sys_dmac.c      | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/mmc/host/renesas_sdhi_internal_dmac.c b/drivers/mmc/host/renesas_sdhi_internal_dmac.c
index 07669d3..7b0bc15 100644
--- a/drivers/mmc/host/renesas_sdhi_internal_dmac.c
+++ b/drivers/mmc/host/renesas_sdhi_internal_dmac.c
@@ -96,8 +96,8 @@ static const struct renesas_sdhi_of_data of_rcar_r8a7795_compatible = {
 	.scc_offset	= 0x1000,
 	.taps		= rcar_gen3_scc_taps,
 	.taps_num	= ARRAY_SIZE(rcar_gen3_scc_taps),
-	/* DMAC can handle 0xffffffff blk count but only 1 segment */
-	.max_blk_count	= 0xffffffff,
+	/* DMAC can handle 32bit blk count but only 1 segment */
+	.max_blk_count	= UINT_MAX / TMIO_MAX_BLK_SIZE,
 	.max_segs	= 1,
 };
 
@@ -111,8 +111,8 @@ static const struct renesas_sdhi_of_data of_rcar_gen3_compatible = {
 	.scc_offset	= 0x1000,
 	.taps		= rcar_gen3_scc_taps,
 	.taps_num	= ARRAY_SIZE(rcar_gen3_scc_taps),
-	/* DMAC can handle 0xffffffff blk count but only 1 segment */
-	.max_blk_count	= 0xffffffff,
+	/* DMAC can handle 32bit blk count but only 1 segment */
+	.max_blk_count	= UINT_MAX / TMIO_MAX_BLK_SIZE,
 	.max_segs	= 1,
 };
 
diff --git a/drivers/mmc/host/renesas_sdhi_sys_dmac.c b/drivers/mmc/host/renesas_sdhi_sys_dmac.c
index c3d63ed..80ee745 100644
--- a/drivers/mmc/host/renesas_sdhi_sys_dmac.c
+++ b/drivers/mmc/host/renesas_sdhi_sys_dmac.c
@@ -68,7 +68,7 @@ static const struct renesas_sdhi_of_data of_rcar_gen2_compatible = {
 	.scc_offset	= 0x0300,
 	.taps		= rcar_gen2_scc_taps,
 	.taps_num	= ARRAY_SIZE(rcar_gen2_scc_taps),
-	.max_blk_count  = 0xffffffff,
+	.max_blk_count	= UINT_MAX / TMIO_MAX_BLK_SIZE,
 };
 
 /* Definitions for sampling clocks */
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip repost 4/6] arm64: dts: renesas: hihope-common: Add uSD and eMMC
  2019-09-05  8:37 [cip-dev] [PATCH 4.19.y-cip repost 0/6] Add eMMC/uSD/LEDs support to HiHope RZ/G2M Fabrizio Castro
                   ` (2 preceding siblings ...)
  2019-09-05  8:37 ` [cip-dev] [PATCH 4.19.y-cip repost 3/6] mmc: renesas_sdhi: prevent overflow for max_req_size Fabrizio Castro
@ 2019-09-05  8:37 ` Fabrizio Castro
  2019-09-05  8:37 ` [cip-dev] [PATCH 4.19.y-cip repost 5/6] arm64: dts: renesas: hihope-common: Add LEDs support Fabrizio Castro
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Fabrizio Castro @ 2019-09-05  8:37 UTC (permalink / raw)
  To: cip-dev

commit 015a75077d7b9d95ff882d0a6bbf0913df36a593 upstream.

This patch adds uSD and eMMC support to the HiHope RZ/G2M
board.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm64/boot/dts/renesas/hihope-common.dtsi | 77 ++++++++++++++++++++++++++
 1 file changed, 77 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/hihope-common.dtsi b/arch/arm64/boot/dts/renesas/hihope-common.dtsi
index 8e9e94d..9dbf1774 100644
--- a/arch/arm64/boot/dts/renesas/hihope-common.dtsi
+++ b/arch/arm64/boot/dts/renesas/hihope-common.dtsi
@@ -16,6 +16,37 @@
 		bootargs = "ignore_loglevel";
 		stdout-path = "serial0:115200n8";
 	};
+
+	reg_1p8v: regulator0 {
+		compatible = "regulator-fixed";
+		regulator-name = "fixed-1.8V";
+		regulator-min-microvolt = <1800000>;
+		regulator-max-microvolt = <1800000>;
+		regulator-boot-on;
+		regulator-always-on;
+	};
+
+	reg_3p3v: regulator1 {
+		compatible = "regulator-fixed";
+		regulator-name = "fixed-3.3V";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		regulator-boot-on;
+		regulator-always-on;
+	};
+
+	vccq_sdhi0: regulator-vccq-sdhi0 {
+		compatible = "regulator-gpio";
+
+		regulator-name = "SDHI0 VccQ";
+		regulator-min-microvolt = <1800000>;
+		regulator-max-microvolt = <3300000>;
+
+		gpios = <&gpio6 30 GPIO_ACTIVE_HIGH>;
+		gpios-states = <1>;
+		states = <3300000 1
+			  1800000 0>;
+	};
 };
 
 &extal_clk {
@@ -39,6 +70,24 @@
 		groups = "scif_clk_a";
 		function = "scif_clk";
 	};
+
+	sdhi0_pins: sd0 {
+		groups = "sdhi0_data4", "sdhi0_ctrl";
+		function = "sdhi0";
+		power-source = <3300>;
+	};
+
+	sdhi0_pins_uhs: sd0_uhs {
+		groups = "sdhi0_data4", "sdhi0_ctrl";
+		function = "sdhi0";
+		power-source = <1800>;
+	};
+
+	sdhi3_pins: sd3 {
+		groups = "sdhi3_data8", "sdhi3_ctrl", "sdhi3_ds";
+		function = "sdhi3";
+		power-source = <1800>;
+	};
 };
 
 &rwdt {
@@ -56,3 +105,31 @@
 &scif_clk {
 	clock-frequency = <14745600>;
 };
+
+&sdhi0 {
+	pinctrl-0 = <&sdhi0_pins>;
+	pinctrl-1 = <&sdhi0_pins_uhs>;
+	pinctrl-names = "default", "state_uhs";
+
+	vmmc-supply = <&reg_3p3v>;
+	vqmmc-supply = <&vccq_sdhi0>;
+	cd-gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;
+	bus-width = <4>;
+	sd-uhs-sdr50;
+	sd-uhs-sdr104;
+	status = "okay";
+};
+
+&sdhi3 {
+	pinctrl-0 = <&sdhi3_pins>;
+	pinctrl-1 = <&sdhi3_pins>;
+	pinctrl-names = "default", "state_uhs";
+
+	vmmc-supply = <&reg_3p3v>;
+	vqmmc-supply = <&reg_1p8v>;
+	bus-width = <8>;
+	mmc-hs200-1_8v;
+	non-removable;
+	fixed-emmc-driver-type = <1>;
+	status = "okay";
+};
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip repost 5/6] arm64: dts: renesas: hihope-common: Add LEDs support
  2019-09-05  8:37 [cip-dev] [PATCH 4.19.y-cip repost 0/6] Add eMMC/uSD/LEDs support to HiHope RZ/G2M Fabrizio Castro
                   ` (3 preceding siblings ...)
  2019-09-05  8:37 ` [cip-dev] [PATCH 4.19.y-cip repost 4/6] arm64: dts: renesas: hihope-common: Add uSD and eMMC Fabrizio Castro
@ 2019-09-05  8:37 ` Fabrizio Castro
  2019-09-05  8:37 ` [cip-dev] [PATCH 4.19.y-cip repost 6/6] arm64: dts: renesas: hihope-common: Remove "label" from LEDs Fabrizio Castro
  2019-09-05  9:40 ` [cip-dev] [PATCH 4.19.y-cip repost 0/6] Add eMMC/uSD/LEDs support to HiHope RZ/G2M nobuhiro1.iwamatsu at toshiba.co.jp
  6 siblings, 0 replies; 8+ messages in thread
From: Fabrizio Castro @ 2019-09-05  8:37 UTC (permalink / raw)
  To: cip-dev

commit 1485b6353a9940c5ac5d3f90880207ac95b4e350 upstream.

This patch adds LEDs support to the HiHope RZ/G2[MN] Main Board
common device tree.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm64/boot/dts/renesas/hihope-common.dtsi | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/hihope-common.dtsi b/arch/arm64/boot/dts/renesas/hihope-common.dtsi
index 9dbf1774..cc5dde5 100644
--- a/arch/arm64/boot/dts/renesas/hihope-common.dtsi
+++ b/arch/arm64/boot/dts/renesas/hihope-common.dtsi
@@ -17,6 +17,30 @@
 		stdout-path = "serial0:115200n8";
 	};
 
+	leds {
+		compatible = "gpio-leds";
+
+		led0 {
+			gpios = <&gpio6 11 GPIO_ACTIVE_HIGH>;
+			label = "LED0";
+		};
+
+		led1 {
+			gpios = <&gpio6 12 GPIO_ACTIVE_HIGH>;
+			label = "LED1";
+		};
+
+		led2 {
+			gpios = <&gpio6 13 GPIO_ACTIVE_HIGH>;
+			label = "LED2";
+		};
+
+		led3 {
+			gpios = <&gpio0  0 GPIO_ACTIVE_HIGH>;
+			label = "LED3";
+		};
+	};
+
 	reg_1p8v: regulator0 {
 		compatible = "regulator-fixed";
 		regulator-name = "fixed-1.8V";
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip repost 6/6] arm64: dts: renesas: hihope-common: Remove "label" from LEDs
  2019-09-05  8:37 [cip-dev] [PATCH 4.19.y-cip repost 0/6] Add eMMC/uSD/LEDs support to HiHope RZ/G2M Fabrizio Castro
                   ` (4 preceding siblings ...)
  2019-09-05  8:37 ` [cip-dev] [PATCH 4.19.y-cip repost 5/6] arm64: dts: renesas: hihope-common: Add LEDs support Fabrizio Castro
@ 2019-09-05  8:37 ` Fabrizio Castro
  2019-09-05  9:40 ` [cip-dev] [PATCH 4.19.y-cip repost 0/6] Add eMMC/uSD/LEDs support to HiHope RZ/G2M nobuhiro1.iwamatsu at toshiba.co.jp
  6 siblings, 0 replies; 8+ messages in thread
From: Fabrizio Castro @ 2019-09-05  8:37 UTC (permalink / raw)
  To: cip-dev

commit f6130381e2a20b0503838477462a3f55f7672434 upstream.

Remove "label" properties from the LEDs device tree nodes, since
we don't have nice labels on the PCB.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm64/boot/dts/renesas/hihope-common.dtsi | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/arch/arm64/boot/dts/renesas/hihope-common.dtsi b/arch/arm64/boot/dts/renesas/hihope-common.dtsi
index cc5dde5..77d183a 100644
--- a/arch/arm64/boot/dts/renesas/hihope-common.dtsi
+++ b/arch/arm64/boot/dts/renesas/hihope-common.dtsi
@@ -22,22 +22,18 @@
 
 		led0 {
 			gpios = <&gpio6 11 GPIO_ACTIVE_HIGH>;
-			label = "LED0";
 		};
 
 		led1 {
 			gpios = <&gpio6 12 GPIO_ACTIVE_HIGH>;
-			label = "LED1";
 		};
 
 		led2 {
 			gpios = <&gpio6 13 GPIO_ACTIVE_HIGH>;
-			label = "LED2";
 		};
 
 		led3 {
 			gpios = <&gpio0  0 GPIO_ACTIVE_HIGH>;
-			label = "LED3";
 		};
 	};
 
-- 
2.7.4

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

* [cip-dev] [PATCH 4.19.y-cip repost 0/6] Add eMMC/uSD/LEDs support to HiHope RZ/G2M
  2019-09-05  8:37 [cip-dev] [PATCH 4.19.y-cip repost 0/6] Add eMMC/uSD/LEDs support to HiHope RZ/G2M Fabrizio Castro
                   ` (5 preceding siblings ...)
  2019-09-05  8:37 ` [cip-dev] [PATCH 4.19.y-cip repost 6/6] arm64: dts: renesas: hihope-common: Remove "label" from LEDs Fabrizio Castro
@ 2019-09-05  9:40 ` nobuhiro1.iwamatsu at toshiba.co.jp
  6 siblings, 0 replies; 8+ messages in thread
From: nobuhiro1.iwamatsu at toshiba.co.jp @ 2019-09-05  9:40 UTC (permalink / raw)
  To: cip-dev

Hi Fabrizio,

> -----Original Message-----
> From: Fabrizio Castro [mailto:fabrizio.castro at bp.renesas.com]
> Sent: Thursday, September 5, 2019 5:37 PM
> To: cip-dev at lists.cip-project.org
> Cc: Chris Paterson <Chris.Paterson2@renesas.com>; Biju Das
> <biju.das@bp.renesas.com>; Fabrizio Castro
> <fabrizio.castro@bp.renesas.com>; iwamatsu nobuhiro(?? ?? ???
> ?????) <nobuhiro1.iwamatsu@toshiba.co.jp>; pavel at denx.de
> Subject: [cip-dev][PATCH 4.19.y-cip repost 0/6] Add eMMC/uSD/LEDs
> support to HiHope RZ/G2M
> 
> Dear All,
> 
> This series is to add eMMC/uSD/LEDs support to the HiHope RZ/G2M board,
> and depends on series:
> https://patchwork.kernel.org/cover/11126905/
> 

Applied, thanks.

> Thanks,
> Fab

Best regards,
  Nobuhiro

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

end of thread, other threads:[~2019-09-05  9:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-05  8:37 [cip-dev] [PATCH 4.19.y-cip repost 0/6] Add eMMC/uSD/LEDs support to HiHope RZ/G2M Fabrizio Castro
2019-09-05  8:37 ` [cip-dev] [PATCH 4.19.y-cip repost 1/6] mmc: renesas_sdhi: Change HW adjustment register according to speed mode Fabrizio Castro
2019-09-05  8:37 ` [cip-dev] [PATCH 4.19.y-cip repost 2/6] mmc: tmio: introduce macro for max block size Fabrizio Castro
2019-09-05  8:37 ` [cip-dev] [PATCH 4.19.y-cip repost 3/6] mmc: renesas_sdhi: prevent overflow for max_req_size Fabrizio Castro
2019-09-05  8:37 ` [cip-dev] [PATCH 4.19.y-cip repost 4/6] arm64: dts: renesas: hihope-common: Add uSD and eMMC Fabrizio Castro
2019-09-05  8:37 ` [cip-dev] [PATCH 4.19.y-cip repost 5/6] arm64: dts: renesas: hihope-common: Add LEDs support Fabrizio Castro
2019-09-05  8:37 ` [cip-dev] [PATCH 4.19.y-cip repost 6/6] arm64: dts: renesas: hihope-common: Remove "label" from LEDs Fabrizio Castro
2019-09-05  9:40 ` [cip-dev] [PATCH 4.19.y-cip repost 0/6] Add eMMC/uSD/LEDs support to HiHope RZ/G2M nobuhiro1.iwamatsu at toshiba.co.jp

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.