Re: [RFC PATCH 1/4] Documentation: mmc: add description for new caps
From: Ulf Hansson
Date: Wed Jun 22 2016 - 08:31:00 EST
On 8 June 2016 at 22:48, Rob Herring <robh@xxxxxxxxxx> wrote:
> On Wed, Jun 08, 2016 at 04:20:21PM +0800, Shawn Lin wrote:
>> Let's add some basic description for cap-no-sdio,
>> cap-no-sd and cap-no-mmc.
>
> This doesn't say why.
>
> If you know what is there, then there's a better way to do this. Look at
> the child nodes because chances are if you have something soldered down
> like SDIO or eMMC, then you have a child node already for resets,
> regulators, etc.
>
According to patch4, this is a description of the mmc controller,
perhaps together with some limitations as per SoC/platform and thus
has nothing to do with the card.
I have seen several drivers, which needs to validate every single
piece of command to avoid execute those it cannot support.
So, I personally thinks these new DT bindings would be nice to add.
Kind regards
Uffe