提交 01b653c2 编写于 作者: J Jaehoon Chung 提交者: Ulf Hansson

mmc: dw_mmc: remove the deprecated "num-slots"

'num-slots' property had already deprecated.
Remove the 'nom-slots' property that is kept to maintain the compatibility.
Signed-off-by: NJaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: NRob Herring <robh@kernel.org>
Signed-off-by: NUlf Hansson <ulf.hansson@linaro.org>
上级 86b93a48
...@@ -59,11 +59,6 @@ Optional properties: ...@@ -59,11 +59,6 @@ Optional properties:
is specified and the ciu clock is specified then we'll try to set the ciu is specified and the ciu clock is specified then we'll try to set the ciu
clock to this at probe time. clock to this at probe time.
* num-slots (DEPRECATED): specifies the number of slots supported by the controller.
The number of physical slots actually used could be equal or less than the
value specified by num-slots. If this property is not specified, the value
of num-slot property is assumed to be 1.
* fifo-depth: The maximum size of the tx/rx fifo's. If this property is not * fifo-depth: The maximum size of the tx/rx fifo's. If this property is not
specified, the default value of the fifo size is determined from the specified, the default value of the fifo size is determined from the
controller registers. controller registers.
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
MMC_CAP_SDIO_IRQ) MMC_CAP_SDIO_IRQ)
static struct dw_mci_board pci_board_data = { static struct dw_mci_board pci_board_data = {
.num_slots = 1,
.caps = DW_MCI_CAPABILITIES, .caps = DW_MCI_CAPABILITIES,
.bus_hz = 33 * 1000 * 1000, .bus_hz = 33 * 1000 * 1000,
.detect_delay_ms = 200, .detect_delay_ms = 200,
......
...@@ -3126,10 +3126,6 @@ static struct dw_mci_board *dw_mci_parse_dt(struct dw_mci *host) ...@@ -3126,10 +3126,6 @@ static struct dw_mci_board *dw_mci_parse_dt(struct dw_mci *host)
return ERR_PTR(-EPROBE_DEFER); return ERR_PTR(-EPROBE_DEFER);
} }
/* find out number of slots supported */
if (!device_property_read_u32(dev, "num-slots", &pdata->num_slots))
dev_info(dev, "'num-slots' was deprecated.\n");
if (device_property_read_u32(dev, "fifo-depth", &pdata->fifo_depth)) if (device_property_read_u32(dev, "fifo-depth", &pdata->fifo_depth))
dev_info(dev, dev_info(dev,
"fifo-depth property not found, using value of FIFOTH register as default\n"); "fifo-depth property not found, using value of FIFOTH register as default\n");
......
...@@ -251,8 +251,6 @@ struct dma_pdata; ...@@ -251,8 +251,6 @@ struct dma_pdata;
/* Board platform data */ /* Board platform data */
struct dw_mci_board { struct dw_mci_board {
u32 num_slots;
unsigned int bus_hz; /* Clock speed at the cclk_in pad */ unsigned int bus_hz; /* Clock speed at the cclk_in pad */
u32 caps; /* Capabilities */ u32 caps; /* Capabilities */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册