All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 0/5] clk: Add a managed API and fix clock self-assignment
@ 2019-10-22 12:00 Jean-Jacques Hiblot
  2019-10-22 12:00 ` [U-Boot] [PATCH v2 1/5] drivers: clk: Handle gracefully NULL pointers Jean-Jacques Hiblot
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Jean-Jacques Hiblot @ 2019-10-22 12:00 UTC (permalink / raw)
  To: u-boot


This is the second of a few series, the goal of which is to facilitate
porting drivers from the linux kernel. Most of the series will be about
adding managed API to existing infrastructure (GPIO, reset, phy,...)

This particular series is about clocks. It adds a managed API, using
the same API as linux. It also fix a use-case where the clock is
initialized (rate and/or mux) when it is probed using the
assigned-clocks-* properties.


Changes in v2:
- Add clk_prepare_enable/clk_disable_unprepare
- remove conflicting implmentations from brcmnand_compat.{c,h}

Jean-Jacques Hiblot (5):
  drivers: clk: Handle gracefully NULL pointers
  drivers: clk: Add a managed API to get clocks from the device-tree
  test: clk: Update tests to also check the managed API
  drivers: clk: Fix using assigned-clocks in the node of the clock it
    sets up
  test: clk: test clock self assignment

 arch/sandbox/dts/test.dts                     |   8 +-
 arch/sandbox/include/asm/clk.h                |  33 +++++
 drivers/clk/clk-uclass.c                      | 139 ++++++++++++++++--
 drivers/clk/clk_sandbox.c                     |  56 +++++++
 drivers/clk/clk_sandbox_test.c                |  66 +++++++--
 drivers/core/device.c                         |   2 +-
 .../mtd/nand/raw/brcmnand/brcmnand_compat.c   |  30 ----
 .../mtd/nand/raw/brcmnand/brcmnand_compat.h   |   4 -
 include/clk.h                                 |  56 ++++++-
 test/dm/clk.c                                 |  36 ++++-
 10 files changed, 367 insertions(+), 63 deletions(-)

-- 
2.17.1

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-10-22 12:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-22 12:00 [U-Boot] [PATCH v2 0/5] clk: Add a managed API and fix clock self-assignment Jean-Jacques Hiblot
2019-10-22 12:00 ` [U-Boot] [PATCH v2 1/5] drivers: clk: Handle gracefully NULL pointers Jean-Jacques Hiblot
2019-10-22 12:00 ` [U-Boot] [PATCH v2 2/5] drivers: clk: Add a managed API to get clocks from the device-tree Jean-Jacques Hiblot
2019-10-22 12:00 ` [U-Boot] [PATCH v2 3/5] test: clk: Update tests to also check the managed API Jean-Jacques Hiblot
2019-10-22 12:00 ` [U-Boot] [PATCH v2 4/5] drivers: clk: Fix using assigned-clocks in the node of the clock it sets up Jean-Jacques Hiblot
2019-10-22 12:00 ` [U-Boot] [PATCH v2 5/5] test: clk: test clock self assignment Jean-Jacques Hiblot

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.