From: martin.blumenstingl@googlemail.com (Martin Blumenstingl)
To: linus-amlogic@lists.infradead.org
Subject: [PATCH v2 0/2] remove the "cpu_clk" from the GXBB/GXL/GXM driver
Date: Thu, 4 May 2017 20:19:18 +0200 [thread overview]
Message-ID: <20170504181920.21880-1-martin.blumenstingl@googlemail.com> (raw)
In-Reply-To: <20170401125519.7339-1-martin.blumenstingl@googlemail.com>
The quick summary for this patch is that the "cpu_clk" seems to have
been copied from the Meson8b clock driver when the GXBB clock driver
was initially added. However, on GXBB (and the other GX SoCs) the
actual CPU clock is provided by a SCPI DVFS clock.
More details can be found in the description of the actual patch (#2).
This was tested on a Khadas VIM board (GXL S905X).
Changes since v1:
- split the patch into two patches: one which un-exports the clock ID
first and a second which does the actual cleanup. This was done based
on the recent discussion that new clocks should be added first and then
exported in a second patch (this patch does the same, just the other
way round: un-exporting first, then removing the actual clock)
Changes since the RFC version from [0]:
- rebased to the "clk-meson" branch (e65ae3fb97b4 "dt-bindings: clock:
gxbb-clkc: Add GXL compatible variant") and Jerome's audio clock
patches (in version 2: [1])
- remove the now unused cpu_div_table (which was left over in the RFC
version)
- slightly updated the comment for the now unused clock ID 1 in
drivers/clk/meson/gxbb.h
[0] https://patchwork.kernel.org/patch/9644993/
[1] http://lists.infradead.org/pipermail/linux-amlogic/2017-March/003200.html
Martin Blumenstingl (2):
clk: meson-gxbb: un-export the CPU clock
clk: meson: gxbb: remove the "cpu_clk" from the GXBB and GXL driver
drivers/clk/meson/gxbb.c | 64 ++---------------------------------
drivers/clk/meson/gxbb.h | 2 +-
include/dt-bindings/clock/gxbb-clkc.h | 1 -
3 files changed, 4 insertions(+), 63 deletions(-)
--
2.12.2
next prev parent reply other threads:[~2017-05-04 18:19 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-01 12:55 [PATCH 0/1] " Martin Blumenstingl
2017-04-01 12:55 ` [PATCH 1/1] clk: meson: gxbb: remove the "cpu_clk" from the GXBB and GXL driver Martin Blumenstingl
2017-04-02 15:57 ` Jerome Brunet
2017-05-04 18:19 ` Martin Blumenstingl [this message]
2017-05-04 18:19 ` [PATCH v2 1/2] clk: meson-gxbb: un-export the CPU clock Martin Blumenstingl
2017-05-15 15:54 ` Jerome Brunet
2017-05-04 18:19 ` [PATCH v2 2/2] clk: meson: gxbb: remove the "cpu_clk" from the GXBB and GXL driver Martin Blumenstingl
2017-05-15 15:56 ` Jerome Brunet
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=20170504181920.21880-1-martin.blumenstingl@googlemail.com \
--to=martin.blumenstingl@googlemail.com \
--cc=linus-amlogic@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®