[U-Boot] [PATCH] rockchip: rk3288: dts: remove 'vmmc' from emmc node

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Tue Dec 4 09:35:48 UTC 2018


Kever,

> On 04.12.2018, at 08:06, Kever Yang <kever.yang at rock-chips.com> wrote:
> 
> Hi Fabio,
> 
> 
> On 12/03/2018 07:27 PM, Fabio Estevam wrote:
>> Hi Kever,
>> 
>> On Mon, Dec 3, 2018 at 2:00 AM Kever Yang <kever.yang at rock-chips.com> wrote:
>>> The U-Boot eMMC does not need to care about the power for Rockchip
>>> SoC, because if the board is using eMMC, the power will default on
>>> (for bootrom), and we do not do power management for it like kernel,
>>> so the 'vmmc', 'vqmmc' is only useful for SD in U-Boot.
>> Devicetree should represent the hardware and should not rely on
>> details of BootROM / kernel / U-Boot.
>> 
>> If these supplies are present in the hardware, they should be
>> represented in the devicetree.
>> 
>> What is the exact issue you are trying to solve?
> 
> The U-Boot will fail to boot if eMMC driver try to enable the regulator
> with error return.
> These two nodes makes the eMMC driver need depends on pmic/regulator driver
> works good.
> My case is I have two similar boards, but have different pmic or pmic
> config,
> then only the one with correct config can boot successful.
> I know you would ask me to commit a new dts with correct pmic config,
> but please
> note that there are much much more boards then what the upstream already
> have.
> We are not possible to add every board, and I don't think we have to.

These boards should have their own DTS, as that’s the main function of
the DTS (i.e. to describe the actual hardware).

Why is it not possible to add these boards?

Thanks,
Philipp.



More information about the U-Boot mailing list