[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140630113539.GX32514@n2100.arm.linux.org.uk>
Date: Mon, 30 Jun 2014 12:35:39 +0100
From: Russell King - ARM Linux <linux@....linux.org.uk>
To: Javier Martinez Canillas <javier.martinez@...labora.co.uk>
Cc: Yadwinder Singh Brar <yadi.brar01@...il.com>,
Alessandro Zummo <a.zummo@...ertech.it>,
Krzysztof Kozlowski <k.kozlowski@...sung.com>,
Kukjin Kim <kgene.kim@...sung.com>,
Mike Turquette <mturquette@...aro.org>,
Samuel Ortiz <sameo@...ux.intel.com>,
Tomeu Vizoso <tomeu.vizoso@...labora.com>,
devicetree <devicetree@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
Liam Girdwood <lgirdwood@...il.com>,
Doug Anderson <dianders@...omium.org>,
linux-samsung-soc <linux-samsung-soc@...r.kernel.org>,
Sjoerd Simons <sjoerd.simons@...labora.co.uk>,
Mark Brown <broonie@...nel.org>,
Olof Johansson <olof@...om.net>,
Lee Jones <lee.jones@...aro.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
Daniel Stone <daniels@...labora.com>
Subject: Re: [PATCH v5 05/14] clk: Add generic driver for Maxim PMIC clocks
On Mon, Jun 30, 2014 at 12:58:57PM +0200, Javier Martinez Canillas wrote:
> >> + if (!max_gen->lookup)
> >> + return ERR_PTR(-ENOMEM);
> >> +
> >> + max_gen->lookup->con_id = hw->init->name;
> >
> > Also IMO, init->name should be over-written if name is provided in DT,
> > otherwise generic "clock-output-names" property will go futile,
> > perhaps it should be done before clk_register.
> >
>
> Even though Documentation/devicetree/bindings/clock/clock-bindings.txt says that
> the "clock-output-names" property is optional I agree with you that will be
> better to support it. So I'll add it on the next version as well.
However, remember that con_id is the _DEVICE_ specific connection name,
not the _CLOCK_ name. You will get a NAK from me if you violate this
rule.
--
FTTC broadband for 0.8mile line: now at 9.7Mbps down 460kbps up... slowly
improving, and getting towards what was expected from it.
--
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