Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1564006
| From | Stephen Boyd <sboyd@codeaurora.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v5 01/12] clk: apn806: Add eMMC clock to system controller driver |
| Date | 2017-01-21 01:20 +0100 |
| Message-ID | <t1Rzr-5Gp-1@gated-at.bofh.it> (permalink) |
| References | <sYuSJ-1hp-7@gated-at.bofh.it> <sYuSJ-1hp-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 01/11, Gregory CLEMENT wrote: > From: Konstantin Porotchkin <kostap@marvell.com> > > Add fixed clock of 400MHz to system controller driver. This clock is > used as SD/eMMC clock source. > > Signed-off-by: Konstantin Porotchkin <kostap@marvell.com> > Reviewed-by: Omri Itach <omrii@marvell.com> > Reviewed-by: Hanna Hawa <hannah@marvell.com> > [fixed up conflicts, added error handling --rmk] > Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> > Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> > --- Acked-by: Stephen Boyd <sboyd@codeaurora.org> > diff --git a/drivers/clk/mvebu/ap806-system-controller.c b/drivers/clk/mvebu/ap806-system-controller.c > index 8181b919f062..0a785076b0c6 100644 > --- a/drivers/clk/mvebu/ap806-system-controller.c > +++ b/drivers/clk/mvebu/ap806-system-controller.c > @@ -117,6 +117,17 @@ static int ap806_syscon_clk_probe(struct platform_device *pdev) > goto fail3; > } > > + /* eMMC Clock is fixed clock divided by 3 */ > + of_property_read_string_index(np, "clock-output-names", > + 4, &name); This could check for failure and not register the clk if the name isn't there? Then dts can be backwards compatible. -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH v5 01/12] clk: apn806: Add eMMC clock to system controller driver Stephen Boyd <sboyd@codeaurora.org> - 2017-01-21 01:20 +0100
csiph-web