Commit 3f5b4b79 authored by Shawn Lin's avatar Shawn Lin Committed by Ulf Hansson

Documentation: dw-mshc: deprecate num-slots

dwmmc host driver already deprecate it in the driver
but didn't modify the documentation to reflect the fact.
This patch deprecates it and clean up num-slots from the
examples of all variant host drivers.
Signed-off-by: default avatarShawn Lin <shawn.lin@rock-chips.com>
Acked-by: default avatarJaehoon Chung <jh80.chung@samsung.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
Fixes: d30a8f7b ("mmc: dw_mmc: deprecated the "num-slots" property")
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 16f5df8b
...@@ -78,7 +78,6 @@ Example: ...@@ -78,7 +78,6 @@ Example:
}; };
dwmmc0@12200000 { dwmmc0@12200000 {
num-slots = <1>;
cap-mmc-highspeed; cap-mmc-highspeed;
cap-sd-highspeed; cap-sd-highspeed;
broken-cd; broken-cd;
......
...@@ -24,6 +24,5 @@ Example: ...@@ -24,6 +24,5 @@ Example:
fifo-depth = <0x20>; fifo-depth = <0x20>;
bus-width = <4>; bus-width = <4>;
num-slots = <1>;
disable-wp; disable-wp;
}; };
...@@ -36,7 +36,6 @@ Example: ...@@ -36,7 +36,6 @@ Example:
/* Board portion */ /* Board portion */
dwmmc0@fcd03000 { dwmmc0@fcd03000 {
num-slots = <1>;
vmmc-supply = <&ldo12>; vmmc-supply = <&ldo12>;
fifo-depth = <0x100>; fifo-depth = <0x100>;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -52,7 +51,6 @@ Example: ...@@ -52,7 +51,6 @@ Example:
dwmmc_1: dwmmc1@f723e000 { dwmmc_1: dwmmc1@f723e000 {
compatible = "hisilicon,hi6220-dw-mshc"; compatible = "hisilicon,hi6220-dw-mshc";
num-slots = <0x1>;
bus-width = <0x4>; bus-width = <0x4>;
disable-wp; disable-wp;
cap-sd-highspeed; cap-sd-highspeed;
......
...@@ -12,12 +12,12 @@ Required Properties: ...@@ -12,12 +12,12 @@ Required Properties:
* #address-cells: should be 1. * #address-cells: should be 1.
* #size-cells: should be 0. * #size-cells: should be 0.
# Slots: The slot specific information are contained within child-nodes with # Slots (DEPRECATED): The slot specific information are contained within
each child-node representing a supported slot. There should be atleast one child-nodes with each child-node representing a supported slot. There should
child node representing a card slot. The name of the child node representing be atleast one child node representing a card slot. The name of the child node
the slot is recommended to be slot@n where n is the unique number of the slot representing the slot is recommended to be slot@n where n is the unique number
connected to the controller. The following are optional properties which of the slot connected to the controller. The following are optional properties
can be included in the slot child node. which can be included in the slot child node.
* reg: specifies the physical slot number. The valid values of this * reg: specifies the physical slot number. The valid values of this
property is 0 to (num-slots -1), where num-slots is the value property is 0 to (num-slots -1), where num-slots is the value
...@@ -63,7 +63,7 @@ Optional properties: ...@@ -63,7 +63,7 @@ Optional properties:
clock(cclk_out). If it's not specified, max is 200MHZ and min is 400KHz by default. clock(cclk_out). If it's not specified, max is 200MHZ and min is 400KHz by default.
(Use the "max-frequency" instead of "clock-freq-min-max".) (Use the "max-frequency" instead of "clock-freq-min-max".)
* num-slots: specifies the number of slots supported by the controller. * 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 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 value specified by num-slots. If this property is not specified, the value
of num-slot property is assumed to be 1. of num-slot property is assumed to be 1.
...@@ -124,7 +124,6 @@ board specific portions as listed below. ...@@ -124,7 +124,6 @@ board specific portions as listed below.
dwmmc0@12200000 { dwmmc0@12200000 {
clock-frequency = <400000000>; clock-frequency = <400000000>;
clock-freq-min-max = <400000 200000000>; clock-freq-min-max = <400000 200000000>;
num-slots = <1>;
broken-cd; broken-cd;
fifo-depth = <0x80>; fifo-depth = <0x80>;
card-detect-delay = <200>; card-detect-delay = <200>;
...@@ -139,7 +138,6 @@ board specific portions as listed below. ...@@ -139,7 +138,6 @@ board specific portions as listed below.
dwmmc0@12200000 { dwmmc0@12200000 {
clock-frequency = <400000000>; clock-frequency = <400000000>;
clock-freq-min-max = <400000 200000000>; clock-freq-min-max = <400000 200000000>;
num-slots = <1>;
broken-cd; broken-cd;
fifo-depth = <0x80>; fifo-depth = <0x80>;
card-detect-delay = <200>; card-detect-delay = <200>;
......
...@@ -25,7 +25,6 @@ Example: ...@@ -25,7 +25,6 @@ Example:
clock-frequency = <50000000>; clock-frequency = <50000000>;
clocks = <&topcrm SD0_AHB>, <&topcrm SD0_WCLK>; clocks = <&topcrm SD0_AHB>, <&topcrm SD0_WCLK>;
clock-names = "biu", "ciu"; clock-names = "biu", "ciu";
num-slots = <1>;
max-frequency = <50000000>; max-frequency = <50000000>;
cap-sdio-irq; cap-sdio-irq;
cap-sd-highspeed; cap-sd-highspeed;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment