All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrice Chotard <patrice.chotard@st.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 04/10] spi: stm32_qspi: Align reg-names with kernel 4.12 RC1
Date: Mon, 14 May 2018 15:42:52 +0200	[thread overview]
Message-ID: <1526305378-15479-5-git-send-email-patrice.chotard@st.com> (raw)
In-Reply-To: <1526305378-15479-1-git-send-email-patrice.chotard@st.com>

From: Christophe Kerello <christophe.kerello@st.com>

Align qspi bindings following kernel dt-bindings
Documentation/devicetree/bindings/mtd/stm32-quadspi.txt
from kernel v4.12-rc1.

Signed-off-by: Christophe Kerello <christophe.kerello@st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
---

Changes in v2: None

 drivers/spi/stm32_qspi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/spi/stm32_qspi.c b/drivers/spi/stm32_qspi.c
index 4bc4455d2ef9..fc1a34ea442c 100644
--- a/drivers/spi/stm32_qspi.c
+++ b/drivers/spi/stm32_qspi.c
@@ -420,13 +420,13 @@ static int stm32_qspi_ofdata_to_platdata(struct udevice *bus)
 	int ret;
 
 	ret = fdt_get_named_resource(blob, node, "reg", "reg-names",
-				     "QuadSPI", &res_regs);
+				     "qspi", &res_regs);
 	if (ret) {
 		debug("Error: can't get regs base addresses(ret = %d)!\n", ret);
 		return -ENOMEM;
 	}
 	ret = fdt_get_named_resource(blob, node, "reg", "reg-names",
-				     "QuadSPI-memory", &res_mem);
+				     "qspi_mm", &res_mem);
 	if (ret) {
 		debug("Error: can't get mmap base address(ret = %d)!\n", ret);
 		return -ENOMEM;
-- 
1.9.1

  parent reply	other threads:[~2018-05-14 13:42 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-14 13:42 [U-Boot] [PATCH v2 00/10] Update STM32 QSPI driver Patrice Chotard
2018-05-14 13:42 ` [U-Boot] [PATCH v2 01/10] spi: stm32_qspi: Remove CONFIG_CLK flag Patrice Chotard
2018-05-14 13:42 ` [U-Boot] [PATCH v2 02/10] spi: stm32_qspi: Solve issue detected by checkpatch Patrice Chotard
2018-05-14 13:42 ` [U-Boot] [PATCH v2 03/10] spi: stm32_qspi: Sort include files alphabetically Patrice Chotard
2018-05-14 13:42 ` Patrice Chotard [this message]
2018-05-14 13:42 ` [U-Boot] [PATCH v2 05/10] spi: stm32_qspi: Add st, stm32f469-qspi compatible string Patrice Chotard
2018-05-14 13:42 ` [U-Boot] [PATCH v2 06/10] spi: stm32_qspi: Add chip select management Patrice Chotard
2018-05-14 13:42 ` [U-Boot] [PATCH v2 07/10] spi: stm32_qspi: Use dev_read_xxx API Patrice Chotard
2018-05-14 13:42 ` [U-Boot] [PATCH v2 08/10] spi: stm32_qspi: Add reset support Patrice Chotard
2018-05-14 13:42 ` [U-Boot] [PATCH v2 09/10] ARM: dts: stm32: Add quadspi reset for stm32f746 Patrice Chotard
2018-05-14 13:42 ` [U-Boot] [PATCH v2 10/10] ARM: dts: stm32: Update qspi bindings " Patrice Chotard
2018-05-16 13:12 ` [U-Boot] [PATCH v2 00/10] Update STM32 QSPI driver Jagan Teki

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=1526305378-15479-5-git-send-email-patrice.chotard@st.com \
    --to=patrice.chotard@st.com \
    --cc=u-boot@lists.denx.de \
    /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.