From: Jerome Brunet <jbrunet@baylibre.com> To: Neil Armstrong <narmstrong@baylibre.com> Cc: Jerome Brunet <jbrunet@baylibre.com>, Kevin Hilman <khilman@baylibre.com>, linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 0/7] clk: meson: axg-audio: add sm1 support Date: Wed, 2 Oct 2019 11:15:22 +0200 [thread overview] Message-ID: <20191002091529.17112-1-jbrunet@baylibre.com> (raw) The purpose of this patchset is to add the sm1 support to the amlogic audio clock controller. The line count is lot higher than what I hoped for. Even if extremely similar, there is a shift in the register address on the sm1 which makes a bit of a mess. I could have patched the address on the fly if running on sm1 but the end result did not save much lines and would have been a pain to maintain and scale in the future Instead I choose to re-arrange the driver to share the macros and declare separate clocks for the clock which have changed. Changes since v2 [1]: - Add missing gate ops for * sm1_clk81_en * sm1_sysclk_a_en * sm1_sysclk_b_en Changes since v1 [0]: - Fix newline in the last patch [0]: https://lkml.kernel.org/r/20190924153356.24103-1-jbrunet@baylibre.com [1]: https://lkml.kernel.org/r/20191001115511.17357-1-jbrunet@baylibre.com> Jerome Brunet (7): dt-bindings: clk: axg-audio: add sm1 bindings dt-bindings: clock: meson: add sm1 resets to the axg-audio controller clk: meson: axg-audio: remove useless defines clk: meson: axg-audio: fix regmap last register clk: meson: axg-audio: prepare sm1 addition clk: meson: axg-audio: provide clk top signal name clk: meson: axg_audio: add sm1 support .../bindings/clock/amlogic,axg-audio-clkc.txt | 3 +- drivers/clk/meson/axg-audio.c | 2021 +++++++++++------ drivers/clk/meson/axg-audio.h | 21 +- include/dt-bindings/clock/axg-audio-clkc.h | 10 + .../reset/amlogic,meson-g12a-audio-reset.h | 15 + 5 files changed, 1373 insertions(+), 697 deletions(-) -- 2.21.0
WARNING: multiple messages have this Message-ID (diff)
From: Jerome Brunet <jbrunet@baylibre.com> To: Neil Armstrong <narmstrong@baylibre.com> Cc: Kevin Hilman <khilman@baylibre.com>, linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Jerome Brunet <jbrunet@baylibre.com> Subject: [PATCH v3 0/7] clk: meson: axg-audio: add sm1 support Date: Wed, 2 Oct 2019 11:15:22 +0200 [thread overview] Message-ID: <20191002091529.17112-1-jbrunet@baylibre.com> (raw) The purpose of this patchset is to add the sm1 support to the amlogic audio clock controller. The line count is lot higher than what I hoped for. Even if extremely similar, there is a shift in the register address on the sm1 which makes a bit of a mess. I could have patched the address on the fly if running on sm1 but the end result did not save much lines and would have been a pain to maintain and scale in the future Instead I choose to re-arrange the driver to share the macros and declare separate clocks for the clock which have changed. Changes since v2 [1]: - Add missing gate ops for * sm1_clk81_en * sm1_sysclk_a_en * sm1_sysclk_b_en Changes since v1 [0]: - Fix newline in the last patch [0]: https://lkml.kernel.org/r/20190924153356.24103-1-jbrunet@baylibre.com [1]: https://lkml.kernel.org/r/20191001115511.17357-1-jbrunet@baylibre.com> Jerome Brunet (7): dt-bindings: clk: axg-audio: add sm1 bindings dt-bindings: clock: meson: add sm1 resets to the axg-audio controller clk: meson: axg-audio: remove useless defines clk: meson: axg-audio: fix regmap last register clk: meson: axg-audio: prepare sm1 addition clk: meson: axg-audio: provide clk top signal name clk: meson: axg_audio: add sm1 support .../bindings/clock/amlogic,axg-audio-clkc.txt | 3 +- drivers/clk/meson/axg-audio.c | 2021 +++++++++++------ drivers/clk/meson/axg-audio.h | 21 +- include/dt-bindings/clock/axg-audio-clkc.h | 10 + .../reset/amlogic,meson-g12a-audio-reset.h | 15 + 5 files changed, 1373 insertions(+), 697 deletions(-) -- 2.21.0 _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic
next reply other threads:[~2019-10-02 9:15 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-10-02 9:15 Jerome Brunet [this message] 2019-10-02 9:15 ` [PATCH v3 0/7] clk: meson: axg-audio: add sm1 support Jerome Brunet 2019-10-02 9:15 ` [PATCH v3 1/7] dt-bindings: clk: axg-audio: add sm1 bindings Jerome Brunet 2019-10-02 9:15 ` Jerome Brunet 2019-10-02 9:15 ` [PATCH v3 2/7] dt-bindings: clock: meson: add sm1 resets to the axg-audio controller Jerome Brunet 2019-10-02 9:15 ` Jerome Brunet 2019-10-02 9:15 ` [PATCH v3 3/7] clk: meson: axg-audio: remove useless defines Jerome Brunet 2019-10-02 9:15 ` Jerome Brunet 2019-10-02 9:15 ` [PATCH v3 4/7] clk: meson: axg-audio: fix regmap last register Jerome Brunet 2019-10-02 9:15 ` Jerome Brunet 2019-10-02 9:15 ` [PATCH v3 5/7] clk: meson: axg-audio: prepare sm1 addition Jerome Brunet 2019-10-02 9:15 ` Jerome Brunet 2019-10-02 9:15 ` [PATCH v3 6/7] clk: meson: axg-audio: provide clk top signal name Jerome Brunet 2019-10-02 9:15 ` Jerome Brunet 2019-10-02 9:15 ` [PATCH v3 7/7] clk: meson: axg_audio: add sm1 support Jerome Brunet 2019-10-02 9:15 ` Jerome Brunet 2019-10-08 7:35 ` [PATCH v3 0/7] clk: meson: axg-audio: " Jerome Brunet 2019-10-08 7:35 ` 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=20191002091529.17112-1-jbrunet@baylibre.com \ --to=jbrunet@baylibre.com \ --cc=khilman@baylibre.com \ --cc=linux-amlogic@lists.infradead.org \ --cc=linux-clk@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=narmstrong@baylibre.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: linkBe 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.