Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mmc: dw_mmc-rockchip: dt-binding: Add tuning related things

Add ciu_drive, ciu_sample clocks and default-sample-phase. This will later
be used by tuning code.

We do not touch ciu_drive (and by extension define default-drive-phase).
Drive phase is mostly used to define minimum hold times, while one could
write some code to determine what phase meets the minimum hold time
(ex 10 degrees) this will not work with the current clock phase framework
(which floors angles, so we'll get 0 deg, and there's no way to know what
resolution the floors happen at). We assume that the default drive angles
set by the hardware are good enough.

Signed-off-by: Alexandru M Stan <amstan@chromium.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

authored by

Alexandru M Stan and committed by
Ulf Hansson
f8085bba e0848f5d

+13
+13
Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.txt
··· 14 14 before RK3288 15 15 - "rockchip,rk3288-dw-mshc": for Rockchip RK3288 16 16 17 + Optional Properties: 18 + * clocks: from common clock binding: if ciu_drive and ciu_sample are 19 + specified in clock-names, should contain handles to these clocks. 20 + 21 + * clock-names: Apart from the clock-names described in synopsys-dw-mshc.txt 22 + two more clocks "ciu-drive" and "ciu-sample" are supported. They are used 23 + to control the clock phases, "ciu-sample" is required for tuning high- 24 + speed modes. 25 + 26 + * rockchip,default-sample-phase: The default phase to set ciu_sample at 27 + probing, low speeds or in case where all phases work at tuning time. 28 + If not specified 0 deg will be used. 29 + 17 30 Example: 18 31 19 32 rkdwmmc0@12200000 {