From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zach Brown Subject: [RFC v2 0/2] Ignore capability registers when it comes to speeds and use DT binding instead. Date: Fri, 21 Oct 2016 16:35:13 -0500 Message-ID: <1477085715-30213-1-git-send-email-zach.brown@ni.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Sender: linux-kernel-owner@vger.kernel.org To: ulf.hansson@linaro.org Cc: adrian.hunter@intel.com, robh+dt@kernel.org, mark.rutland@arm.com, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, zach.brown@ni.com List-Id: devicetree@vger.kernel.org The first patch add documentation about a new devicetree property sdhci-cap-speed-modes-broken. The second patch makes the sdhci use the DT binding instead of the caps register for determining which speed modes are supported by the controller. This RFC is an alternative to another patch[1] set I sent up. [1] https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1251944.html v2: * Removed separate OF parsing function, relying on mmc_of_parse to be called before read_caps * Moved check of sdhci-cap-speed-modes-broken into sdhci_read_caps. * Added SDHCI_SUPPORT_HS400 to list of bits to clear in sdhci cap1, not sure that's all of the them now, but I think so. Zach Brown (2): mmc: sdhci: Add device tree property sdhci-cap-speed-modes-broken mmc: sdhci: Ignore capability register when it comes to speeds and use DT binding instead when sdhci-cap-speed-modes-broken is set. Documentation/devicetree/bindings/mmc/mmc.txt | 3 +++ drivers/mmc/host/sdhci.c | 10 ++++++++++ 2 files changed, 13 insertions(+) -- 2.7.4