public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Igor Prusov <ivprusov@sberdevices.ru>
To: Michal Simek <michal.simek@amd.com>,
	Daniel Schwierzeck <daniel.schwierzeck@gmail.com>,
	Lukasz Majewski <lukma@denx.de>,
	Sean Anderson <seanga2@gmail.com>,
	Ryan Chen <ryan_chen@aspeedtech.com>,
	Chia-Wei Wang <chiawei_wang@aspeedtech.com>,
	Aspeed BMC SW team <BMC-SW@aspeedtech.com>,
	Joel Stanley <joel@jms.id.au>, Stefan Roese <sr@denx.de>,
	Patrick Delaunay <patrick.delaunay@foss.st.com>,
	Patrice Chotard <patrice.chotard@foss.st.com>, <sjg@chromium.org>
Cc: <prusovigor@gmail.com>, <kernel@sberdevices.ru>,
	<u-boot@lists.denx.de>,
	<uboot-stm32@st-md-mailman.stormreply.com>
Subject: Re: [PATCH v3 0/7] clk: Switch from soc_clk_dump to clk_ops function
Date: Mon, 31 Jul 2023 16:20:05 +0300	[thread overview]
Message-ID: <20230731132005.57n24arwh6bcxpco@pc> (raw)
In-Reply-To: <20230714152444.24395-1-ivprusov@sberdevices.ru>

+Simon Glass

Hi Simon,

Apologies for the ping, but could you please take a look at this series?
There was not much feedback after a while, so I'd like to understand
whether proposed fix is viable or not.         

On Fri, Jul 14, 2023 at 06:24:37PM +0300, Igor Prusov wrote:
> Currently clock providers may override default implementation of
> soc_clk_dump function to replace clk dump command output. This causes
> confusing behaviour when u-boot is built with one of such drivers
> enabled but still has clocks defined using CCF. For example, enabling
> CMD_CLK and using clk dump on sandbox target will not show CCF clocks
> because k210 driver overrides common soc_clk_dump.
> 
> Changelog:
>  v1 -> v2:
>  - Add missing static to dump functions
>  v2 -> v3:
>  - Make soc_clk_dump in cmd/clk.c static instead of removing __weak
> 
> Igor Prusov (7):
>   clk: zynq: Move soc_clk_dump to Zynq clock driver
>   clk: ast2600: Move soc_clk_dump function
>   clk: k210: Move soc_clk_dump function
>   clk: Add dump operation to clk_ops
>   cmd: clk: Use dump function from clk_ops
>   clk: treewide: switch to clock dump from clk_ops
>   cmd: clk: Make soc_clk_dump static
> 
>  arch/arm/mach-zynq/clk.c               |  57 --------------
>  arch/mips/mach-pic32/cpu.c             |  23 ------
>  cmd/clk.c                              |  13 +++-
>  drivers/clk/aspeed/clk_ast2600.c       |  83 ++++++++++----------
>  drivers/clk/clk_k210.c                 | 103 ++++++++++++-------------
>  drivers/clk/clk_pic32.c                |  39 ++++++++++
>  drivers/clk/clk_versal.c               |   7 +-
>  drivers/clk/clk_zynq.c                 |  51 ++++++++++++
>  drivers/clk/clk_zynqmp.c               |  13 ++--
>  drivers/clk/imx/clk-imx8.c             |  11 +--
>  drivers/clk/mvebu/armada-37xx-periph.c |   5 +-
>  drivers/clk/stm32/clk-stm32mp1.c       |  29 ++-----
>  include/clk-uclass.h                   |   3 +
>  include/clk.h                          |   2 -
>  14 files changed, 223 insertions(+), 216 deletions(-)
> 
> -- 
> 2.34.1
> 

-- 
Best Regards,
Igor Prusov

      parent reply	other threads:[~2023-07-31 13:20 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-14 15:24 [PATCH v3 0/7] clk: Switch from soc_clk_dump to clk_ops function Igor Prusov
2023-07-14 15:24 ` [PATCH v3 1/7] clk: zynq: Move soc_clk_dump to Zynq clock driver Igor Prusov
2023-07-14 15:24 ` [PATCH v3 2/7] clk: ast2600: Move soc_clk_dump function Igor Prusov
2023-07-14 15:24 ` [PATCH v3 3/7] clk: k210: " Igor Prusov
2023-07-14 15:24 ` [PATCH v3 4/7] clk: Add dump operation to clk_ops Igor Prusov
2023-08-28  9:57   ` Patrice CHOTARD
2023-07-14 15:24 ` [PATCH v3 5/7] cmd: clk: Use dump function from clk_ops Igor Prusov
2023-08-28  9:56   ` Patrice CHOTARD
2023-07-14 15:24 ` [PATCH v3 6/7] clk: treewide: switch to clock dump " Igor Prusov
2023-08-28  9:56   ` Patrice CHOTARD
2023-07-14 15:24 ` [PATCH v3 7/7] cmd: clk: Make soc_clk_dump static Igor Prusov
2023-08-28  9:57   ` Patrice CHOTARD
2023-07-31 13:20 ` Igor Prusov [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=20230731132005.57n24arwh6bcxpco@pc \
    --to=ivprusov@sberdevices.ru \
    --cc=BMC-SW@aspeedtech.com \
    --cc=chiawei_wang@aspeedtech.com \
    --cc=daniel.schwierzeck@gmail.com \
    --cc=joel@jms.id.au \
    --cc=kernel@sberdevices.ru \
    --cc=lukma@denx.de \
    --cc=michal.simek@amd.com \
    --cc=patrice.chotard@foss.st.com \
    --cc=patrick.delaunay@foss.st.com \
    --cc=prusovigor@gmail.com \
    --cc=ryan_chen@aspeedtech.com \
    --cc=seanga2@gmail.com \
    --cc=sjg@chromium.org \
    --cc=sr@denx.de \
    --cc=u-boot@lists.denx.de \
    --cc=uboot-stm32@st-md-mailman.stormreply.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