Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1693970
| From | Stephen Boyd <sboyd@codeaurora.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v7 3/3] clk: stm32h7: Add stm32h743 clock driver |
| Date | 2017-07-21 22:40 +0200 |
| Message-ID | <u5MSm-ZJ-15@gated-at.bofh.it> (permalink) |
| References | <u4Y9c-1j1-5@gated-at.bofh.it> <u4Y9c-1j1-15@gated-at.bofh.it> <u54HE-5TE-27@gated-at.bofh.it> <u5fa2-4Lf-31@gated-at.bofh.it> <u5ihA-6PH-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 07/20, Vladimir Zapolskiy wrote:
> Hi Gabriel,
>
> On 07/20/2017 11:31 AM, Gabriel FERNANDEZ wrote:
> > Hi Vladimir,
> >
> >
> > On 07/19/2017 11:20 PM, Vladimir Zapolskiy wrote:
> >> Hello Gabriel,
> >>
> >> On 07/19/2017 05:25 PM, gabriel.fernandez@st.com wrote:
> >>> From: Gabriel Fernandez <gabriel.fernandez@st.com>
> >>> +
> >>> + rcc: rcc@58024400 {
> >> 'rcc' as a generic device node name is awkward.
> >>
> >> I believe the main function of the device is clock controller (unlikely
> >> a generic reset controller can be converted into a clock controller),
> >> the locations of the document and device driver also indicate that
> >> primarily it is a clock controller, so I suggest to replace device node
> >> name with 'clock-controller' like below:
> > I prefer to keep rcc node name, to be coherent with the other ST
> > platforms (STM32F4/F7)
>
> the thing is, a device node name is expected to comply with ePAPR or
> the devicetree specification, which says
>
> The name of a node should be somewhat generic, reflecting
> the function of the device and not its precise programming model.
>
> If devicetree and CCF maintainers are fine with 'rcc', I won't object,
> my role is just to emphasize the found issue and recommend to use another
> and more common name 'clock-controller', it is a simple and fortunately
> backward compatible change to other ST platforms as well.
Yes. It should be generic so clock-controller or
clock-reset-controller is appropriate here.
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v7 0/3] clk: stm32h7: Add stm32h743 clock driver <gabriel.fernandez@st.com> - 2017-07-19 16:30 +0200
[PATCH v7 2/3] clk: gate: expose clk_gate_ops::is_enabled <gabriel.fernandez@st.com> - 2017-07-19 16:30 +0200
Re: [PATCH v7 2/3] clk: gate: expose clk_gate_ops::is_enabled Vladimir Zapolskiy <vz@mleia.com> - 2017-07-19 23:10 +0200
[PATCH v7 1/3] clk: nxp: clk-lpc32xx: rename clk_gate_is_enabled() <gabriel.fernandez@st.com> - 2017-07-19 16:30 +0200
Re: [PATCH v7 1/3] clk: nxp: clk-lpc32xx: rename clk_gate_is_enabled() Vladimir Zapolskiy <vz@mleia.com> - 2017-07-19 23:10 +0200
Re: [PATCH v7 3/3] clk: stm32h7: Add stm32h743 clock driver Vladimir Zapolskiy <vz@mleia.com> - 2017-07-19 23:30 +0200
Re: [PATCH v7 3/3] clk: stm32h7: Add stm32h743 clock driver Gabriel FERNANDEZ <gabriel.fernandez@st.com> - 2017-07-20 10:40 +0200
Re: [PATCH v7 3/3] clk: stm32h7: Add stm32h743 clock driver Vladimir Zapolskiy <vz@mleia.com> - 2017-07-20 14:00 +0200
Re: [PATCH v7 3/3] clk: stm32h7: Add stm32h743 clock driver Stephen Boyd <sboyd@codeaurora.org> - 2017-07-21 22:40 +0200
Re: [PATCH v7 3/3] clk: stm32h7: Add stm32h743 clock driver Gabriel FERNANDEZ <gabriel.fernandez@st.com> - 2017-07-22 14:00 +0200
Re: [PATCH v7 3/3] clk: stm32h7: Add stm32h743 clock driver Gabriel FERNANDEZ <gabriel.fernandez@st.com> - 2017-07-22 14:00 +0200
csiph-web