projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c89b87c
)
mmc: stm32_sdmmc2: Update DT properties with v4.19 bindings
author
Patrick Delaunay
<patrick.delaunay@st.com>
Fri, 16 Nov 2018 09:25:54 +0000
(10:25 +0100)
committer
Patrice Chotard
<patrice.chotard@st.com>
Tue, 23 Apr 2019 13:42:23 +0000
(15:42 +0200)
Some properties name has been updated:
- st,dirpol becomes st,sig-dir
- st,negedge becomes st,neg-edge
- st,pin-ckin becomes st,use-ckin
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
drivers/mmc/stm32_sdmmc2.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/stm32_sdmmc2.c
b/drivers/mmc/stm32_sdmmc2.c
index a36612dd937e72fe3182bff10b6bfb8c0ca189b5..bab7efe754aaf25604a5513bfe91837578e7e3ee 100644
(file)
--- a/
drivers/mmc/stm32_sdmmc2.c
+++ b/
drivers/mmc/stm32_sdmmc2.c
@@
-585,11
+585,11
@@
static int stm32_sdmmc2_probe(struct udevice *dev)
if (priv->base == FDT_ADDR_T_NONE)
return -EINVAL;
- if (dev_read_bool(dev, "st,negedge"))
+ if (dev_read_bool(dev, "st,neg
-
edge"))
priv->clk_reg_msk |= SDMMC_CLKCR_NEGEDGE;
- if (dev_read_bool(dev, "st,
dirpol
"))
+ if (dev_read_bool(dev, "st,
sig-dir
"))
priv->pwr_reg_msk |= SDMMC_POWER_DIRPOL;
- if (dev_read_bool(dev, "st,
pin
-ckin"))
+ if (dev_read_bool(dev, "st,
use
-ckin"))
priv->clk_reg_msk |= SDMMC_CLKCR_SELCLKRX_CKIN;
ret = clk_get_by_index(dev, 0, &priv->clk);