[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <38DFE34C-E4A5-4DBB-AC57-5D92D703B877@kohlschutter.com>
Date: Mon, 18 Jul 2022 23:04:43 +0200
From: Christian Kohlschütter
<christian@...lschutter.com>
To: Robin Murphy <robin.murphy@....com>, wens@...nel.org,
Heiko Stübner <heiko@...ech.de>,
Markus Reichl <m.reichl@...etechno.de>,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
"open list:ARM/Rockchip SoC..." <linux-rockchip@...ts.infradead.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
Linux MMC List <linux-mmc@...r.kernel.org>
Subject: Re: [PATCH v6] arm64: dts: rockchip: Fix SD card init on
rk3399-nanopi4
Am 18.07.2022 um 14:05 schrieb Christian Kohlschütter <christian@...lschutter.com>:
>
>> Am 18.07.2022 um 14:04 schrieb Christian Kohlschütter <christian@...lschutter.com>:
>>
>> mmc/SD-card initialization may fail on NanoPi R4S with
>> "mmc1: problem reading SD Status register" /
>> "mmc1: error -110 whilst initialising SD card"
>> either on cold boot or after a reboot.
> ...
> Walking back on my claim in the commit message that no further patches are needed for the u-boot integration to work.
> Other than that, the actual patch is unchanged.
I can no longer verify that the v6 patch actually increases use_count to 2.
At this point, I don't have a purely device tree-based fix that works reliably, therefore necessitating the code changes in regulator/core.c.
If anyone of you knows a way to reliably increase vcc3v0_sd's use_count ("cat /sys/kernel/debug/regulator/vcc3v0_sd/use_count") to at least 2, then we can remove the regulator-always-on statement.
Powered by blists - more mailing lists