From: Stephen Boyd <sboyd@kernel.org>
To: Luo Jie <quic_luoj@quicinc.com>,
agross@kernel.org, andersson@kernel.org, catalin.marinas@arm.com,
conor+dt@kernel.org, konrad.dybcio@linaro.org,
krzysztof.kozlowski+dt@linaro.org, mturquette@baylibre.com,
p.zabel@pengutronix.de, robh+dt@kernel.org, will@kernel.org
Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
quic_srichara@quicinc.com
Subject: Re: [PATCH v5 1/4] clk: qcom: branch: Add clk_branch2_mdio_ops
Date: Wed, 23 Aug 2023 11:04:22 -0700 [thread overview]
Message-ID: <2819cf11177d81ab1fcface7e742cf50.sboyd@kernel.org> (raw)
In-Reply-To: <20230823085031.27252-2-quic_luoj@quicinc.com>
Quoting Luo Jie (2023-08-23 01:50:28)
> diff --git a/drivers/clk/qcom/clk-branch.c b/drivers/clk/qcom/clk-branch.c
> index fc4735f74f0f..5e08c026ca4a 100644
> --- a/drivers/clk/qcom/clk-branch.c
> +++ b/drivers/clk/qcom/clk-branch.c
> @@ -153,3 +153,10 @@ const struct clk_ops clk_branch_simple_ops = {
> .is_enabled = clk_is_enabled_regmap,
> };
> EXPORT_SYMBOL_GPL(clk_branch_simple_ops);
> +
> +const struct clk_ops clk_branch2_mdio_ops = {
> + .prepare = clk_branch2_enable,
> + .unprepare = clk_branch2_disable,
> + .is_prepared = clk_is_enabled_regmap,
> +};
> +EXPORT_SYMBOL_GPL(clk_branch2_mdio_ops);
I'd call it clk_branch2_simple_prepare_ops or something like that.
There's nothing mdio specific about it.
next prev parent reply other threads:[~2023-08-23 18:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-23 8:50 [PATCH v5 0/4] add clock controller of qca8386/qca8084 Luo Jie
2023-08-23 8:50 ` [PATCH v5 1/4] clk: qcom: branch: Add clk_branch2_mdio_ops Luo Jie
2023-08-23 18:04 ` Stephen Boyd [this message]
2023-08-24 8:10 ` Jie Luo
2023-08-23 8:50 ` [PATCH v5 2/4] dt-bindings: clock: add qca8386/qca8084 clock and reset definitions Luo Jie
2023-08-23 10:11 ` Krzysztof Kozlowski
2023-08-23 10:24 ` Jie Luo
2023-08-23 10:28 ` Krzysztof Kozlowski
2023-08-23 10:37 ` Jie Luo
2023-08-23 8:50 ` [PATCH v5 3/4] clk: qcom: common: commonize qcom_cc_really_probe Luo Jie
2023-08-23 8:50 ` [PATCH v5 4/4] clk: qcom: add clock controller driver for qca8386/qca8084 Luo Jie
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=2819cf11177d81ab1fcface7e742cf50.sboyd@kernel.org \
--to=sboyd@kernel.org \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=catalin.marinas@arm.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konrad.dybcio@linaro.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=p.zabel@pengutronix.de \
--cc=quic_luoj@quicinc.com \
--cc=quic_srichara@quicinc.com \
--cc=robh+dt@kernel.org \
--cc=will@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.