All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yassine Oudjana <yassine.oudjana@gmail.com>
To: Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@kernel.org>,
	Matthias Brugger <matthias.bgg@gmail.com>,
	Philipp Zabel <p.zabel@pengutronix.de>
Cc: "Yassine Oudjana" <y.oudjana@protonmail.com>,
	"Chen-Yu Tsai" <wenst@chromium.org>,
	"Miles Chen" <miles.chen@mediatek.com>,
	"AngeloGioacchino Del Regno"
	<angelogioacchino.delregno@collabora.com>,
	"Chun-Jie Chen" <chun-jie.chen@mediatek.com>,
	"José Expósito" <jose.exposito89@gmail.com>,
	"Rex-BC Chen" <rex-bc.chen@mediatek.com>,
	"Yassine Oudjana" <yassine.oudjana@gmail.com>,
	linux-mediatek@lists.infradead.org, linux-clk@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org,
	~postmarketos/upstreaming@lists.sr.ht
Subject: [PATCH 0/6] clk: mediatek: Improvements to simple probe/remove and reset controller unregistration
Date: Thu, 19 May 2022 17:47:22 +0400	[thread overview]
Message-ID: <20220519134728.456643-1-y.oudjana@protonmail.com> (raw)

This series started as part of an earlier series adding support for the main
clock controllers on MediaTek MT6735[1]. It has since been split off and
expanded. It adds a new function to unregister a reset controller and expands
the mtk_clk_simple_probe/remove functions to support the main 5 types of clocks:
- PLLs		(new)
- Fixed clocks	(new)
- Fixed factors	(new)
- Muxes		(new)
- Gates		(supported previously)
This should allow it to be used in most clock drivers, resulting in reduced
code duplication. It will be used in MT6735 clock drivers in the upcoming v2
of the MT6735 main clock controller series.

Dependencies:
- clk: mediatek: Move to struct clk_hw provider APIs (series)
  https://patchwork.kernel.org/project/linux-mediatek/cover/20220510104804.544597-1-wenst@chromium.org/ 
- Cleanup MediaTek clk reset drivers and support MT8192/MT8195 (series)
  https://patchwork.kernel.org/project/linux-mediatek/cover/20220503093856.22250-1-rex-bc.chen@mediatek.com/
- Export required symbols to compile clk drivers as module (single patch)
  https://patchwork.kernel.org/project/linux-mediatek/patch/20220518111652.223727-7-angelogioacchino.delregno@collabora.com/

Yassine Oudjana (6):
  clk: mediatek: gate: Export mtk_clk_register_gates_with_dev
  clk: mediatek: Use mtk_clk_register_gates_with_dev in simple probe
  clk: mediatek: reset: Return reset data pointer on register
  clk: mediatek: reset: Implement mtk_unregister_reset_controller() API
  clk: mediatek: Unregister reset controller on simple remove
  clk: mediatek: Add support for other clock types in simple
    probe/remove

 drivers/clk/mediatek/clk-gate.c   |   1 +
 drivers/clk/mediatek/clk-mt8192.c |   7 +-
 drivers/clk/mediatek/clk-mtk.c    | 123 +++++++++++++++++++++++++-----
 drivers/clk/mediatek/clk-mtk.h    |  22 +++++-
 drivers/clk/mediatek/reset.c      |  41 ++++++----
 drivers/clk/mediatek/reset.h      |  20 +++--
 6 files changed, 167 insertions(+), 47 deletions(-)

-- 
2.36.1


WARNING: multiple messages have this Message-ID (diff)
From: Yassine Oudjana <yassine.oudjana@gmail.com>
To: Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@kernel.org>,
	Matthias Brugger <matthias.bgg@gmail.com>,
	Philipp Zabel <p.zabel@pengutronix.de>
Cc: "Yassine Oudjana" <y.oudjana@protonmail.com>,
	"Chen-Yu Tsai" <wenst@chromium.org>,
	"Miles Chen" <miles.chen@mediatek.com>,
	"AngeloGioacchino Del Regno"
	<angelogioacchino.delregno@collabora.com>,
	"Chun-Jie Chen" <chun-jie.chen@mediatek.com>,
	"José Expósito" <jose.exposito89@gmail.com>,
	"Rex-BC Chen" <rex-bc.chen@mediatek.com>,
	"Yassine Oudjana" <yassine.oudjana@gmail.com>,
	linux-mediatek@lists.infradead.org, linux-clk@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org,
	~postmarketos/upstreaming@lists.sr.ht
Subject: [PATCH 0/6] clk: mediatek: Improvements to simple probe/remove and reset controller unregistration
Date: Thu, 19 May 2022 17:47:22 +0400	[thread overview]
Message-ID: <20220519134728.456643-1-y.oudjana@protonmail.com> (raw)

This series started as part of an earlier series adding support for the main
clock controllers on MediaTek MT6735[1]. It has since been split off and
expanded. It adds a new function to unregister a reset controller and expands
the mtk_clk_simple_probe/remove functions to support the main 5 types of clocks:
- PLLs		(new)
- Fixed clocks	(new)
- Fixed factors	(new)
- Muxes		(new)
- Gates		(supported previously)
This should allow it to be used in most clock drivers, resulting in reduced
code duplication. It will be used in MT6735 clock drivers in the upcoming v2
of the MT6735 main clock controller series.

Dependencies:
- clk: mediatek: Move to struct clk_hw provider APIs (series)
  https://patchwork.kernel.org/project/linux-mediatek/cover/20220510104804.544597-1-wenst@chromium.org/ 
- Cleanup MediaTek clk reset drivers and support MT8192/MT8195 (series)
  https://patchwork.kernel.org/project/linux-mediatek/cover/20220503093856.22250-1-rex-bc.chen@mediatek.com/
- Export required symbols to compile clk drivers as module (single patch)
  https://patchwork.kernel.org/project/linux-mediatek/patch/20220518111652.223727-7-angelogioacchino.delregno@collabora.com/

Yassine Oudjana (6):
  clk: mediatek: gate: Export mtk_clk_register_gates_with_dev
  clk: mediatek: Use mtk_clk_register_gates_with_dev in simple probe
  clk: mediatek: reset: Return reset data pointer on register
  clk: mediatek: reset: Implement mtk_unregister_reset_controller() API
  clk: mediatek: Unregister reset controller on simple remove
  clk: mediatek: Add support for other clock types in simple
    probe/remove

 drivers/clk/mediatek/clk-gate.c   |   1 +
 drivers/clk/mediatek/clk-mt8192.c |   7 +-
 drivers/clk/mediatek/clk-mtk.c    | 123 +++++++++++++++++++++++++-----
 drivers/clk/mediatek/clk-mtk.h    |  22 +++++-
 drivers/clk/mediatek/reset.c      |  41 ++++++----
 drivers/clk/mediatek/reset.h      |  20 +++--
 6 files changed, 167 insertions(+), 47 deletions(-)

-- 
2.36.1


_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

WARNING: multiple messages have this Message-ID (diff)
From: Yassine Oudjana <yassine.oudjana@gmail.com>
To: Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@kernel.org>,
	Matthias Brugger <matthias.bgg@gmail.com>,
	Philipp Zabel <p.zabel@pengutronix.de>
Cc: "Yassine Oudjana" <y.oudjana@protonmail.com>,
	"Chen-Yu Tsai" <wenst@chromium.org>,
	"Miles Chen" <miles.chen@mediatek.com>,
	"AngeloGioacchino Del Regno"
	<angelogioacchino.delregno@collabora.com>,
	"Chun-Jie Chen" <chun-jie.chen@mediatek.com>,
	"José Expósito" <jose.exposito89@gmail.com>,
	"Rex-BC Chen" <rex-bc.chen@mediatek.com>,
	"Yassine Oudjana" <yassine.oudjana@gmail.com>,
	linux-mediatek@lists.infradead.org, linux-clk@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org,
	~postmarketos/upstreaming@lists.sr.ht
Subject: [PATCH 0/6] clk: mediatek: Improvements to simple probe/remove and reset controller unregistration
Date: Thu, 19 May 2022 17:47:22 +0400	[thread overview]
Message-ID: <20220519134728.456643-1-y.oudjana@protonmail.com> (raw)

This series started as part of an earlier series adding support for the main
clock controllers on MediaTek MT6735[1]. It has since been split off and
expanded. It adds a new function to unregister a reset controller and expands
the mtk_clk_simple_probe/remove functions to support the main 5 types of clocks:
- PLLs		(new)
- Fixed clocks	(new)
- Fixed factors	(new)
- Muxes		(new)
- Gates		(supported previously)
This should allow it to be used in most clock drivers, resulting in reduced
code duplication. It will be used in MT6735 clock drivers in the upcoming v2
of the MT6735 main clock controller series.

Dependencies:
- clk: mediatek: Move to struct clk_hw provider APIs (series)
  https://patchwork.kernel.org/project/linux-mediatek/cover/20220510104804.544597-1-wenst@chromium.org/ 
- Cleanup MediaTek clk reset drivers and support MT8192/MT8195 (series)
  https://patchwork.kernel.org/project/linux-mediatek/cover/20220503093856.22250-1-rex-bc.chen@mediatek.com/
- Export required symbols to compile clk drivers as module (single patch)
  https://patchwork.kernel.org/project/linux-mediatek/patch/20220518111652.223727-7-angelogioacchino.delregno@collabora.com/

Yassine Oudjana (6):
  clk: mediatek: gate: Export mtk_clk_register_gates_with_dev
  clk: mediatek: Use mtk_clk_register_gates_with_dev in simple probe
  clk: mediatek: reset: Return reset data pointer on register
  clk: mediatek: reset: Implement mtk_unregister_reset_controller() API
  clk: mediatek: Unregister reset controller on simple remove
  clk: mediatek: Add support for other clock types in simple
    probe/remove

 drivers/clk/mediatek/clk-gate.c   |   1 +
 drivers/clk/mediatek/clk-mt8192.c |   7 +-
 drivers/clk/mediatek/clk-mtk.c    | 123 +++++++++++++++++++++++++-----
 drivers/clk/mediatek/clk-mtk.h    |  22 +++++-
 drivers/clk/mediatek/reset.c      |  41 ++++++----
 drivers/clk/mediatek/reset.h      |  20 +++--
 6 files changed, 167 insertions(+), 47 deletions(-)

-- 
2.36.1


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

             reply	other threads:[~2022-05-19 13:52 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-19 13:47 Yassine Oudjana [this message]
2022-05-19 13:47 ` [PATCH 0/6] clk: mediatek: Improvements to simple probe/remove and reset controller unregistration Yassine Oudjana
2022-05-19 13:47 ` Yassine Oudjana
2022-05-19 13:47 ` [PATCH 1/6] clk: mediatek: gate: Export mtk_clk_register_gates_with_dev Yassine Oudjana
2022-05-19 13:47   ` Yassine Oudjana
2022-05-19 13:47   ` Yassine Oudjana
2022-05-20  4:52   ` Chen-Yu Tsai
2022-05-20  4:52     ` Chen-Yu Tsai
2022-05-20  4:52     ` Chen-Yu Tsai
2022-05-20  8:31   ` AngeloGioacchino Del Regno
2022-05-20  8:31     ` AngeloGioacchino Del Regno
2022-05-20  8:31     ` AngeloGioacchino Del Regno
2022-05-19 13:47 ` [PATCH 2/6] clk: mediatek: Use mtk_clk_register_gates_with_dev in simple probe Yassine Oudjana
2022-05-19 13:47   ` Yassine Oudjana
2022-05-19 13:47   ` Yassine Oudjana
2022-05-20  4:49   ` Chen-Yu Tsai
2022-05-20  4:49     ` Chen-Yu Tsai
2022-05-20  4:49     ` Chen-Yu Tsai
2022-05-20  4:52     ` Chen-Yu Tsai
2022-05-20  4:52       ` Chen-Yu Tsai
2022-05-20  4:52       ` Chen-Yu Tsai
2022-05-20  8:31   ` AngeloGioacchino Del Regno
2022-05-20  8:31     ` AngeloGioacchino Del Regno
2022-05-20  8:31     ` AngeloGioacchino Del Regno
2022-05-19 13:47 ` [PATCH 3/6] clk: mediatek: reset: Return reset data pointer on register Yassine Oudjana
2022-05-19 13:47   ` Yassine Oudjana
2022-05-19 13:47   ` Yassine Oudjana
2022-05-20  5:56   ` Rex-BC Chen
2022-05-20  5:56     ` Rex-BC Chen
2022-05-20  5:56     ` Rex-BC Chen
2022-05-20  8:42   ` AngeloGioacchino Del Regno
2022-05-20  8:42     ` AngeloGioacchino Del Regno
2022-05-20  8:42     ` AngeloGioacchino Del Regno
2022-05-20  9:02     ` Chen-Yu Tsai
2022-05-20  9:02       ` Chen-Yu Tsai
2022-05-20  9:02       ` Chen-Yu Tsai
2022-05-20  9:08     ` Miles Chen
2022-05-20  9:08       ` Miles Chen
2022-05-20  9:08       ` Miles Chen
2022-05-20  9:41     ` Yassine Oudjana
2022-05-20  9:41       ` Yassine Oudjana
2022-05-20  9:41       ` Yassine Oudjana
2022-05-19 13:47 ` [PATCH 4/6] clk: mediatek: reset: Implement mtk_unregister_reset_controller() API Yassine Oudjana
2022-05-19 13:47   ` Yassine Oudjana
2022-05-19 13:47   ` Yassine Oudjana
2022-05-19 13:47 ` [PATCH 5/6] clk: mediatek: Unregister reset controller on simple remove Yassine Oudjana
2022-05-19 13:47   ` Yassine Oudjana
2022-05-19 13:47   ` Yassine Oudjana
2022-05-19 13:47 ` [PATCH 6/6] clk: mediatek: Add support for other clock types in simple probe/remove Yassine Oudjana
2022-05-19 13:47   ` Yassine Oudjana
2022-05-19 13:47   ` Yassine Oudjana
2022-05-20  9:13   ` Chen-Yu Tsai
2022-05-20  9:13     ` Chen-Yu Tsai
2022-05-20  9:13     ` Chen-Yu Tsai
2022-05-19 14:03 ` [PATCH 0/6] clk: mediatek: Improvements to simple probe/remove and reset controller unregistration Yassine Oudjana
2022-05-19 14:03   ` Yassine Oudjana
2022-05-19 14:03   ` Yassine Oudjana

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=20220519134728.456643-1-y.oudjana@protonmail.com \
    --to=yassine.oudjana@gmail.com \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=chun-jie.chen@mediatek.com \
    --cc=jose.exposito89@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=matthias.bgg@gmail.com \
    --cc=miles.chen@mediatek.com \
    --cc=mturquette@baylibre.com \
    --cc=p.zabel@pengutronix.de \
    --cc=rex-bc.chen@mediatek.com \
    --cc=sboyd@kernel.org \
    --cc=wenst@chromium.org \
    --cc=y.oudjana@protonmail.com \
    --cc=~postmarketos/upstreaming@lists.sr.ht \
    /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.