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)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 29 Nov 2016 08:05:11 +0000 (09:05 +0100)
commitb023030f10573de738bbe8df63d43acab64c9f7b
tree791472c40fb5351b1a271b3221f878875bdbcb76
parent0349c0854eb653596d7a15ef5556e8b55c3d0386
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.

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>
Documentation/devicetree/bindings/mmc/synopsys-dw-mshc.txt
drivers/mmc/host/dw_mmc.c