UPSTREAM: mmc: dw_mmc: The "clock-freq-min-max" property was deprecated
authorJaehoon Chung <jh80.chung@samsung.com>
Thu, 17 Nov 2016 07:40:40 +0000 (16:40 +0900)
committerHuang, Tao <huangtao@rock-chips.com>
Fri, 3 Mar 2017 10:40:08 +0000 (18:40 +0800)
commit780917e0372dfa764b8e084f45051821ae7f053c
treec8c905cad4ae73b9d01b1f9c7a8285d1df76cc79
parent4c57c3d2b2085c74a7b580746b11fa9d57230d32
UPSTREAM: mmc: dw_mmc: The "clock-freq-min-max" property was deprecated

The "clock-freq-min-max" property was deprecated.
There is "max-frequency" property in drivers/mmc/core/host.c
"max-frequency" can be replaced with "clock-freq-min-max".
Minimum clock value might be set to 100K by default.
Then MMC core should try to find the correct value from 400K to 100K.
So it just needs to set Maximum clock value.

Change-Id: I1c72a891c8afd221b0c395c32c7adf8696cc46f1
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
(cherry picked from commit b023030f10573de738bbe8df63d43acab64c9f7b)
Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt
drivers/mmc/host/dw_mmc.c