All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chen-Yu Tsai <wenst@chromium.org>
To: Miles Chen <miles.chen@mediatek.com>
Cc: Stephen Boyd <sboyd@kernel.org>,
	Matthias Brugger <matthias.bgg@gmail.com>,
	linux-kernel@vger.kernel.org,
	AngeloGioacchino Del Regno 
	<angelogioacchino.delregno@collabora.com>,
	Chun-Jie Chen <chun-jie.chen@mediatek.com>,
	linux-arm-kernel@lists.infradead.org,
	linux-mediatek@lists.infradead.org
Subject: Re: [PATCH v3 0/7] clk: mediatek: use mtk_clk_simple_probe to simplify
Date: Mon, 26 Sep 2022 12:45:50 +0800	[thread overview]
Message-ID: <CAGXv+5HT4w+y8ntSgBdpYPc4M5=erQNxYOc3-jGFNrZ+HJTA=Q@mail.gmail.com> (raw)
In-Reply-To: <20220922091841.4099-1-miles.chen@mediatek.com>

On Thu, Sep 22, 2022 at 5:19 PM Miles Chen <miles.chen@mediatek.com> wrote:
>
> Hi everyone,
>
> This is v3 patches to use mtk_clk_simple_probe to simplify driver. It is almost
> a RESEND patch, the only difference is adding reviewed-by tags and a tested-by tag
> to the commit messages.
>
> I tested the series on MT8192 and MT6779.
> This patch is based on next-20220921 and [1].
>
> Change since v1:
> - Angelo's patch [1] already exported mtk_clk_simple_probe and mtk_clk_simple_remove,
> so drop this part from my v1 and depends on [1].
> - add a reviewed-by tag
>
> Change since v2:
> - add reviewed-by tags and a tested-by tag
>
> mtk_clk_simple_probe() was introduced by Chun-Jie in commit
> c58cd0e40ffa ("clk: mediatek: Add mtk_clk_simple_probe() to simplify clock providers")
> and mtk_clk_simple_remove() was added in commit
> commit 2204d96b1919 ("clk: mediatek: Add mtk_clk_simple_remove()")
>
> With mtk_clk_simple_probe and mtk_clk_simple_remove,
> we can get rid of defining the same probe function in clk drivers.
> mtk_clk_simple_probe and mtk_clk_simple_remove are used in new platforms
> now, let's apply them to old SoCs.
>
> The process is quite straightforward:
> a. Look up probe functions which can be replaced by mtk_clk_simple_probe()
> b. Add mtk_clk_desc and add .data
> c. Replace the probe function with mtk_clk_simple_probe and mtk_clk_simple_remove
>
> Thanks,
> Miles
>
> [1] https://lore.kernel.org/lkml/20220921091455.41327-1-angelogioacchino.delregno@collabora.com/
>
>
>
> Miles Chen (7):
>   clk: mediatek: mt2701: use mtk_clk_simple_probe to simplify driver
>   clk: mediatek: mt2712: use mtk_clk_simple_probe to simplify driver
>   clk: mediatek: mt6765: use mtk_clk_simple_probe to simplify driver
>   clk: mediatek: mt6779: use mtk_clk_simple_probe to simplify driver
>   clk: mediatek: mt6797: use mtk_clk_simple_probe to simplify driver
>   clk: mediatek: mt8183: use mtk_clk_simple_probe to simplify driver
>   clk: mediatek: mt8192: add mtk_clk_simple_remove

I've queued this series up here [1] and will send a pull request to
the clock maintainer later this week.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/wens/linux.git/log/?h=clk-mtk-for-6.1

WARNING: multiple messages have this Message-ID (diff)
From: Chen-Yu Tsai <wenst@chromium.org>
To: Miles Chen <miles.chen@mediatek.com>
Cc: Stephen Boyd <sboyd@kernel.org>,
	Matthias Brugger <matthias.bgg@gmail.com>,
	 linux-kernel@vger.kernel.org,
	 AngeloGioacchino Del Regno
	<angelogioacchino.delregno@collabora.com>,
	 Chun-Jie Chen <chun-jie.chen@mediatek.com>,
	linux-arm-kernel@lists.infradead.org,
	 linux-mediatek@lists.infradead.org
Subject: Re: [PATCH v3 0/7] clk: mediatek: use mtk_clk_simple_probe to simplify
Date: Mon, 26 Sep 2022 12:45:50 +0800	[thread overview]
Message-ID: <CAGXv+5HT4w+y8ntSgBdpYPc4M5=erQNxYOc3-jGFNrZ+HJTA=Q@mail.gmail.com> (raw)
In-Reply-To: <20220922091841.4099-1-miles.chen@mediatek.com>

On Thu, Sep 22, 2022 at 5:19 PM Miles Chen <miles.chen@mediatek.com> wrote:
>
> Hi everyone,
>
> This is v3 patches to use mtk_clk_simple_probe to simplify driver. It is almost
> a RESEND patch, the only difference is adding reviewed-by tags and a tested-by tag
> to the commit messages.
>
> I tested the series on MT8192 and MT6779.
> This patch is based on next-20220921 and [1].
>
> Change since v1:
> - Angelo's patch [1] already exported mtk_clk_simple_probe and mtk_clk_simple_remove,
> so drop this part from my v1 and depends on [1].
> - add a reviewed-by tag
>
> Change since v2:
> - add reviewed-by tags and a tested-by tag
>
> mtk_clk_simple_probe() was introduced by Chun-Jie in commit
> c58cd0e40ffa ("clk: mediatek: Add mtk_clk_simple_probe() to simplify clock providers")
> and mtk_clk_simple_remove() was added in commit
> commit 2204d96b1919 ("clk: mediatek: Add mtk_clk_simple_remove()")
>
> With mtk_clk_simple_probe and mtk_clk_simple_remove,
> we can get rid of defining the same probe function in clk drivers.
> mtk_clk_simple_probe and mtk_clk_simple_remove are used in new platforms
> now, let's apply them to old SoCs.
>
> The process is quite straightforward:
> a. Look up probe functions which can be replaced by mtk_clk_simple_probe()
> b. Add mtk_clk_desc and add .data
> c. Replace the probe function with mtk_clk_simple_probe and mtk_clk_simple_remove
>
> Thanks,
> Miles
>
> [1] https://lore.kernel.org/lkml/20220921091455.41327-1-angelogioacchino.delregno@collabora.com/
>
>
>
> Miles Chen (7):
>   clk: mediatek: mt2701: use mtk_clk_simple_probe to simplify driver
>   clk: mediatek: mt2712: use mtk_clk_simple_probe to simplify driver
>   clk: mediatek: mt6765: use mtk_clk_simple_probe to simplify driver
>   clk: mediatek: mt6779: use mtk_clk_simple_probe to simplify driver
>   clk: mediatek: mt6797: use mtk_clk_simple_probe to simplify driver
>   clk: mediatek: mt8183: use mtk_clk_simple_probe to simplify driver
>   clk: mediatek: mt8192: add mtk_clk_simple_remove

I've queued this series up here [1] and will send a pull request to
the clock maintainer later this week.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/wens/linux.git/log/?h=clk-mtk-for-6.1

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2022-09-26  4:46 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-22  9:18 [PATCH v3 0/7] clk: mediatek: use mtk_clk_simple_probe to simplify Miles Chen
2022-09-22  9:18 ` Miles Chen
2022-09-22  9:18 ` [PATCH 1/7] clk: mediatek: mt2701: use mtk_clk_simple_probe to simplify driver Miles Chen
2022-09-22  9:18   ` Miles Chen
2022-09-26  4:08   ` Chen-Yu Tsai
2022-09-26  4:08     ` Chen-Yu Tsai
2022-09-22  9:18 ` [PATCH 2/7] clk: mediatek: mt2712: " Miles Chen
2022-09-22  9:18   ` Miles Chen
2022-09-22  9:18 ` [PATCH 3/7] clk: mediatek: mt6765: " Miles Chen
2022-09-22  9:18   ` Miles Chen
2022-09-22  9:18 ` [PATCH 4/7] clk: mediatek: mt6779: " Miles Chen
2022-09-22  9:18   ` Miles Chen
2022-09-22  9:18 ` [PATCH 5/7] clk: mediatek: mt6797: " Miles Chen
2022-09-22  9:18   ` Miles Chen
2022-09-22  9:18 ` [PATCH 6/7] clk: mediatek: mt8183: " Miles Chen
2022-09-22  9:18   ` Miles Chen
2022-09-22  9:18 ` [PATCH 7/7] clk: mediatek: mt8192: add mtk_clk_simple_remove Miles Chen
2022-09-22  9:18   ` Miles Chen
2022-09-26  4:45 ` Chen-Yu Tsai [this message]
2022-09-26  4:45   ` [PATCH v3 0/7] clk: mediatek: use mtk_clk_simple_probe to simplify Chen-Yu Tsai

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='CAGXv+5HT4w+y8ntSgBdpYPc4M5=erQNxYOc3-jGFNrZ+HJTA=Q@mail.gmail.com' \
    --to=wenst@chromium.org \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=chun-jie.chen@mediatek.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=matthias.bgg@gmail.com \
    --cc=miles.chen@mediatek.com \
    --cc=sboyd@kernel.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.