From: Will McVicker <willmcvicker@google.com>
To: Sylwester Nawrocki <s.nawrocki@samsung.com>,
Tomasz Figa <tomasz.figa@gmail.com>,
Chanwoo Choi <cw00.choi@samsung.com>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Cc: kernel-team@android.com,
Marek Szyprowski <m.szyprowski@samsung.com>,
Will McVicker <willmcvicker@google.com>,
linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: [RFT PATCH v4 0/2] clk: samsung: add common support for CPU clocks
Date: Thu, 14 Oct 2021 19:53:44 +0000 [thread overview]
Message-ID: <20211014195347.3635601-1-willmcvicker@google.com> (raw)
These two patches were originally a part of the series [1]. They add
support to the common samsung clock driver to parse and register the
CPU clocks when provided. This allows for the samsung clock drivers to
simply provide a `struct samsung_cpu_clock` to `struct samsung_cmu_info`
and then call samsung_cmu_register_one(). With this new support, we can
now get rid of the custom apollo and atlas CLK_OF_DECLARE init functions.
Since I don't have the hardware to test these, I'm including the RFT tag
to try and get help testing and verifying these.
[1] https://lore.kernel.org/all/20210928235635.1348330-4-willmcvicker@google.com/
Will McVicker (2):
[RFT] clk: samsung: add support for CPU clocks
[RFT] clk: samsung: exynos5433: update apollo and atlas clock probing
--
Changes in v4:
- Updated 'struct samsung_cpu_clock' to reference the parent and alt_parent
hw clocks via ID instead of name
- Dropped __clk_lookup() in favor of ctx->clk_data.hw instead
Changes in v3:
- Same as v1-v2
- Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
drivers/clk/samsung/clk-cpu.c | 18 ++++
drivers/clk/samsung/clk-exynos5433.c | 120 +++++++++++----------------
drivers/clk/samsung/clk.c | 2 +
drivers/clk/samsung/clk.h | 26 ++++++
4 files changed, 94 insertions(+), 72 deletions(-)
--
2.33.0.1079.g6e70778dc9-goog
next reply other threads:[~2021-10-14 19:53 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-14 19:53 Will McVicker [this message]
2021-10-14 19:53 ` [PATCH v4 1/2] [RFT] clk: samsung: add support for CPU clocks Will McVicker
2021-10-15 7:15 ` Marek Szyprowski
2021-10-15 10:14 ` Krzysztof Kozlowski
2021-10-15 15:07 ` Sylwester Nawrocki
2021-10-15 23:08 ` Chanwoo Choi
2021-10-14 19:53 ` [PATCH v4 2/2] [RFT] clk: samsung: exynos5433: update apollo and atlas clock probing Will McVicker
2021-10-15 7:15 ` Marek Szyprowski
2021-10-15 10:14 ` Krzysztof Kozlowski
2021-10-15 15:09 ` Sylwester Nawrocki
2021-10-15 23:10 ` Chanwoo Choi
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=20211014195347.3635601-1-willmcvicker@google.com \
--to=willmcvicker@google.com \
--cc=cw00.choi@samsung.com \
--cc=kernel-team@android.com \
--cc=krzysztof.kozlowski@canonical.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=m.szyprowski@samsung.com \
--cc=mturquette@baylibre.com \
--cc=s.nawrocki@samsung.com \
--cc=sboyd@kernel.org \
--cc=tomasz.figa@gmail.com \
/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