]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: dts: allwinner: Drop non-removable from SoPine/LTS SD card
authorAndre Przywara <andre.przywara@arm.com>
Wed, 13 Jan 2021 15:26:26 +0000 (15:26 +0000)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 14 Jan 2021 11:49:56 +0000 (12:49 +0100)
commit20ca0fdccb3741ed751e0e7ac839a2506817300f
treec8b18ebdc959cf1c12adee3a85dc5a78d7998f08
parentaf53e2efe6dcc890eb15e14c2ea83cd1e9d29a2c
arm64: dts: allwinner: Drop non-removable from SoPine/LTS SD card

The SD card on the SoPine SoM module is somewhat concealed, so was
originally defined as "non-removable".
However there is a working card-detect pin (tested on two different
SoM versions), and in certain SoM base boards it might be actually
accessible at runtime.
Also the Pine64-LTS shares the SoPine base .dtsi, so inherited the
non-removable flag, even though the SD card slot is perfectly accessible
and usable there. (It turns out that just *my* board has a broken card
detect switch, so I originally thought CD wouldn't work on the LTS.)

Drop the "non-removable" flag to describe the SD card slot properly.

Fixes: cb3e9d3b4acb ("arm64: allwinner: a64: add DTSI file for SoPine SoM")
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20210113152630.28810-5-andre.przywara@arm.com
arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi