All of lore.kernel.org
 help / color / mirror / Atom feed
From: sbabic at denx.de <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v5 06/18] clk: Provide struct clk for fixed rate clock (clk_fixed_rate.c)
Date: Sat, 20 Jul 2019 08:45:24 +0000 (UTC)	[thread overview]
Message-ID: <20190720084525.07F89C21C2F@lists.denx.de> (raw)
In-Reply-To: <20190624135052.2699-7-lukma@denx.de>

> Up till now the fixed rate clock ('osc') has been added to UCLASS_CLK
> without declaring struct clk. As a result it was only accessible by
> iterating the udevice's uclass list.
> This is a problem for clock code, which operates on pointers to struct
> clk (like clk_get_rate()), not udevices.
> After this change struct clk is accessible from udevice and udevice from
> struct clk.
> Signed-off-by: Lukasz Majewski <lukma@denx.de>
> Reviewed-by: Peng Fan <peng.fan@nxp.com>

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

  reply	other threads:[~2019-07-20  8:45 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-24 13:50 [U-Boot] [PATCH v5 00/18] clk: Port Linux common clock framework [CCF] to U-boot (tag: v5.1.12) Lukasz Majewski
2019-06-24 13:50 ` [U-Boot] [PATCH v5 01/18] clk: doc: Add documentation entry for Common Clock Framework [CCF] (i.MX) Lukasz Majewski
2019-07-20  8:51   ` sbabic at denx.de
2019-06-24 13:50 ` [U-Boot] [PATCH v5 02/18] dm: Fix documentation entry as there is no UCLASS_CLOCK uclass Lukasz Majewski
2019-07-20  8:51   ` sbabic at denx.de
2019-06-24 13:50 ` [U-Boot] [PATCH v5 03/18] clk: Remove clock ID check in .get_rate() of clk_fixed_* Lukasz Majewski
2019-07-20  8:46   ` sbabic at denx.de
2019-06-24 13:50 ` [U-Boot] [PATCH v5 04/18] clk: Extend struct clk to provide information regarding clock rate Lukasz Majewski
2019-07-20  8:51   ` sbabic at denx.de
2019-06-24 13:50 ` [U-Boot] [PATCH v5 05/18] clk: Extend struct clk to provide clock type agnostic flags Lukasz Majewski
2019-07-20  8:45   ` sbabic at denx.de
2019-06-24 13:50 ` [U-Boot] [PATCH v5 06/18] clk: Provide struct clk for fixed rate clock (clk_fixed_rate.c) Lukasz Majewski
2019-07-20  8:45   ` sbabic at denx.de [this message]
2019-06-24 13:50 ` [U-Boot] [PATCH v5 07/18] clk: Introduce clk-provider.h to store Common Clock Framework's internals Lukasz Majewski
2019-07-20  8:45   ` sbabic at denx.de
2019-06-24 13:50 ` [U-Boot] [PATCH v5 08/18] dm: clk: Define clk_get_parent() for clk operations Lukasz Majewski
2019-07-20  8:57   ` sbabic at denx.de
2019-06-24 13:50 ` [U-Boot] [PATCH v5 09/18] dm: clk: Define clk_get_parent_rate() " Lukasz Majewski
2019-07-20  8:51   ` sbabic at denx.de
2019-06-24 13:50 ` [U-Boot] [PATCH v5 10/18] dm: clk: Define clk_get_by_id() " Lukasz Majewski
2019-07-20  8:57   ` sbabic at denx.de
2019-06-24 13:50 ` [U-Boot] [PATCH v5 11/18] clk: Port Linux common clock framework [CCF] for imx6q to U-boot (tag: v5.1.12) Lukasz Majewski
2019-07-20  8:45   ` sbabic at denx.de
2019-06-24 13:50 ` [U-Boot] [PATCH v5 12/18] dm: clk: Extend clk_get_parent_rate() to support CLK_GET_RATE_NOCACHE flag Lukasz Majewski
2019-07-20  8:46   ` sbabic at denx.de
2019-06-24 13:50 ` [U-Boot] [PATCH v5 13/18] dts: sandbox: Add 'osc' clock for Common Clock Framework [CCF] testing Lukasz Majewski
2019-07-20  8:57   ` sbabic at denx.de
2019-06-24 13:50 ` [U-Boot] [PATCH v5 14/18] clk: sandbox: Adjust clk-divider to emulate reading its value from HW Lukasz Majewski
2019-07-20  8:57   ` sbabic at denx.de
2019-06-24 13:50 ` [U-Boot] [PATCH v5 15/18] clk: sandbox: Adjust clk-mux.c to emulate reading divider " Lukasz Majewski
2019-07-20  8:46   ` sbabic at denx.de
2019-06-24 13:50 ` [U-Boot] [PATCH v5 16/18] clk: sandbox: Add sandbox test code for Common Clock Framework [CCF] Lukasz Majewski
2019-07-20  8:46   ` sbabic at denx.de
2019-06-24 13:50 ` [U-Boot] [PATCH v5 17/18] defconfig: sandbox: Enable SANDBOX_CLK_CCF to reuse generic CCF code Lukasz Majewski
2019-07-20  9:06   ` sbabic at denx.de
2019-06-24 13:50 ` [U-Boot] [PATCH v5 18/18] clk: Add MAINTAINERS entry for clocks (./drivers/clk/) Lukasz Majewski
2019-07-20  8:51   ` sbabic at denx.de
2019-06-25  9:32 ` [U-Boot] [PATCH v5 00/18] clk: Port Linux common clock framework [CCF] to U-boot (tag: v5.1.12) Schrempf Frieder
2019-06-25 15:24   ` Lukasz Majewski
2019-07-10  7:44   ` Lukasz Majewski

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=20190720084525.07F89C21C2F@lists.denx.de \
    --to=sbabic@denx.de \
    --cc=u-boot@lists.denx.de \
    /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.