From: holgerschurig@gmail.com (Holger Schurig)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC v1] clk: Add debugfs nodes for enable/disable/set-rate/set-parent
Date: Fri, 26 Feb 2016 09:22:29 +0100 [thread overview]
Message-ID: <87twkvj2yi.fsf@gmail.com> (raw)
In-Reply-To: <8B5B4FB66A982549A83D90C7791B761007F362D2E1@EAPEX1MAIL2.st.com> (Pankaj DEV's message of "Fri, 26 Feb 2016 16:06:48 +0800")
Pankaj DEV <pankaj.dev@st.com> writes:
> The prime motive for clk_set_rate is to set new rate for a clock,
> since the 'clk_rate' currently available, allows only reading.
> To provide reading rate from 'clk_set_rate' is just additional feature.
Sure.
But my point is to combine things.
After your patch:
- read via clk_rate
- read via clk_set_rate
- write via clk_set_rate
My proposal:
- read via clk_rate
- write via clk_rate
WARNING: multiple messages have this Message-ID (diff)
From: Holger Schurig <holgerschurig-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Pankaj DEV <pankaj.dev-qxv4g6HH51o@public.gmane.org>
Cc: "linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>,
"linux-kernel@vger.kernel.org"
<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
"devicetree@vger.kernel.org"
<devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
"mturquette@linaro.org"
<mturquette-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
"kernel@stlinux.com"
<kernel-F5mvAk5X5gdBDgjK7y7TUQ@public.gmane.org>,
"sboyd@codeaurora.org"
<sboyd-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>,
Laurent MEUNIER <laurent.meunier-qxv4g6HH51o@public.gmane.org>,
"lee.jones@linaro.org"
<lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
Maxime COQUELIN <maxime.coquelin-qxv4g6HH51o@public.gmane.org>
Subject: Re: [RFC v1] clk: Add debugfs nodes for enable/disable/set-rate/set-parent
Date: Fri, 26 Feb 2016 09:22:29 +0100 [thread overview]
Message-ID: <87twkvj2yi.fsf@gmail.com> (raw)
In-Reply-To: <8B5B4FB66A982549A83D90C7791B761007F362D2E1-8vAmw3ZAcdwmTw2EpZffQNBPR1lH4CV8@public.gmane.org> (Pankaj DEV's message of "Fri, 26 Feb 2016 16:06:48 +0800")
Pankaj DEV <pankaj.dev-qxv4g6HH51o@public.gmane.org> writes:
> The prime motive for clk_set_rate is to set new rate for a clock,
> since the 'clk_rate' currently available, allows only reading.
> To provide reading rate from 'clk_set_rate' is just additional feature.
Sure.
But my point is to combine things.
After your patch:
- read via clk_rate
- read via clk_set_rate
- write via clk_set_rate
My proposal:
- read via clk_rate
- write via clk_rate
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: Holger Schurig <holgerschurig@gmail.com>
To: Pankaj DEV <pankaj.dev@st.com>
Cc: "linux-arm-kernel\@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"linux-kernel\@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"devicetree\@vger.kernel.org" <devicetree@vger.kernel.org>,
"mturquette\@linaro.org" <mturquette@linaro.org>,
"kernel\@stlinux.com" <kernel@stlinux.com>,
"sboyd\@codeaurora.org" <sboyd@codeaurora.org>,
Laurent MEUNIER <laurent.meunier@st.com>,
"lee.jones\@linaro.org" <lee.jones@linaro.org>,
Maxime COQUELIN <maxime.coquelin@st.com>
Subject: Re: [RFC v1] clk: Add debugfs nodes for enable/disable/set-rate/set-parent
Date: Fri, 26 Feb 2016 09:22:29 +0100 [thread overview]
Message-ID: <87twkvj2yi.fsf@gmail.com> (raw)
In-Reply-To: <8B5B4FB66A982549A83D90C7791B761007F362D2E1@EAPEX1MAIL2.st.com> (Pankaj DEV's message of "Fri, 26 Feb 2016 16:06:48 +0800")
Pankaj DEV <pankaj.dev@st.com> writes:
> The prime motive for clk_set_rate is to set new rate for a clock,
> since the 'clk_rate' currently available, allows only reading.
> To provide reading rate from 'clk_set_rate' is just additional feature.
Sure.
But my point is to combine things.
After your patch:
- read via clk_rate
- read via clk_set_rate
- write via clk_set_rate
My proposal:
- read via clk_rate
- write via clk_rate
next prev parent reply other threads:[~2016-02-26 8:22 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-26 2:38 [RFC v1] clk: Add debugfs nodes for enable/disable/set-rate/set-parent Pankaj Dev
2016-02-26 2:38 ` Pankaj Dev
2016-02-26 2:38 ` Pankaj Dev
2016-02-26 7:24 ` Holger Schurig
2016-02-26 7:24 ` Holger Schurig
2016-02-26 7:24 ` Holger Schurig
2016-02-26 8:06 ` Pankaj DEV
2016-02-26 8:06 ` Pankaj DEV
2016-02-26 8:22 ` Holger Schurig [this message]
2016-02-26 8:22 ` Holger Schurig
2016-02-26 8:22 ` Holger Schurig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87twkvj2yi.fsf@gmail.com \
--to=holgerschurig@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.