From: Eddie Huang <eddie.huang@mediatek.com>
To: Yong Liang <yong.liang@mediatek.com>
Cc: "mark.rutland@arm.com" <mark.rutland@arm.com>,
"JamesJJ Liao (廖建智)" <jamesjj.liao@mediatek.com>,
"drinkcat@chromium.org" <drinkcat@chromium.org>,
"Weiyi Lu (呂威儀)" <Weiyi.Lu@mediatek.com>,
"chunhui.dai@mediatek.com" <chunhui.dai@mediatek.com>,
"sboyd@kernel.org" <sboyd@kernel.org>,
"mturquette@baylibre.com" <mturquette@baylibre.com>,
"robh+dt@kernel.org" <robh+dt@kernel.org>,
"jasu@njomotys.info" <jasu@njomotys.info>,
"matthias.bgg@gmail.com" <matthias.bgg@gmail.com>,
"linux-mediatek@lists.infradead.org"
<linux-mediatek@lists.infradead.org>,
"Owen Chen (陳峻斌)" <owen.chen@mediatek.com>,
"Erin Lo (羅雅齡)" <erin.lo@mediatek.com>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH v2 2/2] clk: reset: Modify reset-controller driver
Date: Mon, 29 Apr 2019 14:35:51 +0800 [thread overview]
Message-ID: <1556519751.15195.5.camel@mtksdaap41> (raw)
In-Reply-To: <1556262618-14281-2-git-send-email-yong.liang@mediatek.com>
Hi Yong,
Please add reset controller maintainer in this mailing loop
Philipp Zabel <p.zabel@pengutronix.de>
On Fri, 2019-04-26 at 15:10 +0800, Yong Liang wrote:
> From: "yong.liang" <yong.liang@mediatek.com>
>
> Set reset signal by a register and clear reset signal by
> another register for 8183.
You should move your signed-off-by here, then add --- in next line to
avoid your notes appear in commit message when use git am to apply this
patch
> Base on https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git branch clk-next and https://patchwork.kernel.org/patch/10856987/
>
> Changes in patch v2:
> Rollback modify for "_tuner_en_bit, _pcw_reg, _pcw_shift,"
> in drivers/clk/mediatek/clk-mt8183.c
>
> Signed-off-by: yong.liang <yong.liang@mediatek.com>
> ---
> drivers/clk/mediatek/clk-mt8183.c | 10 ++-
> drivers/clk/mediatek/clk-mtk.h | 3 +
> drivers/clk/mediatek/reset.c | 53 +++++++++++-
> .../dt-bindings/reset-controller/mt8183-resets.h | 89 ++++++++++++++++++++
> 4 files changed, 151 insertions(+), 4 deletions(-)
> create mode 100644 include/dt-bindings/reset-controller/mt8183-resets.h
>
> diff --git a/drivers/clk/mediatek/clk-mt8183.c b/drivers/clk/mediatek/clk-mt8183.c
> index 9d86510..cda5b91 100644
> --- a/drivers/clk/mediatek/clk-mt8183.c
> +++ b/drivers/clk/mediatek/clk-mt8183.c
> @@ -1156,6 +1156,7 @@ static int clk_mt8183_apmixed_probe(struct platform_device *pdev)
> {
> struct clk_onecell_data *clk_data;
> struct device_node *node = pdev->dev.of_node;
> + int r;
>
> clk_data = mtk_alloc_clk_data(CLK_APMIXED_NR_CLK);
>
> @@ -1164,7 +1165,14 @@ static int clk_mt8183_apmixed_probe(struct platform_device *pdev)
> mtk_clk_register_gates(node, apmixed_clks, ARRAY_SIZE(apmixed_clks),
> clk_data);
>
> - return of_clk_add_provider(node, of_clk_src_onecell_get, clk_data);
> + r = of_clk_add_provider(node, of_clk_src_onecell_get, clk_data);
> + if (r)
> + dev_err(&pdev->dev,
> + "%s(): could not register clock provider: %d\n",__func__, r);
> +
> + mtk_register_reset_controller_set_clr(node, 4, 0x120);
> +
> + return r;
> }
You should call mtk_register_reset_controller_set_clr function in
clk_mt8183_infra_probe
Eddie
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
prev parent reply other threads:[~2019-04-29 6:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-26 7:10 [PATCH v2 1/2] arm64: dts: mt8183: Add reset-cells in infracfg Yong Liang
2019-04-26 7:10 ` [PATCH v2 2/2] clk: reset: Modify reset-controller driver Yong Liang
2019-04-29 6:35 ` Eddie Huang [this message]
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=1556519751.15195.5.camel@mtksdaap41 \
--to=eddie.huang@mediatek.com \
--cc=Weiyi.Lu@mediatek.com \
--cc=chunhui.dai@mediatek.com \
--cc=drinkcat@chromium.org \
--cc=erin.lo@mediatek.com \
--cc=jamesjj.liao@mediatek.com \
--cc=jasu@njomotys.info \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=mark.rutland@arm.com \
--cc=matthias.bgg@gmail.com \
--cc=mturquette@baylibre.com \
--cc=owen.chen@mediatek.com \
--cc=robh+dt@kernel.org \
--cc=sboyd@kernel.org \
--cc=yong.liang@mediatek.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