[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAPDyKFpU_YW1OkXPK_6LGSHAQG2WjgQqGfWTCbPL4vvwJNRF6Q@mail.gmail.com>
Date: Mon, 7 Nov 2016 13:42:50 +0100
From: Ulf Hansson <ulf.hansson@...aro.org>
To: Zach Brown <zach.brown@...com>
Cc: Adrian Hunter <adrian.hunter@...el.com>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
linux-mmc <linux-mmc@...r.kernel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2 0/2] mmc: sdhci: Fix sdhci caps register bits with
corrections provided by dt
On 2 November 2016 at 16:26, Zach Brown <zach.brown@...com> wrote:
> For various reasons the sdhci caps register can be incorrect. This patch set
> introduces a general way to correct the bits when they are read to accurately
> reflect the capabilties of the controller/board combo.
>
> The first patch creates sdhci-caps and sdhci-caps-mask dt properties that
> combined represent the correction to the sdhci caps register.
>
> The second patch uses the new dt properties to correct the caps from the
> register as they read during __sdhci_read_caps.
>
> Changes from RFC:
> * /s/registers/register
> * Moved sdhci dt properties into new documentation file sdhci.txt
> v2:
> * Fixed style issue, all branches of 'if' should have {}
>
>
> Zach Brown (2):
> mmc: sdhci: dt: Add device tree properties sdhci-caps and
> sdhci-caps-mask
> mmc: sdhci: Use sdhci-caps-mask and sdhci-caps to change the caps read
> during __sdhci_read_caps
>
> Documentation/devicetree/bindings/mmc/sdhci.txt | 14 ++++++++++++++
> drivers/mmc/host/sdhci.c | 24 ++++++++++++++++++++++--
> 2 files changed, 36 insertions(+), 2 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/mmc/sdhci.txt
>
> --
> 2.7.4
>
Thanks, applied for next!
Kind regards
Uffe
Powered by blists - more mailing lists