Re: [PATCH V4] PM / clk: Add support for obtaining clocks from device-tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Tuesday, March 15, 2016 01:15:16 PM Geert Uytterhoeven wrote:
> On Tue, Mar 15, 2016 at 12:33 PM, Jon Hunter <jonathanh@xxxxxxxxxx> wrote:
> > The PM clocks framework requires clients to pass either a con-id or a
> > valid clk pointer in order to add a clock to a device. Add a new
> > function of_pm_clk_add_clks() to allows device clocks to be retrieved
> > from device-tree and populated for a given device. Note that it is
> > not necessary to make the compilation of this new function dependent
> > upon CONFIG_OF because there are stubs functions for the device-tree
> > APIs used.
> >
> > In order to handle errors encountered when adding clocks from
> > device-tree, add a function pm_clk_remove_clk() to remove any clocks
> > (using a pointer to the clk structure) that have been added
> > successfully before the error occurred.
> >
> > Signed-off-by: Jon Hunter <jonathanh@xxxxxxxxxx>
> 
> Acked-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
> 

Applied.

Thanks,
Rafael

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux