]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbf3980a0804d6dd2ab3c981a6a9f64aa65ed9193
tree791472c40fb5351b1a271b3221f878875bdbcb76
parent7236c8f463439efcb3a22173bfc99f39323300c3
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