[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131018132257.GG2721@beef>
Date: Fri, 18 Oct 2013 09:22:57 -0400
From: Matt Porter <matt.porter@...aro.org>
To: Mark Rutland <mark.rutland@....com>
Cc: Tim Kryger <tim.kryger@...aro.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
Christian Daudt <bcm@...thebug.org>,
Pawel Moll <Pawel.Moll@....com>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
"linux-mmc@...r.kernel.org" <linux-mmc@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"rob.herring@...xeda.com" <rob.herring@...xeda.com>,
"patches@...aro.org" <patches@...aro.org>,
Stephen Warren <swarren@...dotorg.org>,
Thomas Gleixner <tglx@...utronix.de>,
Chris Ball <cjb@...top.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>
Subject: Re: [RESEND PATCH v2 6/6] mmc: sdhci-bcm-kona: Add basic use of
clocks
On Thu, Oct 17, 2013 at 03:13:09PM +0100, Mark Rutland wrote:
> On Wed, Oct 16, 2013 at 10:47:10PM +0100, Tim Kryger wrote:
> > + /* Get and enable the external clock */
> > + kona_dev->external_clk = devm_clk_get(dev, NULL);
> > + if (IS_ERR(kona_dev->external_clk)) {
> > + dev_err(dev, "Failed to get external clock\n");
> > + ret = PTR_ERR(kona_dev->external_clk);
> > + goto err_pltfm_free;
>
> This seems like a pretty clear breakage of existing DTBs.
>
> Why?
Normal kernel incremental development. The notion of breaking DTBs is
pretty much incompatible with the long-standing tradition of developing
kernel support in an incremental fashion.
In this case, the bootloader available on these boards has had clocks
and regulators enabled for all the drivers currently upstream. This
allowed development of the sdhci driver (and others) independent of having
the common clk driver and PMU/regulator drivers ready. That's been especially
important given the flux that the common clk framework is in with regards
to bindings.
Are you suggesting that the required clock needs to be made logically
optional in the code to retain backward compatbility?
-Matt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists