Re: [PATCH 2/9] dt-bindings: mmc: sprd: Add another optional clock documentation
From: Baolin Wang
Date: Mon Jun 03 2019 - 22:37:14 EST
Hi Ulf,
On Mon, 3 Jun 2019 at 21:34, Ulf Hansson <ulf.hansson@xxxxxxxxxx> wrote:
>
> On Mon, 20 May 2019 at 12:12, Baolin Wang <baolin.wang@xxxxxxxxxx> wrote:
> >
> > For some Spreadtrum platforms like SC9860 platform, we should enable another
> > gate clock '2x_enable' to make the SD host controller work well. Thus add
> > documentation for this optional clock.
> >
> > Signed-off-by: Baolin Wang <baolin.wang@xxxxxxxxxx>
> > ---
> > .../devicetree/bindings/mmc/sdhci-sprd.txt | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/Documentation/devicetree/bindings/mmc/sdhci-sprd.txt b/Documentation/devicetree/bindings/mmc/sdhci-sprd.txt
> > index 45c9978..a285c77 100644
> > --- a/Documentation/devicetree/bindings/mmc/sdhci-sprd.txt
> > +++ b/Documentation/devicetree/bindings/mmc/sdhci-sprd.txt
> > @@ -14,6 +14,7 @@ Required properties:
> > - clock-names: Should contain the following:
> > "sdio" - SDIO source clock (required)
> > "enable" - gate clock which used for enabling/disabling the device (required)
> > + "2x_enable" - gate clock controlling the device for some special platforms (optional)
>
> This is a bit vague, could you please elaborate (and fold in that
> information to the doc) on what kind of clock this is?
Sorry for confusing. For some Spreadtrum platfroms like SC9860
platform, we should enable 2 gate clocks to enable SD host controller,
that means we have 2 serialized clock gates. I know that's a little
weird, but that's our clock's design.
--
Baolin Wang
Best Regards