]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: dts: allwinner: a64: Split out data strobe pin from mmc2 pinmux
authorChen-Yu Tsai <wens@csie.org>
Tue, 28 Aug 2018 10:01:30 +0000 (18:01 +0800)
committerChen-Yu Tsai <wens@csie.org>
Mon, 3 Sep 2018 02:59:16 +0000 (10:59 +0800)
commit4b0d15e73e6e1b3181162964f403b785bc43345e
tree0692e8263a099deb1b9de68577433fdc56ca18e7
parent97a0a8cb389775a6143f30cb5a6d0c732c93218e
arm64: dts: allwinner: a64: Split out data strobe pin from mmc2 pinmux

The eMMC 5.0 standard introduced the data strobe (DS) pin. This pin is
not used for pre-5.0 data modes, nor is it found on pre-5.0 eMMC chips.
On the A64, this pin is muxed with spi0's MISO pin. If the DS pin is
included in the mmc2 pinmux by default, this wil prevent the usage
of both mmc2 and spi0 together.

Instead, split out the DS pin to a separate pinmux that only gets used
by boards that actually have it wired up. Currently supported ones
include the Bananapi M64 and Pine64 Pinebook. These are fixed up.

Fixes: b9d2de9c04e6 ("arm64: allwinner: a64: Add MMC pinctrl nodes")
Fixes: ed2f9bbc7256 ("arm64: allwinner: add BananaPi-M64 support")
Fixes: 304ac3900cee ("arm64: dts: allwinner: add support for Pinebook")
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts
arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi