]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: dts: rockchip: lower rk3399-puma-haikou SD controller clock frequency
authorJakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
Wed, 19 Oct 2022 14:27:27 +0000 (16:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Dec 2022 10:22:59 +0000 (11:22 +0100)
commitf99ab657978634eafcefd11943a64235aff44caa
treee3e39257150607f32d88da1ec0dc2f09519e4bb6
parentdb8858d61f3b6731c27594abd3a9712938f3789d
arm64: dts: rockchip: lower rk3399-puma-haikou SD controller clock frequency

commit cc6dee2138f5c1cea5224d7b84e872036e225e70 upstream.

CRC errors (code -84 EILSEQ) have been observed for some SanDisk
Ultra A1 cards when running at 50MHz.

Waveform analysis suggest that the level shifters that are used on the
RK3399-Q7 module for voltage translation between 3.0 and 3.3V don't
handle clock rates at or above 48MHz properly. Back off to 40MHz for
some safety margin.

Cc: stable@vger.kernel.org
Fixes: 746ec29bf3d1 ("arm64: dts: rockchip: add Haikou baseboard with RK3399-Q7 SoM")
Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Link: https://lore.kernel.org/r/20221019-upstream-puma-sd-40mhz-v1-0-754a76421518@theobroma-systems.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/boot/dts/rockchip/rk3399-puma-haikou.dts