]> asedeno.scripts.mit.edu Git - linux.git/commit
phy: rockchip-emmc: Allow to set drive impedance via DTS.
authorChristoph Muellner <christoph.muellner@theobroma-systems.com>
Fri, 22 Mar 2019 11:34:50 +0000 (12:34 +0100)
committerKishon Vijay Abraham I <kishon@ti.com>
Wed, 17 Apr 2019 08:42:58 +0000 (14:12 +0530)
commit043f42edbf2953ea45d0413ac998cff3dae6b268
treef0cbd386fdccdc59ffc771cb0bd6bd83a004089b
parent3f6d1767b1a011165cb404df1acdf003252df153
phy: rockchip-emmc: Allow to set drive impedance via DTS.

The rockchip-emmc PHY can be configured with different
drive impedance values. Currenlty a value of 50 Ohm is
hard coded into the driver.

This patch introduces the DTS property 'drive-impedance-ohm'
for the rockchip-emmc phy node, which uses the value from the DTS
to setup the drive impedance accordingly.

Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/rockchip/phy-rockchip-emmc.c