From: Stephen Boyd <sboyd@kernel.org>
To: Andy Gross <agross@kernel.org>,
Bjorn Andersson <bjorn.andersson@linaro.org>,
Philipp Zabel <p.zabel@pengutronix.de>,
Rob Herring <robh+dt@kernel.org>,
michael.srba@seznam.cz
Cc: Linus Walleij <linus.walleij@linaro.org>,
Florian Fainelli <f.fainelli@gmail.com>,
Arnd Bergmann <arnd@arndb.de>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Saravana Kannan <saravanak@google.com>,
linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org,
devicetree@vger.kernel.org, Michael Srba <Michael.Srba@seznam.cz>
Subject: Re: [PATCH v6 2/5] clk: qcom: gcc-msm8998: add SSC-related clocks
Date: Thu, 17 Feb 2022 16:10:06 -0800 [thread overview]
Message-ID: <20220218001009.89820C340E8@smtp.kernel.org> (raw)
In-Reply-To: <20220217113004.22757-2-michael.srba@seznam.cz>
Quoting michael.srba@seznam.cz (2022-02-17 03:30:01)
> From: Michael Srba <Michael.Srba@seznam.cz>
>
> This patch adds four clocks which need to be manipulated in order to
> initialize the AHB bus which exposes the SCC block in the global address
> space.
>
> If a device is known to be configured such that writing to these
> registers from Linux is not permitted, the 'protected-clocks'
> device tree property must be used to denote that fact.
>
> Signed-off-by: Michael Srba <Michael.Srba@seznam.cz>
> ---
> CHANGES:
> - v2: none
> - v3: none
> - v4: reword the commit message
> - v5: none
> - v6: none
> ---
> drivers/clk/qcom/gcc-msm8998.c | 56 ++++++++++++++++++++++++++++++++++
> 1 file changed, 56 insertions(+)
>
> diff --git a/drivers/clk/qcom/gcc-msm8998.c b/drivers/clk/qcom/gcc-msm8998.c
> index 407e2c5caea4..2d14c3d672fc 100644
> --- a/drivers/clk/qcom/gcc-msm8998.c
> +++ b/drivers/clk/qcom/gcc-msm8998.c
> @@ -2833,6 +2833,58 @@ static struct clk_branch gcc_rx1_usb2_clkref_clk = {
> },
> };
>
> +static struct clk_branch gcc_im_sleep_clk = {
> + .halt_reg = 0x4300C,
> + .halt_check = BRANCH_HALT,
> + .clkr = {
> + .enable_reg = 0x4300C,
> + .enable_mask = BIT(0),
> + .hw.init = &(struct clk_init_data){
const struct clk_init_data
next prev parent reply other threads:[~2022-02-18 0:10 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-17 11:30 [PATCH v6 1/5] dt-bindings: clock: gcc-msm8998: Add definitions of SSC-related clocks michael.srba
2022-02-17 11:30 ` [PATCH v6 2/5] clk: qcom: gcc-msm8998: add " michael.srba
2022-02-18 0:10 ` Stephen Boyd [this message]
2022-02-17 11:30 ` [PATCH v6 3/5] dt-bindings: bus: add device tree bindings for qcom,ssc-block-bus michael.srba
2022-02-17 20:33 ` Rob Herring
2022-02-17 20:41 ` Rob Herring
2022-02-17 20:37 ` Rob Herring
2022-02-17 11:30 ` [PATCH v6 4/5] drivers: bus: add driver for initializing the SSC bus on (some) qcom SoCs michael.srba
2022-02-17 11:30 ` [PATCH v6 5/5] arm64: dts: qcom: msm8998: reserve potentially inaccessible clocks michael.srba
2022-02-18 0:09 ` [PATCH v6 1/5] dt-bindings: clock: gcc-msm8998: Add definitions of SSC-related clocks Stephen Boyd
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=20220218001009.89820C340E8@smtp.kernel.org \
--to=sboyd@kernel.org \
--cc=agross@kernel.org \
--cc=arnd@arndb.de \
--cc=bjorn.andersson@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=f.fainelli@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=michael.srba@seznam.cz \
--cc=p.zabel@pengutronix.de \
--cc=robh+dt@kernel.org \
--cc=saravanak@google.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 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.